How to enable Camera2 API in Android Phones

Camera2 API has become one of the most trending factors when valuing a smartphone’s camera capabilities. If you are impressed with the features offered by the Camera2 API, you can try to enable it on your smartphone too. In this article, we are describing the steps to enable Camera2 API in an Android phone.

When launched, Google has deprecated the legacy Camera API and prompted the developers to implement the new Camera2 API on Android smartphones. But it didn’t happen very easily. Only a few handfuls of premium smartphones now come with this feature built-in. That’s not the thing Google wanted to happen. However, you can still enable the Camera2 API support in your Android smartphone with some simple tweaks.

How to enable Camera2 API in Android smartphones

There are multiple methods to enable the Camera2 API in Android smartphones. But you have to understand that you will always require a properly rooted Android phone to tweak the ROM settings. So a rooted phone is essentials to enable the Camera2 API. If you have it, follow each of the following methods and check if it is working.

Warning: “We would like to inform you that The Geeks Club is not responsible for any harmful effects during this process. Do these tweaks at your own risk.

Enable Camera2 API in Build.prop

This is one of the most perfect methods to enable many of the hidden Android features in smartphones. You can enable the Camera2 API also using the Build.prop. However, you need to understand that this method has an only fifty-fifty chance of success. It works on smartphones which come with Camera2 API support in the ROM but disabled its functionality for some other reasons. Follow the steps carefully.

  1. Download and install any file manager app from Google Play store which supports root explorer. Here, we use the most popular one, ie: ES File Manager.
  2. Navigate to the system partition in your rooted Android phone and find the file named as Build.prop.
  3. Open the Build.prop file using the text editor.
  4. Inside the Build.prop file, search for this line:
    persist.camera.HAL3.enabled=0
  5. Change the 0 to a 1, then save and exit the Build.prop and reboot your phone.
  6. You can then check if it worked by launching a third-party camera app like Open Camera.build.prop

Enable Camera2 API with Terminal Emulator

The first method works on almost all rooted and supported Android smartphones. However, in some cases, it won’t work as expected. If you are having bad luck with the first method, you can try this second method which is easier and includes zero complication. Remember, you will need the root access on your phone to do this. Follow the steps carefully:

  1. Download and install theĀ Terminal Emulator app from Google Play.
  2. Open the app and run the following commands:
    su
    
    su persist.camera.HAL3.enabled 1
    
    exit
    
    exit
  3. Now just reboot your phone and verify with the Open camera app.

That’s all about the steps to enable Camera2 API on supported Android smartphones. If you are trying the above steps in a non-rooted phone, it won’t succeed as expected. Anyways, try it and let us know your doubts in the comment section.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.