[APP][FEEDBACK] Arnova8G2's Google Camera Port - Xiaomi Redmi Note 4 Themes, Apps, and Mods

This thread has been created to provide RN4 feedback to @Arnova8G2 regarding his port of the Google Camera app.
Describe your experience (mostly what doesn't work as expected)
Provide logcats (the dev does not have your phone, so logs are needed if you want him to fix stuff)
Mention @Arnova8G2 when you post your feedback
ALL FEEDBACK PROVIDED IN OTHER THREADS OR WITHOUT LOGS WILL BE IGNORED​
Latest update:
v1.4
Arnova8G2 said:
2017/01/04 – GCMod5 based on Mod By B-S-G
Add toggle for portrait mode or Lens Blur
AutoFocus enhancement and faster
Support level override back in ZSl, front in ZSL_REPROCESSING and Level_3 for OP3/OP3t, MI5,Mi5s
Black screen fix test
Add 4K for devices that do not have it
GCam5.1.018-Arnova8G2-V1.4.apk
** Please mention me in the thread of your device with a logcat or screenshots.
Click to expand...
Click to collapse
Previous versions:
v1.3.1
v1.3

The 1.4 build can't take a photo in portrait mode using the front Camera, the 1.4beta2 build can. On 1.4, it simply doesn't save anything.
Also when accessing the video camera in the 1.4 & 1.4beta2 the camera crashes
Log of crash for video access.
java.lang.SecurityException: Signature check failed for com.google.android.GCMods5
at android.os.Parcel.readException(Parcel.java:1683)
at android.os.Parcel.readException(Parcel.java:1636)
at hlh.a(Unknown Source)
at hsy.a(Unknown Source)
at htc.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at hpt.run(Unknown Source)
at java.lang.Thread.run(Thread.java:760)
Btw: i am on Miui 9 Global rom 8.1.4 - Android 7.0, December 5, 2017 Security patch Level and my Device has a Samsung sensor

Photos are pink on omnivision sensor, toggle fix not working

p3dboard said:
The 1.4 build can't take a photo in portrait mode using the front Camera, the 1.4beta2 build can. On 1.4, it simply doesn't save anything.
Also when accessing the video camera in the 1.4 & 1.4beta2 the camera crashes
Log of crash for video access.
java.lang.SecurityException: Signature check failed for com.google.android.GCMods5
at android.os.Parcel.readException(Parcel.java:1683)
at android.os.Parcel.readException(Parcel.java:1636)
at hlh.a(Unknown Source)
at hsy.a(Unknown Source)
at htc.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at hpt.run(Unknown Source)
at java.lang.Thread.run(Thread.java:760)
Click to expand...
Click to collapse
can you send the link for beta builds? please

1.4 version doesn't really work. I'm still on his 1.3 version in which portrait mode works both on front and rear cam. However the HDR photo on front cam is way worse compared to MCG.
I'm on nougat los 14.1

Anyone try in latest dev.china 8.1.4?
Sent from my Redmi Note 4X using Tapatalk

sen7er said:
Anyone try in latest dev.china 8.1.4?
Sent from my Redmi Note 4X using Tapatalk
Click to expand...
Click to collapse
Works but video crashes app.
There are report that video works on Oreo ROMs. Can anyone confirm. This'll help arnova debug

Best Setting as of now and I Love it ?

In my case the worst thing is that the camera is crashing randomly quite often, plus video recording doesn't work. I'm on LOS14.1, any solution for this?

Dr. Hurt said:
Works but video crashes app.
There are report that video works on Oreo ROMs. Can anyone confirm. This'll help arnova debug
Click to expand...
Click to collapse
Yes, I'm using GCMod5 on Pixel Experience ROM (Android 8.1) and both photo and video mode work fine for me. Portrait Mode also works well, only issue I've is that the Captured Image from Front Cam is mirrored.

anooj21m said:
can you send the link for beta builds? please
Click to expand...
Click to collapse
The 1.4Beta 2 can be downloaded from https://www.celsoazevedo.com/files/android/google-camera/

Tried last version but portrait mode in front camera doesn't work. It works in back camera.

The app keeps on crashing
I'm using MIUI 9 global stable(7.0). I installed the app ver 1.4 and it keeps on stopping.
I dont know how to take logcats but hope this helps:
java.lang.NullPointerException: Attempt to get length of null array
at cok.aa(PG)
at ccv.a(PG)
at com.a(PG)
at jxg.a(PG)
at con.run(PG)
at gvc.run(Unknown Source)
at hzy.run(PG)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:272)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:760)
at avv.run(PG)

Not working on Redmi note 4 mido RR official nougat 7.1.2
Ignited from my Redmi Note 4 running Resurrection Remix

Portrait mode(front & back) and panorama working fine on mido running 8.1 pixel experience (AOSP). Slow-motion doesn't work though and it keep crashes! Thanks @Arnova8G2 and sorry for not able to provide you logs since I don't know how to fetch the logs exactly after the camera crashes when applying slow-motion!

NE0HP said:
Portrait mode(front & back) and panorama working fine on mido running 8.1 pixel experience (AOSP). Slow-motion doesn't work though and it keep crashes! Thanks @Arnova8G2 and sorry for not able to provide you logs since I don't know how to fetch the logs exactly after the camera crashes when applying slow-motion!
Click to expand...
Click to collapse
What version that compatible less crash, but i use last dev chn. That crash v1.4, v1.5
Sent from my Redmi Note 4X using Tapatalk

In 1.4 beta2 portrait mode is working but photos are blurry, anyone has recommended settings for this?

Need selfie portrait mode.
Portrait mode is working for human face only which is annoying, so need the portrait mode to be working for all objects beyond just "human face".
Need better overall stability.
Great job, thanks for the port man!

