Gcam without root


How to make?

    With the bootloader unlocked and ADB and drivers installed, do the following:

  1. Download the updated TWRP for your device and put it in the folder: "C:\Program Files (x86)\Minimal ADB and Fastboot:" and rename to twrp.img
  2. Put the phone in Fastboot mode: (Power Button + Volume Minus)
  3. Open "Minimal ADB and Fastboot" and type: fastboot boot twrp.img: If the drivers are all right, the phone will reboot into TWRP. This command only opens TWRP on the phone at this time, it does NOT install TWRP, allowing as soon as we can make the necessary changes and still continue with the original Recovery, thus keeping the updates.
  4. If you are using a password on MIUI, TWRP will also prompt you: enter your password, enter. In the next screen you will be asked if you want to allow TWRP to make system changes, press Keep system read only
  5. Now that you are in TWRP, go back to the PC at the "Minimal ADB and Fastboot" screen and type "adb shell" – without the quotes
  6. Now type the following command: marksetprop persist.camera.HAL3.enabled 1, and hit enter. – This command enables the main API required for Gcam
  7. Now type the following command: setprop persist.camera.eis.enable 1, and hit enter. – This command enables digital stabilization within Gcam (optional command)
  8. Now type "exit" to leave adb
  9. Go back to mobile, in TWRP > Reboot > System > Do Not Install
  10. The phone will restart and API2 should already be enabled
  11. Install the app GB Clube to verify that the API has been enabled
  12. In app should appear LEVEL_3 ou FULL
  13. Now it's just search and install Gcam on your model and enjoy
  14. Do it at your own risk!