Related
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.
[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.
Greetings fellow 7 plus users!
I've seen some requests here and (mostly) on Nokia community forum for a working GCam port on Nokia 7 plus Android 9.0 Developer Preview, which is a pretty fair phenomenon, since the stock Nokia camera is still a bit unpolished (ridiculously high exposure and lack of shadows for me). While there weren't 100% working ports, today I found a nearly perfect version on a GCam port repository website (URL: https://www.celsoazevedo.com/files/android/google-camera/). I tried many apks, but this was the single one in which I couldn't find any major bugs. Also worth mentioning that portrait mode and HDR+ works fine as well. There is also well-functioning portrait and slow-motion mode. The only minor bug is a small "5 second burst" pop-up text always visible in normal camera mode, but that is an acceptable compromise in exchange for the working functions. Also, sometimes the photos are a bit brighter than they should be. I guess it requires some tinkering in the settings, but I didn't have too much time to actually find out what causes it. As soon as I find the fix for it, I'm going to update the post.
C R E D I T :
The port was made by @fu24 based on @Arnova8G2 's port. Colossal thumbs up for them.
P H O T O S :
Also, I attached 3 sample photos. The first one is a normal image in Auto-mode taken with the stock Nokia camera app, the second is also a normal photo in Auto-mode taken with the GCam mod app, while the third is a portrait-mode shot. As I said, the brightness is a bit too much, but the details are fantastic. Hint: it's worth taking a look at the sky and the reflections on the car when comparing the two images.
Stock Camera Sample Photo
GCam Sample Photo
Gcam Portrait Sample Photo
D O W N L O A D S :
The APK can be downloaded by searching for "GoogleCamera-Pixel3Mod-Arnova8G2-V3_Aux-4.02.apk" (without quotation marks) on the following URL: https://www.celsoazevedo.com/files/android/google-camera/
OR
Mirror: GOOGLE DRIVE
PS.: If you find a better alternative, or you find a good configuration scheme for this one, go on and share with us!
coda00 said:
Greetings fellow 7 plus users!
I've seen some requests here and (mostly) on Nokia community forum for a working GCam port on Nokia 7 plus Android 9.0 Developer Preview, which is a pretty fair phenomenon, since the stock Nokia camera is still a bit unpolished (ridiculously high exposure and lack of shadows for me). While there weren't 100% working ports, today I found a nearly perfect version on a GCam port repository website (URL: https://www.celsoazevedo.com/files/android/google-camera/). I tried many apks, but this was the single one in which I couldn't find any major bugs. Also worth mentioning that portrait mode and HDR+ works fine as well. There is also well-functioning portrait and slow-motion mode. The only minor bug is a small "5 second burst" pop-up text always visible in normal camera mode, but that is an acceptable compromise in exchange for the working functions. Also, sometimes the photos are a bit brighter than they should be. I guess it requires some tinkering in the settings, but I didn't have too much time to actually find out what causes it. As soon as I find the fix for it, I'm going to update the post.
C R E D I T :
The port was made by @fu24 based on @Arnova8G2 's port. Colossal thumbs up for them.
PS.: If you find a better alternative, or you find a good configuration scheme for this one, go on and share with us!
Click to expand...
Click to collapse
I think maybe someone wants to try to use the second back camera. You can switch lens with the "Toggle back camera ID".
But I can't guarantee that it is suitable for Nokia 7 Plus. I must explain that I am just a beginner with limited ability. I really don't have the ability to fix other problems.
To use the second back camera, if the phone does not even report all cameras through the Camera2 API ( Includes second back camera ) (use Camera2Test app to verify your device info). You need to install the zoomfix module.
I tried that option, but it resulted in force close. :/ The highlight/shadow saturation options might refine the photos though, I'm going to try them later today.
Edit: Tried it. Increasing both value made just the perfect photo.
Also, unfortunately I can't install zoomfix due to the lack of bootloader unlock possibility.
I posted in another thread what I probably should've posted here, but I didn't see this thread until later.
I think the 7 Plus has the same camera sensor as the X4 (based on research and sensor data).
Here's the variants that work best for our sensor. I'm thinking you may have luck with the following versions of the Google camera:
This version is excellent in low-light and general photography. This is the best version as far as noise and color accuracy go, it's superb. It's also very easy to set up. Simply set your desired HDR+ quality, and that's it.
And this second version I use as a backup, because sometimes the other camera port will drop shutter speeds indoors for better lowlight performance.
If I'm right about our sensors being identical, you should have good results. The lens on the 7 Plus is even better than the X4, so I'm excited to see what images can be captured. Good luck!
surroundedbydrones said:
I posted in another thread what I probably should've posted here, but I didn't see this thread until later.
I think the 7 Plus has the same camera sensor as the X4 (based on research and sensor data).
Here's the variants that work best for our sensor. I'm thinking you may have luck with the following versions of the Google camera:
This version is excellent in low-light and general photography. This is the best version as far as noise and color accuracy go, it's superb. It's also very easy to set up. Simply set your desired HDR+ quality, and that's it.
And this second version I use as a backup, because sometimes the other camera port will drop shutter speeds indoors for better lowlight performance.
If I'm right about our sensors being identical, you should have good results. The lens on the 7 Plus is even better than the X4, so I'm excited to see what images can be captured. Good luck!
Click to expand...
Click to collapse
Thanks for the suggestion! Unfortunately it doesn't seem to be completely Android P compatible (of course, since it's just a dev preview). Slow-mo crashes the app, and sometimes portrait too, but other than that it's a working version with nice results.
coda00 said:
Thanks for the suggestion! Unfortunately it doesn't seem to be completely Android P compatible (of course, since it's just a dev preview). Slow-mo crashes the app, and sometimes portrait too, but other than that it's a working version with nice results.
Click to expand...
Click to collapse
Gotcha; that worries me for once P lands on my device. Stock vs. the Google camera ports is no contest, and I don't see that changing. Good luck with the 7 plus.
Which version work's for you guys on P beta?
schizmatyk said:
Which version work's for you guys on P beta?
Click to expand...
Click to collapse
https://forum.xda-developers.com/showpost.php?p=77125415&postcount=981
Sent from my Nokia 7 plus using Tapatalk
Danchibald said:
https://forum.xda-developers.com/showpost.php?p=77125415&postcount=981
Sent from my Nokia 7 plus using Tapatalk
Click to expand...
Click to collapse
Thanks. This version working fine.
schizmatyk said:
Thanks. This version working fine.
Click to expand...
Click to collapse
Press thanks button
Danchibald said:
https://forum.xda-developers.com/showpost.php?p=77125415&postcount=981
Sent from my Nokia 7 plus using Tapatalk
Click to expand...
Click to collapse
It shows 4MP only on front camera (idk why).
Rowdyy Ronnie said:
It shows 4MP only on front camera (idk why).
Click to expand...
Click to collapse
Known issue. We need special port.
fu24 said:
I think maybe someone wants to try to use the second back camera. You can switch lens with the "Toggle back camera ID".
But I can't guarantee that it is suitable for Nokia 7 Plus. I must explain that I am just a beginner with limited ability. I really don't have the ability to fix other problems.
To use the second back camera, if the phone does not even report all cameras through the Camera2 API ( Includes second back camera ) (use Camera2Test app to verify your device info). You need to install the zoomfix module.
Click to expand...
Click to collapse
It's not working, the Portrait mode is not capturing the bokeh effect. When the motion is on, after taking snap the app gets crashed.
Hello everyone, I am creating this thread to provide the stable and beta builds of gcam, to avoid confusion and to keep the forums clean.
Thank you @S4turno(Celso) for hosting, mirroring, translating and sharing all a to z Gcam..
Special Thanks to @Arnova8G2 for all his support and hardwork !!!!
FAQ GOOGLE CAM-
I CAN'T INSTALL X VERSION, WHY?
Make sure you uninstall every other GCam Port on your phone. You can't have two 6.1 gcam versions installed.
HOW DO YOU SWITCH BETWEEN CAMERAS?
https://drive.google.com/file/d/127r0_UNKMNY5MN5OrWYZISEleK8cZj4x/view?usp=drivesdk
HOW DO YOU USE NIGHTSIGHT WITH THE DIFFERENT LENS?
Select the lens in main mode, switch to Night Mode, then double tap the Camera Switch Button.
WHY THE FRONT CAMERA IS 4MP AND BACK CAMERA 12MP ?
Selfie camera uses pixel binning, same as for the main sensor. Since camera2api implementation only delivers a 4MP raw stream (16MP/4 = 4MP because of pixel binning)
GCam can only work with what raw stream the API delivers.
Same goes for back cam.
WHICH GCAM IS THE BEST ?
There is no best gcam. There are stable and beta builds which work fine for daily usage, but not the best. There may be some crashes here and there.
WHICH XML IS THE BEST ?
The xmls provided in the folder whose link is given below are the best at the moment.
HOW TO USE XML ?
A link to Celso Azevedo site is given below which clearly explains how to import and export xmls.
Mod Edit: Link removed
WHY COLOURS ARE DULL ??
Sometimes the settings may not be applied by the xmls, and in 6.2 gcam, you need to manually set saturation levels.
Also changing awb can help.
Use the xml.
Use the settings from the given screenshots for 6.2 gcam.
WHY CAMERA CRASHES ?
Changes in libs may cause crashes, in such a case clear app data.
WHY AUX CAMERAS ARE NOT WORKING ?
You need ROOTED DEVICE for now to use aux cameras.
METHODS TO USE AUX CAMERAS- There are 2 methods:-
1) Setting selinux to permissive by-
1a) Using nfs injector magisk module or renovate ice magisk rom.
1b) Using custom kernels like Kirisakura or Smurf
2) Installing gcam as a system app-
2a(Install any of the 6.1 gcam app as a standard user app by installing the apk as you would normally.
2b)Open the camera app and enable the usual set of permissions (local storage, camera, etc.)
3)Use the magisk module given below
https://drive.google.com/file/d/19lwuT8koKQG3dod9nW2xzVHxWGQR-K3W/view?usp=drivesdk
The link below will provide the Gcams working-!!
THERE ARE 1) XCAM BETA 11
2) GCAM 6.2 WITH XML SUPPORT
3) GCAM 7 BETA
IN THE FOLDERS WHICH THE LINK BELOW PROVIDES !!
https://drive.google.com/folderview?id=1-FAjRY4S5PIBnL2vsf0Fm-pVw3QwOi2s
Another link for xmls-
https://www.celsoazevedo.com/files/android/google-camera/f/oneplus-7-pro/
*These are the stable gcam, everything works perfectly except slow motion, stable for daily usage, also they support auxiliary cameras.
If you want to use aux cameras in
night sight and video mode, use xcam.
TO USE XML ON 6.2, LOAD XML TWICE!!
A quick guide on how to use xmls. -
https://www.celsoazevedo.com/files/android/google-camera/f/settings09/
Thanks to @S4turno
Urnyx 6.2 (No XML SUPPORT)(STABLE)-
https://f.celsoazevedo.com/file/cfiles/gcm1/GCam-6.2.030_Arnova8G2_Urnyx05-v2.4.apk
Urnyx 7.2 (No XML Support)(STABLE)-
https://f.celsoazevedo.com/file/cfiles/gcm1/GCam_7.2.010_Urnyx05-v1.3.apk
Star Cam based on Gcam 7 (STABLE)-
https://f.celsoazevedo.com/file/cfiles/gcm1/GCam_7.0.009_StarCam_v1.apk
*For gcam 6.2-
Firstly, after installing apk, go to settings, go to about and enable "Enable Advanced Mode"
*For 6.2 Urnyx gcam-
It is a simplistic mod, not much to edit.
Guide:
- How to use manual controls?
- First of all, you must use HDR+ Enhanced. Then, enable the options in settings to show the sliders (only the 1st time). When you are in viewfinder to take a photo, click on "Pro" button to join the pro mode, where you can see all the sliders. Now, you can set any values you want. At the end, tap on the screen to apply changes (otherwise it won't work)
NOTE-
1) Only this version of 6.2 supports xmls-
https://f.celsoazevedo.com/file/cfiles/gcm1/Gcam_6.2.030_Advanced_V2.2.2beta2.190907.0540.apk
2) Slow motion doesn't work for now.
3) Lens distortion in wide lens.
How to have multiple gcams installed-
https://www.celsoazevedo.com/files/android/how-to-duplicate-clone-apps/
Do your versions support 4k video @ 60fps in normal and also in ultra wide mode?
The version of the other thread can switch to 60fps but actually the video is still recorded at 30
I have a stock 7 pro 12Gb, mine chrashes when i use portraitmode in 6.1
rasik80 said:
Do your versions support 4k video @ 60fps in normal and also in ultra wide mode?
The version of the other thread can switch to 60fps but actually the video is still recorded at 30
Click to expand...
Click to collapse
Hey, yes the 4k 60fps works but only with main cam, 4k works with aux cameras but only on 30fps.
CyberQ said:
I have a stock 7 pro 12Gb, mine chrashes when i use portraitmode in 6.1
Click to expand...
Click to collapse
Are you using the xml from the link ?
Long press doesn't work dor me on 6.1 with vivid xml
krogoth said:
Long press doesn't work dor me on 6.1 with vivid xml
Click to expand...
Click to collapse
I corrected the xmls, thank you...
Still nothing
krogoth said:
Still nothing
Click to expand...
Click to collapse
Are you rooted ??
No
krogoth said:
No
Click to expand...
Click to collapse
That's why
Good luck @Sammmtyagi ! And thanks for your hard work!
Guys...
PLEASE READ ALL WHAT IS WRITTEN IN OP'S INITIAL THREAD BEFORE ASKING QUESTIONS. QUESTIONS THAT DON'T HAVE ANSWERS IN THE FIRST POST WILL BE ADDED . ALSO IT'S AN ONGOING SUBJECT WITH POSSIBILITIES TO CHANGE
Thank you...
Thanks! This works great....running intl version rom on tmobile op7pro with elementalX kernel... Used the desaturated xml, looks good. Also turned down saturation for main back camera as it was still a tad high....its weird because in viewfinder(screen) it looks ok, its only when the photo is processed is where saturation gets boosted....those settings are under "advanced" " highlight saturation" 1.3 and for "highlight shadows" 1.1 .....for anyone that wants to know. Also turned up jpeg quality to 100
Maybe this is a stupid question, but where is the apk file located initially?
Sent from my GM1915 using Tapatalk
Sammmtyagi said:
Are you using the xml from the link ?
Click to expand...
Click to collapse
I uninstalled and removed xml, reinstalled and now i works!
Thanks
ledvedder said:
Maybe this is a stupid question, but where is the apk file located initially?
Sent from my GM1915 using Tapatalk
Click to expand...
Click to collapse
Check the second post, it's clearly available..
SAO said:
Good luck @Sammmtyagi ! And thanks for your hard work!
Guys...
PLEASE READ ALL WHAT IS WRITTEN IN OP'S INITIAL THREAD BEFORE ASKING QUESTIONS. QUESTIONS THAT DON'T HAVE ANSWERS IN THE FIRST POST WILL BE ADDED . ALSO IT'S AN ONGOING SUBJECT WITH POSSIBILITIES TO CHANGE
Thank you...
Click to expand...
Click to collapse
Thank you brother, your tests also helped me, making the thread..
????
I've noticed in 6.1 that motion photos don't work and portrait mode crashes in the selfie camera. Aside from that, this is the best gcam I've used so far!
Sammmtyagi said:
Check the second post, it's clearly available..
Click to expand...
Click to collapse
Sorry, I probably should have made my question more clear. I have the app installed. But where can I find it in my phone's directory to move it to /system/priv-app, in order to get aux camera working?
Sent from my GM1915 using Tapatalk
I making this thread for Realme X2 Gcam 7+ because the settings and tweaking are a bit different from the the 6.2 and 6.3 Here
This is to avoid confusion as I won't have time to do tweaks on both 6+ and 7+ so, that it.
After trying over 25 different Gcam ports, I finally got a Gcam 7.2 that works for Realme X2 but you have to tweak the settings like I did to get the best.
The full tutorial is on YouTube Here:
I will drop some camera samples and the screenshot of my settings here incase you don't have time to watch the tutorial.
While you are there, you can also watch Adobe photoshot camera for Realme X2 too. I was surprised it worked fine.
It blew away the stock cam in Night sight there is no need to talk about the Astrophotography and I didn't bother uploading the samples comparisons between Night scape and Astrophotography - it's not a fair fight. But you can see it in the video.
Low noise, more details, close to real life color reproduction, and ability to tweak makes this 7.2 a thing of joy.
Still no 4k video but 1080p 30/60fps works fine.
No slow motion and wide angle lens too.
Apart from these, everyother thing works fine.
Great credits to @Urnyx05 who ported the camera for ( several devices) of which realme-x2 isn't one of.
I added a new seperate Youtube video tutorial Mastering Gcam v7.2 Advanced Settings for Realme X2
So you can watch that if you want to get the best images from your Gcam.
I am adding the direct link of the of the Gcam 7.2 by Unryx05 I used to be sure some people don't download the wrong one and have other issues I didn't experience. As I said in the video, I've tested over 25 different Gcam ports so make sure you are using the exact one I am using so as to Easy replicate the issues you are experiencing with my device. And talking about devices mine is Realme X2 EU Version (8/128G) RMX1993.
DOWNLOAD
GCAM 7.2.010...
Hello,Thankyou for such a good video guide!
I have my settings all set as you said.
Bt the Gcam crashes after taking a photo.
Thoughts?
TIA
Vishnuisgod said:
Hello,Thankyou for such a good video guide!
I have my settings all set as you said.
Bt the Gcam crashes after taking a photo.
Thoughts?
TIA
Click to expand...
Click to collapse
Turn off motion pictures and make sure your
Google photos is up to date.
Clearing app data might help.
Also let me know what operation you carry out before it crashes.
Hmmm Curious, when I toggle on, enable 2nd and 3rd lenses, I cant even open the app. I have to reinstall.
Added additional screenshots of my settings and tweaks. When I am less busy I'll write the full details here but until then, you can watch the video tutorial for now.
Interesting......
I grabbed the lastest from celsoazevedo, and I was using the latest Urnyx: Urnyx05: GCam_7.2.010_Urnyx05-v1.5.apk
but yours is v1.4.
v1.4 works.
I wonder what the small change is....(rhetorical)
still cant get the wide angle to work. But i found out by clearing cache I dont have to reinstall it....
Bolumstar said:
I making this thread for Realme X2 Gcam 7+ because the settings and tweaking are a bit different from the the 6.2 and 6.3 Here
This is to avoid confusion as I won't have time to do tweaks on both 6+ and 7+ so, that it.
After trying over 25 different Gcam ports, I finally got a Gcam 7.2 that works for Realme X2 but you have to tweak the settings like I did to get the best.
The full tutorial is on YouTube Here:
I will drop some camera samples and the screenshot of my settings here incase you don't have time to watch the tutorial.
While you are there, you can also watch Adobe photoshot camera for Realme X2 too. I was surprised it worked fine.
It blew away the stock cam in Night sight there is no need to talk about the Astrophotography and I didn't bother uploading the samples comparisons between Night scape and Astrophotography - it's not a fair fight. But you can see it in the video.
Low noise, more details, close to real life color reproduction, and ability to tweak makes this 7.2 a thing of joy.
Still no 4k video but 1080p 30/60fps works fine.
No slow motion and wide angle lens too.
Apart from these, everyother thing works fine.
Great credits to @Urnyx05 who ported the camera for ( several devices) of which realme-x2 isn't one of.
You can download it Here from the thread. Version 7.2. 010 was the one I tested.
Click to expand...
Click to collapse
Hi, thank you so much for the detailed guide and feedback, I'm waiting/looking for a version with slow motion and wide lens working, but still had no success. Please let we know if you find something.:fingers-crossed:
For those who are looking for a working Gcam, I am working on one with the great devs for Gcam including Urnyx05. The problem with Realme and BBK devices are they do not have correct color for gcam to process. Arnova helped greatly to fix it, and Cstark's apk works somewhat now. Also we will never be able to access the ultrawide lens or any other lens as Realme did not grant camera2 ID or access to them. Potentially root could work, but I am rooted but nothing works. We really need a kernel dev for our devices.
xterminater07 said:
For those who are looking for a working Gcam, I am working on one with the great devs for Gcam including Urnyx05. The problem with Realme and BBK devices are they do not have correct color for gcam to process. Arnova helped greatly to fix it, and Cstark's apk works somewhat now. Also we will never be able to access the ultrawide lens or any other lens as Realme did not grant camera2 ID or access to them. Potentially root could work, but I am rooted but nothing works. We really need a kernel dev for our devices.
Click to expand...
Click to collapse
thankyou for your work on this.
Vishnuisgod said:
Hmmm Curious, when I toggle on, enable 2nd and 3rd lenses, I cant even open the app. I have to reinstall.
Click to expand...
Click to collapse
I said earlier that the secondary lenses don't work and will make the camera crash.
Just clear app data to use the camera again - it's quicker than reinstalling but you will lose your settings
Vishnuisgod said:
Interesting......
I grabbed the lastest from celsoazevedo, and I was using the latest Urnyx: Urnyx05: GCam_7.2.010_Urnyx05-v1.5.apk
but yours is v1.4.
v1.4 works.
I wonder what the small change is....(rhetorical)
still cant get the wide angle to work. But i found out by clearing cache I dont have to reinstall it....
Click to expand...
Click to collapse
It took a lot of testing and trying with plenty crashes and issues to come up with the v1. 4 as the best for Realme X2 for now. I am still trying and testing more especially for wide angle...
xterminater07 said:
For those who are looking for a working Gcam, I am working on one with the great devs for Gcam including Urnyx05. The problem with Realme and BBK devices are they do not have correct color for gcam to process. Arnova helped greatly to fix it, and Cstark's apk works somewhat now. Also we will never be able to access the ultrawide lens or any other lens as Realme did not grant camera2 ID or access to them. Potentially root could work, but I am rooted but nothing works. We really need a kernel dev for our devices.
Click to expand...
Click to collapse
I almost gave up on Gcam because of that 'annoying' color processing from realme. But once I learnt to tweak it, I got a higher saturation with Gcam more than the stock cam, I knew that the Realme X2 has a great future with custom Roms. We just have to wait at least for Indian lunch on 17th Dec and maybe the customization will bloom.
Vishnuisgod said:
Hello,Thankyou for such a good video guide!
I have my settings all set as you said.
Bt the Gcam crashes after taking a photo.
Thoughts?
TIA
Click to expand...
Click to collapse
Same for me, even when disable motion picture, i’m using 1.6.
jjfgsyg said:
Same for me, even when disable motion picture, i’m using 1.6.
Click to expand...
Click to collapse
Now everything OK with 1.4 version
Enviado desde mi RMX1993 mediante Tapatalk
I did a full tutorial on how to tweak Gcam 7.2 Mastering Realme X2 Gcam 7.2 advanced Settings
I believe this will help everyone get the best pictures from their Gcam.
Please make sure you download from the link or if you are downloading from Urnyx05 thread download version 1.4 of Gcam 7.2
jjfgsyg said:
Same for me, even when disable motion picture, i’m using 1.6.
Click to expand...
Click to collapse
Use version 1.4
Bolumstar said:
Use version 1.4
Click to expand...
Click to collapse
It's working fine in ver 1.9
vNa5h said:
It's working fine in ver 1.7
Click to expand...
Click to collapse
Thanks mate, I'll try it. Tried 1.6 and 1.8 but they crash often or snap but don't save image
vNa5h said:
It's working fine in ver 1.9
Click to expand...
Click to collapse
for me version 1.9 crash very often, don`t save pictures. Do you have disabled any options?