yashsingh1/xdaforums huggingface dataset:
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] nishang00:
I tried to enable watching several tutorials and threads.

On my command prompt it says okay and done with the process but when I checked with the Manual camera test it failed and couldn't install the gcam. Please help me to enable camera2 api

I am on pie beta.

Thank you
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] akhil850:
Couldn't install or Not opening(crash on opening) ?
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] nishang00:
Not opening.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] akhil850:
If so, try a different gcam apk.

Some user reported issuing the command on Pie is ineffective.

A workaround in that case is , Enable on Oreo then upgrade to Pie. it works:svetius:
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] nishang00:
Well I checked with the camera2probe it says my Api test is failed.

But, in my command prompt my cmd execute successfully.

I think my camera 2api in not enabled with that process.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Naveen Kumar patnala:
Is it work for Asus Zenfone max m1 (not pro version mobile) please let me know
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] abctablet:
Will this work on Zenfone 5Q ZC600KL? We have 7.1.1 because ASUS refuses to upgrade it to Pie and keeps lying and delaying the upgrade... thanks, really tired of this customer service and garbage camera on a phone that;s ADVERTISED for pictures.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Bruneba:
Any way to make it work on samsung? As I cant use fastboot on my device and dont want to unlock bootloader to mess with build.prop ?
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] valkes2:
I REALLY need some help

Phone: Asus Zenfone Selfie Pro 4

What i want: to install GCAM

I got the ADB device recognized by windows

Cant get it recognized as a Fastboot device

Ive tried several drivers and nothing seems to make my phone a "fastboot device" recognized by windows

Can somebody help me?
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] udinz23:
you missed the 's' on 'device' it should be "fastboot devices"
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] valkes2:
ok

but that dosent seem to be the problem...
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] egha5037:
then give us ur screenshot
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] z1_nile:
Don't bother people won't accept their mistakes. Noobs everywhere.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] valkes2:
Thank you for asking. Thank you all for the help

Here are the screens

First the Minimal Adb screen

Here´s my device manager. Ive got the drivers from asus official page

And last my phone screen just to show that debugging is enabled

Sorry for not being able to post the screenshots as images on the post, the forum simply showed my pictures as broken and i couldnt find how to solve it.

But if you check the links you will see that they are simple png images

Once again, thank you all for the help

PS: My phone is a ZD552KL. I got the "USB Drivers" from asus page. Maybe i should go for other drivers?
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] egha5037:
if you going to use fastboot u should turn off your phone and boot into bootloader if your phone turned on then go ahed with adb

that's why fastboot doesn't recognize ur devices
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Pudgio:
I followed the method exactly like several people mentioned here, up to the point where I type .\fastboot oem enable_camera_hal3 true and it will say Failed (write to device failed (invalid argument) and the phone goes black screen with very small "press any key to shut down" on top left of the screen.

Please any help will be appreciated, and as a completely noob here, I have gone through all 35 pages in this thread and still cant solve this issue.

I have the Stable pie upgrade (May update) and latest firmware, and everything still pure (no root or anything)

Thanks in advance
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] NamitNayan:
And here's my error

no root,latest pie(053) update

command prompt was opened as administrator

the command

fastboot devices

show the device name fine

so I don't think any issues with fastboot

fixed: somehow installed Linux(manjaro had no errors,others were like not even booting)

command worked fine in it.(had to enter twice,first time some error)
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] nitroRadon:
I did it but it says "command write failed unknown error" and it fails.... Btw i am having a stable pie version... PlZ help
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Ranjanc:
It doesn't working in the .56 stock version..

Please help out
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] theroyalak:
I have zb601kl and my firmware is WW_Phone-16.2017.1906.056-20190772. when I try to enter command

fastboot oem enable_camera_hal3 true

my phone screen goes black and just "press any key to reboot" is written on the screen. And my cmd gives this error:-

C:\Users\aritr\Desktop\platform-tools>fastboot devices
J7AAGXXXXXXXXXP fastboot

C:\Users\aritr\Desktop\platform-tools>fastboot oem enable_camera_hal3 true
FAILED (Write to device failed (No such file or directory))
fastboot: error: Command failed

C:\Users\aritr\Desktop\platform-tools>

My CMD screenshot:-

Any solution???

Please help me!!!
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] GliderZ:
Trying using any other usb cable other than the one that comes from Asus. Also try changing your usb ports. One more thing, repeat the same steps you mentioned in your previous posts 2 or 3 times
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] theroyalak:
I tried using all the USB ports(2.0 and 3.0). I tried all the USB cables I had. I had tried multiple drivers. Still showing the same error.:crying:

