Open Camera does not detect the Pixel 7a's second front facing camera.
I use GrapheneOS, however the default camera app is able to detect the second front facing camera just fine, so I suspect this issue is unrelated the my use of GrapheneOS.
Open Camera v1.53.1
Code: 90
Package: net.sourceforge.opencamera
Android API version: 35
Device manufacturer: Google
Device model: Pixel 7a
Display size: 1080x2219
Display metrics: 1080x2219
Current camera ID: 0
No. of cameras: 2
Multi-camera?: false
Camera API: Camera2 (Android L)
Camera orientation: 90
Photo mode: Standard
Min zoom factor: 0.54
Max zoom factor: 8.0
Preview resolutions: 1920x1080, 1920x960, 1792x1008, 1440x1080, 1344x1008, 1280x960, 1080x1080, 1280x720, 1024x768, 1024x576, 800x600, 720x480, 640x480, 640x360, 352x288, 320x240, 176x144
Preview resolution: 1440x1080
Photo resolutions: 4624x3472, 4032x3024, 4000x3000, 4032x2268, 3840x2160, 4000x2000, 3264x2448, 3264x1836, 2560x1920, 2688x1512, 1920x1920, 2560x1280, 2048x1536, 1920x1440, 1920x1080
Photo resolution: 4624x3472
Video qualities: 1, 6_r4000x2000, 6_r3264x1836, 6_r2560x1920, 6_r2688x1512, 6_r1920x1920, 6_r2560x1280, 6_r2048x1536, 6_r1920x1440, 6, 5_r1600x1200, 5_r1920x960, 5_r1792x1008, 5_r1440x1080, 5_r1344x1008, 5_r1280x960, 5_r1080x1080, 5, 4_r1024x768, 4_r1024x576, 4_r800x600, 4, 3_r640x480, 3_r640x360, 3, 7, 2
Video resolutions: 3840x2160, 4000x2000, 3264x1836, 2560x1920, 2688x1512, 1920x1920, 2560x1280, 2048x1536, 1920x1440, 1920x1080, 1600x1200, 1920x960, 1792x1008, 1440x1080, 1344x1008, 1280x960, 1080x1080, 1280x720, 1024x768, 1024x576, 800x600, 720x480, 640x480, 640x360, 352x288, 320x240, 176x144
Video quality: 6
Video frame width: 1920
Video frame height: 1080
Video bit rate: 33000000
Video frame rate: 60
Video capture rate: 60.0
Video high speed: false
Video capture rate factor: 1.0
Auto-level?: Available
Auto-level enabled?: false
Face detection?: Available
RAW?: Available
HDR?: Available
Panorama?: Available
Gyro sensors?: Available
Expo?: Available
Expo compensation?: Available
Exposure compensation range: -24 to 24
Manual ISO?: Available
ISO range: 45 to 8982
Manual exposure?: Available
Exposure range: 69730 to 16000000015
Manual WB?: Available
WB temperature: 1000 to 15000
Optical stabilization?: Available
Optical stabilization enabled?: true
Video stabilization?: Available
Video stabilization enabled?: false
Tonemap curve?: Available
Tonemap max curve points: 64
Can disable shutter sound?: Available
Camera view angle: 68.52948 , 51.820545
Flash modes: flash_off, flash_auto, flash_on, flash_torch
Focus modes: focus_mode_auto, focus_mode_macro, focus_mode_locked, focus_mode_infinity, focus_mode_manual2, focus_mode_edof, focus_mode_continuous_picture, focus_mode_continuous_video
Color effects: None
Scene modes: auto, night, portrait
White balances: auto, manual, incandescent, fluorescent, warm-fluorescent, daylight, cloudy-daylight, twilight, shade
Magnetic accuracy?: -1
Using SAF?: false
Save Location: OpenCamera
Save Location SAF:
Parameters: None
Anonymous
I think the Pixel 7a only has one physical front camera ( https://en.wikipedia.org/wiki/Pixel_7a ), however it is ultra-wide. On Open Camera if you zoom out (either pinch zooming or using the slider), it should switch to the ultra-wide view.
Doh, I mixed up the back and front cameras. Apologies for the confusion, allow me to provide additional clarity on the issue (which I should have provided in the original ticket description):
I actually meant the back camera, not the front camera. There are indeed two rear cameras, and zooming in and out does not switch between them. This is confirmed by obscuring the view of one camera (in my case, simply using a finger) and zooming in and out using both camera apps. On Open Camera, it stays on ultra-wide regardless of zoom level whereas on GrapheneOS' default camera app it will actually switch to the other camera. As is reflected in my "about" page debug info, Open Camera does not detect second rear camera (
No. of cameras: 2(I would expect there to be 3) andMulti-camera?: false). Additionally, the help page seems to suggest there should be a "multi-camera icon", but this does not appear for me.Just to check, what happens when you start at 1x zoom, and then zoom out (e.g. using pinch)? It should show the preview zooming out, and show "zoom" with a value less than 1, e.g. "Zoom 0.54x"? Or does nothing happen at all?
Note the debug info is correct for Pixels since they don't expose multiple "logical" cameras, instead they're exposed via the zoom level, specifically the debug info:
Min zoom factor: 0.54
Max zoom factor: 8.0
shows it's reporting a zoom level less than 1.
What does the user interface of the GrapheneOS camera show? If this is https://play.google.com/store/apps/details?id=app.grapheneos.camera.play , on my Pixel 6 Pro it also only exposes multiple camera via zooming in or out.
Minor correction: Open Camera will only use the the wide camera, not the ultra-wide camera. Regardless, only one of the two rear-facing cameras is detected.
The multi-camera icon now works correctly in version 1.54.1, so I am able to manually work around the issue by picking the lens I want. The issue does still persist in "Auto Lens" mode though, the zoom level drops to 0.54 without switching cameras.
"The issue does still persist in "Auto Lens" mode though, the zoom level drops to 0.54 without switching cameras." - To clarify, as in zooming from 1x to 0.54x on rear camera won't cause any change?