FP3+ : CameraController2: camera failed to open
- /e/ version: e-1.0-q-20220525188573-stable-FP3
- Device model(s): ~"FP3/FP3+"
- Device rooted: no
Summary
CameraController2: camera failed to open
The problem
Steps to reproduce
- Launch the camera app.
What is the current behavior?
- Failed to open camera.
What is the expected correct behavior?
- Camera should launch successfully.
Technical informations
Relevant logs (adb logcat
)
05-26 19:05:44.324 687 1287 E mm-camera: <MCT ><ERROR> 510: mct_controller_proc_serv_msg: Timedout in processing HAL command type =0
05-26 19:05:44.325 687 1287 E mm-camera: <SHIM ><ERROR> 404: mct_shimlayer_reg_buffer: Buffer reg/unreg request failed
05-26 19:05:44.325 687 1287 E mm-camera: <SHIM ><ERROR> 498: mct_shimlayer_process_event: Failed to process HAL buf reg command
05-26 19:05:44.328 687 1287 I QCamera : <HAL><INFO> closeCamera: 1333: [KPI Perf]: E PROFILE_CLOSE_CAMERA camera id 0
05-26 19:05:44.417 864 1854 E CameraService: CameraService::connect (PID -1) rejected (too many other clients connecting).
05-26 19:05:44.420 9860 9911 E CameraController2: camera error: 2
05-26 19:05:44.421 9860 9911 E CameraController2: onError
05-26 19:05:44.421 9860 9901 E CameraController2: camera failed to open
05-26 19:05:44.421 9860 9901 W System.err: net.sourceforge.opencamera.cameracontroller.CameraControllerException
05-26 19:05:44.422 9860 9901 W System.err: at net.sourceforge.opencamera.cameracontroller.CameraController2.<init>(CameraController2.java:1996)
05-26 19:05:44.422 9860 9901 W System.err: at net.sourceforge.opencamera.preview.Preview.openCameraCore(Preview.java:1590)
05-26 19:05:44.422 9860 9901 W System.err: at net.sourceforge.opencamera.preview.Preview.access$1000(Preview.java:109)
05-26 19:05:44.422 9860 9901 W System.err: at net.sourceforge.opencamera.preview.Preview$1.doInBackground(Preview.java:1494)
05-26 19:05:44.422 9860 9901 W System.err: at net.sourceforge.opencamera.preview.Preview$1.doInBackground(Preview.java:1487)
05-26 19:05:44.422 9860 9901 W System.err: at android.os.AsyncTask$3.call(AsyncTask.java:378)
05-26 19:05:44.422 9860 9901 W System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
05-26 19:05:44.422 9860 9901 W System.err: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289)
05-26 19:05:44.422 9860 9901 W System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
05-26 19:05:44.422 9860 9901 W System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
05-26 19:05:44.423 9860 9901 W System.err: at java.lang.Thread.run(Thread.java:919)
05-26 19:05:44.434 9860 9947 I TextToSpeech: Set up connection to ComponentInfo{com.reecedunn.espeak/com.reecedunn.espeak.TtsService}
05-26 19:05:48.493 1594 1628 E LightsService: Light requested not available on this device. 2
05-26 19:05:49.871 1594 1694 E LightsService: Light requested not available on this device. 2
05-26 19:05:50.328 687 1287 E mm-camera: <MCT ><ERROR> 510: mct_controller_proc_serv_msg: Timedout in processing HAL command type =0
05-26 19:05:50.328 687 1287 E mm-camera: <SHIM ><ERROR> 404: mct_shimlayer_reg_buffer: Buffer reg/unreg request failed
05-26 19:05:50.328 687 1287 E mm-camera: <SHIM ><ERROR> 498: mct_shimlayer_process_event: Failed to process HAL buf reg command
Full logs : fp3+_camera_not_working.log
Relevant screenshots
Solutions
Workaround
Possible fixes