[Guide] Google Camera on Asus ZenFone Max PRO M2

Search This thread

kickyvivi

Senior Member
Jul 14, 2016
716
479
Trivandrum
How to enable camera2api in pie beta?
You need an unlocked bootloader. Then manually edit the build.prop

Just paste the below code in the build.prop and reboot
persist.camera.HAL3.enabled=1
persist.vendor.camera.HAL3.enabled=1
persist.camera.stats.test=5
persist.vendor.camera.test=5
persist.camera.eis.enable=1
 

STRYDER~007

Inactive Recognized Developer / Recognized Themer
May 13, 2013
2,740
9,245
Pune
Hi @Arnova8G2,
First of all, thank you for your awesome work on porting GCam! :)

I own Asus Zenfone Max Pro M2. It is currently running Android Pie. I am having trouble running ported gcam version 6.x on it.

I have tried several mods, it works fine for back camera but all of them force close when switched to front camera. I was guessing it might be because of mismatching front cam parameters. I went ahead and took logs but it seems its a little complicated than that. Here is the log for your reference:
https://hastebin.com/fukosopiwe.php
https://pastebin.com/VkNhd0Cd

I tried to decompile the gcam apk but it seems the smali code is obfuscated! I'm not sure how to get it in more readable format. Could you please take a look at the logs and guide me how I can overcome this issue? Your help is really appreciated. :)

Thanks again!
 

Arnova8G2

Senior Member
Sep 22, 2012
1,847
17,789
Hi @Arnova8G2,
First of all, thank you for your awesome work on porting GCam! :)

I own Asus Zenfone Max Pro M2. It is currently running Android Pie. I am having trouble running ported gcam version 6.x on it.

I have tried several mods, it works fine for back camera but all of them force close when switched to front camera. I was guessing it might be because of mismatching front cam parameters. I went ahead and took logs but it seems its a little complicated than that. Here is the log for your reference:
https://hastebin.com/fukosopiwe.php
https://pastebin.com/VkNhd0Cd

I tried to decompile the gcam apk but it seems the smali code is obfuscated! I'm not sure how to get it in more readable format. Could you please take a look at the logs and guide me how I can overcome this issue? Your help is really appreciated. :)

Thanks again!
I will see that it is the error in 2.0 (6.2)
 

alpha tester

Member
Apr 2, 2018
32
2
Gcam is not working for me I tried many ports but it's not working ...!
I am running stable pie
Camera2api is not enabled and I could not enabled as the process mentiomed on YouTube...!
Manual camera compatibility apps shows only legacy support is available please help Devs....! please??
 

anagramgenius

Senior Member
Mar 28, 2014
772
353
Gcam is not working for me I tried many ports but it's not working ...!
I am running stable pie
Camera2api is not enabled and I could not enabled as the process mentiomed on YouTube...!
Manual camera compatibility apps shows only legacy support is available please help Devs....! please??
What process did you follow? Was it similar to the first post of this thread? If yes, then it should work. Plug-in your phone to USB 2.0 port of your pc/laptop.
 
Last edited:

anagramgenius

Senior Member
Mar 28, 2014
772
353
I did that it says android device drivers are updated.... !

---------- Post added at 05:57 PM ---------- Previous post was at 05:56 PM ----------


Is it necessary to unlock the bootloader for this process
No. Bootloader doesn't need to be unlocked. When you connect your device to PC in fastboot mode, what do you see in device manager?
 
Last edited:

Krypt185

Member
Apr 14, 2019
27
6
Working gcam

Camera2api is not enabled in pie by default. Because No gcam is supporting if any please give us a link

Working gcam by developer marlin-ku
gc_6.1.021_whyred_04.apk
(Cannot post link due to new member)
But their is shadowded and blacked image in front night sight and front portrait.....
Front camera working....without portrait
 

alpha tester

Member
Apr 2, 2018
32
2
No. Bootloader doesn't need to be unlocked. When you connect your device to PC in fastboot mode, what do you see in device manager?
Thanks bronit worked
 

Attachments

  • Screenshot_20190503-154304.png
    Screenshot_20190503-154304.png
    114.1 KB · Views: 1,012

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    Hi @Arnova8G2,
    First of all, thank you for your awesome work on porting GCam! :)

    I own Asus Zenfone Max Pro M2. It is currently running Android Pie. I am having trouble running ported gcam version 6.x on it.

    I have tried several mods, it works fine for back camera but all of them force close when switched to front camera. I was guessing it might be because of mismatching front cam parameters. I went ahead and took logs but it seems its a little complicated than that. Here is the log for your reference:
    https://hastebin.com/fukosopiwe.php
    https://pastebin.com/VkNhd0Cd

    I tried to decompile the gcam apk but it seems the smali code is obfuscated! I'm not sure how to get it in more readable format. Could you please take a look at the logs and guide me how I can overcome this issue? Your help is really appreciated. :)

    Thanks again!
    I will see that it is the error in 2.0 (6.2)
    13
    Hello Guys AndroWide Here,

    lets Enable Camera 2 API on Asus Zenfone Max PRO M2 to Use Google Camera.

    Setup adb and fastboot drivers on your laptop/pc

    downlaod the latest adb folder and extract it

    on your phone, go to settings >> system >> about phone and click on build no. 7 times to enable developer option

    go to developer option and enable USB debugging

    power off your device and go to fastboot mode, (press and hold Volume Up + Power Key for 5 seconds)

    connect your device to your laptop/pc using micro usb cable

    go to the extracted adb folder and press & hold SHIFT key on your PC and at the same time right click

    now click on Open Powershell window here or Open Command Window Here (on Win 7)

    now run the following commands:

    fastboot devices

    fastboot oem enable_camera_hal3 true

    after this you will get a success message OKAY, FINISHED.

    congratulations, you have successfully enabled Camera 2 API on your Asus Zenfone Max PRO M2, now just head over to the Google Camera PORTS page and downlaod the Port of Senior XDA Developer Arnova, Download From Here
    4
    Hi @Arnova8G2,
    First of all, thank you for your awesome work on porting GCam! :)

    I own Asus Zenfone Max Pro M2. It is currently running Android Pie. I am having trouble running ported gcam version 6.x on it.

    I have tried several mods, it works fine for back camera but all of them force close when switched to front camera. I was guessing it might be because of mismatching front cam parameters. I went ahead and took logs but it seems its a little complicated than that. Here is the log for your reference:
    https://hastebin.com/fukosopiwe.php
    https://pastebin.com/VkNhd0Cd

    I tried to decompile the gcam apk but it seems the smali code is obfuscated! I'm not sure how to get it in more readable format. Could you please take a look at the logs and guide me how I can overcome this issue? Your help is really appreciated. :)

    Thanks again!
    3
    Can anyone give me the latest download link of google cam port for our phone....
    Links of the gcam versions with and without night sight working for me: https://www.celsoazevedo.com/files/...f/GCam-5.1.018-Pixel2Mod-Arnova8G2-V8.3b1.apk

    For version with night sight support, use this: https://f.celsoazevedo.com/file/gcamera/GCam_Pixel3Mod_1.3_build.6.1.021.apk (selfie cam won't work with this version)
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone