[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] gavron:
When I attempt to record a video the video applications immediately die. OpenCamera appears to work but then on "stop" says "FAILED TO OPEN CAMERA. CAMERA MAY BE IN USE BY ANOTHER APPLICATION? The Logcat below is from Moto Camera and also suggests a similar issue.

Turning off SELinux had no effect (setenforce 0).

XT1644 LOS 14.1-20170323-UNOFFICIAL-athene

04-17 16:24:18.192 461 21690 E QCamera2HWI: static void *qcamera::QCameraCbNotifier::cbNotifyRoutine(void *) : cb message type 32768 not enabled!

04-17 16:24:18.193 461 21690 E QCamera2HWI: static void *qcamera::QCameraCbNotifier::cbNotifyRoutine(void *) : cb message type 32768 not enabled!

04-17 16:24:19.314 461 21655 I QCamera2HWI: getParameters all

04-17 16:24:19.322 21615 21615 E AndroidRuntime: Process: com.motorola.cameraone, PID: 21615

04-17 16:24:19.322 21615 21615 E AndroidRuntime:	at com.motorola.camera.fsm.actions.VideoCameraActions.muteNotifications(VideoCameraActions.java:1475)

04-17 16:24:19.322 21615 21615 E AndroidRuntime:	at com.motorola.camera.fsm.actions.VideoCameraActions$StartCaptureOnEntry.performAction(VideoCameraActions.java:588)

04-17 16:24:19.322 21615 21615 E AndroidRuntime:	at com.motorola.camera.fsm.CameraFSM.transition(CameraFSM.java:254)

04-17 16:24:19.322 21615 21615 E AndroidRuntime:	at com.motorola.camera.fsm.States.handleTransition(States.java:6127)

04-17 16:24:19.322 21615 21615 E AndroidRuntime:	at com.motorola.camera.fsm.States.-wrap0(States.java)

04-17 16:24:19.322 21615 21615 E AndroidRuntime:	at com.motorola.camera.fsm.States$74.doHandleEvent(States.java:2830)

04-17 16:24:19.322 21615 21615 E AndroidRuntime:	at com.motorola.camera.fsm.States.handleEvent(States.java:6207)

04-17 16:24:19.322 21615 21615 E AndroidRuntime:	at com.motorola.camera.fsm.CameraFSM.handleEvent(CameraFSM.java:352)

04-17 16:24:19.322 21615 21615 E AndroidRuntime:	at com.motorola.camera.fsm.actions.BaseActions$1.handleMessage(BaseActions.java:28)

04-17 16:24:19.324 461 461 I QCameraHalWatchdog: Starting Watchdog Thread...

04-17 16:24:19.325 461 21655 I QCameraParameters: Requested preview size 1280 x 720

04-17 16:24:19.326 461 21655 I QCameraParameters: Requested picture size 4608 x 2592

04-17 16:24:19.326 461 21655 D QCameraParameters: updateFovParams: (4608x3456) is (64.800003/51.200001), (4608x2592) is (64.800003/39.500000)

04-17 16:24:19.326 461 21655 I QCameraParameters: int32_t qcamera::QCameraParameters::setZslMode(const qcamera::QCameraParameters &): enabled: 1

04-17 16:24:19.330 461 461 I QCameraHalWatchdog: Stopped Watchdog Thread (5ms)[set_parameters]

04-17 16:24:19.331 461 21655 I QCamera2HWI: getParameters all

04-17 16:24:19.333 1095 21828 W ActivityManager: Force finishing activity com.motorola.cameraone/com.motorola.camera.Camera

04-17 16:24:19.340 461 3343 E CameraClient: setVideoBufferMode: 541: videoBufferMode 2 is not supported.

04-17 16:24:19.341 461 16102 I QCameraHalWatchdog: Starting Watchdog Thread...

04-17 16:24:19.346 461 16102 I QCameraHalWatchdog: Stopped Watchdog Thread (0ms)[store_meta_data_in_buffers]

04-17 16:24:19.398 2217 21685 E mm-camera: iface_util_set_cds_mode: set HAL CDS mode = 0

04-17 16:24:19.443 1095 24490 I WindowManager: WIN DEATH: Window{3fcc21f u0 SurfaceView - com.motorola.cameraone/com.motorola.camera.Camera}

