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

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

Search This thread

met67

Senior Member
Apr 16, 2007
209
35
Already tried but they're not working for me. Some clarifications needed. Like Can i use any twrp? Do i need to mount data first before executing setprop commands? It will be really helpful to know whats going on in background as the method provided by flex demands root but this one doesn't.

The two methods are almost identical, the main difference being that Aridane created a tool to automate the process.
From a technical point of view, Aridane sets the required properties while the phone is temporary booted in TWRP, while flex sets the properties while the phone is temporary booted with a rooted image. None of them requires permanent root (in flex method you can skip Magisk installation and removal, since it is already installed in the temporary boot image).
 
  • Like
Reactions: ashu.mkb

taurelio

Senior Member
Apr 4, 2013
455
143
Lisboa
Xiaomi Mi A1
Xiaomi Poco X3 Pro
Thx for answer! But the problem is still there, i took 10 pictures and no ons has the blur effect.
It zooms in like in the Stock app. Maybe i have to reinstall it..?
Portrait mode here woks. The only bummer is the creation of a extra folder with the blur photo and the same without the blur effect

Enviado do meu Mi A1 através do Tapatalk
 

antonioli84

Senior Member
Jan 1, 2018
128
38
Thx for answer! But the problem is still there, i took 10 pictures and no ons has the blur effect.
It zooms in like in the Stock app. Maybe i have to reinstall it..?

Here when the portrait mode is selected nothing chances. When you took picture nothing appears to happen, but when you click to see the picture it will take some seconds and the picture with the effect you be there. Take a look if you set the configuration after installing the Gcam app exactely as the creator of the windows program showed in the picture file.
 

Muhmeh

New member
Feb 13, 2018
4
1
Portrait mode here woks. The only bummer is the creation of a extra folder with the blur photo and the same without the blur effect

Enviado do meu Mi A1 através do Tapatalk
It makes a extra folder but there is only one photo in it and thats without blur effect.

Here when the portrait mode is selected nothing chances. When you took picture nothing appears to happen, but when you click to see the picture it will take some seconds and the picture with the effect you be there. Take a look if you set the configuration after installing the Gcam app exactely as the creator of the windows program showed in the picture file.
Its the same configuration like in the picture file. If i take a photo and open it, its immediately open and didn´t take any seconds^^ and there is no portrait icon like on the photo from stock app
 
Last edited:

Vel-San

Senior Member
Mar 16, 2013
716
221
Berlin
Redmi Note 9 Pro
Thankyou so much ! worked perfectly, took barely 1-2 minutes :)

EDIT 1: Is there anyone to check for updates of GCam app ? how do we know if this is the best version ? or when they release a newer version ?
 
Last edited:

ashu.mkb

Member
Nov 11, 2015
36
11
Ambala
The two methods are almost identical, the main difference being that Aridane created a tool to automate the process.
From a technical point of view, Aridane sets the required properties while the phone is temporary booted in TWRP, while flex sets the properties while the phone is temporary booted with a rooted image. None of them requires permanent root (in flex method you can skip Magisk installation and removal, since it is already installed in the temporary boot image).

That was helpful. Thanks for explaining. :)
 

Wei Jiat

Member
Feb 13, 2018
7
0
Newbie here , needs help.

I didnt see it clearly the thing pop up from the task bar, if not mistaken , it is something like unsuccessfully. After follow the video press the "keep read only" button then get to this the page as the photo attached .I
27971863_2021242031225105_8467287484596313361_n.jpg


I think is the main screen of TWRP.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 143
    IMPORTANT: SINCE MAY OTA UPDATE, DATA IS WIPED IN THE BOOTLOADER UNLOCKING PROCESS. TO USE THE TOOL YOU HAVE DOWNGRADE APRIL OR BEFORE, INSTALL THE CAMERA AND THEN UPDATE.


    This is a tool to install Google Camera, enable camera2api and EIS without root.

    Thanks to amazing dev flex1911 for the method: Link

    NOTE: If you get stuck in twrp, select "Keep Read Only", not "Swipe to allow modifications".



    English/Spanish program.
    e40e66b3b6dbc99406f69047a1e6fc71.png



    FAQ:
    Installing GCam in this way the OTA are working? Camera2Api and EIS keeps enabled?
    According to my test with December to January Oreo, yes and yes.

    What can I do if my phone gets stuck in fastboot/twrp or the camera app crash?
    Check if all security is turned off. Use the program as administrator.
    Install Qualcomm drivers and/or mi pc suite.
    If the phone keeps getting stuck in fastboot/twrp: Open device manager and check if there is any driver error:

    Lagging-In-Windows-8.1-Device-Manager-Update-Driver-Software...-Windows-Wally.png


    Click on "update driver software", "browse my computer for driver software", "let me pick from..." and select one from the list.



    triángulo amarillo indicando que no se reconoce correctamente el móvil. Si aparece, click derecho, actualizar controlador, buscar software de controlador en el equipo, elegir en una lista de controladores disponibles en el equipo y selecciona alguno de la lista.



    Download: https://goo.gl/GZYtXW


    Video of a friend using the tool (it's in Spanish)


    Other video (English)



    Features:
    - Install drivers: You can install 1.4.3 or 1.3 version of this fantastic tool: Link
    - Enable HAL3, EIS and install GCam: Install "GoogleCamera-Pixel2Mod-Arnova8G2-V1" with portrait, zsl, front hdr+, ... and open a image with configuration instructions.
    (You can delete it and install any GCam version but it's necessary use that button to enable camera2Api, EIS)
    Disable HAL3, EIS


    Instructions:


    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:

    65b0656716096eb6ece4029e1c15afda.jpg


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

    3) Enable HAL3, EIS and install GCam.

    4) Configure the camera like the image openend in the tool.


    Manual Steps (If you don't want to use the tool):

    https://forum.xda-developers.com/showpost.php?p=75541654&postcount=98


    Google Camera updates:
    You can simply uninstall Google Camera app and install any apk after enable Camera2Api and EIS.

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

    46
    Thanks, it worked
    - removed pin and fingerprints (no lock at all)
    - enabled oem unlock - usb debug
    - tried the following commands before running the tool (adb /fastboot drivers 1.4.3 already installed)
    adb devices (saw device listed)
    adb shell reboot bootloader
    fastboot devices (saw device listed)
    fastboot reboot
    adb kill-server
    ---
    then launched the tool, no manual intervention at all and gcam installed.
    ---
    Hope this helps

    If you know adb/fastboot stuff you can do it in that way, this tool is to do the process automatically.

    To see if the phone is detected.
    Code:
    adb devices
    Reboot in fastboot mode.
    Code:
    adb reboot bootloader
    To see if the phone in fastboot is detected.
    Code:
    fastboot devices
    Bootloader unlock.
    Code:
    fastboot oem unlock
    Boot into twrp. (don't touch the phone in twrp).
    Code:
    fastboot boot twrp.img
    To see if the phone is detected.
    Code:
    adb devices
    Code:
    adb shell
    Enable HAL3
    Code:
    setprop persist.camera.HAL3.enabled 1
    Enable EIS.
    Code:
    setprop persist.camera.eis.enable 1
    Exit of adb shell.
    Code:
    exit
    Reboot in fastboot mode.
    Code:
    adb reboot bootloader
    To see if the phone in fastboot is detected.
    Code:
    fastboot devices
    Bootloader lock.
    Code:
    fastboot oem lock
    Reboot into system.
    Code:
    fastboot reboot



    Finally, you can install any GCam apk.

    You can see that is a simple tool :)
    10
    Thanks a lot for this post @AridaneAM . Camera is working perfectly along with portrait mode. :)
    --NOTE:
    A].Guys make sure you ' HAVEN'T CHANGED THE FOLDER NAME ' after extracting it from the zip. Name should be 'Mi A1 GCam' only, else fastboot commands and stuff won't get executed and you won't see any changes in your device behaviour (rebooting and stuff).
    B].After device boots on twrp, you won't see any twrp controls but only the twrp logo for 5-10 secs then it will automatically reboot, so don't worry.--
    C].Before trying this tool, I REMOVED all of my registered fingerprints and lock screen PIN, so only swipe to unlock was present.
    D].No issues in 3rd Party cam apps and even in stock camera app, HDR works as it used to, no force closes or anything

    A More simplified guide to understand it perfectly:
    1.Extract the folder as it is.
    2.Run the exe and first install adb drivers 1.3
    3.After finishing installation of adb drivers, then click on install button.
    4.Accept the usb debug authorization if asked.
    5.WAIT FOR 5-10 SECONDS, device will automatically boot into fastboot and leave the device until the tool in 'PC" opens an Image Showing GCam's in App Settings.
    8
    Im assuming OTA gonna work fine right? Like the other threads enabling camera 2 api. Very helpful for those who dont want root and still be able to use gcam. Nice!

    Edit: ow yeah its in your post already.
    Before upload I tried the program flashing stock december Oreo, then I installed GCam with this and, finally, I updated to January Oreo and Camera2api is still enabled.
    8869890b0c4b89ae7c7a5f8c93a4c160.jpg


    596d433deb4dfb53861a654caa9aaf73.jpg


    f5397a94d072293b3d13c1966f9dbfb4.jpg


    How long is it supposed to take? It has been more than 10 minutes unlocking bootloader and nothing happens.
    If drivers are working well, 1-2 minutes.
    7
    Is this app a noticeable improvement over stock camera ?
    Left iPhone 7 plus, right Mi A1 with GCam. what do you think? :)

    c7ac23f43c427a179226e9e2d5052fc4.jpg


    3ddf2898ba651ebb468e4978f475ae39.jpg