yashsingh1/xdaforums huggingface dataset:
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Skyther_k:
Portrait mode in GCam works only on human subjects (and some pets?)

It doesn't work on inanimate objects.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] mrudul39:
I followed all the steps exactly but when I typed fastboot oem enable_camera_hal3 true ,the powershell window shows waiting and its stuck there forever

P.S need your help guys i just bought this phone
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] apd55:
You need ASUS fastboot drivers
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] mrudul39:
install the drivers and it worked thanks a lot
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Byrobby:
Been trying and succeed. Works just great on my asus zenfone m1pro. I don't have any glitch and the result of the gcam are significantly better than the stock cam. Thank you for this mod. Cheers.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] chaitanya.v:
What a game changer this is. Arnova8.3b1 is superb gcam mod. No crashes, no lags. Flagship photos!
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] anggabastian:
Where can I download ASUS fastboot driver? Can't find it on ASUS support page...

Thanks

---- edited ----

Nevermind my question, I found the driver :D
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] vaibhavnarain11@gmail.com:
Paste the link here so it can help others too.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] chaitanya.v:
i already enabled camera2api on my stock rom. Now i want to root. Do i have to use the magisk module to enable camera2api again?
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Vamsi_QT:
You have install build prop editor to enable camera2api
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Hydor:
Do you lose your warranty if you do this process?
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Vamsi_QT:
By enabling camera2api through fastboot command doesn't involve rooting so warranty will not be void
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Debanka:
I am also getting the same problem.

fastboot oem enable_camera_hal3 true, when I give this command in minimal adb and fastboot, it says failed: remote unknown command
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] chaitanya.v:
Can someone give me best possible settings for arnova 8.3b1 gcam please. I am currently using default settings.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Amal Prabhakaran:
I had performed the same procedure on my friend's 6GB variant, like I did on my 4GB variant. The process went smoothly and I checked the status of camera2api using Manual Camera Compatibility app and it showed success. But, when I installed GCam mod by [MENTION=4860033]Arnova8G2[/MENTION], it works only if we use it in the normal settings. Any change in HDR+ control or portrait mode will result in no picture when clicking the shutter button. Also, sometimes, even in the default settings, HDR+ and portrait mode will result in a normal picture. So, I changed the app and tried apps from other developers like B-S-G, cstark, scrubber, skullshady, etc. The result was the same. Now, even in default settings, picture gets captured only for a few times and after that, only a restart will do...

Can anyone please tell me what should I do? My 4GB variant has no issues with GCam and by seeing the camera performance of my device, my friend decided to buy the 6GB variant for even better performance. So please help me...
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] kaniket20:
I have followed this same step but i get error saying

"FAILED (command write failed (Cannot send after transport endpoint shutdown))"

What should i do? i din't find any solution.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] sourabhssss:
I am getting same problem and still no solution.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Debanka:
It worked for me after rebooting the laptop and using a different Usb port.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] sourabhssss:
Not working for me
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Skyther_k:
Follow this:

Noob guide explaining each step:

To enable camera2api ensure that your phone is atleast on WW-15.2016.1805.309 firmware or above.

If not then please update your phone via ota.

1) Download minimal adb and fastboot https://xdaforums.com/showthread.php?t=2317790 (courtesy shimp208) and install on your PC.

2) Enable developer settings on your phone by tapping continuously on the build number (Settings>System>About Phone)

3) Enable USB debugging in developer settings.

4) Connect your Asus Zenfone to PC using the official Asus USB cable. Tap connect on your phone when a dialogue box opens asking you to enable the USB debugging connection to the PC.

5) Either install the Asus drivers manually or automatically (using active internet and windows update) in your PC.

To update go to device manager and update the drivers of the phone (it will be shown as a small icon with an exclamation mark and something like Qualcomm written).

To update manually use these files https://drive.google.com/open?id=1YpezCedaRWGDS9WW7UaXXyyBod0Bk5qp (courtesy Sudeep Duhoon; thread link https://xdaforums.com/asus-zenfone-max-pro-m1/how-to/discussion-unlocking-bootloader-t3786698) and choose install from folder.

To update automatically just select using Windows update (you need active internet for this).

6) After installing everything connect your phone again after removing.

7) Open minimal adb and fastboot in PC.

Type "adb devices" and hit enter.

This should show the devices attached and it's serial number (just for ensuring that everything is fine).

8) Type "adb reboot bootloader" and hit enter.

This will restart your phone to fastboot.

9) Type "fastboot devices" and hit enter.

