Z11 mk9 "Failed to open camera. Maybe it is used by other application"

Z11 mk9 "Failed to open camera. Maybe it is used by other application"
3.0 1

Problem: I cannot open any camera application (the one included, open camera or the WhatsApp video call). The Camera app chrases, the open camera says “Failed to open camera”. Maybe it is used by other application and whatsapp shows a similar message
MK version: MK90.0-nx531j-201905180951-NIGHTLY. It happend with the previous ROM version one as well.
Steps: Reboot the device, just access to “desktop”, and click on any Camera application. I test them in different order.
Is there any way to check what is happening?

Add dmesg information. I hope it helps
[0mNX531J:/ # dmesg | grep camera
dmesg | grep camera
[ 3.641042] init: Parsing file /system/etc/init/cameraserver.rc…
[ 3.667523] init: Parsing file /vendor/etc/init/android.hardware.camera.provider@2.4-service.rc…
[ 6.448321] init: starting service ‘vendor.camera-provider-2-4’…
[ 7.119359] init: starting service ‘cameraserver’…
[ 7.291881] init: Received control message ‘interface_start’ for ‘android.hardware.camera.provider@2.4::ICameraProvider/legacy/0’ from pid: 467 (/system/bin/hwservicemanager)
[ 7.291921] init: Could not find service hosting interface android.hardware.camera.provider@2.4::ICameraProvider/legacy/0
[ 7.292168] init: Received control message ‘interface_start’ for ‘android.hardware.camera.provider@2.4::ICameraProvider/legacy/0’ from pid: 467 (/system/bin/hwservicemanager)
[ 7.292197] init: Could not find service hosting interface android.hardware.camera.provider@2.4::ICameraProvider/legacy/0
[ 16.827753] init: Received control message ‘interface_start’ for ‘android.hardware.camera.provider@2.4::ICameraProvider/external/0’ from pid: 467 (/system/bin/hwservicemanager)
[ 16.827810] init: Could not find service hosting interface android.hardware.camera.provider@2.4::ICameraProvider/external/0
[ 66.044948] init: Sending signal 9 to service ‘cameraserver’ (pid 592) process group…
[ 66.236252] init: Service ‘cameraserver’ (pid 592) received signal 9
[ 68.399675] init: starting service ‘cameraserver’…
[ 68.707418] init: starting service ‘qcamerasvr’…
[ 69.388304] init: Received control message ‘interface_start’ for ‘android.hardware.camera.provider@2.4::ICameraProvider/external/0’ from pid: 467 (/system/bin/hwservicemanager)
[ 69.388331] init: Could not find service hosting interface android.hardware.camera.provider@2.4::ICameraProvider/external/0

I did format the partition, brush again the ROM, and now the camera is working. Since I had encrypted the phone before, I think the issue was related to that.

regards

1 Like

该主题在最后一个回复创建后30天后自动关闭。不再允许新的回复。