Change default rear camera? - Moto X4 Questions & Answers

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

Related

Front camera upside down, any fix?

Hi, I have cpMiui, and since I want Google Cam I've installed from Magisk "Pixel2Experience" containing camera2api. Everything works but front camera is inverted. How can I fix it?
Solved
Found a fix for the front camera being flipped: You need to edit "/system/etc/camera/msm8996_camera.xml".
There are 4 entries: 2 for the back camera (CameraId 0) and 2 for the front camera (CameraId 2).
We'll edit only the 2 for the front camera: We'll change the "MountAngle" from 360 (which means "Defined by kernel") to 270.

How to enable zoom in 48mp mode

Is there any way to enable zoom in 48mp mode in stock camera. Its a waste not to have zoom at that resolution
No, & will never have.
You're getting the final image as 48MP so can zoom inside that all you want & good for editing later on.
Doesn't zooming in on regular camera mode switch from camera lens to other camera lens?
So, it basically switches to 48Mp lens when you zoom 2x?
Edit: it does. Lower lens is for 0.6x, and middle lens is for 1x and 2x. Same lens is for 48mp. Upper lens is probably focus lens. Try choosing mode and covering lens with your finger, and you'll see which is which.
Sent from my Mi 9T Pro using Tapatalk
babaroga73 said:
Upper lens is probably focus lens.
Click to expand...
Click to collapse
Upper lens is 2x Zoom. But only used in good lighting conditions. Otherwise the 48MP Camera is used
Can you explain better?
When i try to zoom in the 2x camera, still the 8 mp camera, dosen't change to the 48 mp camera, i can only use the 48 mp camera on portrait mode ou in pro mode, and on the pro mode the 48 mp camera is named "telephoto". I don't know... There's any chance to this happen beacuse of any software problem?

GCam with Aux Lenses

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?

Manual camera app with wide angle support

Is there a manual camera app that allows you to switch to the wide angle lens? All the ones I've found only allow main and selfie camera.

[Q] Does anybody know any app/flashable mod that allows for manual controls on the Telephoto lens? (No Live Focus exploit.)

Google Camera and Open Camera cannot even access the Telephoto lens. The stock Samsung app only allows you to use the Telephoto lens only during daytime, at night it defalults to digital zooming and also there is no lens switching in the Pro mode.
The only way of using the Telephoto lens is to go to Live Focus and set blur to 0. And you can't even zoom further in that mode.
HTC, Sony, LG, etc. phones allow manual mode on all of the rear cameras.
Is there any flashable modded Samsung camera that allows full manual mode on both rear cameras? Or an app that has deeper control over the cameras?
Well... It would be nice to have manual on the ultrawide front camera too like a lot of phones have. And access to the infrared one too, like on all the Xiaomi devices with that one app that doesn't work on Samsung devices because it's locked out from the user. But still... Manual mode for the Telephoto lens would be good enough for now.

Categories

Resources