04-17 16:24:19.448 1095 8273 I ActivityManager: Process com.motorola.cameraone (pid 21615) has died

04-17 16:24:19.452 461 21775 E QCameraHWI_Mem: int32_t qcamera::QCameraGrallocMemory::enqueueBuffer(uint32_t, nsecs_t): enqueue_buffer failed, err = -32

04-17 16:24:19.452 461 21775 E QCamera2HWI: static void qcamera::QCamera2HardwareInterface::synchronous_stream_cb_routine(mm_camera_super_buf_t *, qcamera::QCameraStream *, void *): Enqueue Buffer failed

04-17 16:24:19.452 468 3522 I CameraSource: Camera recording proxy died

04-17 16:24:19.453 461 21775 E QCameraHWI_Mem: int32_t qcamera::QCameraGrallocMemory::enqueueBuffer(uint32_t, nsecs_t): enqueue_buffer failed, err = -32

04-17 16:24:19.453 461 21775 E QCamera2HWI: static void qcamera::QCamera2HardwareInterface::synchronous_stream_cb_routine(mm_camera_super_buf_t *, qcamera::QCameraStream *, void *): Enqueue Buffer failed

04-17 16:24:19.453 461 21775 E QCameraHWI_Mem: int32_t qcamera::QCameraGrallocMemory::enqueueBuffer(uint32_t, nsecs_t): enqueue_buffer failed, err = -32

04-17 16:24:19.453 461 21775 E QCamera2HWI: static void qcamera::QCamera2HardwareInterface::synchronous_stream_cb_routine(mm_camera_super_buf_t *, qcamera::QCameraStream *, void *): Enqueue Buffer failed

04-17 16:24:19.454 461 461 I QCameraHalWatchdog: Starting Watchdog Thread...

04-17 16:24:19.456 1095 24489 I WindowManager: WIN DEATH: Window{2800072 u0 com.motorola.cameraone/com.motorola.camera.Camera}

04-17 16:24:19.457 461 461 I QCamera2HWI: [KPI Perf] static void qcamera::QCamera2HardwareInterface::stop_preview(struct camera_device *): E PROFILE_STOP_PREVIEW camera id 0

04-17 16:24:19.460 2217 21684 D mm-camera: mct: mct_pipeline_process_set: STREAM-OFF on stream 0x10004 stream type=1

04-17 16:24:19.460 2217 21684 I mm-camera: module_sensor_module_process_event:5029ide 10004 MCT_EVENT_CONTROL_STREAMOFF

04-17 16:24:19.460 2217 21684 I mm-camera: module_sensor_stream_off:4800ide 10004 MCT_EVENT_CONTROL_STREAMOFF

04-17 16:24:19.464 2217 21668 E mm-camera-CORE: stats_port_handle_stats_data skip stats, 0 stream

04-17 16:24:19.471 2217 21684 D mm-camera: cpp_module_handle_streamoff_event:3673, info: doing stream-off for identity 0x10004

04-17 16:24:19.472 2217 21668 E mm-camera-CORE: stats_port_handle_stats_data skip stats, 0 stream

04-17 16:24:19.479 2217 21673 E mm-camera: :cpp_hardware_set_clock:356 Set clock 133330000 BW abg 0 BW inst 0

04-17 16:24:19.479 2217 21684 D mm-camera: cpp_hardware_process_streamoff:768, skip_iden:0x10002, duplicate_stream_status:0x0

04-17 16:24:19.480 2217 21684 D mm-camera: cpp_module_handle_streamoff_event:3852, info: stream-off done for identity 0x10004

04-17 16:24:19.486 2217 21684 E mm-camera: iface_streamoff_to_thread: E, session id = 1, user stream id = 4

04-17 16:24:19.487 2217 21663 E mm-camera: iface_streamoff: E, session_id 1 mct_stream_id = 4

04-17 16:24:19.487 2217 21663 E mm-camera: iface_util_decide_hw_streams: num_user_streams 1 num_hw_streams 1

04-17 16:24:19.488 2217 21663 E mm-camera: iface_util_decide_hw_streams: num_user_streams 1 num_hw_streams 1

04-17 16:24:19.493 2217 21783 E mm-camera: iface_axi_cfg_stats_stream_stop: stats_cmd: enable = 0, num of stats stream = 7

