[GUIDE][MOD][TREBLE]Camera2 API Enabler

Search This thread

Sudeep Duhoon

Inactive Recognized Contributor
Oct 23, 2012
1,261
2,770
Delhi
Flashing this enable Camera2 API for GSI/Treble based roms. Remains even after clean flashing another GSI

Things needed:
Unlocked Max Pro with custom recovery flashed

Instructions:
1. Download Cam2API.zip and copy/move to external sd/otg drive
2. Reboot phone to recovery and install as normal zip
3. Test results using this app
4. Google camera mod should work now
 

Attachments

  • Cam2API.zip
    145.3 KB · Views: 100,144
Last edited:

Desmanto

Senior Member
Apr 2, 2014
416
451
Xiaomi Mi 10T / 10T Pro
Hi,

As from my check in 247 version ROM, the build.prop already has the line persist.camera.hal3.enabled=0.
If you have rooted, you only need to change the 0 to 1 >> persist.camera.hal3.enabled=1

Or if you don't want to modify the build.prop, you can just create the value at the /data partition using terminal emulator (with root access), this leaves the /system intact.
Code:
su
setprop persist.camera.HAL3.enabled 1
The downside is everytime you factory reset, you have to set the value again.
 

Sudeep Duhoon

Inactive Recognized Contributor
Oct 23, 2012
1,261
2,770
Delhi
Hi,

As from my check in 247 version ROM, the build.prop already has the line persist.camera.hal3.enabled=0.
If you have rooted, you only need to change the 0 to 1 >> persist.camera.hal3.enabled=1

Or if you don't want to modify the build.prop, you can just create the value at the /data partition using terminal emulator (with root access), this leaves the /system intact.
Code:
su
setprop persist.camera.HAL3.enabled 1
The downside is everytime you factory reset, you have to set the value again.
t1 zip changes that 0 to 1, no new entry is added
t2 zip adds a new line to enable the same
 

arjunav4748

New member
May 14, 2018
2
0
Flashing this should enable Camera2 API.

Things needed:
Unlocked Max Pro with custom recovery flashed

Instructions:
1. Download Camera2 API_t1.zip and copy/move to external sd/otg drive
2. Reboot phone to recovery and install as normal zip
3. Test results using this app
4. If fails, flash Camera2 API_t2.zip same way.
5. Google camera mod should work now

Someone please test and report
Please Send Me A Google Camera With HDR Support For Zenfone Max Pro
 

Top Liked Posts