Please help me!!!
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Soyjojnxd:
El comando funciona para un Mi A2 en android pie ?
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] moklev:
My CMD screenshot:-

Any solution???

Please help me!!![/QUOTE]

1. Put you phone in fastboot mode and connect it with a USB cable.

2. Use Debian / Ubuntu.

Terminal:

sudo fastboot devices

sudo fastboot oem enable_camera_hal3 true

sudo fastboot reboot

(sudo IS REQUIRED!)

3. Install OpenCamera from Play Store or F-Droid.

4. Enable API Camera2

5. Enable RAW mode (JPEG+DNG)

6. Enjoy :)

Works perfect with Stock Pie update .58 (september 2019).
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] GiovannaLite:
Have you found any solution for this? I'm having the same exact situation here.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Modgil akash:
did you find any solutions? i am faceing the same problem

help

did you find any solutions? i am faceing the same problem
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] wintage4davin:
same situation here
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Suhas Kamat:
Camera2API using ADB for Lenovo K8 Plus

This post of yours was very helpful I tried this in my friends phone(I.. his Asus Zenfone Max Pro M2)…. yes it worked on Zenfone Max Pro M2.

But I want to reenable Camera2API on my device I. e. the Lenovo K8 Plus. It would be very helpful if you could post a guide to do this using ADB only without rooting my phone. I did search on XDA Forums regarding this but I couldn't find a thread that was enabling Camera2API without rooting. Would be great if you could help in this regards
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] RedGreenBlue123:
If Lenovo allowed to enable it using fastboot. If not, you can't
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] ViinihBR:
Nothing happens ;-;

I power off the phone, i enter fastboot page, i connect to the pc and nothing happens, when i put the command on the cmd adb, the cmd stay on "Waiting for devices", help me plz
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] aitakattay35:
You Not Have USB 2,0 Port, this is work only on 2.0 usb port

You Not Have USB 2,0 Port, this is work only on 2.0 usb port
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] CaioTheBrain:
USB Enhanced Host Controller = USB 2.0
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Gun Striker:
does it work with any smartphone?

i have vivo y91i, want to enable camera2 api, will this method work?
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Zegham:
i have tried this method on infinix note 12 g96,Followed all the steps.and it say unable to open hal 3.Kindly help me i want to instal gcam port on infinix with out rooting my device.Thanks in advance
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Akshay8181:
Ya i can very much see what kind of job you do stealing other people's work and not even mentioning them anywhere GG WP
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] delaciox:
How about record video 1080p60 , i try record and 1080p and choose 60fps , but when play in computer it still 30fps
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] CygnusBlack:
Let's take a chill pill.

He thanked [MENTION=724785]Shakalaka[/MENTION] (by the way, you're deeply missed in Telegram) and the people who tested.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] gusbalaa:
Can someone share some gcam apk?

I'm confuse which one i must use,i just flash that command.

Greetings
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] AVinaSh_S:
GoogleCamera-Pixel2Mod-Arnova8G2-V8.1.apk
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] vaibhavnarain11@gmail.com:
<insert, "the office" thank you meme here >
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] cjcool_123:
worked in locked bootloader ?? thnk u soooo very very much
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] anurags23:
Thanks a ton! It worked.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Syedshas:
Hi can u give step by step instructions with commands too it will be helpful
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Amal Prabhakaran:
Wow. We've got the rootless method to enable camera2api. Big thumbs up for your contribution to this device ??. BTW, will the API be restored when we install an OTA. Anyway, even if it is the case, it is not a big deal to follow this procedure as it doesn't require any factory reset or some kind of data loss. Once again thanks buddy ??
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] gusbalaa:
See firstpos, already mentioned step and the command.

Reading is not gonna hurt you.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] boosters:
But the app is consuming the battery, only 15 min of usage drained 10% battery????

---------- Post added at 09:33 PM ---------- Previous post was at 09:28 PM ----------

I have found the video tutorial here but unfortunately, it is in the Hindi language.

[YOUTUBE]https://www.youtube.com/watch?v=5UKZlKy1p_Q[/YOUTUBE]
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Kidshunter:
can anyone tell me what to do or what do I need to install in my pc for step no 1 in details? Im newbie here and Im willing to learn something new
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] austinpinto:
doesnt work on android 9 dp5 gsi.

remote failed unknown command
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] AbhiKinagi:
Works Thanks..
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Syedshas:
Need Clear Instructions sorry to ask

I read the first post thank you

first mention enabling developer options and USB debugging many people don't know

1. i need the link to download adb drivers for this phone (please give a link to download it)