04-17 16:24:19.496 2217 21785 E mm-camera: iface_axi_cfg_stats_stream_stop: stats_cmd: enable = 0, num of stats stream = 7

04-17 16:24:19.497 2217 21663 E mm-camera: iface_ispif_get_cfg_params_from_hw_streams: config hw_stream id = 10002 use_pix 1, vfe_intf_mask 10001, axi_path 1, num_cid 1

04-17 16:24:19.498 2217 21663 E mm-camera: iface_ispif_get_cfg_params_from_hw_streams: config hw_stream id = 90002 use_pix 0, vfe_intf_mask 2, axi_path 5, num_cid 1

04-17 16:24:19.504 2217 21663 E mm-camera: iface_streamoff: session_id = 1, active_streams = 0

04-17 16:24:19.506 2217 21783 E mm-camera: iface_axi_stats_stream_unconfig: release stats stream id 80010003, handle 504

04-17 16:24:19.506 2217 21783 E mm-camera: iface_axi_stats_stream_unconfig: release stats stream id 80010004, handle 605

04-17 16:24:19.506 2217 21783 E mm-camera: iface_axi_stats_stream_unconfig: release stats stream id 80010005, handle 806

04-17 16:24:19.506 2217 21783 E mm-camera: iface_axi_stats_stream_unconfig: release stats stream id 80010007, handle 201

04-17 16:24:19.506 2217 21783 E mm-camera: iface_axi_stats_stream_unconfig: release stats stream id 80010008, handle 302

04-17 16:24:19.506 2217 21783 E mm-camera: iface_axi_stats_stream_unconfig: release stats stream id 80010009, handle 400

04-17 16:24:19.506 2217 21783 E mm-camera: iface_axi_stats_stream_unconfig: release stats stream id 8001000a, handle 707

04-17 16:24:19.510 2217 21785 E mm-camera: iface_axi_stats_stream_unconfig: release stats stream id 80010003, handle 504

04-17 16:24:19.510 2217 21785 E mm-camera: iface_axi_stats_stream_unconfig: release stats stream id 80010004, handle 605

04-17 16:24:19.510 2217 21785 E mm-camera: iface_axi_stats_stream_unconfig: release stats stream id 80010005, handle 806

04-17 16:24:19.511 2217 21785 E mm-camera: iface_axi_stats_stream_unconfig: release stats stream id 80010007, handle 201

04-17 16:24:19.511 2217 21785 E mm-camera: iface_axi_stats_stream_unconfig: release stats stream id 80010008, handle 302

04-17 16:24:19.511 2217 21785 E mm-camera: iface_axi_stats_stream_unconfig: release stats stream id 80010009, handle 400

04-17 16:24:19.511 2217 21785 E mm-camera: iface_axi_stats_stream_unconfig: release stats stream id 8001000a, handle 707

04-17 16:24:19.512 2217 21663 E mm-camera: iface_util_release_resource: camif_cnt= 1 rdi_cnt= 1 used mask 10003

04-17 16:24:19.512 2217 21663 E mm-camera: iface_util_release_resource: camif_cnt= 0 rdi_cnt= 1 used mask 0

04-17 16:24:19.512 2217 21663 E mm-camera: iface_util_release_resource: camif_cnt= 0 rdi_cnt= 0 used mask 0

04-17 16:24:19.512 2217 21663 E mm-camera: iface_destroy_hw: Detach VFE CB, hw_idx :0

04-17 16:24:19.513 2217 21663 E mm-camera: iface_destroy_hw: Detach VFE CB, hw_idx :1

04-17 16:24:19.517 2217 21663 E mm-camera: iface_streamoff: all bundled stream streamoff, clear hal bundled mask

04-17 16:24:19.517 2217 21663 E mm-camera: iface_streamoff: X

04-17 16:24:19.517 2217 21684 E mm-camera: iface_streamoff_to_thread: X, session id = 1, user stream id = 4

04-17 16:24:19.517 2217 21684 I mm-camera: module_sensor_is_ready_for_stream_off:1470any bundle started 0

04-17 16:24:19.517 2217 21684 I mm-camera: module_sensor_stream_off:4816ide 10004 MCT_EVENT_CONTROL_STREAMOFF

