[XDA Assist] davidedistaso:
Some weeks ago I was riding my motorbike down the highway and at some point my phone mount decided to break and fall. The Note 3 didn't seem so have any other damage other than glass and screen so I had them replaced with original spare parts and now my phone is overheating, unable to connect to any kind of cellular network and the camera is not working. I already tried to install different ROMS, kernels and recoveries but nothing seems to change. Temperature doesn't rise too much while doing stuff in the recovery but as soon as Android is loaded the CPU gets up to 80C while the battery stays at 40C. The phone also shuts down when I put it on standby and powers up by itself, especially when it's charging. The battery is draining so badly that it's hard to get to 100%. Here is a logcat.

E/WindowState( 1484): getStack: Window{1bb1716 u0 com.android.settings/com.android.settings.settingssearch.SettingsSearchActivity} couldn't find taskId=3 Callers=com.android.server.wm.WindowState.computeFrameLw:1050 com.android.internal.policy.impl.PhoneWindowManager.layoutWindowLw:4914 com.android.server.wm.WindowManagerService.performLayoutLockedInner:10946 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner:11814
--------- beginning of main
E/LocSvc_ApiV02( 1484): I/<--- void globalEventCb(locClientHandleType, uint32_t, locClientEventIndUnionType, void*) line 99 QMI_LOC_EVENT_INJECT_POSITION_REQ_IND_V02
E/LocSvc_ApiV02( 1484): I/<--- void globalEventCb(locClientHandleType, uint32_t, locClientEventIndUnionType, void*) line 99 QMI_LOC_EVENT_POSITION_REPORT_IND_V02
E/mm-camera( 350): mct_bus_sof_thread_run: SOF freeze; Sending error message
E/mm-camera( 350): msg_bus_post_msg: Received HW error bus msg
E/LocSvc_ApiV02( 1484): I/<--- void globalEventCb(locClientHandleType, uint32_t, locClientEventIndUnionType, void*) line 99 QMI_LOC_EVENT_POSITION_REPORT_IND_V02
E/SMD ( 317): DCD ON
E/LocSvc_ApiV02( 1484): I/<--- void globalEventCb(locClientHandleType, uint32_t, locClientEventIndUnionType, void*) line 99 QMI_LOC_EVENT_POSITION_REPORT_IND_V02
E/mm-camera( 350): isp_axi_streamon: ISP_CFG_STREAM error = -1, start_straem = 0
E/mm-camera( 350): isp_axi_stop_stream: isp_axi_start_stop error = -1
E/mm-camera( 350): stats_action_buf_config: cfg = 0, stats_mask = 0x7b8
E/mm-camera( 350): isp_pipeline_util_reset: module id = 0, action = 0xb6e6c0a9
E/mm-camera( 350): isp_pipeline_util_reset: module id = 1, action = 0xb6e700a5
E/mm-camera( 350): isp_pipeline_util_reset: module id = 2, action = 0xb6e6a35d
E/mm-camera( 350): isp_pipeline_util_reset: module id = 3, action = 0xb6e80461
E/mm-camera( 350): isp_pipeline_util_reset: module id = 4, action = 0xb6e6ea85
E/mm-camera( 350): isp_pipeline_util_reset: module id = 5, action = 0xb6e68561
E/mm-camera( 350): isp_pipeline_util_reset: module id = 7, action = 0xb6e6e0e1
E/mm-camera( 350): isp_pipeline_util_reset: module id = 8, action = 0xb6e7ea49
E/mm-camera( 350): isp_pipeline_util_reset: module id = 10, action = 0xb6e81eb5
E/mm-camera( 350): isp_pipeline_util_reset: module id = 11, action = 0xb6e7ba59
E/mm-camera( 350): isp_pipeline_util_reset: module id = 12, action = 0xb6e790f5
E/mm-camera( 350): isp_pipeline_util_reset: module id = 13, action = 0xb6e82a65
E/mm-camera( 350): isp_pipeline_util_reset: module id = 14, action = 0xb6e77389
E/mm-camera( 350): isp_pipeline_util_reset: module id = 15, action = 0xb6e8118d
E/mm-camera( 350): isp_pipeline_util_reset: module id = 16, action = 0xb6e74cf5
E/mm-camera( 350): isp_pipeline_util_reset: module id = 17, action = 0xb6e785d9
E/mm-camera( 350): isp_pipeline_util_reset: module id = 18, action = 0xb6e60931
E/mm-camera( 350): isp_pipeline_util_reset: module id = 19, action = 0xb6e73a55
E/mm-camera( 350): isp_pipeline_util_reset: module id = 20, action = 0xb6e77db9
E/mm-camera( 350): isp_pipeline_util_reset: module id = 22, action = 0xb6e65e39
E/mm-camera( 350): isp_pipeline_util_reset: module id = 23, action = 0xb6e7630d
E/mm-camera( 350): isp_proc_async_command: X ISP_ASYNC_COMMAND_STREAMOFF = 2
E/mm-camera( 350): isp_proc_async_command: X, session_id = 2, async_cmd_id = 2
E/mm-camera( 350): isp_streamoff: X, session_id = 2
E/mm-camera( 350): port_isp_mct_ctrl_cmd: X, identity = 0x20002, isp_streamoff
E/mm-camera( 350): ispif_proc_streamoff: Enter
E/mm-camera( 350): ispif_proc_streamoff: Make ISPIF_CFG IOCTL!
E/mm-camera( 350): ispif_proc_streamoff: ISPIF_CFG IOCTL returns!
E/mm-camera( 350): ispif_proc_streamoff: X, rc = 0
E/mm-camera( 350): ispif_streamoff: session_id = 2, active_streams = 0
E/mm-camera( 350): release_isp_resource <------
E/mm-camera( 350): release isp0 rdi
E/mm-camera( 350): release_isp_resource: isp_id = 0, camif_session_bit = 0x0
E/mm-camera-sensor( 350): module_sensor_is_ready_for_stream_off:1220 any bundle started 0
E/mm-camera-sensor( 350): sensor_util_change_state:1116 STATEDBG Enter
E/mm-camera-sensor( 350): sensor_util_change_state:1123 STATEDBG Enter cur state 4 new state 0
E/mm-camera-sensor( 350): sensor_util_change_state:1162 STATEDBG Exit cur state 0 new state 0
E/mm-camera-sensor( 350): sensor_util_change_state:1166 STATEDBG Exit
E/mm-camera-sensor( 350): module_sensor_module_process_event:3557 X STATEDBG MCT_EVENT_CONTROL_STREAMOFF
E/mm-camera( 350): main: return true, return type 0
E/mm-camera( 350): main: return true, return type 2
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera-intf( 325): mm_stream_fsm_reg: invalid state (5) for evt (8), in(0x0), out(0x0)
E/mm-camera-intf( 325): mm_stream_unreg_buf: fd=70, VIDIOC_REQBUFS failed, rc=-1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/QCameraStream( 325): int32_t qcamera::QCameraStream::putBufs(mm_camera_map_unmap_ops_tbl_t*): map_stream_buf failed: -1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/QCameraStream( 325): int32_t qcamera::QCameraStream::putBufs(mm_camera_map_unmap_ops_tbl_t*): map_stream_buf failed: -1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/QCameraStream( 325): int32_t qcamera::QCameraStream::putBufs(mm_camera_map_unmap_ops_tbl_t*): map_stream_buf failed: -1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/QCameraStream( 325): int32_t qcamera::QCameraStream::putBufs(mm_camera_map_unmap_ops_tbl_t*): map_stream_buf failed: -1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/QCameraStream( 325): int32_t qcamera::QCameraStream::putBufs(mm_camera_map_unmap_ops_tbl_t*): map_stream_buf failed: -1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/QCameraStream( 325): int32_t qcamera::QCameraStream::putBufs(mm_camera_map_unmap_ops_tbl_t*): map_stream_buf failed: -1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/QCameraStream( 325): int32_t qcamera::QCameraStream::putBufs(mm_camera_map_unmap_ops_tbl_t*): map_stream_buf failed: -1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/QCameraStream( 325): int32_t qcamera::QCameraStream::putBufs(mm_camera_map_unmap_ops_tbl_t*): map_stream_buf failed: -1
E/QCameraChannel( 325): start: m_camOps->start_channel failed
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): server_process_hal_event:__DBG__ E event id=3
E/mm-camera( 350): server_process_hal_event:__DBG__ X sucess event id=3
E/mm-camera( 350): mct_pipeline_process_set:command=800000b
E/mm-camera( 350): main: return true, return type 0
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): server_process_hal_event:__DBG__ E event id=3
E/mm-camera( 350): server_process_hal_event:__DBG__ X sucess event id=3
E/mm-camera( 350): mct_pipeline_process_set:command=800000b
E/mm-camera-sensor( 350): port_sensor_unlink_func:662 ide 20002
E/mm-camera-sensor( 350): port_sensor_caps_unreserve:220 ide 20002
E/mm-camera( 350): port_isp_unlink_func: E, identity = 0x20002, port = 0xb4cb0460, direction = 2
E/mm-camera( 350): port_isp_unlink_func: X, ret = 0, identity = 0x20002, port = 0xb4cb0460, direction = 2
E/mm-camera( 350): port_isp_unlink_func: E, identity = 0x20002, port = 0xb4cb08e0, direction = 1
E/mm-camera( 350): port_isp_unlink_func: X, ret = 0, identity = 0x20002, port = 0xb4cb08e0, direction = 1
E/mm-camera( 350): cpp_port_check_caps_unreserve:170, identity=0x20002
E/mm-camera( 350): cpp_port_check_caps_unreserve:179, identity=0x20002, unreserved
E/mm-camera( 350): module_faceproc_port_unlink:758] E
E/mm-camera( 350): module_faceproc_port_unlink:785] X
E/mm-camera( 350): cpp_port_check_caps_unreserve:170, identity=0x20002
E/mm-camera( 350): cpp_port_check_caps_unreserve:179, identity=0x20002, unreserved
E/mm-camera( 350): module_faceproc_port_check_caps_unreserve:914] E
E/mm-camera( 350): module_faceproc_client_destroy:1159] state 1
E/mm-camera-img( 350): faceproc_comp_deinit:79]
E/mm-camera-img( 350): faceproc_comp_abort:549] state 1
E/mm-camera-img( 350): faceproc_comp_eng_destroy:1856] faceproc engine clean
E/mm-camera-img( 350): faceproc_comp_eng_reset:1880]
E/mm-camera( 350): module_faceproc_client_destroy:1184] X
E/mm-camera( 350): module_faceproc_port_check_caps_unreserve:963] X
E/mm-camera( 350): mct_stream_check_name:mod=sensor, name=isp
E/mm-camera( 350): mct_stream_check_name:mod=iface, name=isp
E/mm-camera( 350): mct_stream_check_name:mod=isp, name=isp
E/mm-camera( 350): mct_stream_get_module: module: 0xb4c1be10
E/mm-camera( 350): port_isp_unlink_func: E, identity = 0x20002, port = 0xb4cb0760, direction = 1
E/mm-camera( 350): port_isp_unlink_func: X, ret = 0, identity = 0x20002, port = 0xb4cb0760, direction = 1
E/mm-camera( 350): q3a_port_unlink X refcnt 1
E/mm-camera( 350): asd_port_ext_unlink E
E/mm-camera( 350): asd_port_ext_unlink X refcnt 1
E/mm-camera( 350): stats_port_unlink: X
E/mm-camera( 350): stats_port_check_caps_unreserve E
E/mm-camera( 350): q3a_port_event: Stream type change event received!
E/mm-camera( 350): stats_port_check_caps_unreserve X
E/mm-camera( 350): main: return true, return type 0
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): main: return true, return type 1
E/mm-camera( 350): server_process_hal_event:__DBG__ E event id=3
E/mm-camera( 350): server_process_hal_event:__DBG__ X sucess event id=3
E/mm-camera( 350): mct_pipeline_process_set:command=800000b
E/mm-camera( 350): mct_stream_streamoff: Enter
E/mm-camera( 350): mct_stream_streamoff: STREAMING OFFstream_type = 3
E/mm-camera-sensor( 350): module_sensor_module_process_event:3542 ide 20003 MCT_EVENT_CONTROL_STREAMOFF
E/mm-camera-sensor( 350): module_sensor_module_process_event:3545 E STATEDBG MCT_EVENT_CONTROL_STREAMOFF
E/mm-camera-sensor( 350): sensor_util_change_state:1116 STATEDBG Enter
E/mm-camera-sensor( 350): sensor_util_change_state:1123 STATEDBG Enter cur state 0 new state 4
E/mm-camera-sensor( 350): sensor_util_change_state:1162 STATEDBG Exit cur state 4 new state 4
E/mm-camera-sensor( 350): sensor_util_change_state:1166 STATEDBG Exit
E/mm-camera-sensor( 350): module_sensor_stream_off:3097 ide 20003 MCT_EVENT_CONTROL_STREAMOFF
E/mm-camera( 350): port_isp_mct_ctrl_cmd: type=2
E/mm-camera( 350): port_isp_mct_ctrl_cmd: E, identity = 0x20003, STREAMOFF
E/mm-camera( 350): stats_port_event stream_on_counter is negative -1 !!!
E/AF_PORT ( 350): af_port_handle_control_event: stream_on_refcnt -1
E/mm-camera( 350): port_isp_mct_ctrl_cmd: E, identity = 0x20003, isp_streamoff
E/mm-camera( 350): isp_streamoff: E, session_id = 2
E/mm-camera( 350): isp_proc_async_command: E ISP_ASYNC_COMMAND_STREAMOFF = 2
E/mm-camera( 350): isp_proc_streamoff: E, session_id = 2, stream_id = 3, stream_type = 3
E/mm-camera( 350): isp_proc_async_command: X ISP_ASYNC_COMMAND_STREAMOFF = 2
E/mm-camera( 350): isp_proc_async_command: X, session_id = 2, async_cmd_id = 2
E/mm-camera( 350): isp_streamoff: X, session_id = 2
E/mm-camera( 350): port_isp_mct_ctrl_cmd: X, identity = 0x20003, isp_streamoff
E/mm-camera( 350): ispif_proc_streamoff: Enter
E/mm-camera( 350): ispif_proc_streamoff: X, rc = 0
E/mm-camera( 350): ispif_streamoff: session_id = 2, active_streams = -1
E/mm-camera-sensor( 350): module_sensor_is_ready_for_stream_off:1211 can't find bundle with id=7936
E/mm-camera-sensor( 350): sensor_util_change_state:1116 STATEDBG Enter
E/mm-camera-sensor( 350): sensor_util_change_state:1123 STATEDBG Enter cur state 4 new state 0
E/mm-camera-sensor( 350): sensor_util_change_state:1162 STATEDBG Exit cur state 0 new state 0
E/mm-camera-sensor( 350): sensor_util_change_state:1166 STATEDBG Exit
E/mm-camera-sensor( 350): module_sensor_module_process_event:3557 X STATEDBG MCT_EVENT_CONTROL_STREAMOFF
E/mm-camera-sensor( 350): port_sensor_unlink_func:662 ide 20003
E/mm-camera-sensor( 350): port_sensor_caps_unreserve:220 ide 20003
E/mm-camera( 350): port_isp_unlink_func: E, identity = 0x20003, port = 0xb4cb0460, direction = 2
E/mm-camera( 350): isp_unlink_sink_port: ad hoc sink port unlinked, session_id = 2
E/mm-camera( 350): port_isp_unlink_func: X, ret = 0, identity = 0x20003, port = 0xb4cb0460, direction = 2
E/mm-camera( 350): mct_stream_check_name:mod=sensor, name=isp
E/mm-camera( 350): mct_stream_check_name:mod=iface, name=isp
E/mm-camera( 350): mct_stream_check_name:mod=isp, name=isp
E/mm-camera( 350): mct_stream_get_module: module: 0xb4c1be10
E/mm-camera( 350): port_isp_unlink_func: E, identity = 0x20003, port = 0xb4cb0760, direction = 1
E/mm-camera( 350): port_isp_unlink_func: X, ret = 0, identity = 0x20003, port = 0xb4cb0760, direction = 1
E/mm-camera( 350): af_thread_handler: af thread returned
E/mm-camera( 350): q3a_port_unlink X refcnt 0
E/mm-camera( 350): afd_thread_en_q_msg thread -1282028928 is set to inactive
E/mm-camera( 350): asd_port_ext_unlink E
E/mm-camera( 350): asd_port_ext_unlink: asd_data=0xb39a4000
E/mm-camera( 350): asd_thread_stop E
E/mm-camera( 350): asd_thread_en_q_msg:78 Message Stop Thread
E/mm-camera( 350): asd_thread_handler: asd thread returned
E/mm-camera( 350): asd_thread_stop joined
E/mm-camera( 350): asd_port_ext_unlink X refcnt 0
E/mm-camera( 350): stats_port_unlink: X
E/mm-camera( 350): stats_port_check_caps_unreserve E
E/mm-camera( 350): stats_port_check_reserved_stream: private->reserved_id=0x20000
E/mm-camera( 350): stats_port_check_caps_unreserve X
E/mm-camera( 350): main: return true, return type 0
E/QCameraStateMachine( 325): int32_t qcamera::QCameraStateMachine::procEvtPreviewStoppedState(qcamera::qcamera_sm_evt_enum_t, void*): CAM_EVENT_TYPE_DAEMON_DIED
E/SecCameraCoreManager( 325): notifyErrorCallback(1, 100, 0)
E/SecCameraCoreManager( 325): CAMERA_MSG_ERROR from under SecCameraCoreManager - 100
E/SecCamera-JNI-Java(10666): Error 100
E/WindowState( 1484): getStack: Window{1bb1716 u0 com.android.settings/com.android.settings.settingssearch.SettingsSearchActivity} couldn't find taskId=3 Callers=com.android.server.wm.WindowState.computeFrameLw:1050 com.android.internal.policy.impl.PhoneWindowManager.layoutWindowLw:4914 com.android.server.wm.WindowManagerService.performLayoutLockedInner:10880 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner:11814
E/WindowState( 1484): getStack: Window{1bb1716 u0 com.android.settings/com.android.settings.settingssearch.SettingsSearchActivity} couldn't find taskId=3 Callers=com.android.server.wm.WindowState.computeFrameLw:1050 com.android.internal.policy.impl.PhoneWindowManager.layoutWindowLw:4914 com.android.server.wm.WindowManagerService.performLayoutLockedInner:10946 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner:11814
E/WindowState( 1484): getStack: Window{1bb1716 u0 com.android.settings/com.android.settings.settingssearch.SettingsSearchActivity} couldn't find taskId=3 Callers=com.android.server.wm.WindowState.computeFrameLw:1050 com.android.internal.policy.impl.PhoneWi