My Log For GCam 1.5Beta2--
Force Closes On Rear Cam, otherwise a black screen. @Arnova8G2
java.lang.NoSuchMethodError: No virtual method discardFreeBuffers()V in class Landroid/media/ImageReader; or its super classes (declaration of 'android.media.ImageReader' appears in /system/framework/framework.jar)
at com.google.android.camera.experimental2017.ExperimentalImageReaderExtensions.discardFreeBuffers(ExperimentalImageReaderExtensions.java)
at ifi.h(PG)
at iij.h(PG)
at iij.h(PG)
at iij.h(PG)
at ign.j(PG)
at ign.close(PG)
at hzr.close(PG)
at gix.close(PG)
at dzz.close(PG)
at hzr.close(PG)
at csk.A(PG)
at csk.d(PG)
at ctn.onCameraSwitch(PG)
at com.google.android.apps.camera.bottombar.BottomBarController$4.onCameraSwitch(PG)
at com.google.android.apps.camera.bottombar.BottomBarController.lambda$wireListeners$0$BottomBarController(PG)
at com.google.android.apps.camera.bottombar.BottomBarController$$Lambda$0.stateChanged(Unknown Source)
at com.google.android.apps.camera.bottombar.CameraSwitchButton.setState(PG)
at com.google.android.apps.camera.bottombar.CameraSwitchButton.setStateAnimated(PG)
at com.google.android.apps.camera.bottombar.CameraSwitchButton$1.onClick(PG)
at android.view.View.performClick(View.java:5619)
at android.view.View$PerformClick.run(View.java:22295)
at android.os.Handler.handleCallback(Handler.java:754)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:163)
at android.app.ActivityThread.main(ActivityThread.java:6342)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:880)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:770)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:107)

2018/01/07 – GCMod5 based on Mod By B-S-G
ChangeLog :
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

Related

[Magisk] [Module] Mi A2 Ported camera for Whyred custom roms