04-17 16:24:19.517 2217 21684 D mm-camera: mct: stop_sof_check_thread: Stopping SOF timeout thread

04-17 16:24:19.517 2217 21684 I mm-camera: sensor_set_stop_stream:1635Sensor stream OFF for ov16860

04-17 16:24:19.517 2217 21684 I mm-camera:

04-17 16:24:19.518 2217 21684 I mm-camera-sensor: sensor_util_set_stream_on:825port private 0xb3d1a130

04-17 16:24:19.518 2217 21684 D mm-camera: mct: mct_pipeline_process_set: STREAM-OFF success for stream 0x10004, stream type=1

04-17 16:24:19.520 2217 21684 D mm-camera: mct: mct_pipeline_process_set: STREAM-OFF on stream 0x10003 stream type=6

04-17 16:24:19.520 2217 21684 D mm-camera: mct: mct_pipeline_process_set: STREAM-OFF success for stream 0x10003, stream type=6

04-17 16:24:19.527 2217 21684 D mm-camera: mct: mct_pipeline_process_set: Issuing DEL_STREAM on stream 0x10003 and stream type=6

04-17 16:24:19.527 2217 21684 D mm-camera: mct: mct_pipeline_process_set: Stream 0x10003 and stream type=6, successfully deleted

04-17 16:24:19.535 2217 21684 D mm-camera: mct: mct_pipeline_process_set: Issuing DEL_STREAM on stream 0x10004 and stream type=1

04-17 16:24:19.535 2217 21684 I mm-camera-sensor: port_sensor_unlink_func:297ide 10004

04-17 16:24:19.535 2217 21684 E mm-camera: port_iface_ext_unlink_func: E, identity = 0x10004, port = 0xb36c83c0, direction = 2

04-17 16:24:19.535 2217 21684 I mm-camera-sensor: port_sensor_caps_unreserve:208ide 10004

04-17 16:24:19.535 2217 21684 E mm-camera: port_iface_check_caps_unreserve_func: E, identity = 0x10004, port = 0xb36c83c0, direction = 2

04-17 16:24:19.535 2217 21684 E mm-camera: iface_unreserve_sink_port: stream_id 4 mode 0

04-17 16:24:19.535 2217 21684 E mm-camera: port_iface_ext_unlink_func: E, identity = 0x10004, port = 0xb36c8dc0, direction = 1

04-17 16:24:19.535 2217 21684 E mm-camera: iface_ext_unlink_src_port: mct stream already removed from hw stream

04-17 16:24:19.535 2217 21684 E mm-camera: port_iface_check_caps_unreserve_func: E, identity = 0x10004, port = 0xb36c8dc0, direction = 1

04-17 16:24:19.535 2217 21684 E mm-camera-isp2: isp_port_check_caps_unreserve:865 ide 10004 port 0xb2cf08c0

04-17 16:24:19.537 2217 21684 D mm-camera: cpp_port_check_caps_unreserve:164, identity=0x10004

04-17 16:24:19.537 2217 21684 D mm-camera: cpp_port_check_caps_unreserve:174, identity=0x10004, unreserved

04-17 16:24:19.537 2217 21684 D mm-camera: cpp_port_check_caps_unreserve:164, identity=0x10004

04-17 16:24:19.537 1095 21828 W ActivityManager: Ignoring remove of inactive process: ProcessRecord{ebbaf2f 0:com.motorola.cameraone/u0a255}

04-17 16:24:19.537 2217 21684 D mm-camera: cpp_port_check_caps_unreserve:174, identity=0x10004, unreserved

04-17 16:24:19.537 2217 21684 E mm-camera-img: faceproc_save_album:1087] Error No album

04-17 16:24:19.537 2217 21684 E mm-camera-img: faceproc_comp_eng_destroy: Album save failed -1

04-17 16:24:19.537 2217 21684 D mm-camera: mct: mct_pipeline_process_set: Stream 0x10004 and stream type=1, successfully deleted

04-17 16:24:19.543 461 21655 E QCamera2HWI: int32_t qcamera::QCamera2HardwareInterface::waitDeferredWork(uint32_t &): Invalid job id 0

04-17 16:24:19.543 461 21655 E QCamera2HWI: int32_t qcamera::QCamera2HardwareInterface::waitDeferredWork(uint32_t &): Invalid job id 0

