[LG Optimus 4X HD] LGaljo:
camera log

So yesterday I built my own KitKat with camera. Today I pulled logcat from it while trying to start running. When I open it it says "Can't connect to camera". Usually it showed just black screen.

12-25 18:22:22.020 I/ActivityManager(600): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.anddoes.launcher/.Launcher} from pid 600
12-25 18:22:22.100 I/art (715): Heap trim of managed (duration=14.488ms, advised=1032KB) and native (duration=10.473ms, advised=188KB) heaps. Managed heap utilization of 46%.
12-25 18:22:22.110 D/NvOsDebugPrintf(984): NvRmModuleGetNumInstances: Could not read register_sets
12-25 18:22:22.170 I/ActivityManager(984): Timeline: Activity_idle id: android.os.BinderProxy@64945b90 time:5897808
12-25 18:22:22.380 V/Sensors (600): int poll__activate(sensors_poll_device_t*, int, int)
12-25 18:22:22.380 V/Sensors (600): int sensors_poll_context_t::activate(int, int)
12-25 18:22:22.380 D/Sensors (600): Sensor_enable:4 0
12-25 18:22:22.380 V/Sensors (600): enable - sensor Accelerometer (handle 4) en -> dis
12-25 18:22:22.380 V/Sensors (600): enabled_sensors: 0 dmp_started: 1
12-25 18:22:22.380 V/Sensors (600): Stopping DMP
12-25 18:22:22.380 I/Sensors (600): Disabled 9 axis sensor fusion
12-25 18:22:22.380 I/MPL-mldl_cfg_mpu:(600): inv_mpu_suspend(,,,,7fff) -> 0000
12-25 18:22:22.570 I/ActivityManager(600): Timeline: Activity_windows_visible id: ActivityRecord{65055d28 u0 com.anddoes.launcher/.Launcher t1} time:5898206
12-25 18:22:23.760 I/ActivityManager(984): Timeline: Activity_launch_request id:com.android.camera2 time:5899390
12-25 18:22:23.760 I/ActivityManager(600): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera2/com.android.camera.CameraLauncher} from pid 984
12-25 18:22:23.770 D/NvOsDebugPrintf(600): NvRmModuleGetNumInstances: Could not read register_sets
12-25 18:22:23.820 D/NvOsDebugPrintf(600): NvRmModuleGetNumInstances: Could not read register_sets
12-25 18:22:23.860 W/art (155): Could not get current activity
12-25 18:22:23.880 I/ActivityManager(600): Start proc com.android.camera2 for activity com.android.camera2/com.android.camera.CameraLauncher: pid=10076 uid=10031 gids={50031, 1006, 3003, 1028, 1015}
12-25 18:22:24.180 I/art (10076): GcCauseBackground partial concurrent mark sweep GC freed 2244(143KB) AllocSpace objects, 1(36KB) LOS objects, 12% free, 2MB/3MB, paused 5.678ms total 35.063ms
12-25 18:22:24.230 D/AwesomePlayer(159): Before reset_l
12-25 18:22:24.230 D/AwesomePlayer(159): printFileName fd(116) -> /system/app/Camera2.apk
12-25 18:22:24.260 I/OMXNodeInstance(159): OMX_FreeBuffer for buffer header 0x41506de0 successful
12-25 18:22:24.260 I/OMXNodeInstance(159): OMX_FreeBuffer for buffer header 0x41954e30 successful
12-25 18:22:24.260 I/OMXNodeInstance(159): OMX_FreeBuffer for buffer header 0x41954f58 successful
12-25 18:22:24.260 I/OMXNodeInstance(159): OMX_FreeBuffer for buffer header 0x41955080 successful
12-25 18:22:24.290 I/OMXNodeInstance(159): OMX_FreeBuffer for buffer header 0x41506c88 successful
12-25 18:22:24.290 I/OMXNodeInstance(159): OMX_FreeBuffer for buffer header 0x417a3bd8 successful
12-25 18:22:24.300 I/OMXNodeInstance(159): OMX_FreeBuffer for buffer header 0x417a3b08 successful
12-25 18:22:24.300 I/OMXNodeInstance(159): OMX_FreeBuffer for buffer header 0x417a3980 successful
12-25 18:22:24.300 I/OMXNodeInstance(159): OMX_FreeBuffer for buffer header 0x41955028 successful
12-25 18:22:24.300 I/OMXNodeInstance(159): OMX_FreeBuffer for buffer header 0x41954f00 successful
12-25 18:22:24.300 I/OMXNodeInstance(159): OMX_FreeBuffer for buffer header 0x41506f98 successful
12-25 18:22:24.300 I/OMXNodeInstance(159): OMX_FreeBuffer for buffer header 0x41506d28 successful
12-25 18:22:24.300 D/AwesomePlayer(159): Before reset_l
12-25 18:22:24.300 D/AwesomePlayer(159): printFileName fd(116) -> /system/app/Camera2.apk
12-25 18:22:24.320 I/OMXNodeInstance(159): OMX_FreeBuffer for buffer header 0x414ced70 successful
12-25 18:22:24.320 I/OMXNodeInstance(159): OMX_FreeBuffer for buffer header 0x414cef80 successful
12-25 18:22:24.320 I/OMXNodeInstance(159): OMX_FreeBuffer for buffer header 0x419548c8 successful
12-25 18:22:24.320 I/OMXNodeInstance(159): OMX_FreeBuffer for buffer header 0x419549f0 successful
12-25 18:22:24.340 D/NvOmxCamera(159): int android::HAL_getCameraInfo(int, camera_info*) ++
12-25 18:22:24.340 D/NvOmxCamera(159): int android::HAL_getCameraInfo(int, camera_info*) --
12-25 18:22:24.350 D/NvOmxCamera(159): int android::HAL_getCameraInfo(int, camera_info*) ++
12-25 18:22:24.350 D/NvOmxCamera(159): int android::HAL_getCameraInfo(int, camera_info*) --
12-25 18:22:24.360 I/OMXNodeInstance(159): OMX_FreeBuffer for buffer header 0x41953b58 successful
12-25 18:22:24.360 I/OMXNodeInstance(159): OMX_FreeBuffer for buffer header 0x41779bc0 successful
12-25 18:22:24.360 I/OMXNodeInstance(159): OMX_FreeBuffer for buffer header 0x41779af0 successful
12-25 18:22:24.360 I/OMXNodeInstance(159): OMX_FreeBuffer for buffer header 0x41779938 successful
12-25 18:22:24.360 I/OMXNodeInstance(159): OMX_FreeBuffer for buffer header 0x414ceed8 successful
12-25 18:22:24.360 I/OMXNodeInstance(159): OMX_FreeBuffer for buffer header 0x414ceda8 successful
12-25 18:22:24.360 I/OMXNodeInstance(159): OMX_FreeBuffer for buffer header 0x414cec88 successful
12-25 18:22:24.360 I/OMXNodeInstance(159): OMX_FreeBuffer for buffer header 0x4195d940 successful
12-25 18:22:24.380 V/Sensors (600): int poll__setDelay(sensors_poll_device_t*, int, int64_t)
12-25 18:22:24.380 V/Sensors (600): int sensors_poll_context_t::setDelay(int, int64_t)
12-25 18:22:24.380 V/Sensors (600): setDelay - sensor Accelerometer (handle 4), rate 200 ms (5.00 Hz)
12-25 18:22:24.380 V/Sensors (600): int poll__activate(sensors_poll_device_t*, int, int)
12-25 18:22:24.380 V/Sensors (600): int sensors_poll_context_t::activate(int, int)
12-25 18:22:24.380 D/Sensors (600): Sensor_enable:4 1
12-25 18:22:24.380 V/Sensors (600): enable - sensor Accelerometer (handle 4) dis -> en
12-25 18:22:24.380 V/Sensors (600): enabled_sensors: 16 dmp_started: 0
12-25 18:22:24.380 V/Sensors (600): Starting DMP
12-25 18:22:24.380 W/MPL-9_sup(600): 9 axis sensor fusion not available - No compass detected.
12-25 18:22:24.380 I/Sensors (600): Enabled 9 axis sensor fusion
12-25 18:22:24.400 I/MPL-mldl_cfg_mpu:(600): inv_mpu_resume(,,,,0070) -> 0070
12-25 18:22:24.400 V/Sensors (600): int poll__setDelay(sensors_poll_device_t*, int, int64_t)
12-25 18:22:24.400 V/Sensors (600): int sensors_poll_context_t::setDelay(int, int64_t)
12-25 18:22:24.400 V/Sensors (600): setDelay - sensor Accelerometer (handle 4), rate 200 ms (5.00 Hz)
12-25 18:22:24.400 V/Sensors (600): set fifo rate - divider : 39, delay : 200 ms (5.00 Hz)
12-25 18:22:24.400 I/MPL-mldl_cfg_mpu:(600): inv_mpu_suspend(,,,,7fff) -> 0000
12-25 18:22:24.400 I/MPL-fifo(600): Actual ODR: 5000 mHz
12-25 18:22:24.420 I/MPL-mldl_cfg_mpu:(600): inv_mpu_resume(,,,,0070) -> 0070
12-25 18:22:24.420 V/CAM_PhotoModule(10076): On resume.
12-25 18:22:24.420 V/CAM_PhotoModule(10076): Executing onResumeTasks.
12-25 18:22:24.420 V/CAM_PhotoModule(10076): Open camera device.
12-25 18:22:24.430 D/NvOmxCamera(159): int android::HAL_getCameraInfo(int, camera_info*) ++
12-25 18:22:24.430 D/NvOmxCamera(159): int android::HAL_getCameraInfo(int, camera_info*) --
12-25 18:22:24.430 D/NvOmxCamera(159): int android::HAL_getCameraInfo(int, camera_info*) ++
12-25 18:22:24.430 D/NvOmxCamera(159): int android::HAL_getCameraInfo(int, camera_info*) --
12-25 18:22:24.430 V/CameraHolder(10076): open camera 0
12-25 18:22:24.430 W/CameraService(159): CameraService::connect X (pid 10076) rejected (existing client).
12-25 18:22:24.430 W/CameraBase(10076): An error occurred while connecting to camera: 0
12-25 18:22:24.440 E/CameraHolder(10076): fail to connect Camera:-1, aborting.
12-25 18:22:24.440 E/CAM_PhotoModule(10076): Failed to open camera:0
12-25 18:22:24.520 D/libEGL (10076): loaded /system/lib/egl/libEGL_tegra.so
12-25 18:22:24.540 D/libEGL (10076): loaded /system/lib/egl/libGLESv1_CM_tegra.so
12-25 18:22:24.540 D/NvOsDebugPrintf(10076): NvRmModuleGetNumInstances: Could not read register_sets
12-25 18:22:24.540 D/NvOsDebugPrintf(10076): NvRmModuleGetNumInstances: Could not read register_sets
12-25 18:22:24.550 D/libEGL (10076): loaded /system/lib/egl/libGLESv2_tegra.so
12-25 18:22:24.590 D/NvOsDebugPrintf(10076): NvRmModuleGetNumInstances: Could not read register_sets
12-25 18:22:24.610 D/NvOsDebugPrintf(10076): NvRmModuleGetNumInstances: Could not read register_sets
12-25 18:22:24.620 D/NvOsDebugPrintf(10076): NvRmModuleGetNumInstances: Could not read register_sets
12-25 18:22:24.630 D/OpenGLRenderer(10076): Enabling debug mode 0
12-25 18:22:24.710 V/CAM_UI (10076): SurfaceTexture ready.
12-25 18:22:24.780 I/ActivityManager(600): Displayed com.android.camera2/com.android.camera.CameraLauncher: +932ms
12-25 18:22:24.780 I/ActivityManager(600): Timeline: Activity_windows_visible id: ActivityRecord{652602a0 u0 com.android.camera2/com.android.camera.CameraLauncher t21} time:5900417
12-25 18:22:24.790 I/ActivityManager(10076): Timeline: Activity_idle id: android.os.BinderProxy@64945300 time:5900428
12-25 18:22:25.380 D/NvOsDebugPrintf(9196): NvRmModuleGetNumInstances: Could not read register_sets
12-25 18:22:28.880 D/NvOsDebugPrintf(9196): NvRmModuleGetNumInstances: Could not read register_sets
12-25 18:22:30.840 D/NvOsDebugPrintf(600): NvRmModuleGetNumInstances: Could not read register_sets
12-25 18:22:30.900 V/Sensors (600): int poll__activate(sensors_poll_device_t*, int, int)
12-25 18:22:30.900 V/Sensors (600): int sensors_poll_context_t::activate(int, int)
12-25 18:22:30.900 D/Sensors (600): Sensor_enable:4 0
12-25 18:22:30.900 V/Sensors (600): enable - sensor Accelerometer (handle 4) en -> dis
12-25 18:22:30.900 V/Sensors (600): enabled_sensors: 0 dmp_started: 1
12-25 18:22:30.900 V/Sensors (600): Stopping DMP
12-25 18:22:30.900 I/Sensors (600): Disabled 9 axis sensor fusion
12-25 18:22:30.910 I/MPL-mldl_cfg_mpu:(600): inv_mpu_suspend(,,,,7fff) -> 0000
12-25 18:22:30.920 V/CAM_PhotoModule(10076): On pause.
12-25 18:22:30.920 V/CAM_PhotoModule(10076): Close camera device.
12-25 18:22:30.970 D/NvOsDebugPrintf(984): NvRmModuleGetNumInstances: Could not read register_sets
12-25 18:22:31.040 I/ActivityManager(984): Timeline: Activity_idle id: android.os.BinderProxy@64945b90 time:5906672
12-25 18:22:31.040 W/CAM_UI (10076): SurfaceTexture destroyed
12-25 18:22:31.040 W/InputMethodManagerService(600): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@6522cf88 attribute=null, token = android.os.BinderProxy@651f7128
12-25 18:22:31.440 I/ActivityManager(600): Timeline: Activity_windows_visible id: ActivityRecord{65055d28 u0 com.anddoes.launcher/.Launcher t1} time:5907079
12-25 18:22:31.860 I/ActivityManager(984): Timeline: Activity_launch_request id:com.nolanlawson.logcat time:5907491
12-25 18:22:31.860 I/ActivityManager(600): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.nolanlawson.logcat/.LogcatActivity} from pid 984
12-25 18:22:31.900 V/PhoneStatusBar(715): setLightsOn(true)
12-25 18:22:31.990 W/InputMethodManagerService(600): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@64adcf28 (uid=10102 pid=984)
12-25 18:22:32.140 I/ActivityManager(9196): Timeline: Activity_idle id: android.os.BinderProxy@64945320 time:5907779
12-25 18:22:32.380 I/ActivityManager(600): Timeline: Activity_windows_visible id: ActivityRecord{652cab40 u0 com.nolanlawson.logcat/.LogcatActivity t15} time:5908013
12-25 18:22:35.900 W/ProcessCpuTracker(600): Skipping unknown process pid 10145