Gcam stopped working after updating to 2.1, too many and broken cameras in Open Camera
- /e/ version: 2.1
- Device model(s): FP5
- Developer mode enabled: yes
- Device rooted: yes
- Trackers blocker enabled: yes
Summary
After updating my FP5 from 1.21 to 2.0 and directly to 2.1 my Google Camera port (gcam) stopped working. It crashes immediately at the start, see logs below. With 1.21 (and some older versions) it worked great. The /e/ camera app works as expected but the image quality is just as bad as we know from FP ;-)
Then I tried to use the Open Camera from F-Droid which offers 5 possible cameras on the back, while the wide angle is there at least twice and one camera (No 4, maybe another wide angle) just delivers a distorted image of the most right edge of the camera.
I'm not sure if this issue is related to #8104 but I can reproduce the RAW issue with the default /e/ camera app.
The problem
Steps to reproduce Update /e/ to 2.1 and try to use Open Camera or a gcam port
What is the current behavior? gcam crashes with "Camera Hardware failure: One or more cameras may not have been enumerated"
What is the expected correct behavior? Both apps should start and only offer the available cameras
Technical informations
Relevant logs (adb logcat
)
07-08 21:03:01.019 1655 3707 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.MGC_9_2_113/com.android.camera.CameraLauncher bnds=[133,1139][309,1315]} from uid 10266
07-08 21:03:01.047 24638 24638 E WARNING!!!: Cannot start the Google Camera on an unsupported device
07-08 21:03:01.047 24638 24638 E oid.MGC_9_2_113: Invalid ID 0x00000000.
07-08 21:03:01.052 24638 24702 W CAM_ActivityStartup: Initialization failed! One of the tasks did not succeed.
07-08 21:03:01.052 24638 24700 E CAM_fuy : Camera Hardware failure:
07-08 21:03:01.052 24638 24700 E CAM_fuy : java.lang.Exception
07-08 21:03:01.052 24638 24700 E CAM_fuy : at fuy.e(Unknown Source:342)
07-08 21:03:01.052 24638 24700 E CAM_fuy : at fva.e(Unknown Source:61)
07-08 21:03:01.052 24638 24700 E CAM_fuy : at eds.run(Unknown Source:1202)
07-08 21:03:01.052 24638 24700 E CAM_fuy : at due.run(Unknown Source:195)
07-08 21:03:01.052 24638 24700 E CAM_fuy : at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:463)
07-08 21:03:01.052 24638 24700 E CAM_fuy : at qge.a(Unknown Source:20)
07-08 21:03:01.052 24638 24700 E CAM_fuy : at qfk.run(Unknown Source:444)
07-08 21:03:01.052 24638 24700 E CAM_fuy : at qgf.run(Unknown Source:46)
07-08 21:03:01.052 24638 24700 E CAM_fuy : at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:463)
07-08 21:03:01.052 24638 24700 E CAM_fuy : at java.util.concurrent.FutureTask.run(FutureTask.java:264)
07-08 21:03:01.052 24638 24700 E CAM_fuy : at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307)
07-08 21:03:01.052 24638 24700 E CAM_fuy : at mpy.run(Unknown Source:24)
07-08 21:03:01.052 24638 24700 E CAM_fuy : at mpx.run(Unknown Source:134)
07-08 21:03:01.052 24638 24700 E CAM_fuy : at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
07-08 21:03:01.052 24638 24700 E CAM_fuy : at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
07-08 21:03:01.052 24638 24700 E CAM_fuy : at java.lang.Thread.run(Thread.java:1012)
07-08 21:03:01.052 24638 24700 E CAM_fuy : at mpb.run(Unknown Source:8)
07-08 21:03:01.053 24638 24700 E CAM_fuy : Activity received a fatal error. Finishing activity: Camera Hardware failure: One or more cameras may not have been enumerated
07-08 21:03:01.053 24638 24700 E CAM_fuy : java.lang.Exception
07-08 21:03:01.053 24638 24700 E CAM_fuy : at fuy.e(Unknown Source:342)
07-08 21:03:01.053 24638 24700 E CAM_fuy : at fva.e(Unknown Source:61)
07-08 21:03:01.053 24638 24700 E CAM_fuy : at eds.run(Unknown Source:1202)
07-08 21:03:01.053 24638 24700 E CAM_fuy : at due.run(Unknown Source:195)
07-08 21:03:01.053 24638 24700 E CAM_fuy : at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:463)
07-08 21:03:01.053 24638 24700 E CAM_fuy : at qge.a(Unknown Source:20)
07-08 21:03:01.053 24638 24700 E CAM_fuy : at qfk.run(Unknown Source:444)
07-08 21:03:01.053 24638 24700 E CAM_fuy : at qgf.run(Unknown Source:46)
07-08 21:03:01.053 24638 24700 E CAM_fuy : at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:463)
07-08 21:03:01.053 24638 24700 E CAM_fuy : at java.util.concurrent.FutureTask.run(FutureTask.java:264)
07-08 21:03:01.053 24638 24700 E CAM_fuy : at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307)
07-08 21:03:01.053 24638 24700 E CAM_fuy : at mpy.run(Unknown Source:24)
07-08 21:03:01.053 24638 24700 E CAM_fuy : at mpx.run(Unknown Source:134)
07-08 21:03:01.053 24638 24700 E CAM_fuy : at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
07-08 21:03:01.053 24638 24700 E CAM_fuy : at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
07-08 21:03:01.053 24638 24700 E CAM_fuy : at java.lang.Thread.run(Thread.java:1012)
07-08 21:03:01.053 24638 24700 E CAM_fuy : at mpb.run(Unknown Source:8)
07-08 21:03:01.071 24638 24638 E oid.MGC_9_2_113: Invalid ID 0x00000000.
07-08 21:03:01.071 24638 24638 E oid.MGC_9_2_113: Invalid ID 0x00000000.
07-08 21:03:01.071 24638 24638 E oid.MGC_9_2_113: Invalid ID 0x00000000.
07-08 21:03:01.071 24638 24638 E oid.MGC_9_2_113: Invalid ID 0x00000000.
07-08 21:03:01.073 24638 24638 E oid.MGC_9_2_113: Invalid ID 0x00000000.
07-08 21:03:01.079 24638 24638 E oid.MGC_9_2_113: Invalid ID 0x00000000.
07-08 21:03:01.082 24638 24638 E oid.MGC_9_2_113: Invalid ID 0x00000000.
07-08 21:03:01.082 24638 24638 E oid.MGC_9_2_113: Invalid ID 0x00000000.
07-08 21:03:01.087 24638 24702 W CAM_ActivityUiStartup: Initialization failed! One of the tasks did not succeed.
Camera information from Device Info HW:
Relevant screenshots
Solutions
Workaround