Jump to content

Camera always detected as in use. Pro1 on LineageOS 18.1


Recommended Posts

I'm currently running LineageOS 18.1 on my Pro1 (19.1 has always had broken dual SIM support). Camera stopped working for me about a month ago. The flashlight applet is grayed out and says "Camera in use". The LineageOS camera only uses the front-facing camera. GCam crashes. There are some camera-related errors during boot:

05-01 06:29:44.568     0     0 I iommu   : Adding device soc:qcom,cam_smmu:msm_cam_smmu_cb1 to group 14
05-01 06:29:44.569     0     0 E CAM-SMMU cam_smmu_populate_sids: 2331 __debug cnt = 8, cb->name: :vfe sid [0] = 3072
05-01 06:29:44.569     0     0 E         : ,
05-01 06:29:44.569     0     0 E CAM-SMMU cam_smmu_populate_sids: 2331 __debug cnt = 8, cb->name: :vfe sid [1] = 3073
05-01 06:29:44.569     0     0 E ,CAM-SMMU cam_smmu_populate_sids: 2331 __debug cnt = 8, cb->name: :vfe sid [2] = 3074
05-01 06:29:44.569     0     0 E         : ,
05-01 06:29:44.569     0     0 E CAM-SMMU cam_smmu_populate_sids: 2331 __debug cnt = 8, cb->name: :vfe sid [3] = 3075
05-01 06:29:44.569     0     0 E         : ,
05-01 06:29:44.569     0     0 I iommu   : Adding device soc:qcom,cam_smmu:msm_cam_smmu_cb2 to group 15
05-01 06:29:44.569     0     0 E CAM-SMMU cam_smmu_populate_sids: 2331 __debug cnt = 2, cb->name: :cpp sid [0] = 2560
05-01 06:29:44.569     0     0 E         : ,
05-01 06:29:44.569     0     0 I iommu   : Adding device soc:qcom,cam_smmu:msm_cam_smmu_cb3 to group 16
05-01 06:29:44.569     0     0 E CAM-SMMU cam_smmu_populate_sids: 2331 __debug cnt = 2, cb->name: :camera_fd sid [0] = 2561
05-01 06:29:44.569     0     0 E         : ,
05-01 06:29:44.569     0     0 I iommu   : Adding device soc:qcom,cam_smmu:msm_cam_smmu_cb4 to group 17
05-01 06:29:44.569     0     0 E CAM-SMMU cam_smmu_populate_sids: 2331 __debug cnt = 2, cb->name: :jpeg_enc0 sid [0] = 2048
05-01 06:29:44.569     0     0 E         : ,
05-01 06:29:44.569     0     0 I iommu   : Adding device soc:qcom,cam_smmu:msm_cam_smmu_cb5 to group 18
05-01 06:29:44.569     0     0 E CAM-SMMU cam_smmu_populate_sids: 2331 __debug cnt = 2, cb->name: :jpeg_dma sid [0] = 2049
05-01 06:29:44.569     0     0 E         : ,
05-01 06:29:44.576     0     0 E CAM-SOC msm_camera_get_reg_base: 864 err: mem resource csiphy_clk_mux not found
05-01 06:29:44.576     0     0 E csiphy_probe: no mem resource?
05-01 06:29:44.577     0     0 E CAM-SOC msm_camera_get_reg_base: 864 err: mem resource csiphy_clk_mux not found
05-01 06:29:44.577     0     0 E csiphy_probe: no mem resource?
05-01 06:29:44.578     0     0 E CAM-SOC msm_camera_get_reg_base: 864 err: mem resource csiphy_clk_mux not found
05-01 06:29:44.578     0     0 E csiphy_probe: no mem resource?

and also

05-01 06:29:56.106   800   800 I mm-camera: < INFO> 440: init: memleak tracer not attached
05-01 06:29:56.110   800   800 I mm-camera: <SENSOR>< INFO> 387: eebin_read: failed!
05-01 06:29:56.110   800   800 I mm-camera: <SENSOR>< INFO> 387: eebin_read: failed!
05-01 06:29:56.110   800   800 I mm-camera: <SENSOR>< INFO> 589: sensor_init_probe: opening: /dev/v4l-subdev14
05-01 06:29:56.110   800   800 I mm-camera: <SENSOR>< INFO> 598: sensor_init_probe: failed: to probe eeprom bin sensors (non-fatal)
05-01 06:29:56.117   800   800 E mm-camera: <SENSOR><ERROR> 362: sensor_load_library: dlopen of libmmcamera_s5k3p9sx.so failed NULL handle
05-01 06:29:56.117   800   800 E mm-camera: <SENSOR><ERROR> 193: sensor_probe: sensor_load_library failed (non-fatal). Trying to load binary
05-01 06:29:56.117   800   800 E mm-camera: <SENSOR><ERROR> 301: sensor_load_binary: failed NULL pointer detected fp
05-01 06:29:56.117   800   800 E mm-camera: <SENSOR><ERROR> 196: sensor_probe: sensor_load_binary failed
05-01 06:29:56.117   800   800 I mm-camera: <SENSOR>< INFO> 399: sensor_init_xml_probe: failed: to probe s5k3p9sx
05-01 06:29:56.123   800   800 I mm-camera: <SENSOR>< INFO> 312: sensor_sdk_util_get_i2c_freq_mode: Invalid i2c_freq_mode = 4
05-01 06:29:56.123   800   800 E mm-camera: <SENSOR><ERROR> 457: translate_sensor_slave_info: Invalid position = 0
05-01 06:29:56.382   800   800 I mm-camera: <SENSOR>< INFO> 246: sensor_probe: [imx363]CFG_SINIT_PROBE failed
05-01 06:29:56.382   800   800 I mm-camera: <SENSOR>< INFO> 399: sensor_init_xml_probe: failed: to probe imx363
05-01 06:29:56.384   800   800 E mm-camera: <SENSOR><ERROR> 362: sensor_load_library: dlopen of libmmcamera_s5k5e9yu05.so failed NULL handle
05-01 06:29:56.384   800   800 E mm-camera: <SENSOR><ERROR> 193: sensor_probe: sensor_load_library failed (non-fatal). Trying to load binary
05-01 06:29:56.384   800   800 E mm-camera: <SENSOR><ERROR> 301: sensor_load_binary: failed NULL pointer detected fp
05-01 06:29:56.384   800   800 E mm-camera: <SENSOR><ERROR> 196: sensor_probe: sensor_load_binary failed
05-01 06:29:56.384   800   800 I mm-camera: <SENSOR>< INFO> 399: sensor_init_xml_probe: failed: to probe s5k5e9yu05
05-01 06:29:56.642   800   800 I mm-camera: <SENSOR>< INFO> 312: sensor_sdk_util_get_i2c_freq_mode: Invalid i2c_freq_mode = 4
05-01 06:29:57.182   800   800 I mm-camera: <SENSOR>< INFO> 312: sensor_sdk_util_get_i2c_freq_mode: Invalid i2c_freq_mode = 4
05-01 06:29:57.952   800   800 I mm-camera: <SENSOR>< INFO> 246: sensor_probe: [s5k4h7]CFG_SINIT_PROBE failed
05-01 06:29:57.952   800   800 I mm-camera: <SENSOR>< INFO> 399: sensor_init_xml_probe: failed: to probe s5k4h7
05-01 06:29:58.042   800   800 I mm-camera: <SENSOR>< INFO> 312: sensor_sdk_util_get_i2c_freq_mode: Invalid i2c_freq_mode = 4

Here's the logcat, grepped by camera: https://dpaste.com/8YKUD972C

Has anyone encountered such a problem before?

I'm obviously going to try a full reflash so as to rule out a software issue, so: is there any way to make a full-device backup of the LineageOS install that could be easily restored? Normally, one uses TWRP to do it, but AFAIK TWRP for the Pro1 is only compatible with SFOS.

Edited by EskeRahn
Clarifyied title.
Link to post
Share on other sites
  • EskeRahn changed the title to Camera always detected as in use. Pro1 on LineageOS 18.1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms