[Magisk][Module][MI A2 Stock Camera][Update-22/9/18] - Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods

[Magisk]MIUI stock camera for all Custom roms.
V-3(Stable)(Update,Magisk module)
1-HDR(Auto HDR works)
2-Time Shift
3-HHT
4-Beauty
5-Straighten
6-4k recording
7-Portrait mode (Front+Back)
8-Manual mode.
9- No delay(slow) 5-10 sec after switching one mode to another.
Install through Magisk.
Only one Left Bug-Slow motion video
V-3 Link-https://drive.google.com/file/d/18Qohcw9-hJR3tCZyULWhER45LetQkPuE/view?usp=sharing
V-3.1(Update)
1-Back to miui 10 UI.
2-Portrait switch.
3-HD photo select for 3rd party apps.
4-100% As stock camera.
v-3.1 Download link-https://drive.google.com/file/d/1YDf8gFHxRec8W6GlEcY8v4B0fDHKoagA/view?usp=sharing
V-4 final port
1-Slowmotion fixed ( Thanks Dyneteve)
2-Added Ai Switch.
3- Every thing is working
Download link V-4-https://drive.google.com/file/d/16kmg1pX1n-pvpZGyRvFiziviO0tJCRZz/view?usp=sharing
V-4.1(Update)
1-Removed Group Selfie(As it is not working)
Download v-4.1 -https://drive.google.com/file/d/1E51MjvSf8HBmbNz9CXg2W1mL74_uuPPh/view?usp=sharing
V4.2(Update)
1-Parallel Image processing(High quality image).
2-Removed Finger Print shutter.
3-Added Slowmotion 120 FPS at 1080P.
Download V-4.2 https://drive.google.com/file/d/1N3NJti1hXf9A1yJuEK4nx8kedhate8_k/view?usp=sharing
V.4.3[UPDATE FOR ANDROID PIE 9.0 ONLY ]
-Added Support to Android Pie 9.0 (PR1 tested)
-May be works with other GSI/sGSI
-AI switch removed(As it is not working)
Linkhttps://drive.google.com/file/d/1Rdncjqb022P5Wk2BJcARPRnh2TlGRemU/view?usp=sharing
Bugs-
-After switching Front camera Always flash on(Enable HDR and capture 1 image flash will be turned off then you can capture Normal/Portrait without front flash)
-Test and report me.
V-4.4[UPDATE,ONLY FOR ANDROID PIE 9.0
-Front flash fixed[Thanks to #Nom sokheng]
-Everything working.
Download link-https://drive.google.com/file/d/1GsrVTtKc4sNGQ_iPnIMWCWKtlv7DIWwT/view?usp=sharing
V4.5[Pie 9.0]
-Legacy Beauty mood enabled.
-Finger Print shutter Enabled.
-Fixed Camera Sound Conflict.
Download-https://drive.google.com/file/d/1ibF29D0_TQ4ZeNeyM74VAdi9oX7JiAK5/view?usp=sharing
V5[Oreo 8.1]
-Updated Camera files from latest MIUI Rom.
-Finger Print shutter Enabled.
-Fixed Camera Sound Conflict.
Download-https://drive.google.com/file/d/1MjrZchaAUeQnIPKfWKvAaEVPhPahRHLQ/view?usp=sharing
How to install.
1-Load Magisk module via Magisk Manager
2-Reboot Phone
3-Give all the permissions to the camera
Sourcehttps://github.com/Arnob-Xenon/Mi-A2-Stock-camera-for-Redmi-note-5-Note-5-Pro/blob/master/README.md
Credit-All credit goes to @ARNOB XENON, @carlosggb, @Dyneteve
For Mi A2
https://forum.xda-developers.com/mi-a2/themes/magisk-t3847779
Thank you.

ARNOB XENON said:
MIUI stock camera for all Custom roms.
After collecting all miui camera ports at last able to work dual camera with our whyred.
What is working:
1-Portrait mode (Back only, with dual camera)
2-4k video recording
3-front camera
4-And MIUI default stuffs.
What is not working
1-Slowmotion (May be works with G-cam)
2-May be more you can find.
3-Capturing Normal pictures are headache because of the 2nd camera .( you can avoid this by doing flash always active >then capture>Camera will force close and restart with the primary camera)
Unexpected feature
1-Don't know it will be good or bad for us Our 2nd camera can capture images with 13mp res. As it is ported from Android One that's why may be.
you can avoid this by doing (turn on flash active >then capture>Camera will force close and restart with the primary camera)
For better experience just capture portrait images with the miui Stock camera and use another camera for rest of the work like G-cam or what ever you like.
How to install
Just flash using TWRP
Credit-All credit goes to MI AI devs ,Mi note 3 devs.
Do not ask me wired questions just download and try yourself.
Thank you.
Click to expand...
Click to collapse
Download link -https://drive.google.com/file/d/1J-E0aB9DSxJyxmFrikmOjLo2M3B6wAwA/view?usp=sharing

ARNOB XENON said:
Download link -https://drive.google.com/drive/folders/1A3IKAmidaLnrkblN8M4LCGP2BbMtnQb8
Click to expand...
Click to collapse
why permission is needed for downloading?

Hosssain said:
why permission is needed for downloading?
Click to expand...
Click to collapse
I set it public brother. Don't need any permission.

ARNOB XENON said:
I set it public brother. Don't need any permission.
Click to expand...
Click to collapse
try this https://drive.google.com/file/d/1J-E0aB9DSxJyxmFrikmOjLo2M3B6wAwA/view?usp=sharing

ARNOB XENON said:
try this https://drive.google.com/file/d/1J-E0aB9DSxJyxmFrikmOjLo2M3B6wAwA/view?usp=sharing
Click to expand...
Click to collapse
its working now thanks.

Can anyone post the photos taken from rear camera(both primary and secondary) one?

For uninstal ?

demone83 said:
For uninstal ?
Click to expand...
Click to collapse
working on it

Is it able to perform as good as the stock camera of RN5P? I mean the portrait mode (front n back) works fine or not?
I tried the BSGod of Gcam on RR rom. But i finally came to the conclusion that stock camera is the best for this phone. It takes pictures in super sharp quality, Gcam was not working as good as this one. Also the shutter speed was too low in GCam

ARNOB XENON said:
working on it
Click to expand...
Click to collapse
thankyou

could you port our whyreds camera(miui camera 2.0) for custom roms. this old ui camera aint perform well.

S.faraaz said:
Is it able to perform as good as the stock camera of RN5P? I mean the portrait mode (front n back) works fine or not?
I tried the BSGod of Gcam on RR rom. But i finally came to the conclusion that stock camera is the best for this phone. It takes pictures in super sharp quality, Gcam was not working as good as this one. Also the shutter speed was too low in GCam
Click to expand...
Click to collapse
Let's get something out of the way, MIUI stock camera does not have better image quality than GCam, nor it ever will (at least on this device).
HDR+ on your GCam either didn't work, or you didn't set it up properly, because there are a few settings which have to be changed.

ARNOB XENON said:
MIUI stock camera for all Custom roms.
After collecting all miui camera ports at last able to work dual camera with our whyred.
What is working:
1-Portrait mode (Back only, with dual camera)
2-4k video recording
3-front camera
4-And MIUI default stuffs.
What is not working
1-Slowmotion (May be works with G-cam)
2-May be more you can find.
3-Capturing Normal pictures are headache because of the 2nd camera .( you can avoid this by doing flash always active >then capture>Camera will force close and restart with the primary camera)
Unexpected feature
1-Don't know it will be good or bad for us Our 2nd camera can capture images with 13mp res. As it is ported from Android One that's why may be.
you can avoid this by doing (turn on flash active >then capture>Camera will force close and restart with the primary camera)
For better experience just capture portrait images with the miui Stock camera and use another camera for rest of the work like G-cam or what ever you like.
How to install
Just flash using TWRP
Credit-All credit goes to MI A1 devs ,Mi note 3 devs.
Do not ask me wired questions just download and try yourself.
Thank you.
Download link ??See in first comment
Click to expand...
Click to collapse
How do I uninstall this one if I intend to?
thank you!

Cirra92 said:
Let's get something out of the way, MIUI stock camera does not have better image quality than GCam, nor it ever will (at least on this device).
HDR+ on your GCam either didn't work, or you didn't set it up properly, because there are a few settings which have to be changed.
Click to expand...
Click to collapse
HDR+ worked on my device but it took a lot of time. After clicking the picture took arnd hlf a second at first, and then again a few seconds to process the HDR+.also during videos, there was a lot of issue in exposure and it didn't had time lapse too.Also the selfies taken by miui camera were better as compared to Gcam(i think thats coz it recognises it only as 5mp)
Portrait mode only worked with humans unlike miui camera which worked with anything
That's why i thought miui cam is better. Is there any way to fix it? Note: I tried the BSG mod

Basil Eldhose said:
could you port our whyreds camera(miui camera 2.0) for custom roms. this old ui camera aint perform well.
Click to expand...
Click to collapse
Then you have to wait till the mi A2 release.

S.faraaz said:
HDR+ worked on my device but it took a lot of time. After clicking the picture took arnd hlf a second at first, and then again a few seconds to process the HDR+.also during videos, there was a lot of issue in exposure and it didn't had time lapse too.Also the selfies taken by miui camera were better as compared to Gcam(i think thats coz it recognises it only as 5mp)
Portrait mode only worked with humans unlike miui camera which worked with anything
That's why i thought miui cam is better. Is there any way to fix it? Note: I tried the BSG mod
Click to expand...
Click to collapse
Well first of all, my reply was about picture quality of HDR+ vs MIUI HDR(On/Off/Auto) or HHT you name it. In that regard there is no point comparing the two, as computational photography prowess of Google Camera is just ahead in every way.
And as for the other, I don't remember whose GCam I used that had working portrait mode on objects, but it really did work, try out different versions. Even though it's just 5mp, the processing is better, you must have had a malfunctioning app. Also no issues with video exposure here (just missing the 60fps) and the HDR+ processing was a bit slow only in low light).
I am using BSG mod right now, specifically MGC_5.2.022_FINAL_1.0.apk and here are my settings. You can try out Arnova's v7.9.9 I used that one too.

Basil Eldhose said:
could you port our whyreds camera(miui camera 2.0) for custom roms. this old ui camera aint perform well.
Click to expand...
Click to collapse
working on it....

After flashing in about section device name shows unknown.. please solve that issue

Cirra92 said:
Well first of all, my reply was about picture quality of HDR+ vs MIUI HDR(On/Off/Auto) or HHT you name it. In that regard there is no point comparing the two, as computational photography prowess of Google Camera is just ahead in every way.
And as for the other, I don't remember whose GCam I used that had working portrait mode on objects, but it really did work, try out different versions. Even though it's just 5mp, the processing is better, you must have had a malfunctioning app. Also no issues with video exposure here (just missing the 60fps) and the HDR+ processing was a bit slow only in low light).
I am using BSG mod right now, specifically MGC_5.2.022_FINAL_1.0.apk and here are my settings. You can try out Arnova's v7.9.9 I used that one too.
Click to expand...
Click to collapse
Yeah that app was a litlle diffrnt than the one in ur screenshot. I'll try out this version then.
Thanks for sharing
Hey can u tell me which rom are u using? I like ur navbar. I got animations in RR configurations but didn't got that home button. Just a solid round icon.

Related

MI 5s camera mods [Updated: 1st Feb 2018]

Hi all..
This is a fix for the broken implementation of camera 2 API on our device.
This will allow us to finally shoot up to 32 sec raw image in camera 2 API and also enables up to 100k ISO...
Much love and respect to @defcomg for fixing this for us, he is an amazing dev and if you would like to donate to him you can hit this link!
NOTE:
This mod will probably only work on Lineage and 7.1.1+ ROMs. I've tested it on latest RR (16 June) and it works.
Don't flash on MIUI ROMs, I haven't and probably won't test it, but feel free if you are brave :laugh:
Make a backup (TWRP). Or if anything goes wrong just reflash ROM, it'll fix your problem.
I take no responsibility for brick or boot-loop...
LINK:
V1 - Initial [LOS/RR etc..]
V1 - Test (I need someone to tell me if this works) [Miui N ROMs]
V2 - Nightmode profiles [11 December]
V3 - Oreo Libs [1st Feb]
For future versions I would like to try to add longer exposure times as well as fix pixel binning for better low light shots!
Edit:
16 June: There is a delay when shooting long exposure, for example when selecting 32 sec, the shutter button will be pressed for like 32sec x 2 = +-64 secs, don't know why but anyways it only shoots for first 32 seconds, so just be aware of that..
19 June: Fixed Miui N test lib link
11 Aug: Nightmode coming soon, this will allow longer shutter speeds, essentially up to about 5 mins
Also all apps should be able to take advantage of this.
11 Dec:
Added libmm shutter extension and pixel binning.. The respective number (3, 9, max [14]) multiplies the shutter by that amount, meaning if you have an app that normally can only capture up to 1/17 shutter, and use 3x lib it will now use 3/17 shutter (almost 0.2 sec), this affects all video and photo apps, you can restore it by replacing original file..
Oreo has a busted HAL so shutter on manual only hits about 4 sec without breaking, using max libmm mod you can get about 1 min shutter I think, in nougat using fixed cam 2 libs, you can get about 7 min shutter time.
Pixel binning is somewhat working, it has a dark preview, and I don't know why, but when you shoot in raw, you will see the file is much brighter with less noise, but at lower res.
Place the file in /system/vendor/lib then reboot the device
NOTE: The HAL fix from above (V1) will not work on Oreo since it's using a new HAL, so don't use that, if you don't know or are unsure..
1st Feb 2018: Patched Oreo libs to allow long exposure. Added libmm multiplication hacks.
Gonna be away till like mid Jan, so might not be able to answer questions..
Good work ?
Can the default snap camera take advantage of this api2 or another camera app has to be used?
Could he fix the Google camera force close when change to front camera, thanks
ermacwins said:
Can the default snap camera take advantage of this api2 or another camera app has to be used?
Click to expand...
Click to collapse
I use FreeDcam but any camera app making use of cam2 API will benefit from this..
shaneel1491 said:
I use FreeDcam but any camera app making use of cam2 API will benefit from this..
Click to expand...
Click to collapse
Official lineage nightly 0612 opengapps stock, Google camera front camera still FC
Slow motion also does not work
monitoring this tread , for miui roms.
Airborntx said:
monitoring this tread , for miui roms.
Click to expand...
Click to collapse
What MIUI version are you on? If you are on miui N, try this and let me know if it works..
https://drive.google.com/file/d/0B-7popFesfShR3Y0Tm9kTHFDM3M/view?usp=sharing
Nerom said:
Official lineage nightly 0612 opengapps stock, Google camera front camera still FC
Slow motion also does not work
Click to expand...
Click to collapse
I use snap camera for front camera, no problem there, I don't know how to fix Google camera errors..
With regards to slow motion, 120 FPS should be working on FreeDcam
I'm on miui 7.6.15 xiaomi.eu build(android n)....ive flashed your patch via twrp....and really nothing happened....camera still working like before....no new mods in there....like its really for aosp...can confirm that its dont break your camera in miui...but also its doing nothing in miui....in my opinion
You don't happen to have samples of stock camera vs freedcam?
ermacwins said:
You don't happen to have samples of stock camera vs freedcam?
Click to expand...
Click to collapse
I don't use stock camera, I use FreeDcam raw mode, and when I shoot jpeg, I shoot with denoise off. So with stock you will see less noise in images, but freeDcam will have much more details
James Blode said:
I'm on miui 7.6.15 xiaomi.eu build(android n)....ive flashed your patch via twrp....and really nothing happened....camera still working like before....no new mods in there....like its really for aosp...can confirm that its dont break your camera in miui...but also its doing nothing in miui....in my opinion
Click to expand...
Click to collapse
Check the OP, all this mod does is enable 32 sec shutter on Cam2 api and adds ISO 100k. It doesn't add quality/features or mods to the camera..
shaneel1491 said:
What MIUI version are you on? If you are on miui N, try this and let me know if it works..
https://drive.google.com/file/d/0B-7popFesfShR3Y0Tm9kTHFDM3M/view?usp=sharing
Click to expand...
Click to collapse
Whats that lad?
shaneel1491 said:
I use snap camera for front camera, no problem there, I don't know how to fix Google camera errors..
With regards to slow motion, 120 FPS should be working on FreeDcam
Click to expand...
Click to collapse
Can't set 120fps on FreeDcam not with latest alpha right now , and even with a debug version específic to the MI5S/MI5S plus
And EIS is disable :/
Airborntx said:
Whats that lad?
Click to expand...
Click to collapse
Test lib for MIUI M, not sure if it works or not, someone needs to test.
ExCaL1BuR said:
Can't set 120fps on FreeDcam not with latest alpha right now , and even with a debug version específic to the MI5S/MI5S plus
And EIS is disable :/
Click to expand...
Click to collapse
Try this app
https://drive.google.com/file/d/0B-7popFesfShU0RHbC0tOEpQWEE/view?usp=sharing
FreeDcam app specially for Mi 5s
Is it possible to enable iso lower than 100? Or maybe it's pointless because it's achieved by software, and the quality will be worse than 100? So can we conclude that lineage (or some other) roms are better than MIUI? I'm thinking moving to these roms.
By the way, it seems that the link on the first post was incorrect (miui one), the later ones are working though.
---------- Post added at 08:34 PM ---------- Previous post was at 07:54 PM ----------
I'm on miui 7.6.15 xiaomi.eu , got upto 8714 iso with snap camera. Stock remains 3200. Still 16 bit raw Still 1/3 s shutter with 3rd party camera apps, though I heard someone already has shutter longer than 1s with 3rd apps. I don't remember have flashed any other patches especially related to cameras
With los, Lightroom could have shutter 1s, but iso up to 100k, I don't know if it really works, as it's white paper after 10k anyway.
isnt it possible to use Pixel libs?
shaneel1491 said:
Test lib for MIUI M, not sure if it works or not, someone needs to test.
Try this app
https://drive.google.com/file/d/0B-7popFesfShU0RHbC0tOEpQWEE/view?usp=sharing
FreeDcam app specially for Mi 5s
Click to expand...
Click to collapse
That was what I used but still no 60 or 120fps video ... I'm waiting for the OP to explain how can he get that frame rate on video
Installing N version on miui eu 7.6.15, nothing new here, camera menu just like before...no 32 second RAW, no iso 100k
Sent from my MI 5s using XDA-Developers Legacy app
This mod is dedicated to Lineage OS not Miui.

Working Pixel cam with HDR+ and standalone portrait on s8 (exynos-nougat)

This is not my work. I'm only providing links of others work, and hope someone can develop the app further for s8.
This is the version I found that has working front and back camera included tap to focus.
https://androidfilehost.com/?fid=889964283620768293
(Please click on the uploader "Kisakuku" for other apk's)
One Working Settings( there are several):
Modelixel 2xl
Config cam: Nexus 6 hdr+
Hdr+ parameter: High
Credit to these threads and the developers:
https://forum.xda-developers.com/oneplus-5/themes/google-camera-hdr-t3655215
https://forum.xda-developers.com/oneplus-5/themes/google-camera-hdr-t3655215
https://forum.xda-developers.com/mi-5/themes/app-collection-camera-modded-t3591177
My findings: Great detail( good for portraits), preserves highlights, some more noise, pinkish/purple edges in very low light, some halo/rainbow effect in some pics, fast shutter (great for capturing movement out and indoor).
Update1. Portrait
Working Portrait mode for back camera only. In this version tap to focus i slow.
Tip for the full experience is installing this version with AppCloner app (change name to portrait) and have both versions installed at the same time. Use this version just for Portrait mode.
https://forum.xda-developers.com/showpost.php?p=75118407&postcount=252
(settings: see added pics.)
Is the the latest version of Google cam or the old version of Google cam?
Yes, One of the latest working cam on s8. You could try newer versions ( se "Kisakuku" s other uploads and see if it works). There seem to be small difference in photo quality among different versions.
Thanks
There is a newer versione with portrait mode. but here on my G950F don't works. Hope to get it very soon. Probably it's working for snapdragon version.. hope we will get on exynos too!! https://www.xda-developers.com/pixel-2-portrait-mode-port-non-google-android-oreo/
Try this mod with your setting. I worked very well but very slow when i took the picture. Due of the hdr + is this normal ? Sometimes the image is freezing or black for few second.
Yes,hoping for a working portrait mode. Also that some of the other issues mentioned get fixed.
The app isnt perfect but I'm thrilled it works so well on an non pixel/snapdragon phone. One downside is the processing time and shutter lag. That isnt the same as slow capturing the moment. The shutter is fast when taking picture and freeze movement more often than on stock. The pics for me turns out great. Even better results than the same app on s7 (installed on my girfriend's phone). Both picture quality and the image stabilization function. I now even use this app more than native S8 camera.
A tip is to install BxActions and use doublepress on the bixby button to open the camera.
Yep i wanna try some shoots someday for comparisons.
Honestly i don't even know we can capable working hdr + on exynos.
So thanks for this ?
Darkcrystal38 said:
Yep i wanna try some shoots someday for comparisons.
Honestly i don't even know we can capable working hdr + on exynos.
So thanks for this
Click to expand...
Click to collapse
Do we need root?
nope just install as a normal apk
---------- Post added at 10:45 AM ---------- Previous post was at 10:44 AM ----------
Pastorelli's said:
Do we need root?
Click to expand...
Click to collapse
nope just install as a normal apk
no portrait and video 60 fps !!
Check the 5.1. 081 version. There's one which is working
Shawn_007 said:
Check the 5.1. 081 version. There's one which is working
Click to expand...
Click to collapse
I can't make it work in my s8 exynos nougat , portrait mode always block screen
See first post, and report back
Can confirm Portrait mode is working on the Oreo Beta on rear cam only (based on the settings in your attachment). The results I have to say are brilliant. Not sharing any pictures of my ugly mug with you all though haha!
But why works only with faces?
R U kidding me? It´s called Portrait Mode and a Portrait ist per definition a photo of a humenbeing! Why don´t you use the selective focus from the stock cam for other things you want to shoot?
I instal MiniUser's version of GCam and it work flawlessly on s8+
potrait mode work on both rear & back camera
babalizm said:
I instal MiniUser's version of GCam and it work flawlessly on s8+
potrait mode work on both rear & back camera
Click to expand...
Click to collapse
Would you mind sharing a link?
Have taken a few photos and find the stock app better quality.
Is this app supposed to be superior?
Edit.... Used your settings... Amazing

