Header Ads

How to Enable Camera2 API on Xiaomi / Redmi phones on MIUI 10 or MIUI 11

In other to get the best image quality out of your smartphone, it is almost compulsory to have Google Camera also known as GCam installed. GCam is the default camera App of the Pixel line up of smartphones and it is hugely responsible for the amazing camera quality of the Pixel devices.
GCam is officially available for just the Pixel phones as the App is not open source but a couple of Devs have managed to Modify the App and make it available to a whole lot of other smartphones. However, in other to use GCam on your smartphone, Camera2 API must be enabled on your smartphone.

Camera2 API is enabled by default on a whole lot of modern smartphones but there are still some older devices that doesn't have it enabled by default. I recently posted a guide on how to enable Camera2 API on Xiaomi phones running MIUI 10 or MIUI 11 without root, but in case that method didn't work for you, here is another method to enable camera2 API on your Xiaomi or Redmi smartphone. This will also work on either MIUI 10 or MIUI 11 but the only difference is that this particular method requires root permission.


Disclaimer: The procedure below might brick your phone if not followed accordingly. XiaomiAuthority will not be held responsible for any damage done to your phone. Make sure you backup your files and have a backup of your stock ROM before proceeding.

How to Enable camera2 API on Xiaomi phones on MIUI 10 or MIUI 11
  • Make sure your bootloader is unlocked and phone is rooted. Check the guide HERE.
  • Download BuildProb Editor from this LINK.
  • Launch the App and grant it root permission.
  • Add the lines of code below to the "Persist" part of your build.prob
persist.camera.HAL3.enabled=1
persist.camera.eis.enable=1
persist.camera.is_mode=4
persist.camera.stats.test=5
persist.vendor.camera.HAL3.enabled=1
persist.vendor.camera.eis.enable=1
persist.vendor.camera.is_mode=4
persist.vendor.camera.stats.test=5
  • Save and restart.
  • After restarting, you can go ahead and check if Camera2 API has been enabled by downloading Camera2 Prob Here (The Level_3 will turn green if it has been enabled).

That is all guys.

If you have any question, kindly drop it in the comment section below and make sure to share this post with your friends on your various social media platforms.








No comments:

Powered by Blogger.