Hey everyone, you already know about the QR scanner bug in Pie. Well, I've discovered it's cause. And the cause is HAL3 (Camera2API). After disabling ? 2API, the WhatsApp can scan QR codes easily. This means either HAL3 is not properly supported by this device or lacks some permissions. For proof, I've attached a screenshot.
So, devs had added an "In-app focus fix" switch that's based on this theory. Turning ON the switch (disables HAL3) help to scan QR codes.:laugh:
By default, it is disabled so that gcam can work.
{This toggle is present in some PIE ROMs in Settings>System>LeEco Extras}. THANKS TO DEVS for this switch.
It's a very good switch if used wisely.
If this helped, then please tap the Thanks button
please, can you tell me how I can do this?
MP_Singh said:
Hey everyone, you already know about the QR scanner bug in Pie. Well, I've discovered it's cause. And the cause is HAL3 (Camera2API). After disabling 2API, the WhatsApp can scan QR codes easily. This means either HAL3 is not properly supported by this device or lacks some permissions. For proof, I've attached a screenshot.
Any ideas about how it could be solved? And is this bug present on other HAL3 enabled pie ROMs on other phones?
Cause is discovered, so chances for fixing it are increased now!!
Click to expand...
Click to collapse
Hal3 was never supported on this device.
How did you disable camera2api?
ffnascimento2 said:
please, can you tell me how I can do this?
Click to expand...
Click to collapse
RandomDelta said:
Hal3 was never supported on this device.
How did you disable camera2api?
Click to expand...
Click to collapse
On pie ROMs, HAL3 is enabled by default. To disable, root your phone, download build.prop editor from play store. Grant it root permission. Search "persist.camera.HAL3.enabled=1" change the value from 1 to 0. Reboot and check, it should scan. But gcam and sd cam will not work after disabling it. You need to download any 3rd party cam and manage with less picture quality.
Wow you're right! It indeed fixed the issue . Gcam is still working for me at full quality though!
RandomDelta said:
Wow you're right! It indeed fixed the issue . Gcam is still working for me at full quality though!
Click to expand...
Click to collapse
How gcam is working? It never works without HAL3.
MP_Singh said:
How gcam is working? It never works without HAL3.
Click to expand...
Click to collapse
But it is! I am using the one with the magisk module that's here on xda mods for Le 2
RandomDelta said:
But it is! I am using the one with the magisk module that's here on xda mods for Le 2
Click to expand...
Click to collapse
Does it has portrait mode? Please provide link.
BTW, I'm glad to know that I helped you
MP_Singh said:
Does it has portrait mode? Please provide link.
BTW, I'm glad to know that I helped you
Click to expand...
Click to collapse
It has portrait mode.
Be advised video recording, night sight , portrait mode , photo sphere and other stuff beside Just plain Photo capture isn't working if camera 2api is disabled
Link:https://forum.xda-developers.com/le-2/themes/v1-1-google-camera-6-1-013-port-le2-t3880934
I am using latest gcam apk port on apk mirror + mod from above link
MpS005 said:
On pie ROMs, HAL3 is enabled by default. To disable, root your phone, download build.prop editor from play store. Grant it root permission. Search "persist.camera.HAL3.enabled=1" change the value from 1 to 0. Reboot and check, it should scan. But gcam and sd cam will not work after disabling it. You need to download any 3rd party cam and manage with less picture quality.
Click to expand...
Click to collapse
There is other cam app working in pie with HAL3 disabled?
pescadorparrudo said:
There is other cam app working in pie with HAL3 disabled?
Click to expand...
Click to collapse
Use any camera app from play store like footej etc
MpS005 said:
Use any camera app from play store like footej etc
Click to expand...
Click to collapse
Thanks
I tried footej but it does not work. Then I install Open Camera it totally works! Try it! By the way, Wechat camera in scanning and shooting not work after disabled the camera2API
Q. I'm experiencing force close in GCam and in the stock camera in latest updates of some pie ROMs like AEX, arrow, havoc etc. How to fix it?
A. It's not an Rom bug. Turn OFF the "In-app focus fix" in Settings > System > LeEco Extras.
Q. Ok, then what's the use of "In app focus fix"?
A. Read the first post of this thread carefully.
MpS005 said:
Hey everyone, you already know about the QR scanner bug in Pie. Well, I've discovered it's cause. And the cause is HAL3 (Camera2API). After disabling ? 2API, the WhatsApp can scan QR codes easily. This means either HAL3 is not properly supported by this device or lacks some permissions. For proof, I've attached a screenshot.
So, devs had added an "In-app focus fix" switch that's based on this theory. Turning ON the switch (disables HAL3) help to scan QR codes.:laugh:
By default, it is disabled so that gcam can work.
{This toggle is present in some PIE ROMs in Settings>System>LeEco Extras}. THANKS TO DEVS for this switch.
It's a very good switch if used wisely.
If this helped, then please tap the Thanks button
Click to expand...
Click to collapse
In my havoc rom 9.0 setting ~system-there is no Leeco extras! So how to do like u?
Sent from my LeMobile X52X using XDA Labs
Related
Hello,
I've tried a couple of apks of Camera NX found over the internet, they kind of work, the camera starts but I only see a black image, after I change a couple of options in settings I can see images from the camera normally but if I try to take pictures the camera freezes, is there a port or a working Camera NX?
Thanks.
there is no support for any Google Camera for now without rooting your device.
Are you rooted? Since Camera NX is a google camera port, you would need to enable Camera2 API in order to use it.
IMO, you may as well peruse these options found on this page
https://www.celsoazevedo.com/files/android/google-camera/
They also need the Camera 2 API enabled but at least you get to choose the different versions of google camera.
I'm not rooted but I'm thinking of doing it, do you think this version will work if I do that?
Link: Click
allex117 said:
I'm not rooted but I'm thinking of doing it, do you think this version will work if I do that?
Link: Click
Click to expand...
Click to collapse
https://forum.xda-developers.com/on...oogle-camera-hdr-60fps-video-t3658552/page227
Page number 227 scroll down. Use 1st apk. Front hdr+ has some bugs
It gets stuck right before the camera starts
Rajeev said:
https://forum.xda-developers.com/on...oogle-camera-hdr-60fps-video-t3658552/page227
Page number 227 scroll down. Use 1st apk. Front hdr+ has some bugs
Click to expand...
Click to collapse
allex117 said:
It gets stuck right before the camera starts
Click to expand...
Click to collapse
Did u add build.prop lines?
U need root
I am rooted and enabled camera2api.but nx portrait mode doesn't seem to work.
Surprisingly arnovas new mod works with portrait
https://www.celsoazevedo.com/files/android/google-camera/f/GCam5.1.018-Arnova8G2-V1.3.apk
Just made a comparison. Google portrait is better in low light.
No, I thought it will work without, I will do that in the near future when I will root my device, thanks for the support
Rajeev said:
Did u add build.prop lines?
U need root
Click to expand...
Click to collapse
Rakibboss said:
Surprisingly arnovas new mod works with portrait
https://www.celsoazevedo.com/files/android/google-camera/f/GCam5.1.018-Arnova8G2-V1.3.apk
Click to expand...
Click to collapse
can you provide link to main thread please thank you
milav said:
can you provide link to main thread please thank you
Click to expand...
Click to collapse
https://www.celsoazevedo.com/files/android/google-camera/
This method works on Oxygen OS Oreo ( Stable 5 and beta 19/29 ) are confirmed to be working. This currently only works on rear camera and only if the subject is a human or a pet. Also HDR + works without any issues.
Steps -
1. Download this apk.
https://drive.google.com/file/d/1ZwqW9cxta6mh56-QmcrnA06xPq1B0v-n/view
2. If you already have a conflicting app installed, first uunistall t then install this to be on the safe side.
3. Open the app, set the proper config and done.
( I'll later share the video showinf everything step by step and the best configuration too. )
Just a heads up that I can't upload a sample picture of portrait mode as I don't want to reveal my identity here but after trying it in a bunch of situations I found out that it works alomst as good as the original pixel 2 but only for human subjects, i.e you need to have human face in the viewfinder.
Configuration -
P.S - I'm not the developer of the app, in this thread I just intend to share the version that works best for me along with a configuration.
Source - https://forum.xda-developers.com/on...-google-camera-hdr-60fps-video-t3658552/page1
---------------------------------------------------------------------------------------
For AR stickers ( confirmed working on OP3T OB20 only)
Download and install the modified ar apps and then flash this zip in recovery.
https://drive.google.com/file/d/1pBDMgsIQWcz6qgWL09yG6ppT7bsTDy1J/view
As suggested the @thes3usa
After testing with many subjects in bright lighting, portrait mode works only with Humans and sometimes pets as mentioned in OP. Does not work with objects.
Face Retouching works.
HDR+ works
60FPS recording works
Slow-mo still broken
AR stickers works.
Only work on rear cam
to be deleted..
any sample / picture to compare ?
123Kage said:
Only work on rear cam
Click to expand...
Click to collapse
Clearly states that in the top post.
thes3usa said:
After testing with many subjects in bright lighting, portrait mode works only with Humans and sometimes pets as mentioned in OP. Does not work with objects.
Face Retouching works.
HDR+ works
60FPS recording works
Slow-mo still broken
AR stickers works.
Click to expand...
Click to collapse
AR stickers works only if you are having root access right? With some ADB tweaks?
akhilashokk said:
AR stickers works only if you are having root access right? With some ADB tweaks?
Click to expand...
Click to collapse
Nope, no tweaks. Just two APK's (ARCORE and AR Stickers) and a flashable zip.
Kartike said:
This method works on Oxygen OS Oreo ( Stable 5 and beta 19/29 ) are confirmed to be working. This currently only works on rear camera and only if the subject is a human or a pet. Also HDR + works without any issues.
Steps -
1. Download this apk.
https://drive.google.com/file/d/1ZwqW9cxta6mh56-QmcrnA06xPq1B0v-n/view
2. If you already have a conflicting app installed, first uunistall t then install this to be on the safe side.
3. Open the app, set the proper config and done.
( I'll later share the video showinf everything step by step and the best configuration too. )
Click to expand...
Click to collapse
thx can u share config
mine gets stuck on processing if i take potrait
paras33 said:
thx can u share config
mine gets stuck on processing if i take potrait
Click to expand...
Click to collapse
Coming right up!!!
paras33 said:
thx can u share config
mine gets stuck on processing if i take potrait
Click to expand...
Click to collapse
Op updated with the configuration
paras33 said:
thx can u share config
mine gets stuck on processing if i take potrait
Click to expand...
Click to collapse
I didn't change any settings in the app, and it processes fine (portrait mode).
You are on Oreo? I'm on stock rooted OOS 5.0.
Wrong post.
redpoint73 said:
I didn't change any settings in the app, and it processes fine (portrait mode).
You are on Oreo? I'm on stock rooted OOS 5.0.
Click to expand...
Click to collapse
yes hydrogen os latest beta based aurora rom
tried all apk ... stuck in processing
Omni 8.1 here, and it works pretty well.
When i captured photo in potrait it's make folder and it is look not nice can you do it directly capture in camera folder
There is already a thread for Google camera port. The dev is also active there. So no need for this thread here.
https://forum.xda-developers.com/oneplus-3/how-to/modded-google-camera-hdr-60fps-video-t3658552
@Nemuritor01 seems like that post is not even talking about portrait mode. So from a noob user here they don't look like they have the same content.
klarkent said:
@Nemuritor01 seems like that post is not even talking about portrait mode. So from a noob user here they don't look like they have the same content.
Click to expand...
Click to collapse
It's the same. But you have to read through the posts. Arnova is the dev of this mod. His work is based on BSG gcam Port. Last gcam version 1.4 has portrait mode. Just enable it in the advanced settings in the app. As I've mentioned... Read through the thread
thes3usa said:
Nope, no tweaks. Just two APK's (ARCORE and AR Stickers) and a flashable zip.
Click to expand...
Click to collapse
do you mind sharing links for the zip
i followed a guide for it but it crashed
i am on ob 20
Hey @Arnova8G2
I installed the pixel camera port ( GCam5.1.018-Arnova8G2-V1.4 ) on my oneplus 2, but it force closes. I also tried GCam5.1.018-Arnova8G2-V1.3, it opens but gets stuck with a camera icon in middle with black screen.
I'm using los 15.1.
I have attached log and screenshot. It would be great if you could look into this.
Thank You
You can make a screenshot of the app camera2probe
I look at your logcat (but have to wait, a lot of logcat to read). Thank you
Arnova8G2 said:
You can make a screenshot of the app camera2probe
I look at your logcat (but have to wait, a lot of logcat to read). Thank you
Click to expand...
Click to collapse
I have attached the screenshot of camera2probe, let me know if you need any other log.
Thanks for looking into this.
Here is the camera2 test device_info file attached
@Arnova8G2 oneplus 2 camera2 test device_info file
I'm also having the same issue.
If required, I'll attach the Camera2 Probe screenshot.
Also. If op2 is capable of shooting 4k videos at 30fps and 720p @ 120fps then.
Why [email protected] not ?
Is their any way to enable [email protected]
And also. EIS FOR VIDEO RECORDING
Camera Nx and Gcam 5.1.018 not working.
Hi, I am in Pixel Experience 8.1 and when I open camera app it crashes or gets stuck on the Camera logo.
Please help.
None of the gcam port works on our device.......even the redmi 4x has one with working hdr+ !!! Please someone look into it.
2018/01/07 – GCMod5 based on Mod By B-S-G
Fix video for Android 7.x
Replace RAW12 by RAW_PRIVATE
Add toggle hdr+ in front camera for portrait mode (For hdr + front camera compatible devices)
And other internal improvement
GCam5.1.018-Arnova8G2-V1.5Beta2.apk
Arnova8G2 said:
2018/01/07 – GCMod5 based on Mod By B-S-G
Fix video for Android 7.x
Add toggle hdr+ in front camera for portrait mode (For hdr + front camera compatible devices)
And other internal improvement
GCam5.1.018-Arnova8G2-V1.5Beta2.apk
Click to expand...
Click to collapse
Keeps crashing on delight oreo
Arnova8G2 said:
2018/01/07 – GCMod5 based on Mod By B-S-G
Fix video for Android 7.x
Replace RAW12 by RAW_PRIVATE
Add toggle hdr+ in front camera for portrait mode (For hdr + front camera compatible devices)
And other internal improvement
GCam5.1.018-Arnova8G2-V1.5Beta2.apk
Click to expand...
Click to collapse
It force closes. I have attached the log.
Thank you.
Go to this link and install "- v4.0: MGCB_7.0H_C2API_v.4.0_AllinOne_Full_Manual ".
Do not make changes to the settings. Use as it is. If force close happens, go to "About App" and clear the data.
karanmathew said:
Hi, I am in Pixel Experience 8.1 and when I open camera app it crashes or gets stuck on the Camera logo.
Please help.
Click to expand...
Click to collapse
Im using it without any prob and trust me we can have a fun with AR stickers too.
kolheRk said:
Im using it without any prob and trust me we can have a fun with AR stickers too.
Click to expand...
Click to collapse
In OnePlus 2?
kolheRk said:
Im using it without any prob and trust me we can have a fun with AR stickers too.
Click to expand...
Click to collapse
Screenshot pls....
And it will be great if u can provide link to working version.....
hdineth said:
Go to this link and install "- v4.0: MGCB_7.0H_C2API_v.4.0_AllinOne_Full_Manual ".
Do not make changes to the settings. Use as it is. If force close happens, go to "About App" and clear the data.
Click to expand...
Click to collapse
Thanks for these link...but here the main focus is to get that amazing portrait mode working on oneplus 2....google camera works but ar and all are just mimics ... portrait is the real deal?
nelson pansare said:
Thanks for these link...but here the main focus is to get that amazing portrait mode working on oneplus 2....google camera works but ar and all are just mimics ... portrait is the real deal
Click to expand...
Click to collapse
you can take portrait images from both cameras with average quality with above version. it is available under lense blur option.but it does the job well. i have tested .
Hi I m using OP2 and I downloaded this app and install it. But it never opens. Every time I try to open the app it stucks in a black screen and in the middle the camera icon. How can I run this in my OP2 please help.
Hey @Arnova8G2,
I also tried this apk
MGC_5.1.018.177470874.41362666_LOS-15.1_A7.0-8.1_MI5S_v2a
It opens and I can click pictures, but when I select portrait mode, it stucks with portrait icon with black screen. I have attached the log and screenshot.
Posting it here so that it helps in making it easier for further development.
Thank You
mahimparsai said:
Hey @Arnova8G2,
I also tried this apk
MGC_5.1.018.177470874.41362666_LOS-15.1_A7.0-8.1_MI5S_v2a
It opens and I can click pictures, but when I select portrait mode, it stucks with portrait icon with black screen. I have attached the log and screenshot.
Posting it here so that it helps in making it easier for further development.
Thank You
Click to expand...
Click to collapse
Which ROM you are using??
cuz in My ROM Application is closed forcefully.
Hey guys i wanna share LIB MOD made by @defcomg soo big thanks to him for fixing it for us [emoji16]
for fix long exposure on oreo based rom(rebase from new oreo source)
As all of you know shutter speed doesnt seems work properly on mi5 after oreo update(custom rom) even on stock miui rom
This mod only for OREO rom with new rebase source
Tested on AOSIP ROM 8.1.0 LATTEST BUILD
You can try on other OREO ROM rebase with new source
Benefit :
- fully working manual control 32s
- max ISO 100-4000
How to:
Backup current lib just in case its not work on your rom u can always restore
Download lib file here:
Libmmcamera2_mct.so :https://drive.google.com/file/d/1BT_VHJlh6UikOmSfz40R1_sM_vvsCrQW/view?usp=drivesdk
Libmmcamera_imx298_semco.so: https://drive.google.com/file/d/1spGTOWv1z5srPH8cCAfzu5rjI4AVYci5/view?usp=drivesdk
Copy and paste on system/vendor/lib folder
Set permissions rwrr(see screenshot)
File attached and screenshot of prove
Picture taken from oneplus camera and freedcam
Q: why shutter speed set 10s on fredcam but reach 20s for taking photo?
A: its normal its a bug from camera api2 it self but nothing affect the shutter all working normal ,all you need its be a patient and a tripod
Qneplus camera fc ater taking photo with pro mode?
A:yes its fc but photo saved fine u can check on your galery app
If someone can make flashable zip
Just inform me it will really help for easy flashing
Thanks
Credits: @defcomg for fixing shutter speed by him self
Tadi from mi5s forum @enzoo96 for AOSIP rom
25s/320iso
Great work, thank you very much!!! Did u tested on another camera apps? I've tested on miui cam but it doesn't work
ojosehenrick said:
Great work, thank you very much!!! Did u tested on another camera apps? I've tested on miui cam but it doesn't work
Click to expand...
Click to collapse
Miui cam doesnt work on oreo due to compability i guess,but atleast you can use other camera app such as fv5 camera freDcam or lumio camera it has great manual comtrol feature:laugh:
evanlocked said:
Miui cam doesnt work on oreo due to compability i guess,but atleast you can use other camera app such as fv5 camera freDcam or lumio camera it has great manual comtrol feature:laugh:
Click to expand...
Click to collapse
does this work side by side with the other libhack?
I've noticed that with eszdnmman's libhack, the iso can go below 100, not sure if there's any actual difference though. Is it possible for you to enable lower iso too?
Mkkt Bkkt said:
does this work side by side with the other libhack?
Click to expand...
Click to collapse
As long if other mod didnt replace two file of mine it will be ok to be installed
gingerboy92 said:
I've noticed that with eszdnmman's libhack, the iso can go below 100, not sure if there's any actual difference though. Is it possible for you to enable lower iso too?
Click to expand...
Click to collapse
Actually in this mod lower iso is 100 may be it possible to get bellow 100 but for what? Min100-4000 its good enough btw ,there is some limitation on the camera itself
Flash doesn't work for me on the one plus camera
mijorus said:
Flash doesn't work for me on the one plus camera
Click to expand...
Click to collapse
Flash work fine here make sure ur device temperature is stable oneplus camera will disable flash light if temperature of device reach 43+
Make sure use normal photo to use flash
Manual mode doesnt provide flash in all manual camera app
evanlocked said:
Flash work fine here make sure ur device temperature is stable oneplus camera will disable flash light if temperature of device reach 43+
Make sure use normal photo to use flash
Manual mode doesnt provide flash in all manual camera app
Click to expand...
Click to collapse
Flash doesn't work for me with the OnePlus camera app, it turns on during the focus but then doesn't stay on when it actually takes the picture and my phone is as cold as an ice block
mijorus said:
Flash doesn't work for me with the OnePlus camera app, it turns on during the focus but then doesn't stay on when it actually takes the picture and my phone is as cold as an ice block
Click to expand...
Click to collapse
Then its bug to opc camera itself test with other cam app flash work fine
evanlocked said:
Then its bug to opc camera itself test with other cam app flash work fine
Click to expand...
Click to collapse
Can you please make it compatible with 60fps magisk modules from telegram
I'm sorry, but could you attach the camera apps too, or at least the link for the camera app that work with this mod. Thanks in advance.
Hi evanlocked can you give me tutorial how edit libmmcamera?
evanlocked said:
25s/320iso
Click to expand...
Click to collapse
bit out of topic ... how to add caption like your picture there (the one in bottom left)?
I wasn't able to use exposure longer than 5s on open camera with Miui and your mod solved it, thanks.
Can we use these files in pie rom
akdrhmz said:
Can we use these files in pie rom
Click to expand...
Click to collapse
Yes we can
Please build for mi5s sir ,i hope you build for aops base in mi5s
I hope you builder for aops in xiaomi mi5s
Hello,
this thread is actually nothing special, I've just found some settings to get good results out of these Gcam apks and I'd like to share them here.
This is tested on the latest Stock Pie (10.0.2.0) and it works on my device.
So, first of all you have to enable Camera2API obviously (https://forum.xda-developers.com/mi-a2/how-to/how-to-enabling-cam2-gcam-android-t3868766), but I think you're all familiar with that at this point.
Download one of these apks: https://www.celsoazevedo.com/files/android/google-camera/dev-bsg/
(I'm on the latest one) or if you prefer an Arnova version based on MGC by BSG (No PixelMod).
After that go into settings->BSG MOD settings.
Input Model: Set "Interface Style" to "Pixel II" (there are some focus issues with Pixel III), "Back Camera" to "Pixel 3 XL", "Front Camera" to "Nexus 6P" and "Config" to "Pixel2018 ZslR Hdr+"
FIX: Set "RAW Format" to "RAW10(default)" (this should already be set), "Image Format" to "YUV_420_888 (default)" and enable "Enable Motion" if you're into motion photos.
After that close the app, clear its cache and start it again.
If you experience some FC, try to clear again the cache and restart the app.
Now you should get a fairly stable Gcam with good performance, at least this is the best I've tried so far.
Portrait mode, HDR+, HDR enhanced and HDR OFF all work, burst photos work, Motion photos work, Night mode work, front camera works, panoramic works.
The only broken thing is Slow Motion.
The Camera will crash if you try to take a picture with Flash and HDR+ on OFF, but to me it's not a big deal since I never turn it off unless I want to take a burst. Anyway if you set "Pixel2018 Zsl Hdr+" in "Config" you should get this to work as well, but you'll lose Motion Photos. it's up to you here.
So that's it, if you find any better Setting, please share it
Sorry for maybe hijacking the post but i was using a gcam for nokia 7 plus which has the same 660 chip found here https://www.celsoazevedo.com/files/android/google-camera/dev-backrider/ . I found it to be really stable too except 4k which doesnt work.
bartoloandre98 said:
Sorry for maybe hijacking the post but i was using a gcam for nokia 7 plus which has the same 660 chip found here https://www.celsoazevedo.com/files/android/google-camera/dev-backrider/ . I found it to be really stable too except 4k which doesnt work.
Click to expand...
Click to collapse
No hijack, don't worry!
I'm trying it and it works mostly fine, but it looks like it FC a bit more often than the BSG version (maybe it's just an impression of mine).
Anyway the main think I dislike about the non-BSG versions is that you can't select "Pixel II" as the interface and you lose tap to focus, which makes the app completely unusable to me.
Lurensu said:
So that's it, if you find any better Setting, please share it
Click to expand...
Click to collapse
Hey! Thanks a lot. And what libs do you use - stock, savitar or eszdman?
[email protected] said:
Hey! Thanks a lot. And what libs do you use - stock, savitar or eszdman?
Click to expand...
Click to collapse
Currently I'm trying Eszdman new, Savitar is too noisy for my tastes... But I still have to experiment actually