Daily driver Gcam for whyred!!!

I had installed pixel experience rom on my whyred and was wondering to get fully stable Gcam on it to get complete pixel rom on my whyred,then tried with BSG's gcam but it offers limited features so I turned to find a stable Gcam with almost all features and came across this Gcam mod : MGC_5.3.015_v.1.0.5_Tolyan009.
It can be used as daily driver as it almost fully stable.
What's Working in it.
1.Slow mo.
2.Portrait.
3.Google lens.
4.Video at 1080p 60 fps
<auto focus working with video stabilization>
5.photo sphere.
6.panorama.
Problems with this:
1.lens blur is bit choppy and is advised not to use it.
2.Run and use this as it is with default settings change in settings may results in app blunders.
3.there is 4k uhd option but it's not working.
THIS MOD IS TESTED ONLY ON PIXEL EXPERIENCE ROM.
YOU CAN USE ON MIUI BUT I AM NOT SURE IF IT WORKS.
Download link:https://drive.google.com/file/d/1MyJk3LM9oa18UvhB56U_pwV_UVmjdZoE/view?usp=drivesdk
On which ROM you are using.??
Triggered from RN5pro
now whatsapp video calling not working
i mean no front camera video
chinnupepsi4all said:
now whatsapp video calling not working
i mean no front camera video
Click to expand...
Click to collapse
For this to work make Gcam as default camera app.
Everything is working fine in my phone after making it default app and disabling snapdragon camera app.
If it still not works try clearing data and rebooting phone.
amitroutray said:
On which ROM you are using.??
Triggered from RN5pro
Click to expand...
Click to collapse
Already written in thread
nitin nb said:
I had installed pixel experience rom on my whyred and was wondering to get fully stable Gcam on it to get complete pixel rom on my whyred,then tried with BSG's gcam but it offers limited features so I turned to find a stable Gcam with almost all features and came across this Gcam mod : MGC_5.3.015_v.1.0.5_Tolyan009.
It can be used as daily driver as it almost fully stable.
What's Working in it.
1.Slow mo.
2.Portrait.
3.Google lens.
4.Video at 1080p 60 fps
<auto focus working with video stabilization>
5.photo sphere.
6.panorama.
Problems with this:
1.lens blur is bit choppy and is advised not to use it.
2.Run and use this as it is with default settings change in settings may results in app blunders.
3.there is 4k uhd option but it's not working.
THIS MOD IS TESTED ONLY ON PIXEL EXPERIENCE ROM.
YOU CAN USE ON MIUI BUT I AM NOT SURE IF IT WORKS.
Download link:https://drive.google.com/file/d/1MyJk3LM9oa18UvhB56U_pwV_UVmjdZoE/view?usp=drivesdk
Click to expand...
Click to collapse
Selfies are flipped after taking the picture ?
PranayHotkar said:
Selfies are flipped after taking the picture ?
Click to expand...
Click to collapse
No not at all.
nitin nb said:
No not at all.
Click to expand...
Click to collapse
Dude I just checked. Selfies are getting flipped after clicking the picture.
Like in stock camera, selfies look like when you are about to click the picture.
But one problem I found in all gcam apps is after clicking the picture, selfies don't look like just before clicking. They are flipped sideways.
PranayHotkar said:
Dude I just checked. Selfies are getting flipped after clicking the picture.
Like in stock camera, selfies look like when you are about to click the picture.
But one problem I found in all gcam apps is after clicking the picture, selfies don't look like just before clicking. They are flipped sideways.
Click to expand...
Click to collapse
I am sorry for that but in my case it is working properly without any problem so I am not able to scratch this.
PranayHotkar said:
Dude I just checked. Selfies are getting flipped after clicking the picture.
Like in stock camera, selfies look like when you are about to click the picture.
But one problem I found in all gcam apps is after clicking the picture, selfies don't look like just before clicking. They are flipped sideways.
Click to expand...
Click to collapse
Its mirror mode in miui cam you can configure it in setting whether to enable or disable it idk about gcam
Work with global/china version?
nilocatur said:
Work with global/china version?
Click to expand...
Click to collapse
no, when switching to front cam it force closes
Saicoth said:
no, when switching to front cam it force closes
Click to expand...
Click to collapse
On lineage front camera works
I just tried this with the new RR 7 (RR-P-v7.0.0-20190203-whyred-Official) and it works fine.
⌐At first the images were monochrome for some reason, switched config HDR+ to pixel 1 and the images came out normal and with HDR+. Turning it back to pixel 2 after a while
and magically nothing changed. Images were still in color.
⌐There are a few random bugs like the ones in OP and some others like there being 2 lens blur mode options.