04-17 16:24:19.544 2217 21684 D mm-camera: mct: mct_pipeline_process_set: Issuing DEL_STREAM on stream 0x10002 and stream type=4

04-17 16:24:19.544 2217 21684 I mm-camera-sensor: port_sensor_unlink_func:297ide 10002

04-17 16:24:19.544 2217 21684 E mm-camera: port_iface_ext_unlink_func: E, identity = 0x10002, port = 0xb36c83c0, direction = 2

04-17 16:24:19.544 2217 21684 I mm-camera-sensor: port_sensor_caps_unreserve:208ide 10002

04-17 16:24:19.544 2217 21684 E mm-camera: port_iface_check_caps_unreserve_func: E, identity = 0x10002, port = 0xb36c83c0, direction = 2

04-17 16:24:19.544 2217 21684 E mm-camera: iface_unreserve_sink_port: stream_id 2 mode 0

04-17 16:24:19.544 2217 21684 E mm-camera: port_iface_ext_unlink_func: E, identity = 0x10002, port = 0xb36c8dc0, direction = 1

04-17 16:24:19.544 2217 21684 E mm-camera: iface_ext_unlink_src_port: mct stream already removed from hw stream

04-17 16:24:19.544 2217 21684 E mm-camera: port_iface_check_caps_unreserve_func: E, identity = 0x10002, port = 0xb36c8dc0, direction = 1

04-17 16:24:19.544 2217 21684 E mm-camera-isp2: isp_port_check_caps_unreserve:865 ide 10002 port 0xb2cf08c0

04-17 16:24:19.545 2217 21684 E mm-camera-pp: [INFO] base_port_check_caps_unreserve:350, pending ack, identity=10004, frame_id=207, idx=1, size:2

04-17 16:24:19.546 2217 21684 E mm-camera-pp: [INFO] base_port_check_caps_unreserve:350, pending ack, identity=10004, frame_id=208, idx=2, size:1

04-17 16:24:19.546 2217 21684 E mm-camera-pp: [INFO] base_port_check_caps_unreserve:350, pending ack, identity=10004, frame_id=209, idx=3, size:0

04-17 16:24:19.546 2217 21684 D mm-camera: cpp_port_check_caps_unreserve:164, identity=0x10002

04-17 16:24:19.546 2217 21684 D mm-camera: cpp_port_check_caps_unreserve:174, identity=0x10002, unreserved

04-17 16:24:19.546 2217 21684 D mm-camera: mct: mct_pipeline_process_set: Stream 0x10002 and stream type=4, successfully deleted

04-17 16:24:19.547 461 21655 E QCamera2HWI: int32_t qcamera::QCamera2HardwareInterface::waitDeferredWork(uint32_t &): Invalid job id 0

04-17 16:24:19.547 461 21655 E QCamera2HWI: int32_t qcamera::QCamera2HardwareInterface::waitDeferredWork(uint32_t &): Invalid job id 0

04-17 16:24:19.548 2217 21684 D mm-camera: mct: mct_pipeline_process_set: Issuing DEL_STREAM on stream 0x10001 and stream type=3

04-17 16:24:19.548 2217 21684 I mm-camera-sensor: port_sensor_unlink_func:297ide 10001

04-17 16:24:19.548 2217 21684 E mm-camera: port_iface_ext_unlink_func: E, identity = 0x10001, port = 0xb36c83c0, direction = 2

04-17 16:24:19.548 2217 21684 I mm-camera-sensor: port_sensor_caps_unreserve:208ide 10001

04-17 16:24:19.548 2217 21684 E mm-camera: port_iface_check_caps_unreserve_func: E, identity = 0x10001, port = 0xb36c83c0, direction = 2

04-17 16:24:19.548 2217 21684 E mm-camera: iface_unreserve_sink_port: stream_id 1 mode 1

04-17 16:24:19.548 2217 21684 E mm-camera: port_iface_ext_unlink_func: E, identity = 0x10001, port = 0xb36c8dc0, direction = 1

04-17 16:24:19.548 2217 21684 E mm-camera: iface_ext_unlink_src_port: mct stream already removed from hw stream

04-17 16:24:19.548 2217 21684 E mm-camera: port_iface_check_caps_unreserve_func: E, identity = 0x10001, port = 0xb36c8dc0, direction = 1

