I cannot get a Camera2API to work! - Xiaomi Mi A2 Lite Questions & Answers

I'm on Resurrection Remix and I cannot get Camera2API to work on it, after I activate Camera2API the camera doesn't work period.
I need this for GCam and I cannot use it because of the fact.
Please help I don't understand what is going on

InfinityXDA said:
I'm on Resurrection Remix and I cannot get Camera2API to work on it, after I activate Camera2API the camera doesn't work period.
I need this for GCam and I cannot use it because of the fact.
Please help I don't understand what is going on
Click to expand...
Click to collapse
Can you give me gcam link pls ?

ananxd said:
Can you give me gcam link pls ?
Click to expand...
Click to collapse
I don't know one that works

ananxd said:
Can you give me gcam link pls ?
Click to expand...
Click to collapse
here https://f.celsoazevedo.com/file/gcamera/GCam_6.1.021_N7P_test2.3.apk
---------- Post added at 05:00 PM ---------- Previous post was at 04:58 PM ----------
Try this http://en.miui.com/thread-5850096-1-1.html

InfinityXDA said:
I'm on Resurrection Remix and I cannot get Camera2API to work on it, after I activate Camera2API the camera doesn't work period.
I need this for GCam and I cannot use it because of the fact.
Please help I don't understand what is going on
Click to expand...
Click to collapse
Camera2 API must work on this device and it should be level 3 if enabled. Get Camera2 Probe or similar app to confirm it. The issue must be with the camera app. Check out this app, it's a test/demo for camera2, see if it works.

celrau said:
Camera2 API must work on this device and it should be level 3 if enabled. Get Camera2 Probe or similar app to confirm it. The issue must be with the camera app. Check out this app, it's a test/demo for camera2, see if it works.
Click to expand...
Click to collapse
it says level 3 but the camera doesn't work on any app what so ever, when the Camera2API is activated

InfinityXDA said:
it says level 3 but the camera doesn't work on any app what so ever, when the Camera2API is activated
Click to expand...
Click to collapse
I would try a different rom. I'm on ArrowOS and camera2 works for sure.

celrau said:
I would try a different rom. I'm on ArrowOS and camera2 works for sure.
Click to expand...
Click to collapse
oof I love RR though it has a update so I will see if the Camera2Api works after the RR Update if not I will switch ROM's, are there any bugs on arrow?

InfinityXDA said:
oof I love RR though it has a update so I will see if the Camera2Api works after the RR Update if not I will switch ROM's, are there any bugs on arrow?
Click to expand...
Click to collapse
For me Arrow is just perfect, just enough customization and AFAIC no bugs, really clean. I use CAF kernel also. Please note, don't dirty-flash upgrades, do 'fastboot erase system' before flashing the new one.

celrau said:
For me Arrow is just perfect, just enough customization and AFAIC no bugs, really clean. I use CAF kernel also. Please note, don't dirty-flash upgrades, do 'fastboot erase system' before flashing the new one.
Click to expand...
Click to collapse
I'm also looking into Havoc OS!!

celrau said:
For me Arrow is just perfect, just enough customization and AFAIC no bugs, really clean. I use CAF kernel also. Please note, don't dirty-flash upgrades, do 'fastboot erase system' before flashing the new one.
Click to expand...
Click to collapse
Also there is a update for Arrow if you haven't seen it https://sourceforge.net/projects/arrow-os/files/arrow-9.x/GSI/

InfinityXDA said:
Also there is a update for Arrow if you haven't seen it https://sourceforge.net/projects/arrow-os/files/arrow-9.x/GSI/
Click to expand...
Click to collapse
Thanks, didn't know that, I'll get it soon. I'm attaching a magisk module that enables camera2 while preserving camera1 for others, you can edit /common/system.prop for your needs. I just copied from a Miui Camera one. Hope it helps.

Related

[port][hydrogen] Snapdragon Camera

only for hydrogen, running aosp nougat rom.
tried this on my hydrogen running lineage os, so far better than google camera.
bugs that exists in the stock camera still exists in this camera, sorry but there's nothing i can do, i just ported this to our device.
most of the camera features work except for recording.
you can flash this in twrp, just make sure you have at least 10mb free space on /system :fingers-crossed:
Click to expand...
Click to collapse
Hey guys, there's someone shared redmi note 3's google camera mod with HDR+ working and it's better than snapdragon camera.
Don't forget to rate this thread 5 stars if you like the camera!
Doesn't work on MIUI 8 beta global. Log attached.
IndDoc said:
Doesn't work on MIUI 8 beta global. Log attached.
Click to expand...
Click to collapse
sorry, edited first post, only available for aosp rom since miui doesnt enable camera2 api iirc
Tested on helium, NitrogenOS 7.1.1, keep closing, maybe it does for AOSP M only?
laolang_cool said:
Tested on helium, NitrogenOS 7.1.1, keep closing, maybe it does for AOSP M only?
Click to expand...
Click to collapse
hi, please see if this line
HTML:
persist.camera.HAL3.enabled=1
is in your build.prop, if not please add it and try restarting the app.
MM.626 said:
hi, please see if this line
HTML:
persist.camera.HAL3.enabled=1
is in your build.prop, if not please add it and try restarting the app.
Click to expand...
Click to collapse
I have the line...
Works flawlessly on RR 5.8.2. Video recording works and pictures are snapped instantly!
laolang_cool said:
I have the line...
Click to expand...
Click to collapse
hello, please upload your error log so that i can investigate further.
MM.626 said:
hello, please upload your error log so that i can investigate further.
Click to expand...
Click to collapse
how to get the error log?
package info shows the name is org.cyanogenmod.snap (version is 2.0.002(9002eb7dc1-00), which is included by default in NitrogenOS( I have deleted it when flash the rom), are they diffrent?
Hi,
Many Thanks !
It's solution for many bug in my AospExtended ROM with my mimax 2go 16g !
No froze, and i take the photo now
Grrrreaaat post
after flashing this zip twice, i did not got any app naming snap camera!! please help ,just have a camera app org.cyanogenmod.snap !
from hydrogen 32 gb
deepankarverma said:
after flashing this zip twice, i did not got any app naming snap camera!! please help ,just have a camera app org.cyanogenmod.snap !
from hydrogen 32 gb
Click to expand...
Click to collapse
Make sure that you have free space on system partition

Ultimate MiUi Camera Mod Redmi 3s/3x [M/N/O]

This port is created by sk21122000 (MIUI forum) hence i'm sharing it with you all!
This port is basically from Mi A1 Camera! Tweaked one!
Features ::::
1)Slo-Mo Video (480p)
2)Group Selfie
3)Custom icon and custom launcher name
4)Auto, Pro and Live HDR
5)Torch mode flash
6) 1:1 Square mode
7)Beautify Libs
8) Full manual mode with peaking focus and 1/2s exposure
9)Audio Focus
10)Scene mode preserved.
11)Tilt Shift.
12)EIS in video
13)Lowlight Enhancement
14)Flash notification
15) Capture image when object is stationary.
16)Easy flashable zip
Compatibility:-
1) Any N or M based custom ROM. E.g. RR or ViperOS.
2) Some oreo based ROMs.
Does not work:-
MIUI based ROMs.
Link : https://www.mediafire.com/file/86lk...Ultimate_MIUI_Cam_MOD_By_SK21122000.zip?ssl=1
Original Thread : http://en.miui.com/thread-1302732-1-1.html
Reserved
Screenshots :
What are the oreo roms where it works? Thanks bro!
Durga Patnaik said:
What are the oreo roms where it works? Thanks bro!
Click to expand...
Click to collapse
So far I've tried nearly all roms and it works only on ColtOS and XenonHD rom.
If I've missed any, someone please add.
Durga Patnaik said:
What are the oreo roms where it works? Thanks bro!
Click to expand...
Click to collapse
Works well on LOS15 Oreo8.1 by chaubeyprateek[/MENTION]
beat999 said:
So far I've tried nearly all roms and it works only on ColtOS and XenonHD rom.
If I've missed any, someone please add.
Click to expand...
Click to collapse
Lineage Os 15.1
Thank you @shreyas_kulkarni ! I do have a couple bugs to report:
- HDR does not work (no error, it just does not process)
- FC when changing "Quick snap mode" under settings
P.S. I am using latest RR 5.8.5 Unofficial build by Woivod.
For those interested, here is a Magisk version of this mod.
Well, thank you very much! I was actually improving and trying to add the camera watermark... Then I was going to make an thread.... @baba9
Thank you for mentioning me and great work!
I didn't thought of Magisk version:silly::silly: Thanks for making it @s8m
:highfive:
s8m said:
For those interested, here is a Magisk version of this mod.
Click to expand...
Click to collapse
---------- Post added at 01:21 PM ---------- Previous post was at 01:12 PM ----------
Actually the Quick Snap is a MIUI exclusive feature... It requires MIUI framework hence FC while changing it in Custom ROMs:silly:
HDR Auto and pro are finniky though... You are correct... But we can use GCam for HDR+ with Camera2api:fingers-crossed:
It gives far more great results and upto 10MB image size and ZSL minimizes the image blurr in HDR:cyclops:
s8m said:
Thank you @shreyas_kulkarni ! I do have a couple bugs to report:
- HDR does not work (no error, it just does not process)
- FC when changing "Quick snap mode" under settings
P.S. I am using latest RR 5.8.5 Unofficial build by Woivod.
Click to expand...
Click to collapse
I guess i was a bit quick @shreyas_kulkarni. I would remove it if you'll start a new thread and provide constant updates to this mod with O support.
No problem buddy
baba9 said:
I guess i was a bit quick @shreyas_kulkarni. I would remove it if you'll start a new thread and provide constant updates to this mod with O support.
Click to expand...
Click to collapse
Does it have Save to SD card option? I can't find it. It is working well in NitrogenOS 8.1 but the pictures are saving in internal memory.
no miui based rom? booooooohhh
khoaphm20 said:
no miui based rom? booooooohhh
Click to expand...
Click to collapse
Make for yourself
Nope. It doesn't have... But I can add it easily:silly::silly:
nafeesdipta said:
Does it have Save to SD card option? I can't find it. It is working well in NitrogenOS 8.1 but the pictures are saving in internal memory.
Click to expand...
Click to collapse
shreyas_kulkarni said:
No problem buddy
Click to expand...
Click to collapse
baba9 said:
I guess i was a bit quick @shreyas_kulkarni. I would remove it if you'll start a new thread and provide constant updates to this mod with O support.
Click to expand...
Click to collapse
I guess you can discuss with mod and share permissions for this thread only
---------- Post added at 07:53 AM ---------- Previous post was at 07:16 AM ----------
Unable to view qr code details in camera
william.johhn7! said:
Make for yourself
Click to expand...
Click to collapse
not everyone is a programmer
Where is the uninstaller zip???can anyone give me the uninstallerzip plz
santanu2241 said:
Where is the uninstaller zip???can anyone give me the uninstallerzip plz
Click to expand...
Click to collapse
flash this!

Best Gcam setup for Oreo Roms

Hi guys, how u doing?
So as far as I know many people are experiencing laggy gcam in oreo and after testing the possible ways here's the fix for it...
All u need to do is setting these configurations the same way that I did.
Enjoy
I am using pixel experience rom
But I don't know how to access that settings in developers options
Can you please explain
---------- Post added at 04:55 PM ---------- Previous post was at 04:46 PM ----------
Thanks brother it's working
@Mahdiw.grb please share the link of the APK which you are using.
Thanks for the post. I will try the settings and report back.
.A.V.i.n.a.S.h. said:
@Mahdiw.grb please share the link of the APK which you are using.
Thanks for the post. I will try the settings and report back.
Click to expand...
Click to collapse
https://www.celsoazevedo.com/files/android/google-camera/#apk36
Here u go
I am using pixel experience rom and have enabled camera2api but the gcam crashes which version are you using please suggest the file which you're using
Ash225 said:
I am using pixel experience rom and have enabled camera2api but the gcam crashes which version are you using please suggest the file which you're using
Click to expand...
Click to collapse
Did u flash the fix?
https://drive.google.com/file/d/1Nr8vbFDqtUqq0o5VDu6c_S9yJ_a_3J26/view?usp=drivesdk
Basically it's a magisk module to fix gcam on 8.1 roms..
Mahdiw.grb said:
Did u flash the fix?
https://drive.google.com/file/d/1Nr8vbFDqtUqq0o5VDu6c_S9yJ_a_3J26/view?usp=drivesdk
Basically it's a magisk module to fix gcam on 8.1 roms..
Click to expand...
Click to collapse
Thanks i just flash the fix and now its working fine. btw which apk you are using i am not getting the same settings as yours in the apk which i am using . I have downloaded the suggested version from the link above
Ash225 said:
Thanks i just flash the fix and now its working fine. btw which apk you are using i am not getting the same settings as yours in the apk which i am using . I have downloaded the suggested version from the link above
Click to expand...
Click to collapse
I'm using the v2e its link is on the 2nd comment but I assume every version will work fine
Mahdiw.grb said:
I'm using the v2e its link is on the 2nd comment but I assume every version will work fine
Click to expand...
Click to collapse
Thanks for your help. BTW is portrait mode working via the front camera in my case its working but most of the time a greenish colour picture is captured
Mahdiw.grb said:
Did u flash the fix?
https://drive.google.com/file/d/1Nr8vbFDqtUqq0o5VDu6c_S9yJ_a_3J26/view?usp=drivesdk
Basically it's a magisk module to fix gcam on 8.1 roms..
Click to expand...
Click to collapse
Is this only via magisk or I can flash via twrp directly
I'm on Pixel experience oreo too
Sent from my Redmi 3X using XDA Labs
awidyseiza said:
Is this only via magisk or I can flash via twrp directly
I'm on Pixel experience oreo too
Sent from my Redmi 3X using XDA Labs
Click to expand...
Click to collapse
Dont flash if via twrp it wont work (atleast for me it didn't) use magisk and reboot it will work fine:good:
Ash225 said:
Thanks for your help. BTW is portrait mode working via the front camera in my case its working but most of the time a greenish colour picture is captured
Click to expand...
Click to collapse
Use newer cams
Mahdiw.grb said:
Use newer cams
Click to expand...
Click to collapse
I have tried several newer version of gapps from the link you provided but all the camera generates greenish images from front camera both in portrait mode HDR+ as well as normal auto mode. Is it working for you fine?
Phone crash rapidly
When using gcam
Iam in aocp 8.1 oreo
firoj9 said:
Phone crash rapidly
When using gcam
Iam in aocp 8.1 oreo
Click to expand...
Click to collapse
I guess you are trying to say that the gcam app crashes every time you are trying to open the app right? If that's the case then flash the fix via magisk module
https://drive.google.com/file/d/1Nr8vbFDqtUqq0o5VDu6c_S9yJ_a_3J26/view?usp=drivesdk
Hi guys, I know, there's a fix for gcam, using Magisk module. But is there any solution without Magisk. I.e. using TWRP flashable .zip or something like that?
evgenius8888 said:
Hi guys, I know, there's a fix for gcam, using Magisk module. But is there any solution without Magisk. I.e. using TWRP flashable .zip or something like that?
Click to expand...
Click to collapse
Some ROMs are now updated with fixes for gcam. Do check it.
Video recording not working in latest pixel experience ROM which has a fix for gcam too. It it working for you
pranavrocksharma said:
Video recording not working in latest pixel experience ROM which has a fix for gcam too. It it working for you
Click to expand...
Click to collapse
Use older devices in configuration
I m on Atomic os.. When i click pic in potrait mode.. Camera closes automatically after click

[Support] Open Beta 11 Doesn't Work With Arnova GCam v8

Hey,
I have a OnePlus 5T and Open beta 11 with the camera libs fix breaks my camera-related apps. This for gcam v8. Attached isy magisk modules with the fix removed and a magisk log cat. I don't know what could be conflicting with it. Oh and I am on Magisk v16.6. perhaps it has to do with treble now?
Thanks.
It works for me with these modules:
https://i.imgur.com/Lm5Vv0L.png
https://forum.xda-developers.com/showpost.php?p=77012260&postcount=518
Dude. Uninstall the camera2 module and install the fix camera lib. You can find it in the telegram chat (use #latest). This may be the reason. Btw. You don't need the op5t google phone and contact module if you have the google framework module
I tried everything that was suggested in the thread linked and your post. Still nothing.
Sent from my OnePlus 5T using XDA Labs
Signature Beats said:
I tried everything that was suggested in the thread linked and your post. Still nothing.
Click to expand...
Click to collapse
I am using OB11 with Dotfix v2.2 and Arnova v8. Works fine
Where can I find the savitar's full op5t pack and fix camera lib? I can't find it in magisk module - downloads.
Rajeev said:
I am using OB11 with Dotfix v2.2 and Arnova v8. Works fine
Click to expand...
Click to collapse
Why doesn't it work for me? If I flash it; it breaks.all camera related apps. Including Snapchat
Sent from my OnePlus 5T using XDA Labs
Signature Beats said:
Why doesn't it work for me? If I flash it; it breaks.all camera related apps. Including Snapchat
Click to expand...
Click to collapse
Dotfix v2.2?
Rajeev said:
Dotfix v2.2?
Click to expand...
Click to collapse
Camera libs fix module
Sent from my OnePlus 5T using XDA Labs
Signature Beats said:
Camera libs fix module
Click to expand...
Click to collapse
Thats called dotfix :cyclops:
Remove module Ainur Sauron, for me works
Stocco said:
Remove module Ainur Sauron, for me works
Click to expand...
Click to collapse
Holy sh*t! That worked. Thanks!
rijads said:
It works for me with these modules:
https://i.imgur.com/Lm5Vv0L.png
Click to expand...
Click to collapse
but that breaks face unlock
---------- Post added at 11:59 AM ---------- Previous post was at 11:51 AM ----------
Signature Beats said:
Hey,
I have a OnePlus 5T and Open beta 11 with the camera libs fix breaks my camera-related apps. This for gcam v8. Attached isy magisk modules with the fix removed and a magisk log cat. I don't know what could be conflicting with it. Oh and I am on Magisk v16.6. perhaps it has to do with treble now?
Thanks.
Click to expand...
Click to collapse
dude why are you using camera api2 enabler? its already enabled in the 5 and 5t
Dragonlord07 said:
but that breaks face unlock
Click to expand...
Click to collapse
No it doesn't.
rijads said:
No it doesn't.
Click to expand...
Click to collapse
yup just checked it used to though never knew it was fixed

Question I can't take photo when the phone is shaking.

For example in the car,the picture will not be taken until I hold my phone very stable,using custom ROM's camera app.What can I do to make the camera save the photo regardless of current moving state of the phone.
To simulate this ,just move your phone fast with your hand while taking photos.
What about Gcam? Also which Custom ROM are you using?
cyanGalaxy said:
What about Gcam? Also which Custom ROM are you using?
Click to expand...
Click to collapse
PE,crdroid,los,arrowos both have this problem,I haven't try gcam
confluced said:
PE,crdroid,los,arrowos both have this problem,I haven't try gcam
Click to expand...
Click to collapse
Do try Gcam https://www.celsoazevedo.com/files/android/google-camera/
cyanGalaxy said:
Do try Gcam https://www.celsoazevedo.com/files/android/google-camera/
Click to expand...
Click to collapse
sorry but I didn't flash Google as I am in China,I tried two versions of gcram both can't run.
PS:in miui camera work well,I think it's the problem (or feature) of camera app in aosp
confluced said:
sorry but I didn't flash Google as I am in China,I tried two versions of gcram both can't run.
PS:in miui camera work well,I think it's the problem (or feature) of camera app in aosp
Click to expand...
Click to collapse
Try this one it 100% should work if not your rom is a ****.
IAMPRISM said:
Try this one it 100% should work if not your rom is a ****.
Click to expand...
Click to collapse
not work,maybe because I didn't flash Google. current rom is los latest with a clean flash.
confluced said:
not work,maybe because I didn't flash Google. current rom is los latest with a clean flash.
Click to expand...
Click to collapse
That might be the problem yes. I am currently on VoidUI and all works great

Categories

Resources