*ROOT REQUIRED*
After messing around a bit wondering why I coundnt enable Api2 in Miui10. I found out that Xiaomi removed the line in build.prop so I added the line and it works like a charm.
I went to /system/build.prop (trough ES file explorer) and added the following line at the end.
persist.camera.HAL3.enabled=1
Reboot, install the APK and you're ready to go.
PS: Miui10 still works
After messing around a bit wondering why I coundnt enable Api2 in Miui10. I found out that Xiaomi removed the line in build.prop so I added the line and it works like a charm.
I went to /system/build.prop (trough ES file explorer) and added the following line at the end.
persist.camera.HAL3.enabled=1
Reboot, install the APK and you're ready to go.
PS: Miui10 still works