04-17 16:24:19.548 2217 21684 E mm-camera-isp2: isp_port_check_caps_unreserve:865 ide 10001 port 0xb2cf08c0

04-17 16:24:19.549 2217 21684 D mm-camera: mct: mct_pipeline_process_set: Stream 0x10001 and stream type=3, successfully deleted

04-17 16:24:19.553 461 461 I QCamera2HWI: [KPI Perf] static void qcamera::QCamera2HardwareInterface::stop_preview(struct camera_device *): X

04-17 16:24:19.556 461 461 I QCameraHalWatchdog: Stopped Watchdog Thread (96ms)[stop_preview]

04-17 16:24:19.556 461 461 I QCameraHalWatchdog: Starting Watchdog Thread...

04-17 16:24:19.557 461 461 I QCameraHalWatchdog: Stopped Watchdog Thread (0ms)[cancel_picture]

04-17 16:24:19.557 461 461 I QCameraHalWatchdog: Starting Watchdog Thread...

04-17 16:24:19.559 461 461 I QCameraHalWatchdog: Stopped Watchdog Thread (0ms)[release]

04-17 16:24:19.560 461 461 W CameraClient: native_window_api_disconnect failed: Broken pipe (-32)

04-17 16:24:19.560 461 461 I QCameraHalWatchdog: Starting Watchdog Thread...

04-17 16:24:19.561 461 461 I QCameraHalWatchdog: Stopped Watchdog Thread (0ms)[set_preview_window]

04-17 16:24:19.561 461 461 I CameraFlashlight: Destroying camera 0

04-17 16:24:19.561 461 461 I QCameraHalWatchdog: Starting Watchdog Thread...

04-17 16:24:19.561 461 461 I QCamera2HWI: [KPI Perf] static int qcamera::QCamera2HardwareInterface::close_camera_device(hw_device_t *): E camera id 0

04-17 16:24:19.567 461 461 I QCamera2HWI: [KPI Perf] int qcamera::QCamera2HardwareInterface::closeCamera(): E PROFILE_CLOSE_CAMERA camera id 0

04-17 16:24:19.569 2217 21684 I mm-camera: sensor_get_output_info:4323requested dim 0 0 stream mask 0

04-17 16:24:19.569 2217 21684 E mm-camera-sensor: sensor_pick_fill_expected_data:397ex_w:0, ex_h:0,ex_mode:1, ex_fps:30.000000, ex_clk:0, ex_ar: 0

04-17 16:24:19.569 2217 21684 I mm-camera-sensor: sensor_pick_resolution:625res_idx: 0

04-17 16:24:19.569 2217 21684 I mm-camera: sensor_get_output_info:4352pick res 0 dim 4608X3456 op clk 582000000

04-17 16:24:19.569 2217 21684 E mm-camera: isp_util_print_meta_stream_info:5604 Deallocate resources

04-17 16:24:19.582 2217 21684 E mm-camera: mct: mct_pipeline_unmap_buf: Un-Mapping failed for sync buf

04-17 16:24:19.582 2217 21684 E mm-camera: mct: mct_pipeline_unmap_buf: pipeline sanity failed

04-17 16:24:19.583 461 461 E QCamera2HWI: int32_t qcamera::QCamera2HardwareInterface::waitDeferredWork(uint32_t &): Invalid job id 0

04-17 16:24:19.588 2217 21684 E mm-camera: mct: mct_pipeline_process_set:3691: Couldn't find stream id: 0

04-17 16:24:19.588 2217 2217 D mm-camera: mct: mct_controller_destroy: Initiating destroy sequence

04-17 16:24:19.589 2217 2217 D mm-camera: mct: mct_controller_destroy: serv_thread closed

04-17 16:24:19.589 2217 21685 D mm-camera: mct: mct_bus_handler_thread_run: Force Exit

04-17 16:24:19.590 2217 2217 D mm-camera: mct: mct_controller_destroy: bus_handler thread closed

04-17 16:24:19.590 2217 2217 D mm-camera: mct: mct_pipeline_stop_session - E

04-17 16:24:19.590 2217 2217 D mm-camera: mct: mct_pipeline_process_set: Issuing DEL_STREAM on stream 0x1000f and stream type=9

