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
Back on 8. 1 when you hit the 2x zoom button it would do a digital zoom. The only way to use telephoto lens was is manual mode
This is no longe the case in pie.
The main camera using digital zoom is vastly superior in quality to the zoom lens in most scenarios.
Is there any way to force it to allow digital zoom?
it will switch automatically to the main camera when its dark. try to cover the telephoto camera.
Is there a way to use wide angle and telephoto lenses in pro mode with S10? I can only use digital zoom...
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?
hello everyone .Who can tell how to activate the telephoto lens in Gcam. I use Oneui 5.1 firmware. I will be very grateful for your help.