This should show the devices attached and it's serial number (just for ensuring that everything is fine).

10) Type "fastboot oem enable_camera_hal3 true" and hit enter (courtesy shakalaca).

Congrats if you see OKAY in the command prompt.

Tips:

Ensure that you type/copy the commands without "".

This guide doesn't unlock your bootloader or root your device.

Ensure that you are on new firmware.

The camera2api remains intact through OTA updates and you don't have to repeat this again after OTA update.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] sourabhssss:
I am not noob...i have done everything... any fastboot commands starting with "fastboot oem" aren't working...even "fastboot reboot" is working...
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Skyther_k:
I assume that there's problem in asus driver installation since it's specific to fastboot commands and not adb commands.

If still not working then you must try it on a different PC.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] sourabhssss:
this too has been done more than a couple of times...even tried with android fastboot interface.... same error
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Cookie Ninja:
Works for my phone. Commands issued from a Linux pc terminal.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] sourabhssss:
I have done in Linux too....same error everywhere
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Pasarireng:
how to do this on a rooted phone? any guide/link please?

thank you
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Lakshit Singh zala:
not working

bro this command when i write it seems it shows an error. why? i don't know,can you help me plz.:o
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] vaibhavnarain11@gmail.com:
What error?
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] vaibhavnarain11@gmail.com:
It will work on rooted phones too.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Pasarireng:
ok I have done it by edit build prop file on system (add a command line) instead.

it's so simple but I don't know it.

and..searching in xda forum didn't get the result so I search on google and get it from other website.

I don't know is it only me or what, but search facility on Xda forum often doesn't yield the needed result.

anyway, thanks for the reply.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Inz889:
Tried it multiple times, but no luck

Maybe ASUS already blocked this command

I'm using 6GB variant
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Lakshit Singh zala:
yes in my ph also but nothing happened.

I want to use gcam in my phone but this command doesn't help me. I think it only get enabled when you root your device. But i doesn't take risk of void my warranty. So i tried thia after 1-2 year. anyone can help me to solve thia problem.To enable camera2api without root:eek:
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] su-do:
I'm using unrooted ZB601KL 4GB, now at fw337.

I've successfully enable camera2api a few weeks ago at fw 326.

A few hours ago I reset my phone, after factory reset the camera2api is disabled.

But I've been successfully re-enable it using fastboot (@ fw337).

Maybe you're devices not communicate correctly with the PC.

I use tutorial from here

Which should be the same.

External link not working, maybe because my junior status.

But you can google it, and select the one from the-custom-droid (dot) com.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Inz889:
Thanks for the reply

I tried on other computer and it work perfectly
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] RasmiranjanBehera:
I want to know if I enable camera2api is there any chance to not getting os update??

---------- Post added at 09:59 PM ---------- Previous post was at 09:53 PM ----------

If I enable camera2api without root is there any chance to not getting os update??
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] su-do:
I'm using ZB601KL, unrooted, camera2api enabled.

I still get OTA update.. :good:
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Pasarireng:
Even my rooted phone still get OTA notification from Asus. Although I can only DownLoad it but not install it.

(don't Download it though, if your phone is rooted like me, because no one still has the idea where the big file goes after download it, so we can't get rid of it CMIIW).
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] muralirj:
Im using arnova8g2 8.3b1 5.1.018.. Whenever taking pictures with this build im getting vignette effect like pictures and also cold tint like picture.. Is there any alternative build for this
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] vaibhavnarain11@gmail.com:
Root is not needed.

Also mention what error are you getting so we can help in a better way.

Warranty and Ota won't be affected by this method.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Nishant 10:
Hello Everyone..

Guys I Just wanted to know that whether we will get android pie update or not after doing this.. it's almost the end of the year and asus said that they'll be rolling out android p at the end of the year..

I'm just worried that i might not get Android pie update and further OTA updates..

I'm not a pro guys.. please don't judge me..thankyou
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Boomshiva:
Be rest assured you will keep receiving OTA updates if there is any.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Nishant 10:
Thankyou so much??

Another thing which I wanted to know that if there's any bug..as i read some people were complaining about battery drain or auto brightness issue.. I'd be very grateful if you tell me about that too..?
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Boomshiva:
Battery drain or auto brightness isn't related to cam2api from this thread.

Battery drain is due to many factors ,few of which are - rogue wakelocks , more BG activities , low signal reception , constant searching for WIFI /BT .

User need to address these issues themselves .