2. which camera apk file and where should we get

3. how to install ADB driver in pc for this phone

4. and how to bring terminal window and what are the commands not the only last command (fastboot oem enable....) I am asking this not only for me. for the users who are all new to XDA.

please give 2 links one for adb drivers and apk file please give other commands, nobody is hurting no one, no one ask helps unless they don't know it. so kindly talk good, not rude. Ty again for reply
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] night_mare:
Google minimal adb and fastboot. You will get xda link download and install it..

While installing on the last screen select desktop shortcut.. double clicking it brings up terminal window.

To get your phone into fastboot mode, turnoff the mobile and press and hold volume up and power on button.

Now enter the command in the terminal window.

Regarding which apk.. it's already shared in the discussion
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] gusbalaa:
1. Enable USB Debugging ( Google is the best friend )

2. About adb and fastboot ( Google still the best friend ) just type ' Minimal Fastboot '

Link :

https://androidfilehost.com/?fid=962187416754459552

3. Extract Minimal Fastboot then press Shift + Right Click the folder then select ' Open Command Window Here '.

4. Then check make sure your devices is connected . ( type 'adb devices') your devices should be listed if connected to adb.

5. Allow USB Debugging on devices.

6. Now type 'adb reboot bootloader' ( easy way boot your devices to bootloader )

7 Then run the command on first post.

8.If success, then reboot your devices type 'fastboot reboot' or reboot manual.

9. Then download the apk file, link

https://xdaforums.com/asus-zenfone-...nable-camera-api-2-root-t3823498/post77222331

10. Check you gcam.

11. Done
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Secret Youtuber:
I have the same question.......

Will the API be restored when we install an OTA update?
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Syedshas:
Ty so much it worked so fine but i changed ur steps little bit without loading bootloader i installed fastboot and adb used this command

by using minimal fastboot.exe because i using windows 10. i extracted your zip it didnt work in terminal. but really ty so much.

fastboot devices

fastboot oem enable_camera_hal3 true

fastboot reboot

installed google camera v8.1

pics are so much difference ty a lot for ur help and for this thread creator. i bought 6gb version this saturday. camera is ok but after installing this google camera it was awesome.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Ali.B:
Just can't find the drivers, can someone help me out?
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] vaibhavnarain11@gmail.com:
Do you even read the posts?

A guy just couple of post above told the same.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] gusbalaa:
Enjoy your new camera :D

I just test the video recording, awesome .
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] boosters:
Is there also a way to disable the camera2API?.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] melonusk:
come on guys, the gcam isn't that good, tbh gcam even fails on hdr test when compared to stock cam, and in other tests gcam doesn't significantly beats the stock cam app. The two apps brings the same same results. The latest update really improves the stock cam, why i'm the only one see this ??
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Syedshas:
Hi [MENTION=5992789]gusbalaa[/MENTION] can u tell me why the pictures are not getting saved or taken in hdr mode or how to take even jpg raw file nothing is getting saved kindly tell me how to take hdr pic , it shows hdr+ on when I take pic on that mode it doesn't savw
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Syedshas:
after restarting phone i can take pics in hdr+ but when i change settings for hdr+ it doesnt take pics for example i clicked on for nexus 6p pics more sharpness option it doesnt take hdr+ after that when i switch off this option i was able to take the pic
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] gusbalaa:
Hdr+ is working fine and saved on storage.

See image below.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] gusbalaa:
Sory broken image
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Syedshas:
for me also working fine after i restart the phone but if we change settings for hdr+ its not saving and potrait working on people so good but not on objects is there any suggestions
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] RajnishPS:
I've installed the 8.1v Gcam, front cam portrait works like a charm but the back doesn't work, no blur
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] himanshu_atrix2:
Now, there is no reason to root. At least for me.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] vaibhavnarain11@gmail.com:
Don't know why would you do that but for that repeat all steps after replacing true by "false" in the command.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] z1_nile:
Is this safe?

---------- Post added at 07:39 PM ---------- Previous post was at 07:12 PM ----------

Did it, completed good. Enabled the camera 2 api. But now auto brightness doesn't seem to work. Help me with it please.

---------- Post added at 07:27 PM ---------- Previous post was at 06:39 PM ----------

checked my light sensor through an app seems to be gone, will contact support
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] iamfarhanansari:
hey see the last post

He is saying it breaks auti brightness

Can u please confirm
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Ali.B:
Man, I was fed up of the device not showing in adb, also I read the thing complete thing which said download the driver from Asus website but I could not find that on my product page.