04-17 16:24:19.590 2217 2217 I mm-camera-sensor: port_sensor_unlink_func:297ide 1000f

04-17 16:24:19.590 2217 2217 E mm-camera: port_iface_ext_unlink_func: E, identity = 0x1000f, port = 0xb36c83c0, direction = 2

04-17 16:24:19.590 2217 2217 I mm-camera-sensor: port_sensor_caps_unreserve:208ide 1000f

04-17 16:24:19.590 2217 2217 E mm-camera: port_iface_check_caps_unreserve_func: E, identity = 0x1000f, port = 0xb36c83c0, direction = 2

04-17 16:24:19.591 2217 2217 E mm-camera: iface_unreserve_sink_port: stream_id f mode 0

04-17 16:24:19.591 2217 2217 E mm-camera: port_iface_ext_unlink_func: E, identity = 0x1000f, port = 0xb36c8dc0, direction = 1

04-17 16:24:19.591 2217 2217 E mm-camera: iface_ext_unlink_src_port: mct stream already removed from hw stream

04-17 16:24:19.591 2217 2217 E mm-camera: port_iface_check_caps_unreserve_func: E, identity = 0x1000f, port = 0xb36c8dc0, direction = 1

04-17 16:24:19.591 2217 2217 E mm-camera-isp2: isp_port_check_caps_unreserve:865 ide 1000f port 0xb2cf08c0

04-17 16:24:19.591 2217 2217 D mm-camera: c2d_port_check_caps_unreserve:183, identity=0x1000f

04-17 16:24:19.591 2217 2217 D mm-camera: c2d_port_check_caps_unreserve:193, identity=0x1000f, unreserved

04-17 16:24:19.591 2217 2217 D mm-camera: c2d_port_check_caps_unreserve:183, identity=0x1000f

04-17 16:24:19.591 2217 2217 D mm-camera: c2d_port_check_caps_unreserve:193, identity=0x1000f, unreserved

04-17 16:24:19.591 2217 2217 D mm-camera: cpp_port_check_caps_unreserve:164, identity=0x1000f

04-17 16:24:19.591 2217 2217 D mm-camera: cpp_port_check_caps_unreserve:174, identity=0x1000f, unreserved

04-17 16:24:19.592 2217 2217 D mm-camera: cpp_port_check_caps_unreserve:164, identity=0x1000f

04-17 16:24:19.592 2217 2217 D mm-camera: cpp_port_check_caps_unreserve:174, identity=0x1000f, unreserved

04-17 16:24:19.593 2217 2217 E mm-camera-CORE: q3a_thread_af_stop:889 q3a_thread_af_stop:889 MSG_STOP_THREAD

04-17 16:24:19.594 2217 2217 D mm-camera-CORE: stats_port_delete_reserved_stream:2875: going to NULL peer

04-17 16:24:19.594 2217 2217 D mm-camera: mct: mct_pipeline_process_set: Stream 0x1000f and stream type=9, successfully deleted

04-17 16:24:19.595 2217 2217 E mm-camera: mct: mct_pipeline_stop_stream_internal stream unmap_parm failed

04-17 16:24:19.598 2217 21848 I mm-camera: module_sensor_stop_session:1190session 1

04-17 16:24:19.601 2217 21850 E mm-camera-isp2: isp_module_stop_session:456 session id 1

04-17 16:24:19.605 2217 21852 D mm-camera: cpp_module_stop_session:562, info: stopping session 1 ...

04-17 16:24:19.605 2217 21673 D mm-camera: cpp_thread_process_pipe_message:668, CPP_THREAD_MSG_ABORT: cpp_thread exiting..

04-17 16:24:19.605 2217 21853 E mm-camera: module_faceproc_stop_session:1808] session cnt 1

04-17 16:24:19.611 2217 21852 D mm-camera: cpp_module_stop_session:611, info: session 1 stopped.

04-17 16:24:19.611 2217 21852 D mm-camera: c2d_module_stop_session:385, info: stopping session 1 ...

04-17 16:24:19.611 2217 21675 D mm-camera: c2d_thread_process_pipe_message:844, C2D_THREAD_MSG_ABORT: c2d_thread exiting..

04-17 16:24:19.612 2217 2217 D mm-camera: mct: mct_pipeline_stop_session: left modules: 6