[GUIDE] Enable Camera2 API & Install Google Camera

Code:
DISCLAIMER: I AM NOT RESPONSIBLE FOR ANY DAMAGE YOU MIGHT INCUR TO YOUR BELOVED PHONE. DO THIS AT YOUR OWN RISK!
**formalities lul
Requirements:
Root. You can check this rooting tutorial guide by @BubuXP.
Camera2 API Enabler by P1N20. Check @otaconremo's thread here.
Google Camera Ported APK. You can get one from here.
Update: The version @adriakus shared is the least buggy so far. Its front cam works with HDR+. Im using this one.
Steps:
First, root your phone by following the aforementioned guide.
After rooting, you should have Magisk Manager installed in your phone.
Tap on the hamburger icon (three bars icon on the top left of the screen).
Tap Downloads.
Tap on the search icon and type
Code:
Camera2 API Enabler
Tap on the download icon of the result to install the module.
After installing the module, reboot your phone.
Install the Google Camera ported apk downloaded from the link above.
NOTE:
On Arnova's 8.2 Google Cam, sometimes after taking a picture it takes forever to process HDR images.
Front Cam with HDR on force closes when you take a picture.
You can provide feedback here to help other users determine what version works best. :good:
On this version, front and rear camera works fine even with HDR+ ON. Im currently using this one.
CREDS:
@BubuXP
@adriakus
@Arnova8G2
@jashancheema
@topjohnwu
i use google camera mode for front camera with hdr+ not work.
Google Camera version for front camera + Hdr+ ?
phentem said:
i use google camera mode for front camera with hdr+ not work.
Google Camera version for front camera + Hdr+ ?
Click to expand...
Click to collapse
What happens when you use HDR+ on front camera?
Edit: Im on Arnova's v8.2
fake__knv said:
What happens when you use HDR+ on front camera?
Edit: Im on Arnova's v8.2
Click to expand...
Click to collapse
hi,
I have tried several settings using GoogleCamera-Pixel2Mod-Arnova8G2-V8.2.apk and:
- app stops when switch to front camera
- if not crash immediately, app stops when I tap to take a photo
- only with HDR totally disabled camera shots a photo but it is BW with some stripes
Any suggestions?
Fabio
il_fabio said:
hi,
I have tried several settings using GoogleCamera-Pixel2Mod-Arnova8G2-V8.2.apk and:
- app stops when switch to front camera
- if not crash immediately, app stops when I tap to take a photo
- only with HDR totally disabled camera shots a photo but it is BW with some stripes
Any suggestions?
Fabio
Click to expand...
Click to collapse
Edit: Nevermind mine wont take front cam pics too with HDR+ on lmao
I'm using this one https://www.celsoazevedo.com/files/android/google-camera/f/GCamera_Mod_v.5.1.23_R5Plus_fix_crash.apk
So far so good. I like the personalization menu of this one better than the Arnova one.
Didn't test it thoroughly, but in both versions portrait camera works and so does slow motion (this two were the most reported bugs I saw).
Anyone trying diferent versions, let us know so we can compare.
adriakus said:
I'm using this one https://www.celsoazevedo.com/files/android/google-camera/f/GCamera_Mod_v.5.1.23_R5Plus_fix_crash.apk
So far so good. I like the personalization menu of this one better than the Arnova one.
Didn't test it thoroughly, but in both versions portrait camera works and so does slow motion (this two were the most reported bugs I saw).
Anyone trying diferent versions, let us know so we can compare.
Click to expand...
Click to collapse
Gonna give it a try. :good:
Works perfectly with Camera2 API Enabler by P1N20.
Thanks a lot for sharing ! With HDR on quality seems better !
And Google panorama feature is a must
Thanks for this guide.
I'm currently using Arnova's v8.3b1 Google Cam, and I also noticed that sometimes after taking a picture it takes forever to process HDR images. The front cam with HDR on force closes when you take a picture as well.
adriakus said:
I'm using this one https://www.celsoazevedo.com/files/android/google-camera/f/GCamera_Mod_v.5.1.23_R5Plus_fix_crash.apk
So far so good. I like the personalization menu of this one better than the Arnova one.
Didn't test it thoroughly, but in both versions portrait camera works and so does slow motion (this two were the most reported bugs I saw).
Anyone trying diferent versions, let us know so we can compare.
Click to expand...
Click to collapse
What gcam is it?
ncar123 said:
What gcam is it?
Click to expand...
Click to collapse
This one: https://www.celsoazevedo.com/files/android/google-camera/f/changelog225/ Based on https://www.celsoazevedo.com/files/android/google-camera/f/changelog223/ which I believe is based on BSG or Arnova version.
adriakus said:
I'm using this one https://www.celsoazevedo.com/files/android/google-camera/f/GCamera_Mod_v.5.1.23_R5Plus_fix_crash.apk
So far so good. I like the personalization menu of this one better than the Arnova one.
Didn't test it thoroughly, but in both versions portrait camera works and so does slow motion (this two were the most reported bugs I saw).
Anyone trying diferent versions, let us know so we can compare.
Click to expand...
Click to collapse
Thanks for the tip, this one really works better then the Arnova cam!
Tested all photo mods, no crash
adriakus said:
I'm using this one https://www.celsoazevedo.com/files/android/google-camera/f/GCamera_Mod_v.5.1.23_R5Plus_fix_crash.apk
So far so good. I like the personalization menu of this one better than the Arnova one.
Didn't test it thoroughly, but in both versions portrait camera works and so does slow motion (this two were the most reported bugs I saw).
Anyone trying diferent versions, let us know so we can compare.
Click to expand...
Click to collapse
Tried this one. But the portrait mode of the front cam isn't working. It's not capturing anything.
elvinguitar said:
Tried this one. But the portrait mode of the front cam isn't working. It's not capturing anything.
Click to expand...
Click to collapse
It's working for me. But if it's not working, I suggest (,reinstalling or,) trying the one it's based on (check my previous post). And if still buggy, try others posted here. Or go for the arnova ones. They act like regular apps, so you can try and try.
Also, I've noticed they treat the colors in a diferent way. If anyone with time wants to compare the actual pictures, it'll be nice
Could someone that has followed this guide and enabled camera2 API download this app from play store. Camera2 probe https://play.google.com/store/apps/details?id=de.weis.camera2probe
And post your screenshot please
I have not enable camera2 API yet and was curious if that physically changes the hardware level support.
Thanks in advance
hossman said:
Could someone that has followed this guide and enabled camera2 API download this app from play store. Camera2 probe https://play.google.com/store/apps/details?id=de.weis.camera2probe
And post your screenshot please
I have not enable camera2 API yet and was curious if that physically changes the hardware level support.
Thanks in advance
Click to expand...
Click to collapse
Here it is
BubuXP said:
Here it is
Click to expand...
Click to collapse
Much appreciated.
I will be following your guide tomorrow for root and looking forward to to playing with this device. It's good to see a bit of a community starting.
elvinguitar said:
Thanks for this guide.
I'm currently using Arnova's v8.3b1 Google Cam, and I also noticed that sometimes after taking a picture it takes forever to process HDR images. The front cam with HDR on force closes when you take a picture as well.
Click to expand...
Click to collapse
For the front cam, the flash thingy (white screen of death) causes a crash. Disabling it will let you have a front cam that doesnt take pictures lol
@adriakus thanks for the report bruh. Tried the one you shared and front cam works! Updated the post for others. Thanks man!
@fake__knv Thx for the credit! I'll keep trying other versions from now and then and I'll post them here if I find any differences.