Mi A2 Ported camera for Whyred devices!!! GLOBAL AND PRO - Oreo Only!!!​
NOT FOR MIUI BASED ROMS!!!!​
This wouldn't be possible without the efforts of @dan3840 . Respect bro!
HIGHLIGHTS
- Portrait front mode works
- Beautify Works
- Front Flash works (enabled torch mode which is perfect for frontal portrait mode photos!!)
NOT WORKING
-Report any other issues to keep improving it!!!
ENJOY!!!!
INSTALL INSTRUCTIONS
------------------------------
1-Uninstall all Gcams (They Cause conflict)
2a-Load Magisk module via Magisk Manager
or
2b-Flash zip via TWRP (this 2nd option if for users that app says "60" instead of camera" and cases that step 2a simply doesn't work
3-Reboot Phone
4-Give all the permissions to the camera
5-Have Fun!
CAMERA2API MUST BE ENABLED!
New update! v0.6
-fixed for some roms (AEX, etc)
-Cleaned up some unused files and lines
-Added Scenes!
-Age Stamp fixed
-EIS seems to be working now!
New update! v0.7
-Slow-Mo Fixed! Thanks Dyneteve!!!!
New update! v0.8
-Increased Photos quality (Please confirm if it works for you)
-HHT Fully implemented and it works Jointly with front selfie beautify mode/effect when needed
New update! v0.9
-Redistributed image quality scales better
-Added 1080p Slow-mo. Thanks @ARNOB XENON
New update! v1.0
-Normalized codecs and image processing.
-ADDED TWO NEW HDR MODES (PRO & LIVE)
-Removed Group mode and Fingerprint shutter (not working as of now, if i find a way to fix them, i'll re-add)
-Corrected Dual Watermark
-HDR now starts in Auto mode (works fine here, please confirm)
DOWNLOAD v1.0 (It's LIVE)
Tested on MSM Xtended Rom
Tested on Bootleggers by @Sumit Samanta
Tested on AOSiP
Tested on AEX by @xdatman
ENJOY! Say Thanks if you like it!
If you feel like, invite me some snacks and sodas
:laugh: SEND SNACKS TO Carlosggb CLICK HERE :laugh:
Will testing soon ???
Tested this on AOSiP ROM.Most of the things works well,but there are some bugs
1.slow mo doesn't work
2.very slow(3-5 s). Time to change between portrait and photo mode and also from back to front camera
Overall it's the best miui camera port that I have come across. I jumped to Aosp ROM as soon as this camera is ported
@carlosggb
Tested it out in AOSiP. Camera quality is good, portrait mode works great, same as stock camera.
Bugs I could find so far:-
1. As stated above by @Subhashis Switching from portrait to normal mode and front to back camera or vice versa lags like hell, takes 3 - 4 seconds.
2. FP Shutter doesn't work.
3. No auto HDR is available.
4. AI Mode is not working (I don't think it is gonna work anyway).
5. Even 1080p video doesn't have any stabilization.
6. Clicking on slow-motion crashes the camera app.
7. I don't know what magic mirror does but enabling group selfies does nothing (I know its a MI series features and I don't expect it to work on this phone either).
The lag is main problem in this camera. Otherwise its great. Having FP Shutter and Auto HDR would be convenient though. Thank you so much for your hard work man!
Edit:- Another problem I found after some time that flashing this camera stops Google camera from working, it crashes at launch. After disabling or uninstalling A2 camera form magisk Google camera works fine.
Edit 2:- Well, after disabling the module and making google camera work, re-enableing the module both camera works fine. Its wired or I might be doing something wrong.
Great. Will test it out
Nice work op.
But it force-closes on Liquid Remix 20180727.
Wow nice one
I'll testing soon
good work thanks i will also try to stable it
Clicking a normal picture in photo mode makes my phone go into reboot. Anyone else facing this issue?
Dont work on Pixel rom!
kalustan said:
Nice work op.
But it force-closes on Liquid Remix 20180727.
Click to expand...
Click to collapse
Working. Enable all permission. Reboot ur device then check
Photos taken using portrait mode in both the front and back camera takes years to process (10-15 seconds). While processing the camera is unusable and if you press too many buttons while its stuck, it will force stop.
Only portrait mode working here, anything elks results in phone crashing to black screen and have to reboot.
Edit: I did something and now everything working well
Edit: ok have found the culprit. HDR must be enabled along with AI. If HDR is disabled when AI is active, phone will crash
For camera related apps and mods, I think its a good idea to also state your device model -- Indian RN5pro or Global RN5 when reporting, because there might be some camera module/sensor related problems
Sumit Samanta said:
Working. Enable all permission. Reboot ur device then check
Click to expand...
Click to collapse
:victory:
Working now!
Thanks.
b3rvirus said:
For camera related apps and mods, I think its a good idea to also state your device model -- Indian RN5pro or Global RN5 when reporting, because there might be some camera module/sensor related problems
Click to expand...
Click to collapse
Sorry, edited my post, the problem was HDR had to be active when AI is active. Once I realised this I've had no problem. This is so good. Thanks
Doesn't seem to work on Resurrection Remix. App appears as '60' and refuses to open. Still, I'll keep an eye, this port is promising
Greetings, as mentioned above, I need device, ROM and logs of your issues. Incomplete information WILL BE IGNORED.
THIS IS A FIRST BETA, NEED LOGS TO IMPROVE
FC in AEX. All permission enabled.
Can you try this? change line in /common/system.prop ro.product.device=tissot_sprout to ro.product.device=whyred. and replace /system/etc/device_features/tissot_sprout.xml to whyred.xml found in miui rom and see if it helps.

Google camera with portrait mode

Anyone got Google camera with working portrait mood?
This is not possible yet until some one will work for it...
Till we can only hope for this
There are some ports that nearly work well, but don't worth the try unless you want to have to reinstall the app and reboot your phone every 2 pictures... One works well but has a heavy blue tint, the other is good but make the camera driver crash at nearly every 1 or 2 pictures so you have to reinstall Google Camera app and reboot phone.
Naerade said:
There are some ports that nearly work well, but don't worth the try unless you want to have to reinstall the app and reboot your phone every 2 pictures... One works well but has a heavy blue tint, the other is good but make the camera driver crash at nearly every 1 or 2 pictures so you have to reinstall Google Camera app and reboot phone.
Click to expand...
Click to collapse
One of the developer said it's impossible for kirin devices
Someone ported gcam for honor 7x
https://forum.xda-developers.com/honor-7x/themes/portrait-mode-google-camera-v6-0-hdr-t3857851
Prashant324 said:
Someone ported gcam for honor 7x
https://forum.xda-developers.com/honor-7x/themes/portrait-mode-google-camera-v6-0-hdr-t3857851
Click to expand...
Click to collapse
Well dont use it...
Once you use it and
1) if directly switch to stock cam, everything including launcher and Ui crashes. No way to get out of it other than force restart... (you will get screen artifacts n thats it)
2) if launch this cam... Take a pic, exit and open stock cam, your stock cam wont load until you restart the device....
TALKING ABOUT HONOR PLAY DEVICES
And overall HDR+ doesnt do crap when compared to HDR mode in stock cam app
Zyfe3r0 said:
Well dont use it...
Once you use it and
1) if directly switch to stock cam, everything including launcher and Ui crashes. No way to get out of it other than force restart... (you will get screen artifacts n thats it)
2) if launch this cam... Take a pic, exit and open stock cam, your stock cam wont load until you restart the device....
And overall HDR+ doesnt do crap when compared to HDR mode in stock cam app
Click to expand...
Click to collapse
I have installed gcam on my honor 6x and everything is working fine. They provided a guide how to install gcam on honor 7x and this port is working fine with honor 6x.
Prashant324 said:
Someone ported gcam for honor 7x
https://forum.xda-developers.com/honor-7x/themes/portrait-mode-google-camera-v6-0-hdr-t3857851
Click to expand...
Click to collapse
Prashant324 said:
I have installed gcam on my honor 6x and everything is working fine. They provided a guide how to install gcam on honor 7x and this port is working fine with honor 6x.
Click to expand...
Click to collapse
Well... This isnt 7x or 6x forum...
Im talking abour Honor Play...
Weird, I don't think HDR+ would ever be supported for Kirin devices
Honor play boys i have good news for you. I have just found the working gcam. Everything is working i will suggest you the setting
Only you have to tweak the two settings ie, saturation and input model
Instructions:
1. Download the modified Google Camera apk here
https://www.celsoazevedo.com/files/android/google-camera/f/MGC_6.1.013_MiMAX2_V1b_A8.1+.apk
2. Install the app;
3. Give all permissions,
4. Go to settings, "BSG MOD" --> Input Model --> Pixel XL for Rear & Front
5. Restart the app and go to settings --> BSG MOD --> Saturation --> Back Camera : Highlight Sat to 2.0 and Shadow Sat to 2.6
Front camera: Highlight Sat to 2.0 and Shadow Sat to 2.6
6. Restart the app [needed]
7. Go to settings --> advanced --> turn On all the switches except HEVC/H.265 one.
8. Restart the app [needed]
Enjoy Google Camera on your Kirin Devices especially i have tried on Honor play
Credits:
BSG
Features working:
- Camera (HDR+, ZSL, flash, zoom, front camera, raw, etc)
- Video (at 1080p)
- Portrait Mode, Panorama, Photo Sphere
Features NOT working:
- Slow motion
- hdr+ or enhanced not working on front camera
- night sight
Portrait mode is not working in my mobile through I'm using the latest version 6.1.021 and made the necessity changes which you've suggested.
Jayanthjey said:
Portrait mode is not working in my mobile through I'm using the latest version 6.1.021 and made the necessity changes which you've suggested.
Click to expand...
Click to collapse
Here you go...
Open thread and you are done..
https://forum.xda-developers.com/honor-play/themes/google-camera-honor-play-t3863795/page22

