marmistrz 93 Posted January 16, 2023 Share Posted January 16, 2023 (edited) 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 January 17, 2023 by EskeRahn Clarifyied title. Quote Link to post Share on other sites
Rob. S. 1,643 Posted January 17, 2023 Share Posted January 17, 2023 Connector problem, perhaps? 1 Quote Link to post Share on other sites
marmistrz 93 Posted January 17, 2023 Author Share Posted January 17, 2023 1 hour ago, Rob. S. said: Connector problem, perhaps? Yes, that did the trick for me, thank you so much! 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.