[SIZE=+2][MOD][TESTING] Camera Sensor Fix and Google Camera[/SIZE]
Please test, share issues, questions and offer help!
What does this mod do?
It replaces the libmmcamera_imx318*.so and libmmcamera_imx268*.so files inside /system/vendor/lib/ with ones I edited.
It also adds a missing reference to libadsprpc.so in /system/etc/public.libraries.txt on custom firmwares.
WarningFrom my experience this mod can't really break anything. At most you'll have a non working camera. In this situation you need to either flash your ROM again or restore these files from a backup.
If you're on MIUI use the installer that doesn't change your public.libraries.txt file! Otherwise your device won't boot.
What does it fix?
It fixes a sensor and active array size mismatch issue in our devices. It makes a lot of google camera mods work (to some degree).
It seems to have also fixed the cropping bug everyone has been complaining about. Since the array size mismatch appears to be cropping the resolution down to the next working one.
Shut up already, I just want to take some great looking photos!
Go ahead and flash one of these zip files:
CFW: https://mega.nz/#!sfAERYxL!WdJO3u9sFwddB22echsp0-2AYsW1nVIynROo3rVjeqQ [v5] [14-05-2018]
MIUI: https://mega.nz/#!UexHDThY!O2CUQ1GVqG9CSAqfgMRXthKVq4vgPPq6-wbKflAGbio
Install the following gcam mod:
https://www.celsoazevedo.com/files/android/google-camera/f/GCam_5.1.018_by_SerJo87_1.6RC2_test4c.apk
What's working:
HDR+ and HDR enchanced (Back and Front)
Portrait Mode (Back and Front)
Zero Shutter Lag
Motion Photos
Video Recording
Slow Motion (120 and 240 fps)
What's Not Working:
Nothing!
What isn't working very well:
Light flickering in 240fps slowmo.
Low exposure in Lens Blur. (The current fix is to set the Lens Blur resolution to the default 5MP)
Low exposure in Panorama.
Cropped 4k Recording (Hardware enabled EIS. Doesn't seem to be a bug.)
Missing toggle between HDR modes on the back camera (It takes photos with HDR+)
Recommendations
If you don't mind losing Motion Photos on the Back Camera turn on the Use Hexagon DSP option for slightly better performance and stability
Change the HDR+ parameters to Pixel 2017 stable.
Turn on Portrait ZSL mode
Change Base model inside Tuning back cam to Nexus 6P. (More detailed photos plus better and faster autofocus)
SerJo87 Google Camera's default tuning settings are tweaked for another smartphone's camera sensor. As a personal recommendation go into Tuning back cam and disable the Tuning master switch for it to use the default Base Model values. I've spent hours tweaking and have found the default Nexus 6P values to be the best ones.
Change the Lens blur megapixels to 5MP. (Fixes the low exposure issue)
Compatibility
Personally tested and fully working on the latest AospExtended.
Reported semi-working on the latest unofficial Resurrection Remix.
Reported working on the latest Lineage 15.1.
Reported working on crDroid.
Reported working in MIUI.
This mod is not needed on the latest Cardinal-AOSP. Psy_Man has included this fix.
Google Camera Mod Repository
Go grab a bunch of other google camera mods if you're feeling adventurous and hope to find a more compatible one.
https://www.celsoazevedo.com/files/android/google-camera/
I need testers, helpers, anything and everything is welcome!
Why I did it
Coming from a Redmi Note 4X, I was pretty letdown by the lack of a working google camera mod for my new Mi Note 2. I upgraded my phone in almost every aspect except I was taking far inferior quality photos. This drove me to find out what was going on with our device.
Getting technical
Going through several gcam mods I noticed a pattern. This error to be exact:
E/QCamera (510): <MCI><ERROR> update: 102: invalid input: active_array [5344, 4016], sensor size [5488, 4112]
For some reason, the active array size is smaller than the sensor size. Which cannot happen. This is what I fixed in the libmmcamera_imx318_primax.so file.
If you want a detailed explanation of what I changed in the file go over here https://forum.xda-developers.com/mi-note-2/development/fix-mi-note-2-camera-blobs-t3794443
The missing reference to libadsprpc.so prevents the google camera (and any other non system app) from accessing the Snapdragon 821's hexagon DSP. The reference is needed for apps to offload processing to the DSP and the google camera tries to use it for HDR background processing. It should make the app and the phone a lot more stable and responsive even when taking consecutive shots.
Changelog
[v3] In version 3 I started replacing both libmmcamera_imx318.so and libmmcamera_imx318_semco.so as well, with the same fixes. I'm assuming these files are for the different possible CMOS our phones can have (sony, semco or primax).
[v4] In Version 4 I also replace libmmcamera_imx268.so and libmmcamera_imx268_sunny.so. These Front Camera files were also fixed and no longer crash the app when switching to and from Portrait mode.
Very interesting! I'm flashing it in a moment!
Thank you for your work!
not booting up after install on miui 9.5.1.0
Keep up man. Wonderful job!
Very good progress!
I'm running the latest RR. Flashed and booted up no problem.
Just having issues with Urkill's camera:
It stops working when switching from mode to mode (modes work correctly)
Video on the back camera is wayyyy zoomed it. I think "Double stabilisation" is on. Note 2 is EIS by default, AFAIK, then, paired with the app's stabilization, it might be cropping out a lot of video real-estate. But this is just a guess.
Thanks for your work! Very happy with the progress!
Knz7777 said:
not booting up after install on miui 9.5.1.0
Click to expand...
Click to collapse
Hmm maybe miui's public.libraries file has libs that are missing from the file I'm flashing. I'll confirm that tonight.
I also forgot to mount /vendor in my installer script and that may have caused some issues. I'll also upload a fixed version later tonight.
Sorry for any headaches.
empy16 said:
Very good progress!
I'm running the latest RR. Flashed and booted up no problem.
Just having issues with Urkill's camera:
It stops working when switching from mode to mode (modes work correctly)
Video on the back camera is wayyyy zoomed it. I think "Double stabilisation" is on. Note 2 is EIS by default, AFAIK, then, paired with the app's stabilization, it might be cropping out a lot of video real-estate. But this is just a guess.
Thanks for your work! Very happy with the progress!
Click to expand...
Click to collapse
Yeah. UriKill's mod is optimized for the redmi note 4. But is still the most stable of the bunch. I've noticed things like switching to the front camera and then switching to portrait mode will crash the camera but doing it the other way around works.
The note 2 does have built in image EIS and UriKill's mod enables Google camera's stabilization on 1080p. But shouldn't be doing it in 4k and yet the image gets cropped a lot more in 4k. I need to figure out what's going on.
New version of the script is up. I forgot to mount /vendor, so it wasn't really working unless you had manually mounted /vendor before flashing it.
Give it a try again if it didn't work last time.
Knz7777 said:
not booting up after install on miui 9.5.1.0
Click to expand...
Click to collapse
Something just crossed my mind. Did you flash LazyFlasher on your miui rom?
Editing the /system partition makes miui roms unbootable unless you disable both dm-verify and forced encryption.
More info: http://en.miui.com/thread-310923-1-1.html
Portrait mode doesn't work
pasquale_kun said:
Portrait mode doesn't work
Click to expand...
Click to collapse
False. Portrait mode works perfectly for me.
empy16 said:
False. Portrait mode works perfectly for me.
Click to expand...
Click to collapse
For me no. The app crashes in front and back camera with portrait mode
Camera app also crash on mine when choosing portrait mode.
Although if I switch very fast to front cam it works.
Video doesn't work though.
I am on Pixel Exprerience if that helps.
Otherwise awesome work, looks promising. ?
pasquale_kun said:
For me no. The app crashes in front and back camera with portrait mode
Click to expand...
Click to collapse
If you had another google camera mod installed usually just uninstalling doesn't delete all data. And some mods have the camera.enable_pd and camera.enable_pd_blur flags turned on in Developer Settings.
These need be to off. Check if that's the issue.
Front camera Portrait Mode also needs the camera.gouda.front flag to be on.
Mimi Mix said:
If you had another google camera mod installed usually just uninstalling doesn't delete all data. And some mods have the camera.enable_pd and camera.enable_pd_blur flags turned on in Developer Settings.
These need be to off. Check if that's the issue.
Front camera Portrait Mode also needs the camera.gouda.front flag to be on.
Click to expand...
Click to collapse
Should all these flags be available in developer settings? Because I don't have them except for camera.gouda.front.
azngl said:
Should all these flags be available in developer settings? Because I don't have them except for camera.gouda.front.
Click to expand...
Click to collapse
Yes they should, at least in UriKill's port. It depends on the gcam mod you're using.
So can we flash it on miuipro 9.5.1.0 or will it bootloop?
---------- Post added at 04:49 PM ---------- Previous post was at 04:48 PM ----------
Mimi Mix said:
Something just crossed my mind. Did you flash LazyFlasher on your miui rom?
Editing the /system partition makes miui roms unbootable unless you disable both dm-verify and forced encryption.
More info: http://en.miui.com/thread-310923-1-1.html
Click to expand...
Click to collapse
I have flashed miuipro+magisk+custom kernel
Knz7777 said:
So can we flash it on miuipro 9.5.1.0 or will it bootloop?
---------- Post added at 04:49 PM ---------- Previous post was at 04:48 PM ----------
I have flashed miuipro+magisk+custom kernel
Click to expand...
Click to collapse
It shouldn't bootloop. I don't think miuipro enforces dm-verifiy. And my mod doesn't change any important system files.
If it does bootloop, try installing LazyFlasher and see if that fixes it.
Either way, put the miuipro, kernel and magisk installation files in your internal storage before testing.
If you run into a bootloop, just reflash those 3 files, in the above order, and everything will be back as it was.
Testing is really appreciated! Thank you!
pasquale_kun said:
Portrait mode doesn't work
Click to expand...
Click to collapse
Flash the first zipfile
Related
CameraNextMod
[For Cm13 Or CM Based Roms][Didnt Try on Miui]
Hi Guys ,
I decided to share this because I have seen many people want to use the Color OS camera because of its low light performance.
As we all know, we aren't much happy with the Stock Camera. No doubt its stable, but we all expect for more. So here i am presenting CameraNextMod. It is developed by @abhi08638 and now its officially maintained by *PRATHAMESH*. Enjoy the sweetness of Camera Next with extra features.
What I need to flash this??
ANS: ROOTED Redmi Note 3 WITH A CUSTOM RECOVERY INSTALLED.
HOW CAN I FLASH THE ZIP?
JUST REBOOT TO YOUR RECOVERY AND FLASH THE ZIP. NO NEED TO CLEAR ANYTHING.
It gives super Clear images. It also has some other features. .
Please NOTE: Please don't try to directly install as APK.
Changelog:
1) The Focus Ring's Radius is reduced now. So it looks more pleasant to focus.
2) Fixed Storage Issues. (Some users faced it).
3) Added Touch AF/AEC Feature.
4) Added HDR+.
5) Added Auto Exposure Bracketing.
6) Added Option to disable beeping countdown sound.
Coming to Video Sections:
1) I am also trying to add Camera like denoise, saturation and all those **** to Video Section as well.
2) Accordingly, Added White Balance.
3) Added Power Shutter.
4) Fixed Video Duration issues and 24 hours video issue.
5) Now you will be able to record High Speed/Slow Motion.
6) Still Time Lapse is present even if above feature is present.
HTML:
Instructions for Flashing:
1) Download the "APPROPRIATE" CNM zip file according to the icon you love.
2) Reboot to Recovery.
3) Flash the Zip file.
4) Reboot and Have fun.
What works:
EVERYTHING.
What doesn't:
You tell.
Download Link
Special Thanks To *PRATHAMESH*
first, will try and tell
Nice to see this here! Downloading it right now.
This is for Qualcomm or MTK?
hows the camera quality?
Flashed it on kenzo miui 7.3.6 but didn't find any new camera app.
crashing when enable power button shutter and then FC all the time until delete app data
JAlvarezFlores said:
This is for Qualcomm or MTK?
Click to expand...
Click to collapse
cheeze.keyk said:
hows the camera quality?
Click to expand...
Click to collapse
naveen6252 said:
Flashed it on kenzo miui 7.3.6 but didn't find any new camera app.
Click to expand...
Click to collapse
i2k13 said:
crashing when enable power button shutter and then FC all the time until delete app data
Click to expand...
Click to collapse
1) This is for Qualcomm but you can flash it on MTK too no problem with that
2)camera quality.. u can check that for urself
3) already mentioned in the thread "it may not work in miui"
Give this a try on Miui :-
Download link for v22
Download link for v10
AutoFix click sound fix
actually im on CM13 not miui
i2k13 said:
actually im on CM13 not miui
Click to expand...
Click to collapse
Use another version
provided with the link above
cameranextmod v10 + v22 Force closes... cm13
I just flashed the v7 of this camera and as for now it seems to be a much better camera apk than the snapdragon apk.
I like how many features it has, especially the EIS.
The only bug I've found is that if I enable the "Power button as a shutter" then I have FC all the time (have to wipe it's data then).
Zooming isn't good with this camera as objects become way-to pixelated when zoomed in. Tried to do this same thing with cyanogenmod's default camera and the object was much more clearer and less pix-elated. Plus the use power button as shutter button makes the app crash all the time.
Edit - While focus works nice in both front and back camera, it doesn't show the focus ring in front camera.
gagan7 said:
Edit - While focus works nice in both front and back camera, it doesn't show the focus ring in front camera.
Click to expand...
Click to collapse
Well, there's no focus mechanism in the camera, so what kind of focus are you expecting? The face detection?
---------------
I just did some low light tests.
Tbh, there's no difference in the noise amount. Both pictures look ****ty + the pictures from this camera are all white, I mean like there's almost no color in the pictures. The stock camera wins in the color reproduction in those conditions easily.
Sent from Note 3, Xiaomi Redmi Note 3.
mr.loverlover said:
Well, there's no focus mechanism in the camera, so what kind of focus are you expecting? The face detection?
---------------
I just did some low light tests.
Tbh, there's no difference in the noise amount. Both pictures look ****ty + the pictures from this camera are all white, I mean like there's almost no color in the pictures. The stock camera wins in the color reproduction in those conditions easily.
Sent from Note 3, Xiaomi Redmi Note 3.
Click to expand...
Click to collapse
Just tap on the screen, then the focus starts.
mr.loverlover said:
Well, there's no focus mechanism in the camera, so what kind of focus are you expecting? The face detection?
---------------
I just did some low light tests.
Tbh, there's no difference in the noise amount. Both pictures look ****ty + the pictures from this camera are all white, I mean like there's almost no color in the pictures. The stock camera wins in the color reproduction in those conditions easily.
Sent from Note 3, Xiaomi Redmi Note 3.
Click to expand...
Click to collapse
Im taking about touch to focus. It doesn't have touch to focus when using front camera, whereas cyanogenmod's default camera has. don't know about miui default camera.
It takes bright pictures in low light, but It's just too white in normal condition!
Plus,stock camera has better details. Slightly better.
One more thing, there is no 120fps slowmotion for HD resolution. and I don't know if 60fps FHD works or not.
Worse than Snap Camera included in latest CM13 build (balika). The chroma noise reduction is worst...
v22 works on miui. will be glad if you can upload latest updates here
Well this is like dream come true. For video shooting, this is the best camera app for redmi note 3 atleast. It has features like video stablisation, h.265 encoding and the best of all, it is able to save the video to sd card. (I previously tried an apk of camera next from apkmirror and it was not able to dave on sd card) . And for still shotss also, it has denoise feature, which I missed back then in camera next. Thank you so much. Now there is no need to go back to miui any more. You made my day.
I've tried many roms with many camera apps but couldn't find one in which, portrait mode, hdr+ and slow motion(however slow motion isn't important for me at all) are working.
The best app that I found was the stock crdroid camera but neither does it have portrait mode plus it's hdr is very slow.
Can someone please provide me the best app that just works and has the features i mentioned above.
Hammad1029 said:
I've tried many roms with many camera apps but couldn't find one in which, portrait mode, hdr+ and slow motion(however slow motion isn't important for me at all) are working.
The best app that I found was the stock crdroid camera but neither does it have portrait mode plus it's hdr is very slow.
Can someone please provide me the best app that just works and has the features i mentioned above.
Click to expand...
Click to collapse
Google camera modded by urikill
MyNameIsRage said:
Google camera modded by urikill
Click to expand...
Click to collapse
I just tried it but the portrait mode is taking normal pictures
Sent from my Xiaomi Redmi Note 4 using XDA Labs
I tried the Urikill apk's specific for mido as well and it works as long as I didn't change anything in the settings. As soon as I do that both back and front camera just show a black screen (with controls still visible). A reboot doesn't help it neither does wiping the data ...
wimstefan said:
I tried the Urikill apk's specific for mido as well and it works as long as I didn't change anything in the settings. As soon as I do that both back and front camera just show a black screen (with controls still visible). A reboot doesn't help it neither does wiping the data ...
Click to expand...
Click to collapse
Same
Sent from my Xiaomi Redmi Note 4 using XDA Labs
Hammad1029 said:
Same
Click to expand...
Click to collapse
I think that your experience with the gcam mods might be determined by the camera sensor on your phone. I have a Samsung sensor, and most of the mods work reasonably well (sometimes you have to tweak the settings). I have stayed with Arnova8G2 v6. It does FC sometimes, but it mostly good. The settings can be tweaked for improvements over default settings ("Auto"), but not all of them work well. If you choose very high resolution HDR settings, the shutter will be very slow - but the picture will be very good. I don't really use the portrait mode, so I can't comment on that. Before Arnova8G2, I used Cstark27 mods - and they were excellent too. But I think Arnova has the edge.
In any case, you can have a look at this repository of gcam mods.
DarthJabba9 said:
I think that your experience with the gcam mods might be determined by the camera sensor on your phone. I have a Samsung sensor, and most of the mods work reasonably well (sometimes you have to tweak the settings). I have stayed with Arnova8G2 v6. It does FC sometimes, but it mostly good. The settings can be tweaked for improvements over default settings ("Auto"), but not all of them work well. If you choose very high resolution HDR settings, the shutter will be very slow - but the picture will be very good. I don't really use the portrait mode, so I can't comment on that. Before Arnova8G2, I used Cstark27 mods - and they were excellent too. But I think Arnova has the edge.
In any case, you can have a look at this repository of gcam mods.
Click to expand...
Click to collapse
From.where do i check my camera sensor
Sent from my Xiaomi Redmi Note 4 using XDA Labs
Hammad1029 said:
From.where do i check my camera sensor
Click to expand...
Click to collapse
I don't know of a straightforward way of getting that information. You will need to search the forum for that.
The method that I use is not straightforward. It depends on initd functionality, and this is not generally available in ROMs. Basically, I run dmesg from an initd script, and redirect the output to a file. I then parse the file and look for any of these;
1. "ofilm_s5k3l8" (sensor=Samsung)
2. "ofilm_imx258" (sensor=Sony)
3. "qtech_ov13855" (sensor=Omnivision)
You can of course run dmesg at any time from a root terminal. However, you need to capture the output early enough (i.e., during the bootup process) or the values you are looking for would be long gone.
PS: I don't know much about Kernel Adiutor - but it may be that it can help you to run the command to capture the necessary information, even without initd functionality. Maybe someone else can speak to that.
MyNameIsRage said:
Google camera modded by urikill
Click to expand...
Click to collapse
wimstefan said:
I tried the Urikill apk's specific for mido as well and it works as long as I didn't change anything in the settings. As soon as I do that both back and front camera just show a black screen (with controls still visible). A reboot doesn't help it neither does wiping the data ...
Click to expand...
Click to collapse
DarthJabba9 said:
I don't know of a straightforward way of getting that information. You will need to search the forum for that.
The method that I use is not straightforward. It depends on initd functionality, and this is not generally available in ROMs. Basically, I run dmesg from an initd script, and redirect the output to a file. I then parse the file and look for any of these;
1. "ofilm_s5k3l8" (sensor=Samsung)
2. "ofilm_imx258" (sensor=Sony)
3. "qtech_ov13855" (sensor=Omnivision)
You can of course run dmesg at any time from a root terminal. However, you need to capture the output early enough (i.e., during the bootup process) or the values you are looking for would be long gone.
PS: I don't know much about Kernel Adiutor - but it may be that it can help you to run the command to capture the necessary information, even without initd functionality. Maybe someone else can speak to that.
Click to expand...
Click to collapse
I'm on arnova v6 now and it's perfect. The only problem is that the front camera is mirroring/reversing the pictures I take which is incredibly annoying. Do you guys know of a system-wide or app limited tweak that can disable this? Or perhaps an alternative to this gcam which has that feature but also.has portrait mode and HDR+ working.
Sent from my Redmi Note 4 using XDA Labs
Hammad1029 said:
I'm on arnova v6 now and it's perfect. The only problem is that the front camera is mirroring/reversing the pictures I take...
Click to expand...
Click to collapse
I am not sure what you mean by this. The selfies I take look the same, regardless of the camera appthat I am using (OnePlus5, miui, Arnova).
DarthJabba9 said:
I am not sure what you mean by this. The selfies I take look the same, regardless of the camera appthat I am using (OnePlus5, miui, Arnova).
Click to expand...
Click to collapse
In these apps when you take a picture from the front camera, it is saved as mirrored as compared to the camera preview screen when you're positioning tot take the picture (for e.g a face looking at the left comes as right or vice versa). There is an option in the miui camera settings to disable this and also on most other camera apps. I want to disable this here too.
Sent from my Redmi Note 4 using XDA Labs
Hammad1029 said:
In these apps when you take a picture from the front camera, it is saved as mirrored as compared to the camera preview screen when you're positioning tot take the picture (for e.g a face looking at the left comes as right or vice versa). There is an option in the miui camera settings to disable this and also on most other camera apps. I want to disable this here too.
Click to expand...
Click to collapse
There is no option in any of my camera apps to change this behaviour.
DarthJabba9 said:
There is no option in any of my camera apps to change this behaviour.
Click to expand...
Click to collapse
There was one in the stock miui app and also in the crdroid stock camera app. Well, anyways I'm just gonna try all of the gcam versions. I'll let you all know in this thread when I find it in case you also want it
Sent from my Redmi Note 4 using XDA Labs
Hammad1029 said:
There was one in the stock miui app and also in the crdroid stock camera app. Well, anyways I'm just gonna try all of the gcam versions. I'll let you all know in this thread when I find it in case you also want it
Click to expand...
Click to collapse
I would certainly be interested!
Need an installation tutorial? Visit the V1.30B01 Thread. Most of the steps should apply, and if they don't I will update the instructions here later on. Do not follow the installation one by one until this line is removed from the thread.
Thank you again to @NFound for this time releasing the V2.10B12 version of android for our device!
Special THANK YOU AGAIN to @NFound, @raystef66, @DrakenFX, @Oki, @WesTD and to everyone else who has helped with the development of the Axon 7 and with this thread
Download Link: https://androidfilehost.com/?fid=746163614322267534
What's not working and how to fix it:
Magisk doesn't pass Safetynet? (ctsProfile: False). Download and flash https://androidfilehost.com/?fid=818222786056033454 Thank you @raystef66
Google play store shows as uncertified? The .ZIP above from @raystef66 fixes this as well. Your device is now certified.
How do I disable force encryption? Check post #41 by @spideyngo and check page #5 of this thread for the discussion and for a possible better file by @kountry83
Bad battery life? Flash Jojoc V2.1 or V3.1 module within Magisk or via TWRP V3.2 : https://androidfilehost.com/?fid=962187416754476535 V2.1 : https://androidfilehost.com/?fid=673956719939820457 by @raystef66
AdAway cannot install hosts file: Open Magisk -> Settings and select Systemless hosts.
Need to change location settings? : Download this app https://play.google.com/store/apps/details?id=set.lang.pro or check post #27 by @Dodgexander
Daydream is not working? Check post #23 by @kountry83 Download: Daydream.zip https://drive.google.com/file/d/1Stx5bJh_GXCiY8W2XNkEOkxX5ADO1f3c/view?usp=drivesdk
How do I enable or disable the Navigation bar?: Check thread [A2017G][TWRP-ZIP]NAVIGATION BAR Enabler/Disabler by @raystef66 or Direct Link download for aroma installer
Center clock and remove carrier label: Check post #50 by @raystef66 Download: A2017X_V2.1.0B12_carrier&clock_themer
Remove carrier label only: Check post #87 by @raystef66 Download: A2017X_V2.1.0B12_carrierremover
Need modems, boot or bootstack? Download below by @raystef66
Modems:
ZTE_A2017X_Oreo_V2.10B12_Gmodem
ZTE_A2017X_Oreo_V2.10B12_Umodem
ZTE_A2017X_Oreo_V2.10B12_CNmodem
Boot:
A2017X-O_beta-B12-boot.img
Bootstack: twrp 3.2.1.6 included
ZTE_A2017X_V2.1.0B12_OREO_BootStack_twrp3126
What's working:
Fully working HDR+
GCAM: GCAM
Dual Sims: Fully working
I'll continue updating the thread according to your feedback and my testing.
Victor13f said:
I'll continue updating the thread according to your feedback and my testing.
Click to expand...
Click to collapse
Glad you made a new one for the B12
Keep up the good work :good:
I have the Chinese model - a2017. Which should I flash, this one or the 1.30b01
FuzzyDunlop9 said:
I have the Chinese model - a2017. Which should I flash, this one or the 1.30b01
Click to expand...
Click to collapse
You can try both
I'm running these B12 , but the kernel it's driving me nuts it's not letting the phone go into deep sleep ... Any fix for that ? Can you guys share some battery stats
What's the difference between them?
I just flashed this version on my U since I thought it would be more suited, coming from the U beta program rather than G.
So far I have noticed out of the box this gcam camera port seems to work whereas on the B01 you need to install Nfounds patch to get even v4.4 of gcam to work.
Biggest negative so far is much the same as the Nougat rom on the U version and something I believe Nfound was trying to work on before he released the ROM; Thats localization issues, you only have a few languages to select from so that means for an app like google maps you can't use an english UK computer voice as the phone thinks you are always in the US. Same if you wanted to use a computer voice to pronounce street names in any language for that matter. Changing the text to speech values in the rom do not affect this as maps uses separate info now.
This has an impact outside of maps too, with some apps defaulting to you being in the US regardless of your current location. It would be lovely if other locales could be added just the same as the Euro B01 ROM.
Apart from that I can't see any differences really, the power manager looks more modern and up to date and there seems to be an option to customise mi-pop, can't remember if that was there before.
I still don't know what to make of this craze right now of HDR+, I've done several tests with the stock camera app and to me when I use HDR+ the image just looks the same without HDR. HDR however looks better. With Gcam and my limited testing its different though, HDR and HDR+ both look better than non-HDR.
I am a sceptic and my guess would be this, despite the apps having HDR+ they aren't working properly with it. Gcam when you used HDR+ or HDR+ enhanced is just taking a standard HDR picture and the stock camera is broken when using HDR+ and only takes a non-HDR picture whilst using standard HDR on the stock app does work. Maybe someone can help me with my findings?
ZTE Stock Camera
Standard
HDR
HDR Auto
Google Camera
Standard
HDR+
HDR+(enhanced)
What do people think?
Edit# also noticed that each time you first open Magisk it crashes, works second time each time though and passes safety net fine.
Edit2# Magisk v 16 just broke for me after a few reboots, v16.4 seems to work better.
Major issue so far is system isn't writable any more, had this issue a while back with Nougat and back then it was related to the bootsect.
Edit3#
Code:
su
reboot disemmcwp
does not make system writable either, just the same as Nougat with this problem.
Dodgexander said:
I still don't know what to make of this craze right now of HDR+, I've done several tests with the stock camera app and to me when I use HDR+ the image just looks the same without HDR. HDR however looks better. With Gcam and my limited testing its different though, HDR and HDR+ both look better than non-HDR.
I am a sceptic and my guess would be this, despite the apps having HDR+ they aren't working properly with it. Gcam when you used HDR+ or HDR+ enhanced is just taking a standard HDR picture and the stock camera is broken when using HDR+ and only takes a non-HDR picture whilst using standard HDR on the stock app does work. Maybe someone can help me with my findings?
ZTE Stock Camera
Standard
HDR
HDR+.
Click to expand...
Click to collapse
Wait what? Stock camera has got a hdr+ mode?
Dodgexander said:
What's the difference between them?
I just flashed this version on my U since I thought it would be more suited, coming from the U beta program rather than G.
So far I have noticed out of the box this gcam camera port seems to work whereas on the B01 you need to install Nfounds patch to get even v4.4 of gcam to work.
Biggest negative so far is much the same as the Nougat rom on the U version and something I believe Nfound was trying to work on before he released the ROM; Thats localization issues, you only have a few languages to select from so that means for an app like google maps you can't use an english UK computer voice as the phone thinks you are always in the US. Same if you wanted to use a computer voice to pronounce street names in any language for that matter. Changing the text to speech values in the rom do not affect this as maps uses separate info now.
This has an impact outside of maps too, with some apps defaulting to you being in the US regardless of your current location. It would be lovely if other locales could be added just the same as the Euro B01 ROM.
Apart from that I can't see any differences really, the power manager looks more modern and up to date and there seems to be an option to customise mi-pop, can't remember if that was there before.
I still don't know what to make of this craze right now of HDR+, I've done several tests with the stock camera app and to me when I use HDR+ the image just looks the same without HDR. HDR however looks better. With Gcam and my limited testing its different though, HDR and HDR+ both look better than non-HDR.
I am a sceptic and my guess would be this, despite the apps having HDR+ they aren't working properly with it. Gcam when you used HDR+ or HDR+ enhanced is just taking a standard HDR picture and the stock camera is broken when using HDR+ and only takes a non-HDR picture whilst using standard HDR on the stock app does work. Maybe someone can help me with my findings?
ZTE Stock Camera
Standard
HDR
HDR+
Google Camera
Standard
HDR+
HDR+(enhanced)
What do people think?
Edit# also noticed that each time you first open Magisk it crashes, works second time each time though and passes safety net fine.
Edit2# Magisk v 16 just broke for me after a few reboots, v16.4 seems to work better.
Major issue so far is system isn't writable any more, had this issue a while back with Nougat and back then it was related to the bootsect.
Edit3#
does not make system writable either, just the same as Nougat with this problem.
Click to expand...
Click to collapse
Having the same problem like you bro, and the visual voicemail in the phone app isn't working as the previous version B1
GodOfPsychos said:
Wait what? Stock camera has got a hdr+ mode?
Click to expand...
Click to collapse
No sorry, it's only HDR auto. I incorrectly said it was HDR+.
Anyone know the difference between HDR plus and HDR plus enhanced?
Ps the system not writable is a known issue.
Dodgexander said:
No sorry, it's only HDR auto. I incorrectly said it was HDR+.
Anyone know the difference between HDR plus and HDR plus enhanced?
Ps the system not writable is a known issue.
Click to expand...
Click to collapse
HDR+ enhanced lowers shutter speed so as to capture more light. Downside is you have to stay still longer while taking the photo as it takes more time to capture it.
HDR+ is almost instant with fast shutter speed. Tradeback is lower quality, noticeable mainly in very low light.
I use HDR+ almost always and HDR+ enhanced in very low light situations. That's the only time where it makes a big difference IMO.
If you always want best quality just pick HDR+ enhanced.
is there a download link for the firmware?
Predatorhaze said:
is there a download link for the firmware?
Click to expand...
Click to collapse
here you go : https://androidfilehost.com/?fid=746163614322267534
@Victor13f perhaps put it in the OP
just installed this rom coming from a non stock non rooted phone.
Having 3 issues
-When the device is rebooted it goes in to an error message "Your device software can't be checked for corruption. please lock the bootloader.","error g+xo/ABH"/ and that it will "boot in 5 seconds if no button is pressed". If volume button is pressed it wil go in TWRP otherwise it will just boot up Android fine. Not sure what I did wrong.
-The onscreen navigation buttons keep appearing, i disabled them in settings -features, most of the time they are not there but they keep coming back
-Cannot find Daydream in the appstore, guessing it does not detect my device as daydream supported
thats are no issues. all is fine
open bootlader = corrupt message
buttons come back of you swipe up from bottom
no daydream support
sprcreative said:
just installed this rom coming from a non stock non rooted phone.
Having 3 issues
-When the device is rebooted it goes in to an error message "Your device software can't be checked for corruption. please lock the bootloader.","error g+xo/ABH"/ and that it will "boot in 5 seconds if no button is pressed". If volume button is pressed it wil go in TWRP otherwise it will just boot up Android fine. Not sure what I did wrong.
-The onscreen navigation buttons keep appearing, i disabled them in settings -features, most of the time they are not there but they keep coming back
-Cannot find Daydream in the appstore, guessing it does not detect my device as daydream supported
Click to expand...
Click to collapse
The unlocked bootloader message is normal. Still haven't found a working method to remove it. Do not try any flashasble zips for different android versions as they can brick your phone.
The on screen buttons I've never had that problem it I'm running the EU version B01. Can't help you with that one.
Daydream doesn't run on betas therefore not showing on the play store or showing as unsupported. Download the APK from a reputable website and it should work flawlessly.
VR services was already installed, sideloaded daydream & daydream keyboard but as daydream starts up it says device is unsupported with a link and a close button.
I already found out about the /system/etc/permissions/handheld_core_hardware.xml where you can add lines to make it think that it supports VR but it gets overwritten after reboot back to default.
sprcreative said:
just installed this rom coming from a non stock non rooted phone.
Having 3 issues
-When the device is rebooted it goes in to an error message "Your device software can't be checked for corruption. please lock the bootloader.","error g+xo/ABH"/ and that it will "boot in 5 seconds if no button is pressed". If volume button is pressed it wil go in TWRP otherwise it will just boot up Android fine. Not sure what I did wrong.
-The onscreen navigation buttons keep appearing, i disabled them in settings -features, most of the time they are not there but they keep coming back
-Cannot find Daydream in the appstore, guessing it does not detect my device as daydream supported
Click to expand...
Click to collapse
Try this to enable or disable soft navbar : https://forum.xda-developers.com/axon-7/themes/a2017g-navigation-bar-enabler-disabler-t3740817
Reboot
Do give feedback whether it works and on which version device
sprcreative said:
VR services was already installed, sideloaded daydream & daydream keyboard but as daydream starts up it says device is unsupported with a link and a close button.
I already found out about the /system/etc/permissions/handheld_core_hardware.xml where you can add lines to make it think that it supports VR but it gets overwritten after reboot back to default.
Click to expand...
Click to collapse
Okay, I didn't know about that. I read somewhere that the only problem was downloading the APK. It could be something as easy to fix as the Magisk not passing safetynet. Let's see if anyone releases a fix.
Victor13f said:
Okay, I didn't know about that. I read somewhere that the only problem was downloading the APK. It could be something as easy to fix as the Magisk not passing safetynet. Let's see if anyone releases a fix.
Click to expand...
Click to collapse
Weird indeed as I saw that someone on the EU version did get daydream to work. I think I will try the EU version.
Just found out something new, the controls from my wired headset is acting up, it only activates voice control instead of controlling next/previous and stop/start music. Not tested yet if I can answer a phone call with those controls.
Is it possible to hide the carrier name in the status bar?
After trying many Google Camera APKs and configurations I finally found one that's stable and has working video. Keep in mind that I only tested it on AEX 5.8 Oreo
Tutorial:
1. Download & install MGCamera_5.1.0.18_R4X_v.5.1.19-fu24_1.3.apk - you can find it on celsoazevedo.com/files/android/google-camera
2. Go to settings > Developer Settings and enable camcorder.h265. This fixes video.
3. Go to settings > Advanced settings > Main camera and change Base model to Pixel XL. This fixes long capture times (at least for me)
4. Go to settings > Advanced settings > Experimental settings and set Resampling to Enabled (This increases photo quality) and Use Hexagon DSP to Yes (This increases stability)
5. [FOR GOOGLE PHOTOS USERS] Go to settings > Advanced settings > Photo view setting and tick Use Google Photo
6. [If your front camera takes greenish photots only] Go to settings > Advanced settings > Front-camera > Manual fixed black level offset > set to 14.00
6. Restart app completely.
Enjoy!
Crashes on AOSP 8.1.0. Have you tried it on other roms? I tried alot of different Gcams from www.celsoazevedo.com/files/android/google-camera/ but every one is crashing for me. Also i cannot find settings > Developer Settings and enable camcorder.h265. in my settings.
On aex 5.8 crashes too, maybe we got different camera sensor ?
Maggig said:
On aex 5.8 crashes too, maybe we got different camera sensor ?
Click to expand...
Click to collapse
Jogi346 said:
Crashes on AOSP 8.1.0. Have you tried it on other roms? I tried alot of different Gcams from www.celsoazevedo.com/files/android/google-camera/ but every one is crashing for me. Also i cannot find settings > Developer Settings and enable camcorder.h265. in my settings.
Click to expand...
Click to collapse
That's weird. Can you try "MGCamera_5.1.0.18_R4X_v.5.1.19-fu24_1.3.apk"? That was second apk that I managed to run
MGCB_7.0H_C2API_Mid_v.3.8b_AllinOne_Full_Manual_XDA_Developers
Only this work fine, but crash when you want disable shutter sound
Maggig said:
MGCB_7.0H_C2API_Mid_v.3.8b_AllinOne_Full_Manual_XDA_Developers
Only this work fine, but crash when you want disable shutter sound
Click to expand...
Click to collapse
Cannot install this one. Which Le2 u are using? I have the x520.
Well portrait front still give green tint.
otaired2 said:
Well portrait front still give green tint.
Click to expand...
Click to collapse
Fix for it:
Go to settings > advanced > Front-camera > Manual fixed black level offset > set to 14.00
Which version works on android 6, specifically in MIUI 10?
KevinU36 said:
Which version works on android 6, specifically in MIUI 10?
Click to expand...
Click to collapse
No GCAM worked in MIUI afaik, and no GCAM worked for below Android 7
---------- Post added at 12:50 PM ---------- Previous post was at 12:45 PM ----------
nullbytepl said:
Fix for it:
Go to settings > advanced > Front-camera > Manual fixed black level offset > set to 14.00
Click to expand...
Click to collapse
Well damn it worked. :highfive:
But still it's really unstable, few pictures taken then the camera gonna start crashed and need to reboot to access camera again. I just stick tu Arnova Gcam
otaired2 said:
No GCAM worked in MIUI afaik, and no GCAM worked for below Android 7
---------- Post added at 12:50 PM ---------- Previous post was at 12:45 PM ----------
Well damn it worked. :highfive:
But still it's really unstable, few pictures taken then the camera gonna start crashed and need to reboot to access camera again. I just stick tu Arnova Gcam
Click to expand...
Click to collapse
Which version? Pls post link
Rimasi89 said:
Which version? Pls post link
Click to expand...
Click to collapse
Here,
HTML:
[url]https://www.celsoazevedo.com/files/android/google-camera/f/GCam5.1.018-Arnova8G2-V1.6.apk[/url]
otaired2 said:
Here,
HTML:
[url]https://www.celsoazevedo.com/files/android/google-camera/f/GCam5.1.018-Arnova8G2-V1.6.apk[/url]
Click to expand...
Click to collapse
But it's not fully function does it?
As i choose portrait or video mode on the back camera the app crashes. I must choose the front camera first and through there i must turn it arround to the back camera avoiding the crash.
In all version that i've tried i also noticed there's no burst mode. I must take a picture at the time and wait for that to finish processing HDR+ :'(
Video 60fps is working on both front/rear camera without a problem but like i said if you want to use video on rear camera you must shortcut it through front camera first or the app will crash.
Other thing: if you want to use HDR+ on front camera you must choose portrait anyways or you'll not getting HDR+ effect (it saves 2 photos so you must choose the non-portrait one).
Do you know if here's no way on that version to disable zoom on portrait?
Rimasi89 said:
But it's not fully function does it?
As i choose portrait or video mode on the back camera the app crashes. I must choose the front camera first and through there i must turn it arround to the back camera avoiding the crash.
In all version that i've tried i also noticed there's no burst mode. I must take a picture at the time and wait for that to finish processing HDR+ :'(
Video 60fps is working on both front/rear camera without a problem but like i said if you want to use video on rear camera you must shortcut it through front camera first or the app will crash.
Other thing: if you want to use HDR+ on front camera you must choose portrait anyways or you'll not getting HDR+ effect (it saves 2 photos so you must choose the non-portrait one).
Do you know if here's no way on that version to disable zoom on portrait?
Click to expand...
Click to collapse
For me, when I open sometime it crashes but I don't need to open front camera first.
Yeah, front HDR+ not working in normal mode, only portrait mode.
I've tested a lot of Gcam versions and there is one where I need to open front camera first then I can use rear.
Well, I think the different version of ROM has a different effect on the Gcam, as well as Kernel.
I'll upload my setting later I got home
otaired2 said:
For me, when I open sometime it crashes but I don't need to open front camera first.
Yeah, front HDR+ not working in normal mode, only portrait mode.
I've tested a lot of Gcam versions and there is one where I need to open front camera first then I can use rear.
Well, I think the different version of ROM has a different effect on the Gcam, as well as Kernel.
I'll upload my setting later I got home
Click to expand...
Click to collapse
Yeah sorry, i forgot to mention i flashed the OverloadOreo-v4.5 kernel.
Rimasi89 said:
Yeah sorry, i forgot to mention i flashed the OverloadOreo-v4.5 kernel.
Click to expand...
Click to collapse
What ROM you on? I'm on aex and overload kernel also.
otaired2 said:
What ROM you on? I'm on aex and overload kernel also.
Click to expand...
Click to collapse
I'm on latest AOSP to... My configs are Nexus 6 Auto and model Nexus 6P with all at maximum quality like 100% HDR and panorama setting at High, ticked in developer options:
-camcorder.h265
-camera.gouda.front
-camera.p3
Finally i switched on the HDR+ Front camera, portrait mode and ZSL
Rimasi89 said:
I'm on latest AOSP to... My configs are Nexus 6 Auto and model Nexus 6P with all at maximum quality like 100% HDR and panorama setting at High, ticked in developer options:
-camcorder.h265
-camera.gouda.front
-camera.p3
Finally i switched on the HDR+ Front camera, portrait mode and ZSL
Click to expand...
Click to collapse
Final JPEG Quality better set at 95% for more stability
Any way to fix the mirror selfie issue ?? not able to find any solution as all the selfie pics turning to mirrored
We finally got a version of 6.1 with the updated libraries and features (Night Sight, etc) that doesn't kill the front camera!
I've been working on this with DefconG and Cstark for a while now, trying to figure out how to fix the noise profile / black levels in the front cam so we aren't stuck with 5.1 (and its arguably inferior image quality and sharpness), and this seems to be the first major breakthrough!
https://www.celsoazevedo.com/files/android/google-camera/f/changelog924/
It says for Pie, but don't worry. It will install fine on Oreo. You may need to uninstall other 6.1 ports if you are having trouble installing it (on my device it conflicted with a 6.1 Arnova installation).
Front cam and both rear cams are fully supported with HDR+ Enhanced now. Night Sight is also an option. Some new funky feature too like zoom enhancements and other fun things that aren't entirely documented. Use the attached settings XML for the best V20 experience.
Definitely looks sharper, much more config options to fiddle. But after taking more than 2 photos it crashes, both with hdr, hdr enhanced, hdr off and hexagon dsp disabled.
If going for version 6 this looks like the choice.
Thanks for the good work.
Pardon my ignorance, but how do I apply the xml settings?
EDIT:
I think I got it. Writing steps for others here. Thanks man! You're the hero we need.
1. A quick search led to this: https://www.celsoazevedo.com/files/android/google-camera/f/settings09/
2. Downloading the xml seemed oddly difficult, so I downloaded it on my laptop and transferred it to my phone. It seems to be working fine
Lebatman said:
Pardon my ignorance, but how do I apply the xml settings?
Click to expand...
Click to collapse
Double click the any empty black area near shutter button, it will as for the config. But be sure to copy the xml file to your \gcam\configs directory first.
I'm guessing no 7.0 support?
Night sight seems to be crashing now.. on the main cam especially. Anyone else facing the same?
Mysticblaze347 said:
I'm guessing no 7.0 support?
Click to expand...
Click to collapse
As far as I know, any GCam after 5.1 needs Oreo or higher, and any GCam from 6.2 on needs Pie or higher.
Sadly doesn't work on H990DS Oreo, I have version mismatch maybe because of that.
Have to go back to 5.1
Hello everyone. First off thank you so much for your work and development. I have been playing around with the 6.1 camera and I think I have everything working, but lens blur keeps force closing while processing the image.
I did download the XML file and double tap in the black area next to the shutter button change to the correct config file. But I'm still having the issue with lens blur is there something that I'm missing? Also, is there a way to make it save directly to the SD card? And any way to brighten up lens blur?
Thanks again for the awesome work. It would be really nice to only need one camera!
Onnit vs995 running Alpha Oreo 1.3.1
kaluna00 said:
Hello everyone. First off thank you so much for your work and development. I have been playing around with the 6.1 camera and I think I have everything working, but lens blur keeps force closing while processing the image.
I did download the XML file and double tap in the black area next to the shutter button change to the correct config file. But I'm still having the issue with lens blur is there something that I'm missing? Also, is there a way to make it save directly to the SD card? And any way to brighten up lens blur?
Thanks again for the awesome work. It would be really nice to only need one camera!
Onnit vs995 running Alpha Oreo 1.3.1
Click to expand...
Click to collapse
Haven't tried Lens Blur yet, but regarding directly saving to SD card, that's not a feature since no Google Pixel phone has an SD card slot. You'll have to rely on an automatic process to move the files for you via something like Tasker or a specific app that someone made:
https://forum.xda-developers.com/android/apps-games/app-gcam-tool-automatically-photos-t3752115
In Settings I changed both front and back cameras to be 16:9. However if I press the camera switch button then the settings does not stay. It goes like this:
Main Camera (16:9) -> Front Camera (16:9) -> Wide Camera (4:3) -> Front Camera (16:9) -> Main Camera (4:3)
Is it possible to fix this behavior so that switching to the Wide camera doesn't remove my Main camera settings?
Apologize for my ignorant. Does this app need root? What is the xml file for?
nookin said:
Apologize for my ignorant. Does this app need root? What is the xml file for?
Click to expand...
Click to collapse
From my experience:
1. No root required
2. Xml file sets the settings/parameters which are optimal, and also somehow save the app from crashing.
Someone else might be better informed though.
@Dishe
Thanks for your work, really appreciate it
I've noticed that the link goes straight to the Joker version. I've tried latest one: "eldiablo" and it seems to be working fine. Should I stick with the joker version or eldiablo is just fine?
I'm on h990ds with lineage 16
Just installed this on my H990DS. Is there a wide angle option?
itm said:
Just installed this on my H990DS. Is there a wide angle option?
Click to expand...
Click to collapse
Yes widescreen works fine on h990ds.
itm said:
Just installed this on my H990DS. Is there a wide angle option?
Click to expand...
Click to collapse
EnterTHEvoiD said:
Yes widescreen works fine on h990ds.
Click to expand...
Click to collapse
There's a couple of ways to toggle the cameras which can be set in the settings menu. One is to long-press the front/back toggle button, the other is to alternate each time you go from rear cam to front cam. The long press seems makes more sense on paper, but in reality it then pauses as it resets the app. Toggling to front cam and then back to rear seems to happen faster so you are ready to take a picture sooner. But then it is confusing because taking a selfie and then back to rear you forget which camera you are on now at first. I wish there was a toggle that worked like in the stock LG app, but the quality of Gcam is so good its worth it.
itm said:
Just installed this on my H990DS. Is there a wide angle option?
Click to expand...
Click to collapse
EnterTHEvoiD said:
Yes widescreen works fine on h990ds.
Click to expand...
Click to collapse
EnterTHEvoiD said:
@Dishe
Thanks for your work, really appreciate it
I've noticed that the link goes straight to the Joker version. I've tried latest one: "eldiablo" and it seems to be working fine. Should I stick with the joker version or eldiablo is just fine?
I'm on h990ds with lineage 16
Click to expand...
Click to collapse
I haven't tried it yet- I'm just reporting info as the guys tweaking LG cams are filling me in.
The V20 is my wife's phone, and while I spent a considerable amount of time trying to make it take awesome pictures for her, I haven't tried the latest updates. She doesn't always like me stealing her phone to tinker. Let us know how it goes?
Dishe said:
There's a couple of ways to toggle the cameras which can be set in the settings menu. One is to long-press the front/back toggle button, the other is to alternate each time you go from rear cam to front cam. The long press seems makes more sense on paper, but in reality it then pauses as it resets the app. Toggling to front cam and then back to rear seems to happen faster so you are ready to take a picture sooner. But then it is confusing because taking a selfie and then back to rear you forget which camera you are on now at first. I wish there was a toggle that worked like in the stock LG app, but the quality of Gcam is so good its worth it.
Click to expand...
Click to collapse
Quality of this camera is rather impressive, better than the other 6.1 I had. Is it OK to use eldiablo version or should we use joker one? Thanks
EnterTHEvoiD said:
Quality of this camera is rather impressive, better than the other 6.1 I had. Is it OK to use eldiablo version or should we use joker one? Thanks
Click to expand...
Click to collapse
Doesn't hurt to try it and let us know!