[APK] Google Camera 6.2.030 fully working

Hi everyone! Just wanted to share this google camera port that I modded to work on the Razer Phone 1. It's based on BSG's latest (MGC_6.1.021_MI8_V1f.apk) build, but with some modifications made by me to make it not crash immediately as well as work with the front facing camera. The crashes are caused by the front facing camera only supporting legacy mode and not camera2 which is a requirement of Google Camera from a few versions ago.
The default settings seem to work fine for me, but I haven't really tried different configs and such, so do let me know if you experience any crashes or other oddities and I will look into it.
Downloads
BSG v2.0.0 (2019-09-30):
- Initial build based on BSG's MGC_6.2.030_RazerPhone2_V5.apk
- Force back facing camera for Portrait and Night Sight modes
- Show an error message when Do not disturb is enabled, this would cause a crash due to a bug in the Android framework
https://drive.google.com/open?id=1kZpM5hmlH-bloFUzXVNR5wVqEeqrxjjf
TlnNeun v1.0.0 (2018-12-21):
- Initial build based on MGC_6.1.021_BSG_Arnova-based_v.1.3a_fix_TlnNeun
https://drive.google.com/open?id=16qp8nKtxxJZjQOVxLDEtbcPmgUANKNOW
Older builds:
BSG v1.3.2 (2019-04-11):
- Add Lens Blur to the switch selector in addition to Portrait mode
- Attempt to fix black screen on startup that happened quite rarely
https://drive.google.com/open?id=1icUsKiPO6ls7hKg3CoboRqIyvM7sOT2L
BSG v1.3.1 (2019-01-29):
- Fix shots not working just after opening the app
https://drive.google.com/open?id=1QgEk_47Zo6440jG8iEh_3Vcy919tK0w6
BSG v1.3.0 (2019-01-20):
- Enable Photo Booth (only works on the back camera)
- Re-base on MGC_6.1.021_MI8_V2b_plus3
https://drive.google.com/open?id=1qROcohdj1A3p59KDo5j0gTuAkqihEzBx
BSG v1.2.0:
- Fix crash when using libs other than default
- Re-base on MGC_6.1.021_MI8_V1h
https://drive.google.com/open?id=1FmsdwieDRI3JcpNMAavfKB1hZ2AaneNN
BSG V1.1.0:
- Fix slow motion mode
https://drive.google.com/open?id=1mCZ0zMuSdDgWnqbXyypFjyTPPvEOiMPn
BSG V1.0.1:
- Fix rare crash when using night mode
- Remove slow motion as it doesn't work on this phone
- Fix back camera not working when disabling hdr+
https://drive.google.com/open?id=1CE8hL-E5YYQvq4kSnAbdzQL-1J__ZgHD
BSG V1.0.0:
- Initial release
https://drive.google.com/open?id=1zHcCu5c1egMsPT3q2Ajsm3-Ifm2DNj9q
HomerSp said:
Hi everyone! Just wanted to share this google camera port that I modded to work on the Razer Phone 1. It's based on BSG's latest (MGC_6.1.021_MI8_V1f.apk) build, but with some modifications made by me to make it not crash immediately as well as work with the front facing camera. The crashes are caused by the front facing camera only supporting legacy mode and not camera2 which is a requirement of Google Camera from a few versions ago.
The default settings seem to work fine for me, but I haven't really tried different configs and such, so do let me know if you experience any crashes or other oddities and I will look into it.
V1:
https://drive.google.com/open?id=1zHcCu5c1egMsPT3q2Ajsm3-Ifm2DNj9q
Click to expand...
Click to collapse
Excellent news! I'll try your mod and share my experience. Thanks for you job! :good:
Update:
For me, everything worked very well, all mode are formidable on my RP1. Doesn't work Slow Motion and Front Cam on Portrait mode, like older version doesn't work too, I do not care about portrait mode on front camera.
Suggestion, if it is not possible to work on Portrait mode in Oreo 8.1, remove the switch button on portrait mode.
I think when the Pie rolls out to us, probrably we will be able to mod this aspect in gcam.
Thanks one more time for you attention with the Razer Phone community.
Thank you so much for this. Been patiently waiting for someone to port this, great work.
Sent from my Phone using Tapatalk
Anyone mind posting some comparison shots?
works good on stock razer rom
thanks
Great stuff, was hoping someone would do this.
Only things that crash which bother me are Slow motion not working and for some reason when I disable the HDR+ taking photos just does nothing
I've uploaded version 1.0.1 which fixes some issues I found, as well as working around some of the things you all mentioned. Take a look at the OP for the full changelist and download link.
Unfortunately, I wasn't able to find a good way to completely disable portrait mode for the front camera, but since it doesn't crash when switching to it I didn't find it to be too much of a problem - as you can just press the switch button again.
Enjoy, and do let me know if you spot any more issues.
Nice one.
Nice to be able to use these features now, Night Sight is surprisingly good.
A shame Slow mo doesn't work but I have a GCmod5 that has working Slow mo.
Difference from stock camera is MASSIVE
See here on for some comparisons
https://twitter.com/DroidAlexandra/status/1074848483025321984
ChaoticCompound said:
Nice one.
Nice to be able to use these features now, Night Sight is surprisingly good.
A shame Slow mo doesn't work but I have a GCmod5 that has working Slow mo.
Click to expand...
Click to collapse
Good news: I've managed to get slow motion mode working on this build and uploaded v1.1.0 with it added back. See OP for the link.
Genius at work! Thanks a lot
Great work! Really appreciate this!
Only comment is the slow motion seems to have screen flickering (likely due to it being fixed to 60hz but lights are 50hz where I am). Other camera modes will initially flicker but adapt after a second or two. This doesn't happen on the slow motion.
Good job! I am really enjoying it, thanks!!
HomerSp said:
Good news: I've managed to get slow motion mode working on this build and uploaded v1.1.0 with it added back. See OP for the link.
Click to expand...
Click to collapse
Still crash on mine
I've added v1.2.0 to the OP, which fixes an issue where the app would crash when you choose anything other than the default google lib. It's also rebased on the latest BSG build, which adds a new Config option. In addition to that I've ported the changes to TlnNeun's latest build and added that to the OP - so feel free to choose whichever one you fancy!
In case anyone is wondering, the hack to enable the secondary back camera that works on the Razer Phone 2 unfortunately does not work on this device because the system checks a property to see what apps are allowed to use it (vendor.camera.aux.packagelist) and that is only set to com.razerzone.camera, unlike the Phone 2 which is set to com.razer.camera,org.codeaurora.snapcam,com.razerzone.camera. So until Razer changes this, there's not really a whole lot we can do unfortunately - not that the secondary sensor is really that good anyway.
Not too worried about the second rear camera.
Is there much difference between all of the different config options?
ChaoticCompound said:
Nice one.
Nice to be able to use these features now, Night Sight is surprisingly good.
A shame Slow mo doesn't work but I have a GCmod5 that has working Slow mo.
Click to expand...
Click to collapse
ChaoticCompound said:
Not too worried about the second rear camera.
Is there much difference between all of the different config options?
Click to expand...
Click to collapse
Unfortunately I'm not too sure what all of the different config options actually do - but I do know that changing what libs it uses can change how the picture looks in HDR+ mode, however, I don't really know in what way. I tend to just leave things on stock settings because I think it looks good enough - way better than the stock razer app anyhow.
HomerSp said:
Unfortunately I'm not too sure what all of the different config options actually do - but I do know that changing what libs it uses can change how the picture looks in HDR+ mode, however, I don't really know in what way. I tend to just leave things on stock settings because I think it looks good enough - way better than the stock razer app anyhow.
Click to expand...
Click to collapse
Yeah too right, way better than the stock app. Thanks again for this
Thank you so much!
Even night sight works! now I got a really good phone with a really good camera(well its 3am so I only tried really dark scenes )
first time I booted the app, front camera did not work. when I tried a second time it did!
Amazing job, thanks again. Wish there was a way to get the telephoto to work just for the sake of completeness. I got the phone today..

Google Camera for Huawei P20 and other Kirin Devices

INTRO
Here I will collect all the sources where I've found working APKs for the P20 and other APKs that work in other Huawei devices.
None of these are meant to work on Huawei devices. Theese have been tested on the EML-L29/EML-L09 EMUI 8
These might also work for other Kirin 970 devices, so give them a try.
Just so you know: the main goal here is to get HDR working. I don't care if Night Sight or Portrait mode doesn't work, the main goal is to get the best image quality for the Huawei Camera using Google's magic (HDR and HDR+).
===I'll edit this post if I find other ports that work or if I have anything important to add=== (Edited: 23/02/2020)
::Some important info about Camera2 API and Huawei devices::
The android.hardware.camera2 API provided by Google is needed for the Google Camera to work. Huawei devices tend to limit the functionality of this API, having little support for it and restricting functionality when installing third-party apps (e.g. FilmicPro or the GCam ports).
There are several levels of support for this API which you can consult in this app: Camera2 API Probe.
Since Android 9 (EMUI 9) updates began to roll out, Huawei devices (P20, P30, Mate 20, Mate 30, etc.) are on the LIMITED level (View P20's level support here). If you want to have the full functionality of the GCAM (ports by modders mentioned in this post) you need at least LEVEL_3 support, which Huawei won't have from now on.
If your phone has LEVEL_3 support, you can try any APK mentioned below or consult the latest mods posted in Celsoazevedo's page (Dev-Arnova8G2), which may work for your phone.
WORKING APK FOR HUAWEI P20/OTHER KIRIN DEVICES (Works only with EMUI 8 - Android 8.1.0, crashes on EMUI 9 - Android 9 users)
Some people might find interesting downgrading their phones to have the Google Camera. Here you have a quick guide on how to do it: Downgrading the P20
The best working Google Camera APK to this day is MGC_6.1.021_BSG_Arnova_TlnNeun_1.2_test_fix_Exynos.apk (only tested on the P20, it might works for others too).
This APK provides partial HDR+ functionality, night sight (issues found on EMUI 9), portrait mode, Photo Sphere, Google Lens, video and panorama.
IMPORTANT: You need to tweak some things in the settings so it doesn't crash:
Open the settings
First go to "Advanced options" in the "Quick Settings" tab and go to "FIX" (at the bottom)
Go to "Viewfinder Format" and choose the "YUV_420_888" option
I have also set "Settings">"Advanced options">"Base">"Config" to "Pixel2018 ZslR HDR+" and "Settings">"Advanced options (at the bottom)">"HDR+ Control" ON to enable or disable HDR .
You can also try other configurations to see which one does better.
This should be enough to be able to take HDR photos, which a lot of the APKs mentioned below can't do, but if you try to take some photos you'll notice that the image lacks color. To fix that you'll need to:
Open the settings
Go to "Saturation". Change the value on "Highlight Saturation" and "Shadow Saturation" to your liking (for me 2.4 and 2.8 give the best results using the YUV format, but you can tweak it as you like)
You have a clear comparison in these images: HDR - No Saturation and HDR - Saturated w/ settings from above (it's a foggy day and the differences between the HDR and non HDR photos are minimal, but you get the point).
Thanks to @vov4arka for suggesting using the YUV fix and @Arnova8G2 and B-S-G for spending their time on porting the APK.
If you're an Android 9 user: This APK seems to have the HDR function working (L-G_cam.apk by harysviewty), but it's an older and modded version of the GCam. It is much worse than the APK mentioned above but it is the only one I've found.
OTHER AVAILABLE APKs
You can visit celsoazevedo's web, where you can find a ton of modded Google Camera APKs for every kind of device (Samsung, OnePlus, LG, Xiaomi, etc.). Huge shoutout to the web creator for providing this APKs, and also to the modders for their work on these mods.
For the P20, the working APKs that I've found are Google Camera v4.1.006.126161292 and MGCB_7.0H_C2API_v.4.0 (both stable on the P20):
MGCB_7.0H_C2API_v.4.0 has the HDR+ function but is disabled on the settings, if you enable it the app crashes.
The same version of the Google Camera v4.1.006.126161292 with HDR+ can be found here, but I think the HDR+ feature it's broken (you can see it in this thread (also stable on the P20):
[url]https://drive.google.com/drive/folders/0B7oAweIKkrytSXdJYkQ2NUtxS28[/URL]
If you only want the Google Camera because of the Panorama mode (I think the Google Camera is the best camera app to take panoramas), those should be enough.
Another APK that I've tried is GCMod5 1.7 from @Arnova8G2, it is a newer version (v5.1.018.177470874) and it has more features and some developer options:
[url]https://www.celsoazevedo.com/files/android/google-camera/f/GCam5.1.018-Arnova8G2-V1.7.apk[/URL]
This one has crashed a few times but everything seems to work fine (except for HDR, I can't see a difference between a photo with HDR and without it, so I guess it doesn't work either).
You can find older versions of the GCMod in here, for example, some betas and other versions (like the 1.6 or 1.5), but I haven't tested them on the P20 and I don't know if they'll crash right after you install them (as it happens with a lot of other APKs from that page) or they will work just fine.
In December 2018, @Arnova8G2 uploaded a new version of his Google Camera Port for the Huawei Mate 10, Mate 10 Pro and Honor Play, which have the same processor as the Huawei P20. I tried it on the P20 but it crashes (Android O and P). If you have one of these devices you can download it from here: MGC_6.1.021_V1d-Advances_test2.apk
The version V1d-Advances_test1.apk does not work as well.
APKs I'VE TRIED AND DON'T WORK (tested on EMUI 8)
I've tried a lot of APKs from celsoazevedo's page trying to find the ones that work on the P20. Here you have some of them (most of them crash before opening):
All of the APKs I've talked about before
P3v9.1_GoogleCamera_6.1.021.apk and previous versions
MGC_6.1.021_BSG_Arnova_TlnNeun_1.2_Final_Fix_Exynos_kirin.apk, MGC_6.1.021_BSG_Arnova_TlnNeun_1.2_Final_Fix2_Exynos.apk and MGC_6.1.021_BSG_Arnova_TlnNeun_1.2_Final_Fix3_Exynos.apk. These are the only ones tagged as "kirin" in celsoazevedo's web at the moment (except for the TlnNeun_1.2_test_fix_Exynos.apk which I talked about before).
MGCB_7.0H_C2API_Full_PXL2_v.1.4_60FPS_noburst_v3.apk (Only for Android 7 devices)
Pixel 2 Mods from Arnova, like GCam-5.1.018-Pixel2Mod-Arnova8G2-V8.3b1.apk or GoogleCamera-Pixel2Mod-Arnova8G2-V8.1.apk
GoogleCamera_5.2.025-Final_fu24-17_845Colorfix.apk and other versions from kokroo
MGCamera_5.1.0.18_R5Plus_v.5.1.6_fix_crash_slowmo.apk and all the other fixes that saneklic has on the version 5.1.0.18
OnePlus6_cstark27_GCam_5.1.018_24_v3.7.apk and v3.8.apk from the developer @cstark27. Some people say that v3.4A.apk works on the Huawei P20 Pro, but in the P20 crashes after few seconds.
Potter versions from san1ty, such as MGC_6.1.021_Potter_v6-san1ty.apk and previous versions
Except for L-G_cam.apk, all of the harysviewty GCam apks
TL;DR / Conclusion
Don't buy a Huawei device (not only the P20, any of them) if you want to get the most of its camera through GCam ports. All the restrictions that Huawei implements in their devices for the Camera2 API ruins any possibility of having full HDR+, Night Sight or other modes from third-party apps, like FilmicPro or GCam ports. If you have a Huawei device, you are most likely to be stuck with the stock camera app.
Despite this, there are some APKs that work partially with the P20 (and maybe other Kirin devices too):
The best one to this day is MGC_6.1.021_BSG_Arnova_TlnNeun_1.2_test_fix_Exynos.apk (only tested on the P20 running EMUI 8, it might works for others too).
Other APKs that work for the Huawei P20 are the ones I mentioned at the beginning: Google Camera v4.1.006.126161292 and MGCB_7.0H_C2API_v.4.0.
Despite not having the HDR functionality, they work just fine as the Google Camera for panoramas, slow motion, photo sphere, video recording and lens blur.
Whenever they stop working (for example if you tune anything in the settings and the app crashes) reinstall the app or clear the data/cache.
Hi!
Carball0 said:
APK's I'VE TRIED AND DON'T WORK
I've tried a lot of APK's from celsoazevedo's page trying to find APK's that work on the P20. Here you have some of them (all of them crash before opening):
(the MGC_6.1.021_BSG_Arnova_TlnNeun_1.2_test_fix_Exynos.apk kinda works).
Click to expand...
Click to collapse
This app works pretty well in my P20, if you choose "Viewfinder format - YUV_420_888(default)" in FIX section.
HDR+, HDR+ Enchanced, Night Sight and Portrait mode work perfect on the main cam. Front camera can only shoot video.
Front camera works on configs with (need YUV), but with this config doesn't work HDR+, HDR+ Enchanced, Night Sight on both cameras.
vov4arka said:
Hi!
This app works pretty well in my P20, if you choose "Viewfinder format - YUV_420_888(default)" in FIX section.
HDR+, HDR+ Enchanced, Night Sight and Portrait mode work perfect on the main cam. Front camera can only shoot video.
Front camera works on configs with (need YUV), but with this config doesn't work HDR+, HDR+ Enchanced, Night Sight on both cameras.
Click to expand...
Click to collapse
It's true, it works!
This APK works wonderfully on the P20 with the YUV fix. This is the only APK I've seen with the HDR function working on this Huawei.
However, do you have the same issue with the saturation on HDR photos? The images taken by the app come out almost in black and white, I had to tune the saturation setting to get it working right.
Also, I have added your suggestion in the post, I didn't notice this setting on that APK and it is pretty useful. Thanks!
One more thing. On 4pda those users who had got Android 9 found out that HDR doesn't work anymore on this version.
With MGC_6.1.021_BSG_Arnova_TlnNeun_1.2_test_fix_Exynos .apk
Night mode does not work on 9.0.0.160, the camera app just closes itself when selecting Night Sight.
Quality post and great summary all the modded APKs. Thanked!
By the way, what version of EMUI are you trying these on?
I also cannot get Night Sight to work with MGC_6.1.021_BSG_Arnova_TlnNeun_1.2_test_fix_Exynos .apk. I'm on EMUI 9.
Any working version for p20 pro? On this version aplication work on p20 pro but i can only rec movie or click panorama... In normal mode (portrait etc..) i have black screen
Works
Confirmed working and takes better pictures than stock camera in almost every situation. However, night mode is still superior due to noise reduction and slow shuttwr speeds. Great job finding this. Keep us posted if therebis a front camera fix!
vov4arka said:
One more thing. On 4pda those users who had got Android 9 found out that HDR doesn't work anymore on this version.
Click to expand...
Click to collapse
Thanks! Added to the post
BB88 said:
Quality post and great summary all the modded APKs. Thanked!
By the way, what version of EMUI are you trying these on?
I also cannot get Night Sight to work with MGC_6.1.021_BSG_Arnova_TlnNeun_1.2_test_fix_Exynos .apk. I'm on EMUI 9.
Click to expand...
Click to collapse
I'm using Android 8.1.0 on EML-L29 (EMUI 8) and Night Sight works fine.
As @vov4arka said, some EMUI 9 users have reported issues with some features not working. I don't have the EMUI 9 update yet so I can't see what's not working, but you can try the APK's labeled as "kirin" on celsoazevedo's page to see if any of them works on that version.
However, I think that Huawei's Night Sight does a good job too. You can see it in the comparison attached below.
Szafexd said:
Any working version for p20 pro? On this version aplication work on p20 pro but i can only rec movie or click panorama... In normal mode (portrait etc..) i have black screen
Click to expand...
Click to collapse
Have you changed all the settings that I mentioned in the post? It is necessary to have the YUV fix applied.
If you have changed all the settings and still doesn't work, try this:
Carball0 said:
OnePlus6_cstark27_GCam_5.1.018_24_v3.7.apk and v3.8.apk from the developer @cstark27. Some people say that v3.4A.apk works on the Huawei P20 Pro, but in the P20 crashes after few seconds.
Click to expand...
Click to collapse
I haven't tested it (I don't have the P20 Pro) but they say that it works
So far living having the Google camera on the P20. Had missed it ever since upgrading from my HTC U11.
Only issue is front facing camera. Works for video, but cannot take images. Anyone got settings that work?
Carball0 said:
Thanks! Added to the post
I'm using Android 8.1.0 on EML-L29 (EMUI 8) and Night Sight works fine.
As @vov4arka said, some EMUI 9 users have reported issues with some features not working. I don't have the EMUI 9 update yet so I can't see what's not working, but you can try the APK's labeled as "kirin" on celsoazevedo's page to see if any of them works on that version.
However, I think that Huawei's Night Sight does a good job too. You can see it in the comparison attached below.
Click to expand...
Click to collapse
Actually I found that not only Night Sight is not working on this port, the camera actually close immediately whenever I take a picture in normal Photo mode. I'll see if I have time to test other kirin port in your post.
I tried one of them and then it crashed. The stock camera also crashed. After reboot stock works but the video camera can only record 720p. Had to clear data.
jimmyboggust said:
So far living having the Google camera on the P20. Had missed it ever since upgrading from my HTC U11.
Only issue is front facing camera. Works for video, but cannot take images. Anyone got settings that work?
Click to expand...
Click to collapse
Same thing here. Any advice on how to address this issue????
Thank you in advance.
jimmyboggust said:
So far living having the Google camera on the P20. Had missed it ever since upgrading from my HTC U11.
Only issue is front facing camera. Works for video, but cannot take images. Anyone got settings that work?
Click to expand...
Click to collapse
Me too. Do you find any solution ?
Even though Huawei P20 has its own aperture & portrait mode on stock camera ,I was interested to see the quality of the GCam pictures on portrait mode, but I cant get it work. I press the shutter button but no picture is saved. I dont know why.
I am running my Huawei P20 on EMUI 9.
arben.m.morina said:
Even though Huawei P20 has its own aperture & portrait mode on stock camera ,I was interested to see the quality of the GCam pictures on portrait mode, but I cant get it work. I press the shutter button but no picture is saved. I dont know why.
I am running my Huawei P20 on EMUI 9.
Click to expand...
Click to collapse
same here, emui9, gcam wont save pics
jimmyboggust said:
So far living having the Google camera on the P20. Had missed it ever since upgrading from my HTC U11.
Only issue is front facing camera. Works for video, but cannot take images. Anyone got settings that work?
Click to expand...
Click to collapse
Same here, the front facing camera not works, I have the P20 with emui 8.1
Carball0 said:
Have you changed all the settings that I mentioned in the post? It is necessary to have the YUV fix applied.
If you have changed all the settings and still doesn't work, try this:
I haven't tested it (I don't have the P20 Pro) but they say that it works
Click to expand...
Click to collapse
Ive tried the one you posted sir , but only video and panorama are working. Using my P20 Pro.
And then I also tried the one you quoted, but then only the v3.4A.apk works, but with no night sight like the other newer versions. hard to find any working gcam for P20 Pro. I thought the one you posted is also working but sad to say still needs a fix, btw, thanks for sharing sir. Keep it up, i'll just wait for another fix hopefully :good:
Same problem here, after i click shutter button gcam can't save pictures.Panorama and lens blur are working. But the camera itself it does'nt. Emui 9 and Android pie version here.

Best GCam Ports (APKs) for ZenFone 3

REMINDERS
Before I start, I would like to give some reminders on using ported GCam on any phone other than a Pixel:
1) Full resolution is not guaranteed. I don't know why this is the case, but the leading explanation is that Pixels have 12MP sensors instead of 16MP. See this thread for details.
2) This is pretty much trial-and-error. The APKs I have suggested may not work, since different developers make different tweaks on different versions of their APKs. It also doesn't help that there's no APK created specifically for the ZenFone 3, which means we have to rely on APKs made for other devices.
3) Thanks to Celso Azevedo for providing a very clean mirror of all APKs, which allowed me to try A LOT (think 20+) APKs.
What works:
GCAM 5
GCam 5 is very stable, so almost any GCam 5 APK is going to work. This includes fast HDR+ processing and absence of green/purple tint on front camera. Every feature is on GCam 5 except for Night Sight. I have a few recommendations though:
1) fu24's 5.2.025 APK - pretty much the latest and most customizable one can ever find on this version.
2) Arnova's 5.1.018 APK- #1 is the king, but you might try this one as well.
GCAM 6
This is where it gets tricky. A lot of GCam 6 APKs have bugs as GCam 6 is new in itself. You might observe issues such as black screens, green/purple tint on front camera, and crashes when trying GCam 6 APKs. To date I have not found an APK that works with slow motion.
To save you the headache, I have a few APKs to recommend:
Arnova's V 2.0 - the best APK I've seen. Just set the front camera model to Nexus 6P, and green camera tint will be gone.
DO NOT TRY
There are APKs which are guaranteed not to work. These APKs just crash every start-up. Don't try these when experimenting with APKs. These are:
1) Any 6.x Arnova8G2 APK, except for those with "Pixel2Mod" or "Pixel3Mod" in the title (these don't have any customization options other than the one bundled with the Pixel, also have green tint)
2) Any APK made for Poco/OnePlus/Exynos/Kirin phones.
I have confirmed every piece of information to be accurate at the time of writing. Circumstances may change, so I'm updating this thread every month to be more accurate.
reserved
Thanks for this but rear cam is laggy any setting you recommend?
Thanks for the links. Currently using the recommended Gcam 5 with the last PixelExperience ROM and I couldn't be happier with my phone. Truly spectacular pictures.
iamROOTX said:
Thanks for this but rear cam is laggy any setting you recommend?
Click to expand...
Click to collapse
Using Gcam 6 got me lag as well. Gcam 5 is butter smooth.
Hello, how are you? I hope so, well I have a question this GCAM is can install in Asus Zenfone 3? Thanks for answering
https://f.celsoazevedo.com/file/cfiles/gcm1/MGC_6.2.030_RazerPhone2_V4_plus.apk
Tried that one, rear camera is not lag. POSP ROM
is there someone get max res only 9.4 mp ?
I try to search any version, but it still couldn't maximize to the default resolution.
Google camera 7 [Pixel 4 build]
https://www.celsoazevedo.com/files/android/google-camera/f/changelog746/
Try this.works well .
New ui. No lag what so ever in viewfinder.
Only cons: selfies are just way more softer (who clicks them anyway??), Video recoding doesn't work.(stock cam is better for vdo as 1080 60fps with better faster focusing...
shreyashshah16 said:
Google camera 7 [Pixel 4 build]
https://www.celsoazevedo.com/files/android/google-camera/f/changelog746/
Try this.works well .
New ui. No lag what so ever in viewfinder.
Only cons: selfies are just way more softer (who clicks them anyway??), Video recoding doesn't work.(stock cam is better for vdo as 1080 60fps with better faster focusing...
Click to expand...
Click to collapse
Do you mean the stock cam pixelmaster ? Or those stock apps that comes with the rom? Can you give the link *if you have one* if its pixelmaster? Anyways thanks for sharing the gcam version
renzreyes21 said:
Do you mean the stock cam pixelmaster ? Or those stock apps that comes with the rom? Can you give the link *if you have one* if its pixelmaster? Anyways thanks for sharing the gcam version
Click to expand...
Click to collapse
yes pixelmaster port. the 3.xx version one.
Will any of these work on Android 6.0 Marshmallow?
AsusP said:
Will any of these work on Android 6.0 Marshmallow?
Click to expand...
Click to collapse
u mean on official ZenUI?
Yes.
Oreo
Will work on oreo 8.1 update?

Categories

Resources