Be mature and polite while communicating with others rather trying to be oversmart.

---------- Post added at 07:16 AM ---------- Previous post was at 07:14 AM ----------

No using it for the past 24 hours and auto brightness works fine.

Also, got Google Lens working after this stuff.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Ali.B:
Significant enough.

Also EIS works great with GCam.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] vaibhavnarain11@gmail.com:
"Be mature and polite while communicating with others rather trying to be oversmart".

I have ego issues. Don't like it? I don't care.

Btw there are so many noobs who don't ready any posts. I wondered if you were the same. Why? Just writing I didn't find drivers communicates the same.

Be thorough while describing any issues.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Ali.B:
Yea, due to wasting couple of hours for it was fed up. Should have been clear enough. Btw, thanks for finding out the command.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Dementore711:
Which version do you use? ZB601KL or ZB602KL?
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Ali.B:
ZB601KL.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] z1_nile:
Sir, try this,

Turn your pc/laptop on (have internet connection on it)

Connect the phone, wait for the pc/laptop to install drivers. (it's automatic)

Open adb and type adb devices hit enter

Accept and click the always allow on the phone.

Put your phone in fastboot mode

The pc/laptop will install more drivers.

Now type fastboot devices.

Your phone will be listed there.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] boosters:
Thanks. :good:
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Ali.B:
Sorry not to mention it earlier, got it working very next hour after Posting.

Thanks for the help anyway. :)
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] lanisshrup:
All great works like a charm..
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] iamfarhanansari:
After rebooting to bootloader

Camera 2 api command do not work

Before rebooting commands work

After typing adb reboot bootloader

Device reboots to bootloader

When i type fastboot oem enable_camera_hal3 true

It shows waiting for any device

Please help
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] star.user:
fastboot oem enable_camera_hal3 true failed

followed the same steps, but

fastboot oem enable_camera_hal3 true

didn't finished. I had to disconnect the phone after 10m. Tried again same steps, but now the above enable camera is failing with

FAILED (command write failed (No such file or directory))
Finished. Total time: 0.002s

Can you please help me on how to fix this?
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] yash6#:
Update the drivers after loading into bootloader
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Akkiiii:
In device manager, this device is showing Asus bootloader interface

By which driver I should update it to?
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] iamfarhanansari:
How to update drivers in bootloader mode
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Akkiiii:
Auto brightness sometimes fails

Throw some good light on sensor then it will start working. It worked in my case.

I used other's phone flash on sensor for a second.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] z1_nile:
No data is being given by the sensor to android system.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Akkiiii:
I have no idea about it, but check above method if it works.

For my case it worked, I read on asus forum.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Ali.B:
Use this adb(had the same issue): Description of this video: [youtube]5UKZlKy1p_Q[/youtube]

---------- Post added at 08:48 AM ---------- Previous post was at 08:46 AM ----------

Guys have you noticed rear portrait doesn't work on non human subjects. As it's Google camera we know it's not going to use the secondary camera.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] z1_nile:
The manual camera app (DSLR camera) on play store says the device supports anti shake but the feature is turned off. Please look into it and help to find a way to enable it.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] yash6#:
After loading into bootloader go to device manager on your computer then find other devices and select update the drivers automatically ( for this you need an active internet connection) and after the drivers are installed type fastboot devices in the command window to check if your device name comes or not
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Ali.B:
Anti shake means EIS I guess.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] z1_nile:
Yes I thought of that too but in gcam it's enabled and working (kind of).
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Ali.B:
Yeah, it's a huge difference too.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] z1_nile:
Not that Hugh but noticeable. Btw how's your battery life?
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Ali.B:
Dropped a bit while on standby, the time while use is pretty much the same.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] z1_nile:
I'm getting 10 hours screen on time and 20 hour standby time total of 30 hour on a single charge.

Is this normal?
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Ali.B:
Must be, for me it's attached.

Also, while being in no network area, the battery is dropped by 10-12% for 4 hours(my college is an example). That significantly affects the overall usability.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] z1_nile:
Try putting it in airplane mode while in college.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Ali.B:
Yep, will try to do that tomorrow.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Verma's:
Did it wipe the internal storage?
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] sampit76:
Thanks OP for this great method.

Will this effect next Official OTA from asus?
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] iamfarhanansari:
can you explain how you did it

I am unable to enable camera2api in my windows 10 pc

After rebooting to bootloader

When i enter the command

It says waiting for any device
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Bhupendra Gabel:
It shows " waiting for device" while doing this :(. Help

while doing this.... It shows Waiting for device ...

Plzzz help
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] iamfarhanansari:
Same problem