OnePlus 7 Pro running LineageOS 18.1
I get no icon to choose back camera. I have 3 back cameras. (0.7, 1.0, 2.2)
It defaults to 1.0 and doesn't allow me to choose.
In debug, it lists number of cameras as 2 (1 front, 1 rear). It should list 4, not 2. (3 rear, 1 front)
FreeDCam DOES recognize all cameras.
I much prefer the OpenCamera interface.
Any chance this bug can be fixed??
This applies to API 1 and API 2
I do not have this issue with the Motorola G7 Plus.
Anonymous
Interesting. Same on my Xiaomi device. I don't know how FreeDCam avoids the restriction of props like https://forum.xda-developers.com/t/guide-enable-aux-camera-for-third-party-camera-apps.3846325/
It looks like that FreeDCam does not take the claimed number of cameras, i.e. the value from props, but enumerate all IDs from 0 to 199 and probe which ones work:
https://github.com/KillerInk/FreeDcam/blob/3d3225bcc973d06c09c74d0f349b67ed3ee4c6fc/app/src/main/java/freed/cam/apis/featuredetector/Camera2FeatureDetectorTask.java#L281
https://github.com/KillerInk/FreeDcam/issues/118#issuecomment-674483153
Last edit: EiQuo7ji 2022-01-29
Indeed, Freedcam does have its workaround - I'm wary of using this in Open Camera, as some such camera IDs might have not been exposed for good reason (e.g., it might expose a device that's plain buggy), although potentially I could do so on a case by case basis where I've been able to test this.
To be sure, there is another multi-camera method that Open Camera doesn't yet support (it's on my TODO!) - devices like the Pixel 5 (and I think 6) use the "CONTROL_ZOOM_RATIO" feature, applications that support this will still only see a single camera, but zooming will transition between the various cameras.
To test if the OnePlus 7 Pro (or any device) supports this, try https://play.google.com/store/apps/details?id=com.camera2.test (n.b., not by me) and under "Key mode" select android.control.zoomRatioRange and let me know the value please?
If the first value is less than 1, it suggests the device does support the use of ultra-wide camera for third party camera applications but Open Camera is still to support that; if not, then it really needs OnePlus to allow third party applications to use the extra cameras.
The phone companies usually want to monopoly, and in particular, their camera apps are selling points and they are reluctant to expose the correct number of extra cameras to 3rd party apps.
https://github.com/KillerInk/FreeDcam/issues/118#issuecomment-674483153
Same problem with my LG G8s
Hi Marc, thank you for the brilliant app :-)
My LG G8 has definitely three back cameras plus one front (LM-G810EAW, Hardware Version 1.0, operated with Android 11).
The camera2Test results:
OS Version: 4.14.190-perf+(213310214c7f7.TIM_IT_DS)
OS API Level: 11(30)
Device: betalm
Model (and Product): LM-G810 (betalm_e)
This seems to show only 2 back cameras (and 1 front camera) are available to third party applications.
Hi, again me, The android.control.ZoomRatioRange shows [1.0,10.0] for the LG G8.
Accessible are the F 1.8 ultra wide and the F 4.4 wide cameras. The F 6.0 tele can't be used with open camera.
XIAOMI Mi 11 Lite 5G NE has 3 Rear Cameras (Wide, Normal, Macro) but only one (Normal) can be used with Open Camera. Other third party camera apps are able to select them e.g. GCam Mods. So it should be possible. Would be great if this feature could get added.
Open Camera now supports the CONTROL_ZOOM_RATIO method that I mentioned earlier (so for example, it now supports the multiple cameras on the Pixel 5/6).
Closing this as any cases of multiple cameras not being available seem likely due to be manufacturers not supporting these properly via the Android camera API.