GCam with Aux Lenses - Nubia Red Magic 5G / 5S Themes, Apps, and Mods

Hey all,
If you are rooted and want to use both the ultra wide and macro aux lenses in gcam on RM5, here's what I did:
1. Download the Aux_Mod_V2.zip and flash it in Magisk and reboot:
https://f.celsoazevedo.com/file/cfiles/gcm1/Aux_Mod_V2.zip
2. Download and install PixelCam Plus v2.0:
https://f.celsoazevedo.com/file/cfiles/gcm1/PixelCam_Plus_V2.0.apk
GCam_7.3.018_Urnyx05-v2.0.apk works as well for both aux lenses, but I'm using this PixelCam port for the moment because it seems the Camera IDs on RM5 are mixed up; this PixelCam port lets you correct the lens toggle buttons.
Specifically, Camera ID 2 is apparently for the ultrawide lens on RM5, but shows up in gcam as a tele lens; Camera ID 3 is for the macro lens, but shows up as a wide angle lens.
3. Load the lens selector button xml fix.
I made the attached xml for the PixelCam port which fixes the aux lens buttons (it also includes some of my own lib patcher adjustments for RM5).
Load the xml as you would any gcam xml file
-- download the file and place it in the GCam > Configs7 folder in your internal storage (create those folders if they don't exist already)
-- open the gcam app, double tap on the area next to the shutter button to pop-up the xml loader and update
You should now have the 3 lens toggle buttons for macro, main and ultrawide.
A couple notes:
-- do not enable other aux lenses in the lens configuration settings; gcam will crash if you toggle to them and you'll have to wipe app data and start over
-- any lib patcher adjustments you want to make need to be made to the original (incorrect) aux lens names; so to make ultra wide adjustments use lib patcher tele, to make macro adjustments use lib patcher wide
-- focus tracking does not seem work in this port; tap to focus doesn't show up on screen, but does work and adjusts exposure and seems to makes for sharper images on all lenses
-- keep the system noise model off for the macro lens (wide lens in lib patcher); turning it on seems to prevent the image from saving

Thanks for posting this to XDA it works great and the only Gcam port where everything is working. Especially appreciate you fixing the XML file and explaining how to enable all lenses. Much nicer pictures than the built in camera app!

Great job !!

Any way to use without root/magisk?

not that I've found; either the root/magisk method or otherwise setting SELinux to permissive is necessary for the aux lenses to work in gcam
---
Urnyx05-v2.1 is also now working nicely with the aux lenses and showing the correct lens names -- it also has working focus tracking
https://www.celsoazevedo.com/files/android/google-camera/f/changelog1278/

Hi can tell me where to download the lens selector xml file?

Related

[APP][PORT][Repost] Google Camera port for LG G5 Normal & Wide Angle (by cstark27)

[APP][PORT][Repost] Google Camera port for LG G5 Normal & Wide Angle (by cstark27)
cstark27 said:
NOTE: I am not a developer but I have tried my best to create a port that has most of the basics working on my LG V30. I cannot promise I can fix any bugs for other devices but if I have time, I can try to look into some. This version is based off Scrubber's [4PDA] and uses information I've learned from using and looking at Arnova8G2's, BSG's and others versions. All their work is much appreciated and is the only thing that makes this possible.
NOTE: This is how the V30's Camera ID's are laid out. My normal lens app uses ID 0 and 1. My wide lens app uses ID 1 and 2.
Camera 0 "LENS_FACING_BACK"
Camera 1 "LENS_FACING_FRONT"
Camera 2 "LENS_FACING_BACK" (wide angle)
I cannot guarantee success on other devices, especially if the phone does not even report all cameras through the Camera2 API (use Camera2Test app to verify your device info). If you are on LineageOS, please consult your dev to see if they can alter the camera ID's to properly match LG stock roms, if my version does not work.
Working on my V30: Optical Image Stabilization; Front/Rear/Wide HDR+ ZSL & Enhanced; Front/Rear/Wide Portrait Mode; Front/Rear/Wide 1080p 30fps video; will test other functions later but the menus work
My normal version should work fine on devices that have a decent Camera2 API support. Snapdragon Galaxy S8, Note 8, Nokia 6, Nokia 8, Essential PH-1, HTC U11, etc.
----------------------------------------------------------------------------------------------------
cstark27 v3.6
If you have issues, Clearing App Data is recommended. Open "Camera"> Settings>About>View App Settings Page>Storage>Clear Data
LG G6 Lineage users can use the toggle in the wide angle APK to fix their camera ID issue. You must force close the app.
-Added 5 Exposure Time settings for Adaptive Shutter Speed. "Super Slow" is the same as V3.5. "Very Slow" is about 2x faster and so on and so forth. On my phone "Slow" is not actually Slow and matches normal HDR+ Enhanced speed. But it may change depending on device so I left it.
-Normal APK: Save HDR+ choice after going into Settings (credit Miniuser123)
-Organized Settings>Advanced by grouping all HDR+ Enhanced stuff into a section. Changed a couple strings so they'd be translated to other languages.
-Skip Color Fix if Adaptive Shutter is enabled
-Removed Slow Motion menu item unless you have a LG G5, G6, V20, or V30. BUT, you can enable it in Settings>Experimental.
-Wide APK: Change HDR+ Config to Taimen so ZSL (Zero Shutter Lag) is back, but I've defaulted HDR+ to Enhanced. This won't change until you clear app data or go into settings though.
-Wide APK: Remove Slow Motion menu item
2 Separate APK's (download both, they do not require each other though so you can use a different normal lens version if you want):
Download standard rear + front cam: cstark27_GCam_5.1.018_24_v3.6
Download wide rear + front cam: cstark27_GCam_5.1.018_24_wide_v3.6
----------------------------------------------------------------------------------------------------
There is no model or config to set, you should be good to go after installing. But here is the setup:
-Normal Lens APK Config:
--LG G6
---Rear Model: Nexus 6 (shamu), Front Model: Huawei Nexus 6P (angler)
--All other devices
---Rear Model: Pixel 2 XL (taimen), Front Model: Huawei Nexus 6P (angler)
-Wide Lens APK Config:
--LG G6
---Rear Model: Nexus 6P (angler), Front Model: Huawei Nexus 6P (angler)
--LG G5, V20, V30
---Rear Model: Pixel 2 XL (taimen), Front Model: Huawei Nexus 6P (angler)
Previous Versions:
cstark27 v3.5
-Clearing App Data is recommended. Open "Camera"> Settings>About>View App Settings Page>Storage>Clear Data
-Added Advanced>HDR+ Enhanced Portrait Mode : This forces Portrait Mode to use HDR+ Enhanced which will offer better dynamic range but you lose Zero Shutter Lag (Thanks Arnova8G2 for this cool trick)
-Added Advanced>HDR+ Enhanced Adaptive Shutter Speed : This is the Slow Shutter mod from miniuser123. I would say this is "beta" for LG devices. I know on my V30 some tuning is needed to the parameters but I want your guys feedback first. It only affects HDR+ Enhanced. The shutter speed will slow down the darker your scene is. You probably want a tripod or something to prop your phone against, for best sharpness. In normal lighting the shutter speed seems to be the same as before so I don't think it would be a negative to leave this on - but it's your choice and needs testing.
-Added LG G6 Lineage Camera ID Fix toggle to Wide Angle APK so there shouldn't need to be separate Lineage builds for G6 anymore
-Optimizations courtesy of Arnova8G2
cstark27 v3.4
-Added Lens Blur Mode on side menu
-Added Advanced>LG G6 Color Fix from cstark27 v3
-Removed Zero Shutter Lag option from Wide Angle due to issue with very over-exposed highlights. Will be brought back when this issue is fixed.
-Removed Disable ZSL toggle as it did not fix anything and caused more problems
cstark27 v3.1 standard and v3.2 wide
-JPEG quality increased to 98% by default
-Removed LG G6 Color Fix option hoping the model change fixes their color issues (you may Delete Data of the app)
-HDR+ Parameters moved to Advanced menu
cstark27 v3 wide angle beta 1 (with LG G6 LineageOS patch)
-Separate APK based off cstark27 v3
-Fix front camera crash
-Change "config" to Nexus 6P (ZSL on the wide angle does not process HDR+ currently, so this ensures the user always gets HDR+ processing)
cstark27 v3 wide angle alpha
-Separate APK based off cstark27 v3
-ALPHA version of wide angle support
cstark27 v3
-fix G6 video (and probably other Android 7.0 devices) thanks to Arnova8G2
-add LG G6 Color Fix option under advanced thanks to Arnova8G2
cstark27 v2.1
-EXIF fix, thanks Arnova8G2
-Enable HDR+ toggle by default
-Uncheck camera:use_photos by default to increase stability (turn back on and test if you want. Enabling this makes it use Google Photos.)
-Uncheck camera:enable_micro by default to increase stability (turn back on and test if you want. Enabling this enables Motion Photos for Oreo only(?)
cstark27 v2
-fixed video on Pixel configs for LG V30
cstark27 v1
-based off Scrubber's APK
-forced model of front camera to Nexus 6P for proper HDR+ Processing and color (thanks BSG)
-rear model is set to Taimen
As always, thanks to Scrubber (whose APK I started with), Arnova8G2, BSG.
Click to expand...
Click to collapse
Here a Google Camera Port & Mod by cstark27
See the link below for the original post and faster updates (I'll update this post when I can)
Original Post : https://forum.xda-developers.com/lg-v30/themes/cstark27-google-camera-mod-wide-angle-t3747263
2 Separate APK's (download both, they do not require each other though so you can use a different normal lens version if you want):
Download standard rear + front cam: cstark27_GCam_5.1.018_24_v3.6
Download wide rear + front cam: cstark27_GCam_5.1.018_24_wide_v3.6
Install the two apps the have the full experience
- Tested on LG G5
- Tested on Android 7.0 Nougat
- Standard rear + front cam
- Wide rear + front cam
- Useless Google Cameras options removed which is great
All credits to cstark27
:good:
I'm on a G5, and my camera crashes when playing with lens blur on the back lens. Any ideas on how to fix it? I did clear the data as you suggested.
Sonic Offline said:
I'm on a G5, and my camera crashes when playing with lens blur on the back lens. Any ideas on how to fix it? I did clear the data as you suggested.
Click to expand...
Click to collapse
I have no problem with mine with the normal and wide lens apps. Try un-installing both apps and do a clean up of the phone with a phone cleaner, then re-install both apps.
Aragami84 said:
I have no problem with mine with the normal and wide lens apps. Try un-installing both apps and do a clean up of the phone with a phone cleaner, then re-install both apps.
Click to expand...
Click to collapse
I don't know what you mean by a "clean up" app but after running Power Clean or whatever it's called my camera still crashes.
Sonic Offline said:
I don't know what you mean by a "clean up" but after running Power Clean or whatever it's called my camera still crashes.
Click to expand...
Click to collapse
That's what I meant, then I have no idea what's causing this.
The last solution might be to reset your phone to factory.
Go check on the original topic if anyone as the same issue.
https://forum.xda-developers.com/lg-v30/themes/cstark27-google-camera-mod-wide-angle-t3747263
Same problem as above...lens blur pics are just blank and app crashes when i try see pic taken from gcam app. Also each captured image is making another folder
My normal one is really lag. I have tried to clear data. It works normal. I don't know why?
I so much love the potrait effect
Dont work the wide camera on RS988 with Resurrection Remix 6.0.0 ?
Not working on my LG H850
:crying:
Tried the Apps yesterday but without success. Focus Mode always crashed in both Applications.
Version 3.8 (newest)
Sadfully no Google Cam for my H850
akki7636 said:
Same problem as above...lens blur pics are just blank and app crashes when i try see pic taken from gcam app. Also each captured image is making another folder
Click to expand...
Click to collapse
Same problem
Any ideas?
for me the Gcam HDR picture gives the best results
3 images to compare..stock LG with hdr on..gcam with hdr and gcam with hdr enhanced(to dark in my opinion)
didnt do that great, sorry
using latest release on h850
Pardon me.maybe i didnt not look from thread if there is or not.just wanna ask if there is already availble ar sticker ar core for my beloved lg g5.tried and tested .tnx in advance
Sent from my LG-F700L using Tapatalk
nm
with those apps, is it possible to store the pictures and videos on the sd by default?
thanks
peppinousuraio said:
with those apps, is it possible to store the pictures and videos on the sd by default?
thanks
Click to expand...
Click to collapse
no because google's phones doesn't have sd card so google have only the option to store it in internal storage.
I don't know if a developer can change this from within the code without creating bugs and crashes
Has anybody successfully installed and used AR stickers on the G5? tried many times with multiple apks but so far no success
Sadly doenst work on G5 SE (looks like there's no Gcam that works with it), but works really great on mine Zenfone 3!!! Thanks very much!!! I didnt like the photo preview from portrait pictures compared to Arnova, but now I have HDR+ working which is awesome!!!
Hi. I am using this apk of cstark WITHOUT ROOT and the photos look amazing. The only problem I have is that I can not record at 1080p 60fps even if I select that quality. will it be because I have to activate the camera 2 api?
Although it says that it's been tested on an LG G5, when attempting to install onto my LG G5 SE it says that it's incompatible.
(Downloaded only the standard APK due to network connectivity issues)

Change default rear camera?

Hey guys,
My main rear camera is broken and I was wondering if my default camera can be changed to the wide-angle lens, because the wide angle lens works fine. The phone is a Moto X4 and it has a dual rear camera set up.
So my question is:
Could I maybe modify the default rear camera ID in the Camera2 api?
Or is there a build prop flag that I can modify that changes the default rear camera to the wide angle lens?
Add this line on the build.prop and perhaps you'll be able to use the wide angle.
camera.aux.packagelist2=com.motorola.ccc,com.google.android.GoogleCameraWide,com.google.android.GoogleCameraTele

Google camera 6.1 for Mate 9 (emui 9.1)

Guys I have tried a few versions of Google Cam and found a working version from celsoazevedo gcam portal.
The google cam version is 6.1 and works perfectly in emui 9.1 except night sightand portrait mode.
[MGC_6.1.021_BSG_Arnova-TlnNeun_Urnyx05-v4.4.apk ]
* Working - photo, video, photo sphere(to replicate wide angle images), lens blur, raw images, hdr+(its enabled but not too sure if works perfectly)
* Not Working - Night sight, Portrait (need to check configuration)
** make sure to change viewfinder format to YUV_420_888 and disable motion photo (if camera crashes after any changes and shows black screen restart phone and change config)
** Base config- back camera Pixel 3XL
Front camera Pixle 2XL
config Pixel2018 HW Zsl HDR
Great tip, FYI NightSight can work (not crash) if you enable Advanced->FIXES->Buffer fix....BUT it doesn't actually capture a picture
I can see a difference when I enable 36 frames for HDR+ else....not that much.
Also, the secondary back mono camera is never used
Licaon_Kter said:
Great tip, FYI NightSight can work (not crash) if you enable Advanced->FIXES->Buffer fix....BUT it doesn't actually capture a picture
I can see a difference when I enable 36 frames for HDR+ else....not that much.
Also, the secondary back mono camera is never used
Click to expand...
Click to collapse
yeah even I realized the HDR+ mode has only a slight difference even with 36 frames, unfortunatly the mono cam cannot be used just used only by the emui cam

mi a2 gcam front camera only 5mp ?

Is there anyway to use the full 20mp in front facing camera.. All gcam takes default 5mp by pixel binding.. also flash didn't work like stock... It acts like a torch while capturing photo
androshanki said:
Is there anyway to use the full 20mp in front facing camera.. All gcam takes default 5mp by pixel binding.. also flash didn't work like stock... It acts like a torch while capturing photo
Click to expand...
Click to collapse
i am using miui 12 pie and both stock and gcam are working at the same time .....
both have their advantages....
1. gcam uses pixel binning ( combining ) them
_so your camera is not really using 5mpx ..it is using max pixels merged into a 5mpx output_
_this might give you a good or better looking photo than some 20mpx sensors on some phones
_people use gcam because of Google's theoretical excellence in processing photos *** therefore better photos than stock ... because if you feel.stock has better photos than there is no argument for using gcam
2. gcam mods which allow you to choose to manually force the gcam to use the secondary ( aux ) exist ...you can use it in combo with magisk modules
_dont expect a giant leap in photo quality since our aux sensor is for low light ...and was never meant not even by Xiaomi to act as the main shooter
_stock camera changing between sensors automatically while in gcam.you will. have to.do.it manually _
_VERY IMPORTANTLy ...our aux sensor is NOT api2 compliant only our main sensor ...as per Xiaomi ...so Xiaomi needs to fix that if it can be fixed....that is why our phone isn't released with api2 enabled..
Options:
1. Use magisk module in stock rom to get stock camera
2. Use stock rom to use miui 12 pie to get both stock and gcam working at the same time
3. Use gcam with aux sensor select button in settings to activate it manually in custom rom
4. buy a jasmine or wayne device and donate it to gcam.modder or dev stating your wish that he/she fixes it so it runs how you feel.it should run
I'm pretty certain this info is old and if you looked you'd find all the magisk modules and gcams and mods and info floating around ...
go check out the official gcam mods page for devs working on cams for our device and try them.all to find the one you like best and maybe give them.a small donation
try out the stock cam magisk module to see if it works correctly on custom rom
failing that just your miui with magisk to have it all.
Stock makes great depth of field photos imho
Gcam takes richer photos in general like but if you aren't careful you might run in oversaturation ..more options
_you can enable arcore and ar stickers by magisk mod and using patched playground from gcam mods page
This doesn't seem to be a GCam issue... All camera apps just see 5MP for the front and secondary back camera. It's probably an internal issue with Camera2Api?

[Gcam] [10-11] Gcam for A70 with wide angle

This is a modded version of the gcam by tigr that I made for the a70 with wide angle camera working
I thought I'd share incase someone finds it useful.
Base: trcamera xmas release
Dev: tigr
Gcam version: 7.4
*Features
Spoiler
Wide angle support
Portrait
Video
16 x zoom (digital)
Night sight with astrophotography optional
Raw+jpeg capture (import raw file to lightroom to view it as samsung gallery has a bug of showing only low resolution)
Hdr+ and hdr+ enhanced (use hdr+ for fast pictures and motion photo or hdr+ enhanced for the best quality)
Motion photo (viewable in google photos only)
Pro mode for manual focus / iso / shutter speed (toggle auto/pro mode in viewfinder)
Focus tracking (toggle on/off in viewfinder but disable for better performance as it may cause lag)
Google awb (toggle on/off from drop-down menu, recommended only for night sight or for unique shots)
Libpatcher advanced enabled for better processing and customized for a70
Enabled DCI-P3 color space
*Install instructions
Spoiler
Place config in internal storage/trCamera/XMLConfigs folder
Install gcam, open, and give required permissions
Double tap on black bar beside the capture button
Select config and restore
make sure to use the gcam provided below as it won't work with other mods
And dont mess with the settings as it was made with the optimal settings specifically for the a70
For oneui 2.0, 2.5, and 3.1
Make sure to check out our telegram channel for more gcam mods for the a70
Spoiler
A70 GCam Configs
Hi. This is where admins and I share some GCam Configs for Samsung A70. Enjoy
t.me
*App/config download:
Spoiler
GCam link:
https://www.androidfilehost.com/?fid=17248734326145724540
Config link:
https://www.androidfilehost.com/?fid=17248734326145724594
Credits:
gcam devs
and my friends at telegram for helping and testing
reserved
Can't seem to find the folder of Trcamera...
Nick312 said:
Can't seem to find the folder of Trcamera...
Click to expand...
Click to collapse
Create a folder in internal storage as mentioned above trCamera and inside create another one called XMLConfigs
Love this version, but I can't seem to find how to turn on the 3x3 grid, it helps me a lot to take good pics. Also, pics sometimes have too much contrast with this config (main lens) and the pics on the wide angle lens are too noisy.
Batpope said:
Love this version, but I can't seem to find how to turn on the 3x3 grid, it helps me a lot to take good pics. Also, pics sometimes have too much contrast with this config (main lens) and the pics on the wide angle lens are too noisy.
Click to expand...
Click to collapse
The grid cam be found if you go to settings/general settings (first option)
And unfortunately the quality of the wide angle camera isn't great to begin with and if i wanted to decrease the noise the picture will become unnatural and not that good
AbOuLfOoOoOuF said:
The grid cam be found if you go to settings/general settings (first option)
And unfortunately the quality of the wide angle camera isn't great to begin with and if i wanted to decrease the noise the picture will become unnatural and not that good
Click to expand...
Click to collapse
Oops, don't know how I missed the grid option, thanks! Damn that sucks about the wide camera, but yeah, I figured. Thanks!
why would u need DCI-P3 or AdobeRGB or anything other than sRGB?
sRGB is best option for JPEGs. If u don't believe me - ggl it. AdobeRGB, for example, will use same 256 gradations but map it to different colors. Those "colors" will be outside of normal sRGB spectrum in which most displays work. What u will get is less gradations and more banding of regular sRGB colors.
Thank you very much! I had a problem with the latest update and ended up bringing it to the Samsung repair service. My old gcam wont work the way it used to. This one takes photos a little slower than 7.3 (?) but still good quality photos. I really appreciate it!

Categories

Resources