04-17 16:24:19.612 2217 2217 D mm-camera: mct: mct_pipeline_stop_session: left modules: 5

04-17 16:24:19.612 2217 2217 D mm-camera: mct: mct_pipeline_stop_session: left modules: 4

04-17 16:24:19.612 2217 2217 D mm-camera: mct: mct_pipeline_stop_session: left modules: 3

04-17 16:24:19.613 2217 21852 D mm-camera: c2d_module_stop_session:430, info: session 1 stopped.

04-17 16:24:19.613 2217 21852 E mm-camera-pp: [INFO] base_module_stop_session:98, E, session=1

04-17 16:24:19.614 2217 21852 E mm-camera-eztune: [INFO] eztune_module_stop_session:49, E, session=1

04-17 16:24:19.614 2217 2217 D mm-camera: mct: mct_pipeline_stop_session: left modules: 2

04-17 16:24:19.615 2217 21661 I mm-camera-sensor: sensor_thread_func:155sensor_thread_func:Sensor thread is exiting

04-17 16:24:19.615 2217 2217 D mm-camera: mct: mct_pipeline_stop_session: left modules: 1

04-17 16:24:19.673 2217 2217 D mm-camera: mct: mct_pipeline_stop_session: left modules: 0

04-17 16:24:19.673 2217 2217 D mm-camera: mct: mct_pipeline_stop_session - X

04-17 16:24:19.673 2217 2217 D mm-camera: mct: mct_pipeline_destroy E: session:1

04-17 16:24:19.673 2217 2217 D mm-camera: mct: mct_pipeline_destroy X: Pipeline destroyed successfully

04-17 16:24:19.673 2217 2217 D mm-camera: mct: mct_controller_destroy: X Successfully closed mct_controller

04-17 16:24:19.686 461 461 I QCamera2HWI: [KPI Perf] int qcamera::QCamera2HardwareInterface::closeCamera(): X PROFILE_CLOSE_CAMERA camera id 0, rc: 0

04-17 16:24:19.687 461 461 I QCamera2HWI: [KPI Perf] static int qcamera::QCamera2HardwareInterface::close_camera_device(hw_device_t *): X

04-17 16:24:19.687 461 461 I QCameraHalWatchdog: Stopped Watchdog Thread (125ms)[close_camera_device]

04-17 16:24:19.693 461 461 I CameraService: onTorchStatusChangedLocked: Torch status changed for cameraId=0, newStatus=1

04-17 16:24:19.705 461 461 I CameraService: onTorchStatusChangedLocked: Torch status changed for cameraId=0, newStatus=1

04-17 16:24:19.705 461 461 I CameraService: disconnect: Disconnected client for camera 0 for PID 468

04-17 16:24:19.705 461 461 E CameraService: binderDied: Java client's binder died, removing it from the list of active clients

04-17 16:24:19.834 468 21866 I CameraSource: Using encoder format: 0x22

04-17 16:24:19.834 468 21866 I CameraSource: Using encoder data space: 0x104

04-17 16:24:19.835 461 16102 E CameraClient: attempt to use a camera after disconnect() (pid 468)

04-17 16:24:19.835 468 21866 W CameraSource: Failed to set video encoder format/dataspace to 34, 260 due to -38

04-17 16:24:19.836 461 461 W CameraClient: attempt to use a locked camera from a different process (old pid 0, new pid 468)

04-17 16:24:19.940 460 21856 D audio_hw_primary: select_devices: out_snd_device(0: ) in_snd_device(74: camcorder-mic)

04-17 16:24:19.940 460 21856 D hardware_info: hw_info_append_hw_type : device_name = camcorder-mic

04-17 16:24:19.940 460 21856 D audio_hw_primary: enable_snd_device: snd_device(74: camcorder-mic)

04-17 16:24:20.260 468 21820 D CameraSource: reset: E

04-17 16:24:20.260 468 21820 D CameraSource: reset: X

04-17 16:24:20.261 468 21866 D CameraSource: reset: E

04-17 16:24:20.261 468 21866 D CameraSource: reset: X

04-17 16:24:20.640 460 21856 D hardware_info: hw_info_append_hw_type : device_name = camcorder-mic

04-17 16:24:20.640 460 21856 D audio_hw_primary: disable_snd_device: snd_device(74: camcorder-mic)