[GUIDE] Get the most out of X4 Camera [24/06/2019]

WARNING: I'VE TESTED THIS GUIDE ON STOCK FIRMWARE (OREO AND PIE) ONLY
Hey, just a moment before reading: did I help you? Then consider paying me a coffee or anything for my effort of course this isn't mandatory!
UPDATE: the reddit thread is dead! It will now only link to this guide since updating the same guide two times is pretty useless!
This is an expanded guide for all those people which want to reach the maximum camera quality on their X4.
Please note that this post is not intended to give advices on how to get the best shots on GCAM (but you can do it in comment or ask me, no prob!), but on how to get the best working GCAM possible setup! In other words I won't suggest parameters for HDR+ or Saturation, or custom libs etc...
FOA why you should choose Google Camera instead of the Motorola one? Well I think the following shots speak for themselves:
Cropped detail of an HDR shot:
Moto Camera HDR (taken with wide lens)
Google Camera HDR+ (taken with wide lens)
If you'd like to see more examples just look at this HQ album, you'll be amazed by the details.
Another field in which you can really apprecciate the potential of this camera is the selfie and portrait one. I will spare you from looking at my selfies (you can find one in the previous gallery), so just trust me, or do some googling!
What you need to do in order to use the GCAM on your X4 really depends on what you want to achieve:
1) GCAM 6.2.0.30 for normal lens
- Root needed: NO
- Unlocked Bootloader needed: NO
GCAM 6.2.0.30 adds Time-Lapse feature, and you can simply install it and it will run. There's a lot of ports avaiable, my suggestion goes to this one. Please remember that all the rights belong to Arnova, the original developer.
A couple of things must be tuned in order to get the best experience, so head up to the app settings and:
- on "About" check "advanced options"
- on HDR+ Options:
1) Disabled AWBGains Mod -> ON
2) RAW Format -> RAW10
3) Image Format -> YUV_420_888
4) GCAM wb Mode -> ON
Also, I suggest you to check the "Saturation adjustements" section, because this version really oversaturates photos. Try what levels are the best for you, in my case they were 1.0 - 1.0 for back camera and 1.1 - 1.3 for front camera.
2) GCAM 6.2.0.30 for wide lens
- Root needed: NOT NECESSARILY
- Unlocked Bootloader needed: YES
This is the 6.2.0.30 GCamera with Wide Lens support.
The apk is the same one
After the installation you must enter the package name (org.codeaurora.snapcam)inside the followind /system/build.prop lines:
1) vendor.camera.aux.packagelist
2) vendor.camera.aux.packagelist2
3) ro.camera.cfa.packagelist
You can do this either with a privileged file manager (i.e.: Solid) or with adb pull.
Then activate "Enable aux button" in Settings, and a little tree icon will pop up, allowing you to switch lens.
----------------------
FAQ:
Q: What works in these ports?
A: The following features are fully working:
- HDR +
- Portrait
- PhotoSphere
- Night Sight- Panoramic
- Video
- Slow Motion
- Pixel 2/3 AWB
- TimeLapse
- Motion
Q: What about AR?
A: I'm not interested in it and haven't checked, so I can't assure you that it will work
Q: 60fps videos aren't in 60fps?
A: You can shoot in 60fps by disabling video stabilization in Settings, otherwise 60fps videos will drops to nearly 28-30fps.
Q: Why does my selfie looks purple/green/any other ****ty color?
A: In that case just head over Input model in your port settings and change the front camera model (in my case to Nexus 6P with 6.1 and Pixel 3 for 6.2, but just try). This port also have specific fixes for certain titn problems
Q: I can't even start the camera!
A: this can happen on some devices. To fix try the following: long press on the app icon and use the "take a selfie" shortcut. Wait a moment and the camera should work, allowing you to use it in future just by opening it normally. If it is black even via the selfie shortcut long press the switch camera button, it should work. This procedure must he done only one time!
Q: The 6.2 ports gives me some weird greenish/yellowish balance in photos.
A: This is a problem with Pixel AWB. It reduces chromatic shifts to give you more natural photos, but it can ruin other ones. It usually happens when you are pointing an object which has an intense illumination behind it. If your port allows it just disable it, otherwise select from the viewfinder another White Balancement mode (Cloudy works best for my tastes). Pixel 2 AWB should be the best anyway, and I almost never encounter problems.
Q: Can't install the apk
A: Delete the old version before re-installing.
Best night site for me has been
https://www.celsoazevedo.com/files/a...09_MI8_V1a.apk
Thanks for posting this. As soon as I get Pie, I will be implementing option 3.
flipguyfromthepi said:
Best night site for me has been
https://www.celsoazevedo.com/files/a...09_MI8_V1a.apk
Click to expand...
Click to collapse
Could you fix the link? It seems to be broke. TIA
is it possible to port a gcam pointing wide lens to the secondary camera of the Moto X4?
CypherPotato said:
is it possible to port a gcam pointing wide lens to the secondary camera of the Moto X4?
Click to expand...
Click to collapse
Need root for it, just download any version compatible with wide lens and put the package name on this line inside build.prop:
vendor.camera.aux.packagelist2
Hi there!
Anybody has any idea why gcam (MGC_6.1.021_MI8_V1a_xcam_0.apk) does not want to take any shots without HDR?? I remember gcam 5.1 working fine without HDR and the shutter speed was obvs way faster. So sometimes I want to take a fast shot and gcam 6.1 won't let me. I already tried changing the input model.
Thanks!
UPDATE: for those who want GCAM 6.1 with Night Sight I updated the suggested apk, with one that looks more stable (the old one used to crash rarely on my phone).
uccollab said:
UPDATE: for those who want GCAM 6.1 with Night Sight I updated the suggested apk, with one that looks more stable (the old one used to crash rarely on my phone).
Click to expand...
Click to collapse
In case anyone had any trouble editing the build.prop remove the following space:
vendor.camera.aux.packagelist2=com.motorola.ccc,co(THIS SPACE)m.dual.GCam,com.motorola.camera2
I realized it while typing, but if you only copy and paste you might not.
With all these camera mods, is there anyway to verify the security of them? I don't think I have ever had problems with an XDA app but these are all hosted offsite.
sleze said:
With all these camera mods, is there anyway to verify the security of them? I don't think I have ever had problems with an XDA app but these are all hosted offsite.
Click to expand...
Click to collapse
I don't really check it, cause that's the official repo for the gcam ports, and all the developers (like Arnova etc..) are well known here.
uccollab said:
I don't really check it, cause that's the official repo for the gcam ports, and all the developers (like Arnova etc..) are well known here.
Click to expand...
Click to collapse
I am on Moto Pie and using the gcam port from 2nd option. once I take a picture in night sight, I cannot take another picture till I force close the camera. Do you have the same issue as well?
munchy_cool said:
I am on Moto Pie and using the gcam port from 2nd option. once I take a picture in night sight, I cannot take another picture till I force close the camera. Do you have the same issue as well?
Click to expand...
Click to collapse
Hi, I'm on stock Pie and not getting this issue, do you have other ports installed?
uccollab said:
Hi, I'm on stock Pie and not getting this issue, do you have other ports installed?
Click to expand...
Click to collapse
nopes ..
i tried bsg's port and that works fine
Can anyone post a video of this? Trying to have my friend install this and it would help him to have a visual.
uccollab said:
2) Open up the buid.prop file (located in /system/system/). You can either do this by an adb pull command (after booting a custom recovery like TWRP) or with a privileged file manager if you're rooted. In the build.prop you must add the following line (or edit it, if already present): vendor.camera.aux.packagelist2=com.motorola.ccc,com.dual.GCam,com.motorola.camera2
Click to expand...
Click to collapse
johnjingle said:
In case anyone had any trouble editing the build.prop remove the following space:
vendor.camera.aux.packagelist2=com.motorola.ccc,co(THIS SPACE)m.dual.GCam,com.motorola.camera2
I realized it while typing, but if you only copy and paste you might not.
Click to expand...
Click to collapse
Had to remove the space as well, Night Sight works wonders!
I installed option 2 and the rear cam has a yellowish tint. Is there a fix?
Hi, just tried this out on my new moto x4 (The second one with night sight) and it works pretty smoothly. I was just wondering if there was a way to enable the actual front facing flash for selfies and not just brighten the screen up like it does on default (in the recommended app at least)
ALL i want to do is have the stock camera default to manual mode... Or at least REMAIN in manual mode after I set it to that so I don't have to switch to manual every single time I start the camera app. The Auto settings on the stock camera are GARBAGE compared to my Moto X2 (2nd Gen).
Thanks a ton

Categories

Resources