I have seen users complaining about the battery drain in stock OEM rom in this particular device, and all they come up with is that FM radio is the culprit here.

I totally disagree with that. They must understand that battery usage shown for FM RADIO is not for FM radio only but for the whole bunch of packages included in it. You can check those packages/services by going into APP INFO of FM RADIO and checking the DATA USAGE part. You will be able to see the whole list of packages included/ attached to the part of FM RADIO .

So if the battery usage is let say 2% then its not due to FM RADIO only but due to the whole package which compromises of Fm Radio . Hope i am clear enough.

About auto brightness i have no idea as i don't use auto brightness. And even if i do sometimes ( rarely) i don't feel any abnormalities there.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Nishant 10:
Thankyou sir for your wonderful explanation..

I think i should try this then

Edit:Tried it and now the photos are on a next level...I mean the camera quality is just ridiculous..??

Thankyou so much to the author and everyone who's willing to help people like us..

Although I'm still a bit skeptical whether this did not screw with my warranty and i will get OTA updates or not..???
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] erkut:
Works smoothly.

Auto brightness already sucks even without camera API.

I used Lenovo P2 and same auto brightness sucks. I guess common problem whole 5k battery devices :/
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] sean cage:
I am having the exact same problem as you do (3gb variant user). Have you found any solution to it brother??
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] aakashdevansh:
Fixed!

Just switch to a USB 2.0 port.

I was facing this same issue, tried multiple fixes, and everything sorted once I switched to USB 2.0 on my PC.

Used Minimal ADB and Fastboot. Drivers were updated using internet (via Device Manager).

Device : Asus_X00TD with latest firmware update, unrooted.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Nishant 10:
Can Anybody help? Asus has released 338 update but I'm not able to receive it.. I've checked it from settings multiple times..cleared the cache of FOTAservice etc. But nothing seems to work.. I'm thinking that camera2api somehow stopped my OTA??
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] lapaho:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem enable_camera_hal3 true

...

FAILED (remote: unknown command)

finished. total time: 0.004s

I need help
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] vikas44493:
I have already enabled hal3 in stock non rooted rom 6gb varient. I am facing an issue that whenever i take a photo from gcam and click on to view it my screen freeze at that photo i mean i can close it by duble pressing back and it does take photo after single back but that photo screen never goes away and i cant see other pics than latest one in all gcam versions. Anyone have any idea? And i have attached screenshot and you can easily see the motion enabled is written on top it means i am on starting screen to take photo but my screen shows the photo preview not the live image. :confused:
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] varun99@:
link for google adb fastboot drivers

link for google adm and fastboot drivers
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Mack_Perfecto:
Tried every possible tool, changed 3 cables, installed android bootloader driver still no luck :/

false command works just great tho ! Help pls :/
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] vaibhavnarain11@gmail.com:
dig in a bit in your windows update section, frequently the device drivers show up in it as a part of the windows update (optional updates).
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] nae8ean:
Failed

I got this error message

FAILED (remote: unknown command)
finished. total time: 0.004s

my android phone is asus zenfone 5 ZE629KL android pie
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Arnab@:
same happened to me, though I am using Max pro m1 3GB variant, :confused:
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Avriolo:
Guys, i.'ve successfuly activated cam2api through the console command, but gcam still doesn't launch, cam2 probe says it is not supported. What besides console command should I do?
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] varun99@:
Did u root the device
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Avriolo:
No, the topic says it is not needed
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] nae8ean:
Unlocked boot loader??

did you unlock your bootloader?
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] varun99@:
Steps to successfully activate cam2api using consile command
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] varun99@:
Got update
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Daunyil:
Lte only not working after enable camera api 2

Camera api 2 is working well .. but another problem happen. i can lock lte only by *#*#4636#*#* please help:confused::rolleyes:
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] apd55:
You can lock LTE only on first sim
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Imjijojohn:
I did this before and worked well for me. But after I reset my phone and when I tried to do the same , its is showing that 'Failed, unknown command'. I Can't enable it now. Please find me a solution to enable cam2api.

Thanks
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] GliderZ:
Try adding " ./ "(Without the quotes) before the command. This might help solve the 'unknown command error' .
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] nae8ean:
Zenfone 5 ZE620KL Android 9

Like this command?

./ fastboot oem enable_camera_hal3 true
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] GliderZ:
Yeah try that..... Before i suggest you checking with "adb devices" or "./adb devices" to see which ones working.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] nae8ean:
./ fastboot oem enable_camera_hal3 true and ./adb devices is not working

