• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Guide] Google Camera without root/magisk (Enable Camera2Api, EIS)

Search This thread

taurnilf

Senior Member
Mar 23, 2018
158
27
First of all, credit to AridaneAM for the original thread (April 2018 patch and earlier) and to prannoytambe for the updated manual steps (May 2018 patch and onwards).

Steps:
0) To avoid problems in storage mounting, disable pattern/password. When the process is finished you can enable pin/pattern again.

1) You have to enable developer options, OEM unlock and USB debugging before use the app:

2) Install adb/fastboot drivers (if you don't have it)

3) Enable HAL3, EIS. Steps below:

https://forum.xda-developers.com/showpost.php?p=76850364&postcount=1591
Start adb
1.To see if the phone is detected.
Code:
adb devices
2.Reboot in fastboot mode
Code:
adb reboot bootloader
3.To see if the phone in fastboot is detected.
Code:
fastboot devices
4.Imp Step - Bootloader unlock - Hold the volume down button.
Code:
fastboot oem unlock
Boot into twrp. (don't touch the phone in twrp).
Code:
fastboot boot twrp.img
Phone will be wiped here !
Setup the phone and enable oem unlock and usb debug and start from step 1 .
5.To see if the phone is detected(phone will be twrp now).
Code:
adb devices
6.Adb Shell for adding camera functionality in build,prop
Code:
adb shell
7.Enable HAL3
Code:
setprop persist.camera.HAL3.enabled 1
8.Enable EIS
Code:
setprop persist.camera.eis.enable 1
9.Exit of adb shell
Code:
exit
10.Reboot in fastboot mode.
Code:
adb reboot bootloader
11.To see if the phone in fastboot is detected.
Code:
fastboot devices
12.Imp Step - Bootloader lock - Hold the volume down button.
Code:
fastboot oem lock
13.Reboot into system.
Code:
fastboot reboot

Hold the volume down button before the code is run till the phone restarts to fastboot again. This bypasses the userdata wipe trigger. Please see if anything can be done to preserve data of old system.

Thx to @AridaneAM and @IjazCI
https://forum.xda-developers.com/showpost.php?p=75541654&postcount=98
https://forum.xda-developers.com/mi-a1/how-to/discussion-bypass-wipe-oem-unlock-t3804406

4) Install GCam. Get builds from the link below.

https://www.celsoazevedo.com/files/android/google-camera/
 
Last edited:

abdullah-baig

Senior Member
Dec 7, 2013
124
54
lahore
First of all, credit to AridaneAM for the original thread (April 2018 patch and earlier) and to prannoytambe for the updated manual steps (May 2018 patch and onwards).

Steps:
0) To avoid problems in storage mounting, disable pattern/password. When the process is finished you can enable pin/pattern again.

1) You have to enable developer options, OEM unlock and USB debugging before use the app:

2) Install adb/fastboot drivers (if you don't have it)

3) Enable HAL3, EIS. Steps below:

https://forum.xda-developers.com/showpost.php?p=76850364&postcount=1591
Start adb
1.To see if the phone is detected.

2.Reboot in fastboot mode

3.To see if the phone in fastboot is detected.

4.Imp Step - Bootloader unlock - Hold the volume down button.

Boot into twrp. (don't touch the phone in twrp).

Phone will be wiped here !
Setup the phone and enable oem unlock and usb debug and start from step 1 .
5.To see if the phone is detected(phone will be twrp now).

6.Adb Shell for adding camera functionality in build,prop

7.Enable HAL3

8.Enable EIS

9.Exit of adb shell

10.Reboot in fastboot mode.

11.To see if the phone in fastboot is detected.

12.Imp Step - Bootloader lock - Hold the volume down button.

13.Reboot into system.


4) Install GCam. Get builds from the link below.

https://www.celsoazevedo.com/files/android/google-camera/


Much helpful,
1) please provide me twrp link for this method ?
2) what after booting into twrp ? Will it boot itself to system after booting to twrp so i can setup and enable oem unlock etc ? Because no one has mentioned that do we need to reboot or what after booting to twrp and also booting twrp is triggering factory reset , so what to do as you have mentioned that start from step 1, it will reset the phone again before step 5. Little confused in this stage
 
Last edited:

taurnilf

Senior Member
Mar 23, 2018
158
27
All the files you need are bundled together with the original tool. After unlocking, the phone will reset when you boot into twrp. This means setting up the phone again then going back to step 1 of the manual steps but this time, no need to unlock because it is already unlocked. You can go directly to booting into twrp. Hope that helps.
 
  • Like
Reactions: abdullah-baig

abdullah-baig

Senior Member
Dec 7, 2013
124
54
lahore
All the files you need are bundled together with the original tool. After unlocking, the phone will reset when you boot into twrp. This means setting up the phone again then going back to step 1 of the manual steps but this time, no need to unlock because it is already unlocked. You can go directly to booting into twrp. Hope that helps.

Booting twrp gain wont boot into system again ? Will twrp stay there ?
I was wondering if you could make a video tutorial ? It would be helpful for all the confused ppl like me
 

drizzt09

Senior Member
Apr 9, 2016
314
74
46
does this lose OTA updates?
The other ones say they keep updates.
I have Mi A1 with Android One 8.1.0 and Sept 5 Security
Will this method work on this version and keep OTA updates going forward?
thanks
 

waterfade

Member
Nov 9, 2018
5
0
1. Yes.

2. It won't reset camera2 api settings, ie, gcam will continue to work, provided you don't factory reset.

Thanks! I really appreciate your fast reply.
I would need a bit more help from you.

I'm still stuck at step 'fastboot boot twrp.img'.

After the command, the commandline show Finish. The phone reset with the white AndroidOne page (its status oem unlock), after that you can see the running colorful line so that means it is booting. But it stuck there forever​

What can I expect here?
As the boot was not completed (suck at running colorful line), I cannot move further to phone setup to continue with 'adb shell'
I think if I'm able to pass thru the whole process, I will try to make a clip. Seem it will be helpful for everyone.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    First of all, credit to AridaneAM for the original thread (April 2018 patch and earlier) and to prannoytambe for the updated manual steps (May 2018 patch and onwards).

    Steps:
    0) To avoid problems in storage mounting, disable pattern/password. When the process is finished you can enable pin/pattern again.

    1) You have to enable developer options, OEM unlock and USB debugging before use the app:

    2) Install adb/fastboot drivers (if you don't have it)

    3) Enable HAL3, EIS. Steps below:

    https://forum.xda-developers.com/showpost.php?p=76850364&postcount=1591
    Start adb
    1.To see if the phone is detected.
    Code:
    adb devices
    2.Reboot in fastboot mode
    Code:
    adb reboot bootloader
    3.To see if the phone in fastboot is detected.
    Code:
    fastboot devices
    4.Imp Step - Bootloader unlock - Hold the volume down button.
    Code:
    fastboot oem unlock
    Boot into twrp. (don't touch the phone in twrp).
    Code:
    fastboot boot twrp.img
    Phone will be wiped here !
    Setup the phone and enable oem unlock and usb debug and start from step 1 .
    5.To see if the phone is detected(phone will be twrp now).
    Code:
    adb devices
    6.Adb Shell for adding camera functionality in build,prop
    Code:
    adb shell
    7.Enable HAL3
    Code:
    setprop persist.camera.HAL3.enabled 1
    8.Enable EIS
    Code:
    setprop persist.camera.eis.enable 1
    9.Exit of adb shell
    Code:
    exit
    10.Reboot in fastboot mode.
    Code:
    adb reboot bootloader
    11.To see if the phone in fastboot is detected.
    Code:
    fastboot devices
    12.Imp Step - Bootloader lock - Hold the volume down button.
    Code:
    fastboot oem lock
    13.Reboot into system.
    Code:
    fastboot reboot

    Hold the volume down button before the code is run till the phone restarts to fastboot again. This bypasses the userdata wipe trigger. Please see if anything can be done to preserve data of old system.

    Thx to @AridaneAM and @IjazCI
    https://forum.xda-developers.com/showpost.php?p=75541654&postcount=98
    https://forum.xda-developers.com/mi-a1/how-to/discussion-bypass-wipe-oem-unlock-t3804406

    4) Install GCam. Get builds from the link below.

    https://www.celsoazevedo.com/files/android/google-camera/
    1
    All the files you need are bundled together with the original tool. After unlocking, the phone will reset when you boot into twrp. This means setting up the phone again then going back to step 1 of the manual steps but this time, no need to unlock because it is already unlocked. You can go directly to booting into twrp. Hope that helps.
    1
    Mi A2 Google camera without root

    Hello sir,
    Please make a blog on how to install Google camera without root in Mi A2.