Gcam for Android 10?

takamake

Member
May 19, 2020
5
0
0
Need it too

After flashing 11.0.4.0 from fastboot with mi tools, lost cam2api. Now having magisk and root, unable to enable it with previous hal3enabler and cam2api modules. Please provide any solution anyone.
 

lakko

Member
May 23, 2016
6
0
0
Try to flash "MagiskHide Props Config" module at first and than flash the camera2 api module or pix3lify module. It should work.
 

JosemaSoto14

New member
Jun 18, 2020
2
1
0
I have the solution, install termux (you have to be root)

open it and write:. "pkg install tsu"

Then put: "su" (accept root permition)

Copy and paste this comands

setprop persist.camera.HAL3.enabled 1
setprop persist.vendor.camera.HAL3.enabled 1
setprop persist.camera.stats.test 5
setprop persist.vendor.camera.stats.test 5

And it's all, sorry with my english, i speak spanish :)

(Reboot it)
 
Last edited:
  • Like
Reactions: takamake

andraslate

Senior Member
Feb 13, 2016
260
60
28
I have the solution, install termux (you have to be root)

open it and write:. "pkg install tsu"

Then put: "su" (accept root permition)

Copy and paste this comands

setprop persist.camera.HAL3.enabled 1
setprop persist.vendor.camera.HAL3.enabled 1
setprop persist.camera.stats.test 5
setprop persist.vendor.camera.stats.test 5

And it's all, sorry with my english, i speak spanish :)

(Reboot it)
Can I remove root (magisk) once I'm done with this and keep gcam working? Need banking apps to work but for some reason magisk's hide option doesn't work for me.
 

JosemaSoto14

New member
Jun 18, 2020
2
1
0
Can I remove root (magisk) once I'm done with this and keep gcam working? Need banking apps to work but for some reason magisk's hide option doesn't work for me.
Yes, but IF you remove the root with magisk, is going to crash and block the boot, you need to boot with the magisk-patched to be root.

1.boot the twrp

2.go to backup and only save "boot"

3.reboot to sistem

4.in te magisk manager app go to install and select and patch a file and select the boot backup where is in the TWRP carpet. (Its going to create a .img in Downloads)

5. Pass the magiskParched file to the PC and reboot to fastboot.

6. Boot with the magiskpatched.

Its going to reboot to the sistem but with root, and if you reboot again you lost the root, so eneable the camera2 api with Termux and do something that you need root, then reboot to fastboot and lock the bootloader, (press the - volumen to not lost data) and you have eneable the camera2 api without root and twrp,

(YOU MUSNT HAVE TO BE ROOT)
 
Last edited:

takamake

Member
May 19, 2020
5
0
0
I have the solution, install termux (you have to be root)

open it and write:. "pkg install tsu"

Then put: "su" (accept root permition)

Copy and paste this comands

setprop persist.camera.HAL3.enabled 1
setprop persist.vendor.camera.HAL3.enabled 1
setprop persist.camera.stats.test 5
setprop persist.vendor.camera.stats.test 5

And it's all, sorry with my english, i speak spanish :)

(Reboot it)
Wow! Thank you so much. It works!