Related
Rooted device is required
1) open build prop editor.
2) type persist.camera.HAL3.enabled=1
3) save and reboot.
4) it's done now you can use full professional mode on Moto g4 plus.
Try AZ camera manual premium app for best result better than manual camera app.
Download link
http://www59.zippyshare.com/v/dfvcgii1/file.html
Camera 2 probe check camera 2 api hal and support
That allows you to do this?
Yes this tweak is working
And what is this tweak for?
Persist.camera.HAL3.enabled=1 enables camera2 api functionality.
Aby lad said:
Persist.camera.HAL3.enabled=1 enables camera2 api functionality.
Click to expand...
Click to collapse
I have done the way you have stated but it isn't working please help.. Please
Soham Biswas said:
I have done the way you have stated but it isn't working please help.. Please
Click to expand...
Click to collapse
Am really sorry for one wrong screen shot. Please forgive me ..1st screen shot is right but 2nd screen shot was uploaded by mistake am extremely sorry.. Please forgive me .. Please.
Check again, if you write HAL in small letter it wouldn't work camera2api is implemented but not enabled by default.
Thank you. I was looking for this.
Edit: isn't working here. I am on Invicta OS 4.2 Android 7.1.2, @Aby lad are you on stock rom?
I tried with the AZ camera but it's crashing when i try to open the app, i tried with Open Camera (API 2 support) and it automaticly hangs.
Please provide more info about in which ROM this tweak is working.
Aby lad said:
Check again if you write HAL in small letter it wouldn't work camera2api is implemented but not enabled .
Click to expand...
Click to collapse
I actually copy pasted the command you had mentioned..so the HAL was in capital letters only.. Any solution.? And im.on RR 5.8.3
I am using stock rom az camera it hangs when i capture raw image approx 30mb size. Try manual or proshot camera if they works.
moonlightdrive said:
Thank you. I was looking for this.
Edit: isn't working here. I am on Invicta OS 4.2 Android 7.1.2, @Aby lad are you on stock rom?
I tried with the AZ camera but it's crashing when i try to open the app, i tried with Open Camera (API 2 support) and it automaticly hangs.
Please provide more info about in which ROM this tweak is working.
Click to expand...
Click to collapse
Is camera fv 5 is working
Aby lad said:
Is camera fv 5 is working
Click to expand...
Click to collapse
I ended installing last stock firmware, works perfectly here. By the way very nice camera (AZ).
Thanks.:good:
Didn't work for me too. I'm on RR 5.8.3 latest build
Kickass1415 said:
Didn't work for me too. I'm on RR 5.8.3 latest build
Click to expand...
Click to collapse
On custom rom there is problem with camera2 api
so how can I enable the camera 2 API on the latest version of Cosmic OS which I currently have installed on my phone? Should I flash the Motocamera zip to enable those libs? I'm a completely inexperienced person in understanding these things. So, please don't mind if I have said something wrong.
can anyone open captured RAW image? I'm on stock rooted nougat november security patch and after taking photo with AZ camera, I cannot open the 30mb file not in the phone and not in picasa, photoshop...
Tirthyawarmachine said:
so how can I enable the camera 2 API on the latest version of Cosmic OS which I currently have installed on my phone? Should I flash the Motocamera zip to enable those libs? I'm a completely inexperienced person in understanding these things. So, please don't mind if I have said something wrong.
Click to expand...
Click to collapse
Replace camera2 libs from system >vendor of cosmic os from stock nougat
Flashing Motocamera zip will allow to use Moto camera app on custom rom.
Thank you so much for helping out. Will surely look into the matter.
Aby lad said:
Change all camera libs from system >vendor of cosmic os from stock nougat
And moto camera can work on camera 1 api
Click to expand...
Click to collapse
As per your directions I tried to replace the libs, but failed to do so. I flashed the motocamera zip file which the devs have provided specifically for custom roms. Will that do?
Hi all,
Is there a port of Google Camera with HDR+ and others freatures for the M8? or is it absolutely impossible due to Hardware limitation? I have M8 with S-Team Rom.
I searched in web/xda and found nothing about this.
Thanks.
Heavyweight_inc said:
Hi all,
Is there a port of Google Camera with HDR+ and others freatures for the M8? or is it absolutely impossible due to Hardware limitation? I have M8 with S-Team Rom.
I searched in web/xda and found nothing about this.
Thanks.
Click to expand...
Click to collapse
Im afraid not.
These may work. Build for 32 bit. Worked on this Snapdragon 801 chip on Oppo.
But... 2nd link requires Android 7 for sure, and 1st won't work correctly, at least on 6 (crash).
https://www.celsoazevedo.com/files/android/google-camera/f/GC_4.1.006.126161292-41003513.apk
https://www.apkmirror.com/apk/googl...amera-4-1-006-135988111-android-apk-download/
This older 3.1 also works on 6.x, but also crashes on stock ROM (maybe due to unedited build.prop)
https://f.celsoazevedo.com/file/gcamera/GC_3.1.021_6.0H.apk
Possible fixes for mentioned crash:
https://www.celsoazevedo.com/files/android/google-camera/troubleshooting/#help4
On 6.x stock ROM worth to start from adding build.prop relevant line to unlock Camera 2 API. Everything described there. Root required for build.prop edit if required and Camera 2 API doesn't work (like on stock 6.x ROM). You can test it e.g. in Snap Camera settings and try to enable Camera 2 API. Don't forget to restart the phone after editing the file.
All Google Camera ports versions:
https://www.celsoazevedo.com/files/android/google-camera/
Maybe you'll find yourself some new working ones yet.
But working Camera 2 API is required, and 64 bit ones won't work.
Hey community, what's up?
I'm curious if there is any option to enable 4k video recording? I activated camera2api and I'm using the google camera (the latest port a very kind developer has made). Everything works perfectly, except 4k video recording. The method described in this post only works for MIUI, in RR we neither have the folder, nor the corresponding file.
https://forum.xda-developers.com/showthread.php?t=3774141
Long story short guys: if I switch from FHD to 4k, the camera stops working. Does it has to do anything with the firmware I'm currently using? I've tried several camera mods, but none of them worked. Can I enable it somewhere in my system files (like I did with camera2api?)?
Additional question: do I need to update/flash firmware updates in general? Does it provide any benefit? Someone provides the latest firmware but I have the strange feeling that flashing one of them can damage my device (however they are classified in china & global version --> no flashing of "wrong" firmware but it's still somehow scetchy...).
I know you are busy and it's pretty much to ask, so thank you very much for your answers! Best regards
Marvin M.
Hello everyone
UPDATE!!!
Now you can skip all the tutorial, and just install the magisk module:
"GCam enable for XiaomiMi8Lite", then you install the GCam.
Thanks to @ncandroid84
But if you want to do all the process manually:
I'm doing this post because no one knows how to do this and I have the solution so I want to share it with you.
First of all, I assume you are an advanced user and have rooted your device with the guides of xda forums, so don't ask about it, please.
Also I've seen that many people done magisk modules, scripts and blabla, but also many people said that those methods don't work, so this is the manual method.
So let's do this.
1. Install a build prop editor (search in play store) and add the following lines in "persist" part:
For Oreo:
persist.camera.HAL3.enabled=1
persist.camera.eis.enable=1
persist.vendor.camera.HAL3.enabled=1
For Pie:
Batpope said:
For Pie you need the following settings in order to enable Camera2API correctly:
persist.vendor.camera.HAL3.enabled=1
persist.camera.HAL3.enabled=1
persist.camera.eis.enable=1
Click to expand...
Click to collapse
Now save and restart your device. Check with the app "Camera2 probe". You should see at hardware support level "LEVEL_3" checked and with green text.
If you see this, now you have Camera2 API enabled.
But... Front camera doesn't work anymore, with any app, so you have to replace a file.
2. Install a file manager with root that let you modify file permissions and access your root folder.
You should download the next file:
Oreo:
https://drive.google.com/file/d/1w2Qw34Pmy0dLmlXRYRSm8JyKgEb2mZ6u/view
Pie:
https://drive.google.com/file/d/1u7AREkr6_QKKdSZw2s_5itYk0xkKYTm2/view
-Copy the file.
-Now, go to to /vendor/lib and paste it. Replace the existing file.
-Now set the following permissions in the new file you pasted:
Owner: Read and write.
Group: Read.
Other: Read.
Or rw- r-- r-- for advanced users
Save and restart.
Now you see that front camera works fine with many apps except stock camera. This is when you install the gcam.
I'm using now the Arnova's Advanced 1.4 version downloadable at Celso Acevedo's page. (Google it).
Also, 4k recording doesn't work but you can use stock camera for this.
That's all and I hope I've helped you.
Hi! I did these steps into the build.prop but Camera API shows me the support level "LEVEL_3" in red
I have downloaded the apk from this link: https://www.celsoazevedo.com/files/android/google-camera/f/changelog380/ and not work.
pls help
hi dear pls help
the front camera doesn't work.
camera2 open
please take a video.how do I do it?
ugurmutlu21 said:
hi dear pls help
the front camera doesn't work.
camera2 open
please take a video.how do I do it?
Click to expand...
Click to collapse
Read this:
https://forum.xda-developers.com/showpost.php?p=79237524&postcount=2
Import config:
https://www.celsoazevedo.com/files/android/google-camera/f/settings09/
kennethstarr said:
Read this:
https://forum.xda-developers.com/showpost.php?p=79237524&postcount=2
Import config:
https://www.celsoazevedo.com/files/android/google-camera/f/settings09/
Click to expand...
Click to collapse
I've uploaded the files.
he front camera doesn't work.
For Pie you need the following settings in order to enable Camera2API correctly:
persist.vendor.camera.HAL3.enabled=1
persist.camera.HAL3.enabled=1
persist.camera.eis.enable=1
The front camera fix works like a charm, thanks!
front camera does not work
no work
ugurmutlu21 said:
no work
Click to expand...
Click to collapse
You need to download the libmmcamera_platina_imx576_sunny.so file posted above. Once you overwrite it, change the permissions and it should work.
Remember, after this fix the front camera won't work with the stock camera app, but it will work on all other apps, including gcam
Batpope said:
You need to download the libmmcamera_platina_imx576_sunny.so file posted above. Once you overwrite it, change the permissions and it should work.
Remember, after this fix the front camera won't work with the stock camera app, but it will work on all other apps, including gcam
Click to expand...
Click to collapse
yeah, I did, but no, it's not working.
vagoybostero said:
Hi! I did these steps into the build.prop but Camera API shows me the support level "LEVEL_3" in red
Click to expand...
Click to collapse
Make sure you have edited the build.prop correctly.
I thought the API would be enable in the latest update to Pie. Or they will enable it in the next miui update?
Thank alot..
It worked for MI8 Lite Havoc-OS-v2.4..:good:
Hoping for getting a official update ?
Hello I have enable camera2api and installed gcam but my front camera doesn't work
my file explorer doesn't let me to paste and replace the fix file into root /vendor/lib i try to do it with other file explorer but i have the same problem.
Replacing the libs broke the instragam front cam.... Any solution?
Sometimes Gcam stops taking photos and i need to reboot the phone. It is normal? Any fix? I use latest Pixel Experience rom.
Do you have the same problem using Gcam in Miui?
GuGor said:
Sometimes Gcam stops taking photos and i need to reboot the phone. It is normal? Any fix? I use latest Pixel Experience rom.
Do you have the same problem using Gcam in Miui?
Click to expand...
Click to collapse
I am on pixel experience too. I have noticed that the camera doesnt take pictures not only on gcam, but on every app that uses the camera. I have tried both caf and aosp versions of PE and i had this issue
How much better is quality of the photos from GCam over stock MIUI camera on this phone? Is it worth doing and loosing front camera in stock app (and have it just as 6 Mpx in other apps) over using just stock camera?
lapist said:
How much better is quality of the photos from GCam over stock MIUI camera on this phone? Is it worth doing and loosing front camera in stock app (and have it just as 6 Mpx in other apps) over using just stock camera?
Click to expand...
Click to collapse
Honestly, I did not see that difference, so, no, definitely not worth it.
Why??? why Xiaomi why...
I've followed a lot of tutorials to flash a camera 2api module enabler this shouldn't be complicated so i'm gonna post what i have been doing to see if someone can help
Bootloader unlocked
In fastboot mode:
fastboot flash recovery twrp.img (am using the latest)
So i flash twrp temporarely just to enable gcam
In twrp i used a lot of modules but none of them work
Some even say that the flash was sucessful but in manual camera compatibilty it knows that the cam2api isn't enabled
If anyone could help it would be amazin
(Miui 11.0.5 Android 9)
My fear is that i can't flash cam2api on pie that would be a shame
Also, i don't want to root the phone that's why i'm not using a build prop editor
Ok so this just got more bizarre i've extracted the build.prop and the changes are there
the value is set to 1!!... but i am still failing any camera 2 api test...
If someone could help me understand this behaviour it would help a lot
Same for me. All camera2api guides I've seen are more or less sophisticated ways of adding lines to /system/build.prop, but that doesn't seem to be enough to enable camera2api and I'm dying to know why.
Whyred, MIUI Global 11.0.3, Android 9, bootloader unlocked. When I pull build.prop to my PC, it contains both "persist.camera.HAL3.enabled=1" and "persist.vendor.camera.HAL3.enabled=1", but camera tests fail and ported gcams just crash.
All ideas welcome.