adb devices is working
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] GliderZ:
Then it's fine. I was just saying that one should try adding './' up front if the usual commands are not working. If they are working then all is well ig.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] lloydie5:
Hey man, any of you tried this method in Max M1 (not PRO) ?? I mean is there any way(s) of making G.Cam work on this unit? thanks.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] 98harshit:
Now when android pie is around the corner and with enabled camera2api can i get the update or i have to disable camera2api before update..note-android 9 update contain enable camera2api..
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] netship:
I just got this device and enable camera2 API but confused which gcam to use.

Can anyone provides stable gcam for 3gb varient
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] starlord143:
Tried this method. Showed this error message

Failed (command write failed (no such file or directory))

What to do?
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Argyle0297:
just got the phone. right out of the box i did what i always do. enable developer mode, enable usb debugging.

i checked camera2api with probe app, result was legacy. so i searched for how to enable cam2api, then found this thread. tried it and checked with probe app, result was level 3. this was on WW-15.2016.1805.318 firmware.

Nice
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] VictorPLopes:
I can't enable Camera API 2!!!

Hello. My Asus Zenfone Max Pro M1 ZB602KL (3GB/32GB version) just arrived, and one of the first things I tried to do with is is enabling GCam. I installed the drivers correctly, I enabled USB Debugging, I switched it to MTP over USB and tried to do it. ADB works fine, I even wrote some commands, but when I try to run "fastboot oem enable_camera_hal3 true" or "fastboot devices" (after rebooting it to fastboot), I get this error message on my computer: FAILED (command write failed (No such file or directory)). Also, my "fastboot screen" gets replaced by an error message that says "Press Any key to Shutdown". I have tried every single video, followed each pass, installed every driver I found, but the result is always the same. My phone is not rooted, the bootloader isn't unlocked and it is running august 1 security patch, Build No. : 15.2016.1808.326. Thanks.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Techybc:
It says device driver error code 10 cant start
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] narua:
Tried this method on pie beta but it doesn't work even though fastboot command succeeded, still no change with the cam2api.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] va.n.s.h:
Hi

I've updated my device to Pie beta and the camera2api stopped working. It was working fine on 340 build. Also the stock cam is **** and GCam is much needed. Help!!!!
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Mitul Varmora:
Same for me bro

I have tried this trick again

fastboot oem enable_camera_hal3 true

Resut says OKEY in terminal cmd

After reboot still gcam not working

I have tried alternate also like below

fastboot oem enable_camera_hal3 false

fastboot oem enable_camera_hal3 true

And reinstall gcam

Still gcam not working.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Optimus prime 252004:
The method is not working

whenever i try to execute the above mentioned command, i get this message : failed (remote: unknown command). I have tried using different drivers but still showing the same message. what to do??

:confused::confused::(:(
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Ratul969:
Custom rom user

same process on custom rom ? I am using liquid remix p with PBH kernel :)
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Mitul Varmora:
Pie beta users please report bug by official way (follow pie beta report bug guide - from mail).

So that we may get Camera2 API enabled in future release.

I have already done.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] gerkochina:
Hi to everibody.

I have try these cam find by Cleopatra on Umidigi A3 Pro (thanks), without nothing to do.

Luckily, its' work on Asus_X00PD (Asus Max m1) too!

If work on Max Pro M1, everyone please check if quality is the same?

Thanks
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] remstr:
Yeah I was thinking about that. Let's just hope incoming stable pie will have this enabled.

---------- Post added at 11:50 AM ---------- Previous post was at 11:40 AM ----------

Looks like I got "bad archives" error. Mind to share yours?
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] gerkochina:
I try now the download and work fine.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] gerkochina:
I have upload the file in other place.

googlecamera320452821762-40-32045140minapi23arm64-v8anodpi
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] remstr:
Thanks a lot. Works like a charm.

But no potrait mode right?
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] althafvly:
This gcam doesn't need camera api2 ,Its an older version of google camera .. that's why its working with api2. And no new features
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] gerkochina:
Hi, but quality is the same?

Please check this.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] remstr:
I'm not quite sure about quality. But it sure beat our stock asus camera I think.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Radik36:
enable gcam support plz, for 9beta
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] talvigi:
Hi, I watched your YT video and came here to see the thread which is good indeed. So I wanted to know can I use this method on my Xiaomi Redmi note 5 AI running MIUI 10.2
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] kumeipark:
For 9 Beta root is the only way
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Pirote:
Do I need to unlock bootloader???