How To Enable Camera2 API On Xiaomi
Technowikia.com – Xiaomi has reached MIUI 9 and uses Android 7 (Nouget) and there are even some Oreo ones that should have the Camera2 API module in it. But it’s a shame that MUI only activates HAL 1 instead of HAL 3 so that the Camera2 API is automatically turned off by the system.
Actually what is the use of the camera2 API?. There are so many features that you get if you activate this camera2 API, including :
- Manual Focus
- Manual Shutter Speed
- Manual ISO
- Manual White Balance.
Very cool doesn’t it have features like the above?. Unfortunately Xiaomi even disabled it. But calm down now there is a way to enable the Camera2 API. Oh yes, at least Android Lollipop 5.0 yes.
How to Enable Xiaomi Camera2 API
Before activating the camera2 API on xiaomi, first your xiaomi must meet the requirements
Download the X-Plore File Manager application from Lonely Cat Games on the playstore. (you can also use root xplorer, but I think I hope to use x-plore.
- Open the xplore application and set it to be able to edit files on the system. The trick is to press the three dots in the upper right corner, select configuration, root access, select Superuser + mount writable
- Now go to Root –> System –> Press and hold on build.prop and select Edit text
- Look for the code persist.camera.HAL3.enabled=0 if there is that code change the number 0 to number 1. But if there is no such code, add
persist.camera.HAL3.enabled=1 at the end of the code. Like this (oh yes, for the build.prop view of each type of xiaomi, even each rom is different, yes. The code can be added in the middle or at the bottom. If I suggest you just add it at the bottom so it’s easy)
- Press the 3 dots in the right corner and select save
- Done now reboot/restart
If it’s finished and you want to check whether our xiaomi has the camera2 API (Manual mode) feature, you must first install the application from the “Manual Camera Compability Test” playstore. If it is supported, there is a message Great Your Device supports all the manual settings.
Good luck 🙂