Mi 5 - Random Shutdown with LogCat - Xiaomi Mi 5 Questions & Answers

My Mi5 is shutting down randomly. Sometimes its reboots, sometimes it doesn't. I was able to record logcat before one such reboot. As you may know getting customer support for Xiaomi devices outside China isn't that easy. So I was wondering if some good soul would look at the logcat and hazard an educated guess on what may cause these shutdowns and reboots.
I personally doubt the battery.
Anyways, Thanks in advance.

09-06 19:56:14.467 5584 5584 D QC_RIL_OEM_HOOK: Received Broadcast Intent ACTION_UNSOL_RESPONSE_OEM_HOOK_RAW
09-06 19:56:14.467 5584 5584 D QC_RIL_OEM_HOOK: Oem ID in QCRILHOOK UNSOL RESP is QOEMHOOK
09-06 19:56:14.473 2506 2506 D QC_RIL_OEM_HOOK: Received Broadcast Intent ACTION_UNSOL_RESPONSE_OEM_HOOK_RAW
09-06 19:56:14.474 2506 2506 D QC_RIL_OEM_HOOK: Oem ID in QCRILHOOK UNSOL RESP is QOEMHOOK
09-06 19:56:14.474 2506 2506 D QC_RIL_OEM_HOOK: Received Broadcast Intent ACTION_UNSOL_RESPONSE_OEM_HOOK_RAW
09-06 19:56:14.474 2506 2506 D QC_RIL_OEM_HOOK: Oem ID in QCRILHOOK UNSOL RESP is QOEMHOOK
09-06 19:56:14.475 2506 2506 D QC_RIL_OEM_HOOK: Received Broadcast Intent ACTION_UNSOL_RESPONSE_OEM_HOOK_RAW
09-06 19:56:14.475 2506 2506 D QC_RIL_OEM_HOOK: Oem ID in QCRILHOOK UNSOL RESP is QOEMHOOK
09-06 19:56:14.625 2326 4558 I System.out: Error inflating SSL session: error:100000a0:SSL routinesPENSSL_internal:INVALID_SSL_SESSION
09-06 19:56:14.626 2326 4558 W Conscrypt: Could not set socket write timeout:
09-06 19:56:14.627 2326 4558 W Conscrypt: java.lang.reflect.Method.invoke(Native Method)
09-06 19:56:14.627 2326 4558 W Conscrypt: com.google.android.gms.org.conscrypt.Platform.setSocketWriteTimeout[email protected]:13)
09-06 19:56:14.774 1917 3126 E ActivateHelper: verifyAndRenewPassToken error
09-06 19:56:14.774 1917 3126 E ActivateHelper: java.net.SocketTimeoutException: SSL handshake timed out
09-06 19:56:14.774 1917 3126 E ActivateHelper: at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:324)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at com.android.okhttp.internal.http.SocketConnector.connectTls(SocketConnector.java:103)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at com.android.okhttp.Connection.connect(Connection.java:143)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at com.android.okhttp.Connection.connectAndSetOwner(Connection.java:185)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at com.android.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:128)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at com.android.okhttp.internal.http.HttpEngine.nextConnection(HttpEngine.java:342)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:331)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:249)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:437)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:114)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.connect(DelegatingHttpsURLConnection.java:89)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:25)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at com.xiaomi.accountsdk.request.SimpleRequest.getAsString(SimpleRequest.java:156)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at com.xiaomi.accountsdk.request.SimpleRequestForAccount.getAsString(SimpleRequestForAccount.java:45)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at com.xiaomi.accountsdk.request.PassportSimpleRequest$GetAsString.execute(PassportSimpleRequest.java:49)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at com.xiaomi.accountsdk.request.PassportLoginRequest.execute(PassportLoginRequest.java:102)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at com.xiaomi.accountsdk.request.PassportRequest.executeEx(PassportRequest.java:30)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at com.xiaomi.accountsdk.account.XMPassport.loginByPassTokenNE(XMPassport.java:670)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at com.xiaomi.accountsdk.account.XMPassport.loginByPassTokenNE(XMPassport.java:635)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at com.xiaomi.accountsdk.account.XMPassport.loginByPassToken(XMPassport.java:597)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at com.xiaomi.accountsdk.account.XMPassport.loginByPassToken(XMPassport.java:574)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at com.xiaomi.activate.ActivateHelper.verifyAndRenewPassToken(ActivateHelper.java:824)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at com.xiaomi.activate.ActivateService$VerifySimTokenTask.verifyAndRenew(ActivateService.java:1985)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at com.xiaomi.activate.ActivateService$VerifySimTokenTask.doInBackground(ActivateService.java:1935)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at com.xiaomi.activate.ActivateService$VerifySimTokenTask.doInBackground(ActivateService.java:1917)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at android.os.AsyncTask$2.call(AsyncTask.java:295)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
09-06 19:56:14.774 1917 3126 E ActivateHelper: at java.lang.Thread.run(Thread.java:818)
09-06 19:56:14.796 1917 3126 E ActivateService: failed to verify/renew sim pass token1
09-06 19:56:14.796 1917 3126 E ActivateService: com.xiaomi.accountsdk.activate.CloudServiceFailureException
09-06 19:56:14.796 1917 3126 E ActivateService: at com.xiaomi.activate.ActivateHelper.verifyAndRenewPassToken(ActivateHelper.java:851)
09-06 19:56:14.796 1917 3126 E ActivateService: at com.xiaomi.activate.ActivateService$VerifySimTokenTask.verifyAndRenew(ActivateService.java:1985)
09-06 19:56:14.796 1917 3126 E ActivateService: at com.xiaomi.activate.ActivateService$VerifySimTokenTask.doInBackground(ActivateService.java:1935)
09-06 19:56:14.796 1917 3126 E ActivateService: at com.xiaomi.activate.ActivateService$VerifySimTokenTask.doInBackground(ActivateService.java:1917)
09-06 19:56:14.796 1917 3126 E ActivateService: at android.os.AsyncTask$2.call(AsyncTask.java:295)
09-06 19:56:14.796 1917 3126 E ActivateService: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
09-06 19:56:14.796 1917 3126 E ActivateService: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
09-06 19:56:14.796 1917 3126 E ActivateService: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
09-06 19:56:14.796 1917 3126 E ActivateService: at java.lang.Thread.run(Thread.java:818)
09-06 19:56:16.888 1810 1810 D StatusBar.NetworkController: onSignalStrengthsChanged received on slotId :0signalStrength=SignalStrength: 15 0 -120 -160 -120 -1 -1 99 2147483647 2147483647 2147483647 2147483647 2147483647 gsm|lte level=5 cdmdlevel=0 evdolevel=0
09-06 19:56:20.269 1402 2141 D WifiService: acquireWifiLockLocked: WifiLock{NlpWifiLock type=2 [email protected]}
09-06 19:56:20.275 1402 1740 D wifi : Initialized common fields 10000, 25, 100, 10
09-06 19:56:20.275 1402 1740 D wifi : bucket[0] = 2:3:10000:2
09-06 19:56:20.275 1402 1740 I WifiHAL : getLowiCallbackTable: Entry
09-06 19:56:20.275 1402 1740 I WifiHAL : getLowiCallbackTable: LowiWifiHalApi Null, Initialize Lowi
09-06 19:56:20.277 1402 1740 E WifiHAL : fetchLowiCbTableAndCapabilities: NULL lowi_handle, err: dlopen failed: library "/vendor/lib64/liblowi_wifihal.so" not found
09-06 19:56:20.278 1402 1740 I WifiHAL : getLowiCallbackTable: LOWI is not supported.
09-06 19:56:20.278 1402 1740 I WifiHAL : getLowiCallbackTable: Cleaning up Lowi due to failure. Return NULL
09-06 19:56:20.279 1402 1740 D WifiHAL : wifi_start_gscan: Sending cmd directly to host
09-06 19:56:20.279 1402 1740 I WifiHAL : wifi_start_gscan: RequestId:83
09-06 19:56:20.280 1402 1740 I WifiHAL : wifi_start_gscan: Base Period:10000 Max_ap_per_scan:25 Threshold_percent:100 Threshold_num_scans:10 num_buckets:1
09-06 19:56:20.280 1402 1740 I WifiHAL : wifi_start_gscan: Index: 0 Bucket Id:2 Band:3 Period:10000 ReportEvent:2 numChannelSpecs:0 max_period:0 exponent:0 step_count:0
09-06 19:56:21.044 2146 2146 D wpa_supplicant: nl80211: Event message available
09-06 19:56:21.044 1402 2145 I WifiHAL : event received NL80211_CMD_VENDOR, vendor_id = 0x1374, subcmd = 0x1b
09-06 19:56:21.044 2146 2146 D wpa_supplicant: nl80211: Drv Event 103 (NL80211_CMD_VENDOR) received for wlan0
09-06 19:56:21.044 1402 2145 D WifiHAL : Event QCA_NL80211_VENDOR_SUBCMD_GSCAN_SCAN_EVENT received.
09-06 19:56:21.044 2146 2146 D wpa_supplicant: nl80211: Vendor event: wiphy=0 vendor_id=0x1374 subcmd=27
09-06 19:56:21.044 1402 2145 I WifiHAL : handleEvent: Scan event type: 1, status = 0.
09-06 19:56:21.045 2146 2146 D wpa_supplicant: nl80211: Vendor data - hexdump(len=24): 08 00 01 00 53 00 00 00 05 00 1b 00 01 00 00 00 08 00 1c 00 00 00 00 00
09-06 19:56:21.045 2146 2146 D wpa_supplicant: nl80211: Ignore unsupported QCA vendor event 27
09-06 19:56:21.048 1402 1740 I WifiHAL : getLowiCallbackTable: Entry
09-06 19:56:21.048 1402 1740 I WifiHAL : getLowiCallbackTable: LowiWifiHalApi Null, Initialize Lowi
09-06 19:56:21.051 1402 1740 E WifiHAL : fetchLowiCbTableAndCapabilities: NULL lowi_handle, err: dlopen failed: library "/vendor/lib64/liblowi_wifihal.so" not found
09-06 19:56:21.051 1402 1740 I WifiHAL : getLowiCallbackTable: LOWI is not supported.
09-06 19:56:21.051 1402 1740 I WifiHAL : getLowiCallbackTable: Cleaning up Lowi due to failure. Return NULL
09-06 19:56:21.051 1402 1740 D WifiHAL : wifi_get_cached_gscan_results: Sending cmd directly to host
09-06 19:56:21.051 1402 1740 I WifiHAL : wifi_get_cached_gscan_results: RequestId:422
09-06 19:56:21.053 1402 1740 I WifiHAL : wifi_get_cached_gscan_results: flush:255 max:64
09-06 19:56:21.056 1402 1740 E WifiHAL : handleResponse: num Cached results in this fragment:0
09-06 19:56:21.056 1402 1740 I WifiHAL : wifi_get_cached_gscan_results: max: 64, num:0
09-06 19:56:21.060 1402 1740 I WifiHAL : getLowiCallbackTable: Entry
09-06 19:56:21.061 1402 1740 I WifiHAL : getLowiCallbackTable: LowiWifiHalApi Null, Initialize Lowi
09-06 19:56:21.063 1402 1740 E WifiHAL : fetchLowiCbTableAndCapabilities: NULL lowi_handle, err: dlopen failed: library "/vendor/lib64/liblowi_wifihal.so" not found
09-06 19:56:21.063 1402 1740 I WifiHAL : getLowiCallbackTable: LOWI is not supported.
09-06 19:56:21.063 1402 1740 I WifiHAL : getLowiCallbackTable: Cleaning up Lowi due to failure. Return NULL
09-06 19:56:21.063 1402 1740 D WifiHAL : wifi_stop_gscan: Sending cmd directly to host
09-06 19:56:21.063 1402 1740 I WifiHAL : wifi_stop_gscan: RequestId:83
09-06 19:56:21.071 1402 2141 D WifiService: releaseWifiLockLocked: WifiLock{NlpWifiLock type=2 [email protected]}
09-06 19:56:21.395 2382 2903 D QcrilMsgTunnelSocket: readRilMessage: Buffer = [[email protected] HexData = [010000000404000011000000514f454d484f4f4bef0308000100000003]
09-06 19:56:21.396 2382 2903 D QcrilMsgTunnelSocket: Rcvd UNSOL response with 28 bytes data for SUB0
09-06 19:56:21.396 2382 2903 D QcrilMsgTunnelSocket: Response ID 525295 is not served in this process.
09-06 19:56:21.396 2382 2903 D QcrilMsgTunnelSocket: To broadcast an Intent via the notifier to external apps
09-06 19:56:21.397 2382 2382 D QcrilMsgTunnelIfaceManager: handleMessage what = 0
09-06 19:56:21.403 5584 5584 D QC_RIL_OEM_HOOK: Received Broadcast Intent ACTION_UNSOL_RESPONSE_OEM_HOOK_RAW
09-06 19:56:21.404 5584 5584 D QC_RIL_OEM_HOOK: Oem ID in QCRILHOOK UNSOL RESP is QOEMHOOK
09-06 19:56:21.410 2506 2506 D QC_RIL_OEM_HOOK: Received Broadcast Intent ACTION_UNSOL_RESPONSE_OEM_HOOK_RAW
09-06 19:56:21.410 2506 2506 D QC_RIL_OEM_HOOK: Oem ID in QCRILHOOK UNSOL RESP is QOEMHOOK
09-06 19:56:21.410 2506 2506 D QC_RIL_OEM_HOOK: Received Broadcast Intent ACTION_UNSOL_RESPONSE_OEM_HOOK_RAW
09-06 19:56:21.411 2506 2506 D QC_RIL_OEM_HOOK: Oem ID in QCRILHOOK UNSOL RESP is QOEMHOOK
09-06 19:56:21.411 2506 2506 D QC_RIL_OEM_HOOK: Received Broadcast Intent ACTION_UNSOL_RESPONSE_OEM_HOOK_RAW
09-06 19:56:21.411 2506 2506 D QC_RIL_OEM_HOOK: Oem ID in QCRILHOOK UNSOL RESP is QOEMHOOK
09-06 19:56:22.897 1810 1810 D StatusBar.NetworkController: onSignalStrengthsChanged received on slotId :0signalStrength=SignalStrength: 15 0 -120 -160 -120 -1 -1 99 2147483647 2147483647 2147483647 2147483647 2147483647 gsm|lte level=5 cdmdlevel=0 evdolevel=0
09-06 19:56:27.321 2326 2326 I GeofencerStateMachine: sendNewLocationAvailability: availability=LocationAvailability[isLocationAvailable: false]
09-06 19:56:27.913 1905 2069 I XiaomiFirewall: firewall pkgName:com.miui.weather2, result:0x0
09-06 19:56:28.699 1810 1810 D StatusBar.NetworkController: onSignalStrengthsChanged received on slotId :1signalStrength=SignalStrength: 0 0 -120 -160 -120 0 -1 0 2147483647 2147483647 0 0 2147483647 gsm|lte level=1 cdmdlevel=0 evdolevel=0
09-06 19:56:30.216 1905 2069 I XiaomiFirewall: firewall pkgName:com.miui.weather2, result:0x0
09-06 19:56:31.826 674 830 I ThermalEngine: handle_thresh_sig: SS Id SKIN-SS-GOLD, Read xo_therm_buf 40000mC
09-06 19:56:31.900 3431 3527 I octvm_power: handle event trigger screen_off_timeout_60
09-06 19:56:32.173 1810 1810 D StatusBar.NetworkController: onSignalStrengthsChanged received on slotId :0signalStrength=SignalStrength: 15 0 -120 -160 -120 -1 -1 99 2147483647 2147483647 2147483647 2147483647 2147483647 gsm|lte level=5 cdmdlevel=0 evdolevel=0
09-06 19:56:32.301 674 829 I ThermalEngine: handle_thresh_sig: TM Id CAMERA-CAMCORDER-MONITOR Sensor xo_therm_buf Temp 40000
09-06 19:56:32.301 674 829 I ThermalEngine: TM Id 'CAMERA-CAMCORDER-MONITOR' Sensor 'xo_therm_buf' - alarm cleared 1 at 40.0 degC
09-06 19:56:32.302 674 829 I ThermalEngine: Thermal-Server: No client connected to socket
09-06 19:56:32.655 1905 2069 I XiaomiFirewall: firewall pkgName:com.miui.weather2, result:0x0
09-06 19:56:34.837 1810 1810 D StatusBar.NetworkController: onSignalStrengthsChanged received on slotId :0signalStrength=SignalStrength: 15 0 -120 -160 -120 -1 -1 99 2147483647 2147483647 2147483647 2147483647 2147483647 gsm|lte level=5 cdmdlevel=0 evdolevel=0
09-06 19:56:35.296 1905 2069 I XiaomiFirewall: firewall pkgName:com.miui.weather2, result:0x0
09-06 19:56:37.716 1905 2069 I XiaomiFirewall: firewall pkgName:com.miui.weather2, result:0x0
09-06 19:56:40.295 1905 2069 I XiaomiFirewall: firewall pkgName:com.miui.weather2, result:0x0
09-06 19:56:40.302 1402 1427 D WifiService: acquireWifiLockLocked: WifiLock{NlpWifiLock type=2 [email protected]}
09-06 19:56:40.293 1428 1428 W Binder_2: type=1400 audit(0.0:2060): avc: denied { ioctl } for path="socket:[113654]" dev="sockfs" ino=113654 ioctlcmd=7704 scontext=u:r:system_server:s0 tcontext=u:r:system_server:s0 tclass=unix_stream_socket permissive=0
09-06 19:56:40.293 1428 1428 W Binder_2: type=1400 audit(0.0:2061): avc: denied { ioctl } for path="socket:[113654]" dev="sockfs" ino=113654 ioctlcmd=7704 scontext=u:r:system_server:s0 tcontext=u:r:system_server:s0 tclass=unix_stream_socket permissive=0
09-06 19:56:40.307 1402 2467 D PowerKeeperPolicy: scanDiedProcess pid = 2326
09-06 19:56:40.308 1402 1740 D wifi : Initialized common fields 10000, 25, 100, 10
09-06 19:56:40.309 1402 1740 D wifi : bucket[0] = 2:3:10000:2
09-06 19:56:40.309 1402 1740 I WifiHAL : getLowiCallbackTable: Entry
09-06 19:56:40.309 1402 1740 I WifiHAL : getLowiCallbackTable: LowiWifiHalApi Null, Initialize Lowi
09-06 19:56:40.311 1402 1740 E WifiHAL : fetchLowiCbTableAndCapabilities: NULL lowi_handle, err: dlopen failed: library "/vendor/lib64/liblowi_wifihal.so" not found
09-06 19:56:40.311 1402 1740 I WifiHAL : getLowiCallbackTable: LOWI is not supported.
09-06 19:56:40.311 1402 1740 I WifiHAL : getLowiCallbackTable: Cleaning up Lowi due to failure. Return NULL
09-06 19:56:40.311 1402 1740 D WifiHAL : wifi_start_gscan: Sending cmd directly to host
09-06 19:56:40.312 1402 1740 I WifiHAL : wifi_start_gscan: RequestId:84
09-06 19:56:40.312 1402 1740 I WifiHAL : wifi_start_gscan: Base Period:10000 Max_ap_per_scan:25 Threshold_percent:100 Threshold_num_scans:10 num_buckets:1
09-06 19:56:40.312 1402 1740 I WifiHAL : wifi_start_gscan: Index: 0 Bucket Id:2 Band:3 Period:10000 ReportEvent:2 numChannelSpecs:0 max_period:0 exponent:0 step_count:0
09-06 19:56:41.077 2146 2146 D wpa_supplicant: nl80211: Event message available
09-06 19:56:41.078 1402 2145 I WifiHAL : event received NL80211_CMD_VENDOR, vendor_id = 0x1374, subcmd = 0x1b
09-06 19:56:41.078 2146 2146 D wpa_supplicant: nl80211: Drv Event 103 (NL80211_CMD_VENDOR) received for wlan0
09-06 19:56:41.078 1402 2145 D WifiHAL : Event QCA_NL80211_VENDOR_SUBCMD_GSCAN_SCAN_EVENT received.
09-06 19:56:41.078 2146 2146 D wpa_supplicant: nl80211: Vendor event: wiphy=0 vendor_id=0x1374 subcmd=27
09-06 19:56:41.078 1402 2145 I WifiHAL : handleEvent: Scan event type: 1, status = 0.
09-06 19:56:41.078 2146 2146 D wpa_supplicant: nl80211: Vendor data - hexdump(len=24): 08 00 01 00 54 00 00 00 05 00 1b 00 01 00 00 00 08 00 1c 00 00 00 00 00
09-06 19:56:41.079 2146 2146 D wpa_supplicant: nl80211: Ignore unsupported QCA vendor event 27
09-06 19:56:41.079 1402 1740 I WifiHAL : getLowiCallbackTable: Entry
09-06 19:56:41.079 1402 1740 I WifiHAL : getLowiCallbackTable: LowiWifiHalApi Null, Initialize Lowi
09-06 19:56:41.081 1402 1740 E WifiHAL : fetchLowiCbTableAndCapabilities: NULL lowi_handle, err: dlopen failed: library "/vendor/lib64/liblowi_wifihal.so" not found
09-06 19:56:41.082 1402 1740 I WifiHAL : getLowiCallbackTable: LOWI is not supported.
09-06 19:56:41.082 1402 1740 I WifiHAL : getLowiCallbackTable: Cleaning up Lowi due to failure. Return NULL
09-06 19:56:41.082 1402 1740 D WifiHAL : wifi_get_cached_gscan_results: Sending cmd directly to host
09-06 19:56:41.082 1402 1740 I WifiHAL : wifi_get_cached_gscan_results: RequestId:498
09-06 19:56:41.084 1402 1740 I WifiHAL : wifi_get_cached_gscan_results: flush:255 max:64
09-06 19:56:41.087 1402 1740 E WifiHAL : handleResponse: num Cached results in this fragment:0
09-06 19:56:41.087 1402 1740 I WifiHAL : wifi_get_cached_gscan_results: max: 64, num:0
09-06 19:56:41.092 1402 1740 I WifiHAL : getLowiCallbackTable: Entry
09-06 19:56:41.093 1402 1740 I WifiHAL : getLowiCallbackTable: LowiWifiHalApi Null, Initialize Lowi
09-06 19:56:41.095 1402 1740 E WifiHAL : fetchLowiCbTableAndCapabilities: NULL lowi_handle, err: dlopen failed: library "/vendor/lib64/liblowi_wifihal.so" not found
09-06 19:56:41.095 1402 1740 I WifiHAL : getLowiCallbackTable: LOWI is not supported.
09-06 19:56:41.095 1402 1740 I WifiHAL : getLowiCallbackTable: Cleaning up Lowi due to failure. Return NULL
09-06 19:56:41.095 1402 1740 D WifiHAL : wifi_stop_gscan: Sending cmd directly to host
09-06 19:56:41.096 1402 1740 I WifiHAL : wifi_stop_gscan: RequestId:84
09-06 19:56:41.103 1402 2463 D WifiService: releaseWifiLockLocked: WifiLock{NlpWifiLock type=2 [email protected]}
09-06 19:56:42.735 1905 2069 I XiaomiFirewall: firewall pkgName:com.miui.weather2, result:0x0
09-06 19:56:43.797 1810 1810 D StatusBar.NetworkController: onSignalStrengthsChanged received on slotId :0signalStrength=SignalStrength: 15 0 -120 -160 -120 -1 -1 99 2147483647 2147483647 2147483647 2147483647 2147483647 gsm|lte level=5 cdmdlevel=0 evdolevel=0
09-06 19:56:44.173 1905 2069 I XiaomiFirewall: firewall pkgName:com.google.android.gms, result:0x0
09-06 19:56:44.611 2382 2903 D QcrilMsgTunnelSocket: readRilMessage: Buffer = [[email protected] HexData = [010000000404000011000000514f454d484f4f4bef0308000100000003]
09-06 19:56:44.611 2382 2903 D QcrilMsgTunnelSocket: Rcvd UNSOL response with 28 bytes data for SUB0
09-06 19:56:44.611 2382 2903 D QcrilMsgTunnelSocket: Response ID 525295 is not served in this process.
09-06 19:56:44.612 2382 2903 D QcrilMsgTunnelSocket: To broadcast an Intent via the notifier to external apps
09-06 19:56:44.613 2382 2382 D QcrilMsgTunnelIfaceManager: handleMessage what = 0
09-06 19:56:44.617 5584 5584 D QC_RIL_OEM_HOOK: Received Broadcast Intent ACTION_UNSOL_RESPONSE_OEM_HOOK_RAW
09-06 19:56:44.617 2506 2506 D QC_RIL_OEM_HOOK: Received Broadcast Intent ACTION_UNSOL_RESPONSE_OEM_HOOK_RAW
09-06 19:56:44.617 5584 5584 D QC_RIL_OEM_HOOK: Oem ID in QCRILHOOK UNSOL RESP is QOEMHOOK
09-06 19:56:44.618 2506 2506 D QC_RIL_OEM_HOOK: Oem ID in QCRILHOOK UNSOL RESP is QOEMHOOK
09-06 19:56:44.618 2506 2506 D QC_RIL_OEM_HOOK: Received Broadcast Intent ACTION_UNSOL_RESPONSE_OEM_HOOK_RAW
09-06 19:56:44.618 2506 2506 D QC_RIL_OEM_HOOK: Oem ID in QCRILHOOK UNSOL RESP is QOEMHOOK
09-06 19:56:44.618 2506 2506 D QC_RIL_OEM_HOOK: Received Broadcast Intent ACTION_UNSOL_RESPONSE_OEM_HOOK_RAW
09-06 19:56:44.619 2506 2506 D QC_RIL_OEM_HOOK: Oem ID in QCRILHOOK UNSOL RESP is QOEMHOOK
09-06 19:56:45.398 1905 2069 I XiaomiFirewall: firewall pkgName:com.miui.weather2, result:0x0
09-06 19:56:46.040 1810 1810 D StatusBar.NetworkController: onSignalStrengthsChanged received on slotId :0signalStrength=SignalStrength: 15 0 -120 -160 -120 -1 -1 99 2147483647 2147483647 2147483647 2147483647 2147483647 gsm|lte level=5 cdmdlevel=0 evdolevel=0
09-06 19:56:48.721 1810 1810 D StatusBar.NetworkController: onSignalStrengthsChanged received on slotId :1signalStrength=SignalStrength: 0 0 -120 -160 -120 0 -1 0 2147483647 2147483647 0 0 2147483647 gsm|lte level=1 cdmdlevel=0 evdolevel=0
09-06 19:57:00.955 2382 2903 D QcrilMsgTunnelSocket: readRilMessage: Buffer = [[email protected] HexData = [010000000404000011000000514f454d484f4f4bef0308000100000003]
09-06 19:57:00.955 2382 2903 D QcrilMsgTunnelSocket: Rcvd UNSOL response with 28 bytes data for SUB0
09-06 19:57:00.956 2382 2903 D QcrilMsgTunnelSocket: Response ID 525295 is not served in this process.
09-06 19:57:00.956 2382 2903 D QcrilMsgTunnelSocket: To broadcast an Intent via the notifier to external apps
09-06 19:57:00.956 2382 2382 D QcrilMsgTunnelIfaceManager: handleMessage what = 0
09-06 19:57:00.962 2506 2506 D QC_RIL_OEM_HOOK: Received Broadcast Intent ACTION_UNSOL_RESPONSE_OEM_HOOK_RAW
09-06 19:57:00.962 5584 5584 D QC_RIL_OEM_HOOK: Received Broadcast Intent ACTION_UNSOL_RESPONSE_OEM_HOOK_RAW
09-06 19:57:00.962 2506 2506 D QC_RIL_OEM_HOOK: Oem ID in QCRILHOOK UNSOL RESP is QOEMHOOK
09-06 19:57:00.963 5584 5584 D QC_RIL_OEM_HOOK: Oem ID in QCRILHOOK UNSOL RESP is QOEMHOOK
09-06 19:57:00.963 2506 2506 D QC_RIL_OEM_HOOK: Received Broadcast Intent ACTION_UNSOL_RESPONSE_OEM_HOOK_RAW
09-06 19:57:00.963 2506 2506 D QC_RIL_OEM_HOOK: Oem ID in QCRILHOOK UNSOL RESP is QOEMHOOK
09-06 19:57:00.963 2506 2506 D QC_RIL_OEM_HOOK: Received Broadcast Intent ACTION_UNSOL_RESPONSE_OEM_HOOK_RAW
09-06 19:57:00.964 2506 2506 D QC_RIL_OEM_HOOK: Oem ID in QCRILHOOK UNSOL RESP is QOEMHOOK
09-06 19:57:01.562 1917 1917 W PushService: 2017-09-06 19:57:01,561 - [WARN:ushService] - [Thread:1] Service called on timer
09-06 19:57:01.563 1917 1995 W PushService: 2017-09-06 19:57:01,562 - [WARN:ushService] - [Thread:52] [Slim] SND ping
09-06 19:57:02.030 1917 7589 W PushService: 2017-09-06 19:57:02,029 - [WARN:ushService] - [Thread:74] [Slim] RCV ping
09-06 19:57:03.956 1810 1810 D StatusBar.NetworkController: onSignalStrengthsChanged received on slotId :0signalStrength=SignalStrength: 15 0 -120 -160 -120 -1 -1 99 2147483647 2147483647 2147483647 2147483647 2147483647 gsm|lte level=5 cdmdlevel=0 evdolevel=0
09-06 19:57:08.742 1810 1810 D StatusBar.NetworkController: onSignalStrengthsChanged received on slotId :1signalStrength=SignalStrength: 0 0 -120 -160 -120 0 -1 0 2147483647 2147483647 0 0 2147483647 gsm|lte level=1 cdmdlevel=0 evdolevel=0
C:\Program Files (x86)\Minimal ADB and Fastboot>[/CODE]

logcat is useless after reboot

Hi,
There is no information about your phone, rom, mods etc.
Also dmesg is more useful for that reason, logcat only tells android things.
Make sure your phone is not overheating, you don't have any bloatware/virus.
You can try to factory reset the device and flash a clean ROM.

alreadyregistered said:
logcat is useless after reboot
Click to expand...
Click to collapse
The Logcat was taken before the reboot using adb until it disconnected because of the shut down.

Related

Camera Issue after opening the backdoor/housing

Yesterday, I reopen the housing of my phone. The camera was OK.
I reapply the adhesive to make it tidier and screw 2 holes i hadnt screwed.
Then, i saw my phone hung after boot and had to wait for several minutes.
Then, i reflash to Lineage to test if it's probably software fault. But, it didn't hang on boot but the camera app looks blank or black (the same thing happened in camera stock 5.11) 3rd party camera doesnt help at all.
Every app hangs on camera. Messenger,Instagram,Camera,Camera FV-5,etc
Here is the partial logcat from Camera launch until it forcedly closed:
Code:
04-19 10:04:14.928 519 4737 I mm-camera: module_sensor_start_session:1352session 1
04-19 10:04:14.935 519 4739 E mm-camera-isp2: isp_module_start_session:851 num_session_opened 1
04-19 10:04:14.960 519 4737 E mm-camera-sensor: sony_sensor_i2c_write:491 failed
04-19 10:04:14.960 519 4737 E mm-camera-sensor: sony_sensor_i2c_write:491 failed
04-19 10:04:14.960 519 4737 E mm-camera-sensor: sony_sensor_i2c_write:491 failed
04-19 10:04:14.960 519 4737 E somc-camera-driver: SOCAM_ERR: sony_camera_reg_write: - sony_camera_reg_write: 0x105 is failed
04-19 10:04:14.960 519 4737 E somc-camera-driver: SOCAM_ERR: sony_camera_set_load_table: - sony_camera_set_load_table: Load Table[0] Error!
04-19 10:04:14.960 519 4737 E somc-camera-driver: SOCAM_ERR: sony_camera_module_sensor_init: Failed to init a sensor driver
04-19 10:04:14.960 519 4737 E mm-camera-sensor: sony_sensor_process_init:1973
04-19 10:04:15.171 519 4737 E mm-camera: module_sensor_init_session:1162failed rc -1
04-19 10:04:15.171 519 4737 E somc-camera-driver: SOCAM_ERR: sony_camera_module_queue_deinit: Invalid argument.
04-19 10:04:15.171 519 4737 E somc-camera-driver: SOCAM_ERR: sony_camera_module_queue_deinit: Invalid argument.
04-19 10:04:15.171 519 4737 E somc-camera-driver: SOCAM_ERR: sony_camera_module_queue_deinit: Invalid argument.
04-19 10:04:15.172 519 4737 E mm-camera-sensor: sony_sensor_power_down:1278
04-19 10:04:15.172 519 4737 E mm-camera: module_sensor_init_session:1258failed
04-19 10:04:15.172 519 4737 E mm-camera: module_sensor_start_session:1375failed
04-19 10:04:15.172 519 4737 E mm-camera: module_sensor_start_session:1403failed
04-19 10:04:15.173 519 519 E mm-camera-sensor: sony_sensor_process:2315
04-19 10:04:15.173 519 519 E mm-camera: module_sensor_query_mod:5531failed rc -4
04-19 10:04:15.173 519 519 E mm-camera: mct: mct_pipeline_query_modules: query_mod failed on sensor
04-19 10:04:15.173 519 519 I mm-camera: module_module_set_session_data:5890max delay 0 report delay 0 retry skip 0
04-19 10:04:15.173 519 519 I mm-camera: module_iface_set_mod_func: set module type = 8, identity 1000f
04-19 10:04:15.173 519 519 I mm-camera-sensor: port_sensor_caps_reserve:151ide 1000f stream type 10 w*h 0*0
04-19 10:04:15.173 519 519 I mm-camera-sensor: port_sensor_ext_link_func:271ide 1000f
04-19 10:04:15.178 519 519 E mm-camera: mct: mct_controller_new: Start session failed with status 1
04-19 10:04:15.179 519 519 I mm-camera-sensor: port_sensor_unlink_func:293ide 1000f
04-19 10:04:15.179 519 519 I mm-camera: port_iface_ext_unlink_func: E, identity = 0x1000f, port = 0xf48aad20, direction = 2
04-19 10:04:15.179 519 519 I mm-camera-sensor: port_sensor_caps_unreserve:204ide 1000f
04-19 10:04:15.179 519 519 I mm-camera: port_iface_check_caps_unreserve_func: E, identity = 0x1000f, port = 0xf48aad20, direction = 2
04-19 10:04:15.179 519 519 E mm-camera: iface_unreserve_sink_port: stream_id f mode 0
04-19 10:04:15.179 519 519 I mm-camera: port_iface_ext_unlink_func: E, identity = 0x1000f, port = 0xf48ab020, direction = 1
04-19 10:04:15.179 519 519 I mm-camera: port_iface_check_caps_unreserve_func: E, identity = 0x1000f, port = 0xf48ab020, direction = 1
04-19 10:04:15.179 519 519 E mm-camera: isp_util_get_session_stream_param_from_type:6764 failed: l_stream_params 0x0 for stream type 10
04-19 10:04:15.179 519 4754 I mm-camera: module_sensor_stop_session:1422session 1
04-19 10:04:15.179 519 4754 E mm-camera: module_sensor_deinit_session:1282ref count 0
04-19 10:04:15.179 519 4754 E mm-camera: module_sensor_stop_session:1441failed
04-19 10:04:15.179 519 4754 E mm-camera: module_sensor_stop_session:1458failed
04-19 10:04:15.179 519 4754 E mm-camera: mct: mct_pipeline_stop_session_thread: Failed to stop module name: sensor
04-19 10:04:15.186 519 519 E mm-camera: main: New session [1] creation failed with error
04-19 10:04:15.186 519 519 E mm-camera: main: camera daemon notify error
04-19 10:04:16.725 489 489 I MSM-irqbalance: Decided to move IRQ195 from CPU3 to CPU0
04-19 10:04:18.025 500 830 D audio_hw_primary: out_standby: enter: stream (0xf5b98000) usecase(1: low-latency-playback)
04-19 10:04:18.069 500 830 D audio_hw_primary: disable_audio_route: reset and update mixer path: low-latency-playback
04-19 10:04:18.071 500 830 D hardware_info: hw_info_append_hw_type : device_name = speaker
04-19 10:04:18.072 500 830 D audio_hw_primary: disable_snd_device: snd_device(2: speaker)
04-19 10:04:21.726 489 489 I MSM-irqbalance: Decided to move IRQ196 from CPU3 to CPU0
04-19 10:04:24.821 1186 1827 W ActivityManager: Launch timeout has expired, giving up wake lock!
04-19 10:04:26.726 489 489 I MSM-irqbalance: Decided to move IRQ51 from CPU2 to CPU0
04-19 10:04:28.923 501 501 E mm-camera-intf: mm_camera_open: cannot open control fd of '/dev/video1' (Connection timed out)
04-19 10:04:28.923 501 501 E mm-camera-intf: camera_open: mm_camera_open err = -1
04-19 10:04:28.923 501 501 E cammw : E: cammw_platform_camera_open: camera open error
04-19 10:04:28.923 501 501 E cammw : E: cammw_camera_open: platform camera open error
04-19 10:04:28.923 501 501 E cald : 377321086573 excal_system.cpp (390) 501 E [EXC] Camera can't open.
04-19 10:04:28.923 501 501 E camera-hal: camera_module.cpp(291):getCameraInfo: Getting systemInfo error
04-19 10:04:28.923 501 501 I camera-hal: camera_hal.cpp(473):module_api_get_camera_info: cameraId 0 ret -19
04-19 10:04:28.925 4718 4718 D AndroidRuntime: Shutting down VM
04-19 10:04:28.927 4718 4718 E AndroidRuntime: FATAL EXCEPTION: main
04-19 10:04:28.927 4718 4718 E AndroidRuntime: Process: org.cyanogenmod.snap, PID: 4718
04-19 10:04:28.927 4718 4718 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{org.cyanogenmod.snap/com.android.camera.CameraActivity}: java.lang.RuntimeException: Fail to get camera info
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2681)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2742)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at android.app.ActivityThread.-wrap12(ActivityThread.java)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1489)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6178)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: Caused by: java.lang.RuntimeException: Fail to get camera info
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at android.hardware.Camera._getCameraInfo(Native Method)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at android.hardware.Camera.getCameraInfo(Camera.java:288)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at com.android.camera.CameraHolder.<init>(CameraHolder.java:173)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at com.android.camera.CameraHolder.instance(CameraHolder.java:127)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at com.android.camera.CameraSettings.readPreferredCameraId(CameraSettings.java:1353)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at com.android.camera.CameraSettings.upgradeCameraId(CameraSettings.java:1341)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at com.android.camera.CameraSettings.upgradeGlobalPreferences(CameraSettings.java:1284)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at com.android.camera.SettingsManager.<init>(SettingsManager.java:143)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at com.android.camera.CameraActivity.onCreate(CameraActivity.java:1469)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:6682)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2634)
04-19 10:04:28.927 4718 4718 E AndroidRuntime: ... 9 more
04-19 10:04:28.930 1186 3362 W ActivityManager: Force finishing activity org.cyanogenmod.snap/com.android.camera.CameraLauncher
04-19 10:04:28.944 1186 3362 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:877 com.android.server.am.AppErrors.crashApplicationInner:375 com.android.server.am.AppErrors.crashApplication:309 com.android.server.am.ActivityManagerService.handleApplicationCrashInner:13735 com.android.server.am.ActivityManagerService.handleApplicationCrash:13717
04-19 10:04:28.945 1186 3362 E ActivityManager: Sending non-protected broadcast projekt.substratum.APP_CRASHED from system 1186:system/1000 pkg android
04-19 10:04:28.945 1186 3362 E ActivityManager: java.lang.Throwable
04-19 10:04:28.945 1186 3362 E ActivityManager: at com.android.server.am.ActivityManagerService.checkBroadcastFromSystem(ActivityManagerService.java:18155)
04-19 10:04:28.945 1186 3362 E ActivityManager: at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:18744)
04-19 10:04:28.945 1186 3362 E ActivityManager: at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:18835)
04-19 10:04:28.945 1186 3362 E ActivityManager: at android.app.ContextImpl.sendBroadcast(ContextImpl.java:881)
04-19 10:04:28.945 1186 3362 E ActivityManager: at com.android.server.am.AppErrors.crashApplicationInner(AppErrors.java:375)
04-19 10:04:28.945 1186 3362 E ActivityManager: at com.android.server.am.AppErrors.crashApplication(AppErrors.java:309)
04-19 10:04:28.945 1186 3362 E ActivityManager: at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:13735)
04-19 10:04:28.945 1186 3362 E ActivityManager: at com.android.server.am.ActivityManagerService.handleApplicationCrash(ActivityManagerService.java:13717)
04-19 10:04:28.945 1186 3362 E ActivityManager: at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:1660)
04-19 10:04:28.945 1186 3362 E ActivityManager: at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2984)
04-19 10:04:28.945 1186 3362 E ActivityManager: at android.os.Binder.execTransact(Binder.java:565)
04-19 10:04:29.021 1186 4043 I OpenGLRenderer: Initialized EGL, version 1.4
04-19 10:04:29.021 1186 4043 D OpenGLRenderer: Swap behavior 1
04-19 10:04:29.444 1186 1827 W ActivityManager: Activity pause timeout for ActivityRecord{a80e5a1 u0 org.cyanogenmod.snap/com.android.camera.CameraLauncher t32 f}
04-19 10:04:29.469 1186 1827 I WindowManager: Failed to capture screenshot of Token{a5f03c6 ActivityRecord{a80e5a1 u0 org.cyanogenmod.snap/com.android.camera.CameraLauncher t32 f}} appWin=Window{c2787f u0 Starting org.cyanogenmod.snap} drawState=4
04-19 10:04:29.997 1186 1986 W WindowManager: Failed looking up window
04-19 10:04:29.997 1186 1986 W WindowManager: java.lang.IllegalArgumentException: Requested window [email protected] does not exist
04-19 10:04:29.997 1186 1986 W WindowManager: at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9484)
04-19 10:04:29.997 1186 1986 W WindowManager: at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9475)
04-19 10:04:29.997 1186 1986 W WindowManager: at com.android.server.wm.WindowManagerService.removeWindow(WindowManagerService.java:2396)
04-19 10:04:29.997 1186 1986 W WindowManager: at com.android.server.wm.Session.remove(Session.java:193)
04-19 10:04:29.997 1186 1986 W WindowManager: at android.view.ViewRootImpl.dispatchDetachedFromWindow(ViewRootImpl.java:3290)
04-19 10:04:29.997 1186 1986 W WindowManager: at android.view.ViewRootImpl.doDie(ViewRootImpl.java:5923)
04-19 10:04:29.997 1186 1986 W WindowManager: at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3629)
04-19 10:04:29.997 1186 1986 W WindowManager: at android.os.Handler.dispatchMessage(Handler.java:102)
04-19 10:04:29.997 1186 1986 W WindowManager: at android.os.Looper.loop(Looper.java:154)
04-19 10:04:29.997 1186 1986 W WindowManager: at android.os.HandlerThread.run(HandlerThread.java:61)
04-19 10:04:29.997 1186 1986 W WindowManager: at com.android.server.ServiceThread.run(ServiceThread.java:46)
04-19 10:04:30.111 3385 3504 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
04-19 10:04:30.111 3385 3504 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
04-19 10:04:31.727 489 489 I MSM-irqbalance: Decided to move IRQ224 from CPU3 to CPU0
04-19 10:04:33.160 3281 3440 W MediaScanner: Error opening directory '/storage/0000-0000/.android_secure/', skipping: Permission denied.
04-19 10:04:33.254 1186 2702 I ActivityManager: Killing 3248:org.lineageos.customtiles/1000 (adj 906): empty #17
04-19 10:04:33.275 1186 3361 D ActivityManager: cleanUpApplicationRecord -- 3248
04-19 10:04:36.754 489 489 I MSM-irqbalance: Decided to move IRQ57 from CPU3 to CPU0
04-19 10:04:39.797 1186 1827 W ActivityManager: Activity destroy timeout for ActivityRecord{a80e5a1 u0 org.cyanogenmod.snap/com.android.camera.CameraLauncher t32 f}
Any help would be appreciated! Thanks
Try flashing stock ftf!! Seems camera driver and bunch of cam components hasn't been properly defined
---------- Post added at 06:00 PM ---------- Previous post was at 05:52 PM ----------
Try stock ftf!! If it doesn't work..disconnect and Reconnect the camera cable (strap) and the strap which is joining the headphone jack Power, volume keys and cam key.

Magisk Manager keeps force stopping after update from 17.1 to 18

Hi,
I just updated my Magisk Manager from within the app from v17.1 to v18, and now it keeps force stopping. Logcat output when it crashes is as follows:
Code:
12-11 13:41:05.720 21419 21484 E AndroidRuntime: FATAL EXCEPTION: AsyncTask #3
12-11 13:41:05.720 21419 21484 E AndroidRuntime: Process: com.topjohnwu.magisk, PID: 21419
12-11 13:41:05.720 21419 21484 E AndroidRuntime: java.lang.NullPointerException: Attempt to read from field 'int a.zi.c' on a null object reference
12-11 13:41:05.720 21419 21484 E AndroidRuntime: at a.uv.a(Unknown Source)
12-11 13:41:05.720 21419 21484 E AndroidRuntime: at a.uv.b(Unknown Source)
12-11 13:41:05.720 21419 21484 E AndroidRuntime: at a.uv.lambda$ZFQE15Y-O-EDUdsm62tZ8CmB2-A(Unknown Source)
12-11 13:41:05.720 21419 21484 E AndroidRuntime: at a.-$$Lambda$uv$ZFQE15Y-O-EDUdsm62tZ8CmB2-A.run(lambda)
12-11 13:41:05.720 21419 21484 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
12-11 13:41:05.720 21419 21484 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
12-11 13:41:05.720 21419 21484 E AndroidRuntime: at java.lang.Thread.run(Thread.java:818)
12-11 13:41:05.723 881 3514 W ActivityManager: Force finishing activity com.topjohnwu.magisk/a.b
I tried flashing the v18 zip file and encountered the same problem. Flashing back to v17.1 fixed the problem, haven't tried 17.2 though.
My device is a Nexus 5X running Android 6.0.1.
How do I fix this?

Question Camera App stops working after July'21 update

Hi all,
I need some help. After the recent update, my phone's camera app isn't working. I had in the past remove all the bloatware, but everything was still working including the camera prior to updating.
I tried running "logcat | grep AndroidRuntime" and saw this:
07-19 16:28:53.160 19795 19795 E AndroidRuntime: FATAL EXCEPTION: main
07-19 16:28:53.160 19795 19795 E AndroidRuntime: Process: com.sec.android.app.camera, PID: 19795
07-19 16:28:53.160 19795 19795 E AndroidRuntime: java.lang.SecurityException: Failed to find provider com.samsung.android.app.screenrecorder.provider for user 0; expected to find a valid ContentProvider for this authority
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at android.os.Parcel.createExceptionOrNull(Parcel.java:2385)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at android.os.Parcel.createException(Parcel.java:2369)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:2352)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:2294)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at android.content.IContentService$Stub$Proxy.registerContentObserver(IContentService.java:1250)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at android.content.ContentResolver.registerContentObserver(ContentResolver.java:2637)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at android.content.ContentResolver.registerContentObserver(ContentResolver.java:2625)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at com.sec.android.app.camera.Camera.onCameraEnterCompleted(Camera.java:2334)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at com.sec.android.app.camera.Camera.onStartPreviewCompleted(Camera.java:1034)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at com.sec.android.app.camera.engine.RequestEventManager.lambda$handlePreviewRequestApplied$1$RequestEventManager(RequestEventManager.java:221)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at com.sec.android.app.camera.engine.-$$Lambda$RequestEventManager$Bn_xBsxcRHSYb-bsNmOI0lTQwiU.run(Unknown Source:2)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at com.sec.android.app.camera.engine.CommonEngine.lambda$postToUiThread$3$CommonEngine(CommonEngine.java:1110)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at com.sec.android.app.camera.engine.-$$Lambda$CommonEngine$HApqQcCeMPs-rB9SjWj4YI4-ayQ.run(Unknown Source:4)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:938)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at android.os.Looper.loop(Looper.java:246)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8512)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
07-19 16:28:53.160 19795 19795 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
It looks like I might be missing this package "com.samsung.android.app.screenrecorder.provider", so I tried reinstalling it(I cant rmb if I had uninstalled this in the past) but looks like it doesn't exist.
p3s:/ $ cmd package install-existing com.samsung.android.app.screenrecorder.provider
android.content.pm.PackageManager$NameNotFoundException: Package com.samsung.android.app.screenrecorder.provider doesn't exist
I have a work profile running the same Camera version 11.0.03.10 and it works fine.
I'm stuck now
I've fixed this. For closure, you need to install this package as the screen recorder relies on this.
130|p3s:/ $ cmd package install-existing com.samsung.android.app.smartcapture
Package com.samsung.android.app.smartcapture installed for user: 0

G5s+: Failed to generate attestation certificate chain

Hello,
I'm using ArrowOs to run the Munich's local transport's app "MVG Fahrinfo", which allows to buy tickets for the local bus&subway services.
I was able to buy those tickets until at least May 25th, 2022.
I remember, there has been an update to the app, but since I needed no ticket, I noticed by end-June, that I could no longer buy tickets. The app just crashed.
Turning on the logging, I'm getting the following error in the log:
Code:
07-13 07:33:35.097 8070 8092 D TransportRuntime.JobInfoScheduler: Scheduling upload for context TransportContext(cct, HIGHEST, MSRodHRwczovL2NyYXNobHl0aWNzcmVwb3J0cy1wYS5nb29nbGVhcGlzLmNvbS92MS9maXJlbG9nL2xlZ2FjeS9iYXRjaGxvZ1xBSXphU3lCcnBTWVQ0RkZMMDlyZUhKaTZIOUZZZGVpU25VVE92Mk0=) with jobId=1899902110 in 1000ms(Backend next call timestamp 1657115477558). Attempt 1
--------- beginning of crash
07-13 07:33:35.113 8070 8070 E AndroidRuntime: FATAL EXCEPTION: main
07-13 07:33:35.113 8070 8070 E AndroidRuntime: Process: de.swm.mvgfahrinfo.muenchen, PID: 8070
07-13 07:33:35.113 8070 8070 E AndroidRuntime: java.security.ProviderException: Failed to generate attestation certificate chain
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.getAttestationChain(AndroidKeyStoreKeyPairGeneratorSpi.java:611)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.createCertificateChain(AndroidKeyStoreKeyPairGeneratorSpi.java:498)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.generateKeyPair(AndroidKeyStoreKeyPairGeneratorSpi.java:475)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:727)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at b.b(Unknown Source:28)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at c$a.invokeSuspend(SourceFile:6)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:4)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at kotlinx.coroutines.DispatchedTask.run(SourceFile:22)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:938)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at android.os.Looper.loop(Looper.java:223)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7665)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:594)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: Caused by: android.security.KeyStoreException: Not implemented
07-13 07:33:35.113 8070 8070 E AndroidRuntime: at android.security.KeyStore.getKeyStoreException(KeyStore.java:1306)
07-13 07:33:35.113 8070 8070 E AndroidRuntime: ... 15 more
07-13 07:33:35.116 2534 9249 I DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2
07-13 07:33:35.117 2534 6885 W ActivityTaskManager: Force finishing activity de.swm.mvgfahrinfo.muenchen/.mobilityticketing.MobilityTicketingActivity
07-13 07:33:35.120 2534 9249 W DropBoxManagerService: Dropping: data_app_crash (1578 > 0 bytes)
I have another sanders phone, which has the same problem.
Today, I've reverted one of those phones to stock Oreo, and there I could buy a ticket successfully. But updating the phone again to an ArrowOs version (Offical of January 2022), which allowed to buy a ticket in January (I still have the receipt...), leads to the problem again.
So my guess is: the app got changed, such that it now requests something, that leads to the error. Using it on an older version does not show this error, so it must handle that request differently.
From what I found on XDA and elsewhere was the info, that a key is being requested, that seems to be missing.
Is that correct? Does anybody know, how I can resolve this issue?
Thanks a lot.
kniffte

Question WhatsApp TwinApp issues

Hello,
I could never get WhatsApp working properly on the second SIM card. I can send and receive messages but cannot download any attachments nor photos. Not sure if anyone else ran into this problem before.
Code:
10-25 12:00:18.503 11270 11305 E SQLiteDatabase: Error inserting transferred=0 media_job_uuid=0485731c-be19-4800-85ed-0faac864d787 transcoded=0 gif_attribution=0 first_scan_length=0 direct_path=/v/************** thumbnail_height_width_ratio=1.4693878 is_animated_sticker=0 file_hash=/dGkYBOghWKNjA3T7mtS8OvrkS177S1vRfYf1Ue58kI= file_path=null file_size=0 partial_media_hash=null face_x=0 face_y=0 height=0 trim_to=0 media_key_timestamp=1666093111000 message_url=*************** media_caption=null trim_from=0 mime_type=application/pdf partial_media_enc_hash=null width=0 original_file_hash=null has_streaming_sidecar=0 autotransfer_retry_enabled=1 message_row_id=1938 multicast_id=null enc_file_hash=fO5B1qe0ItGKaAZUkcQ2dacnGv5og61g++aK2qZ1kxc= mute_video=0 page_count=3 first_scan_sidecar=null suspicious_content=0 file_length=130102 media_name=*************.pdf media_duration=0 chat_row_id=49 media_key=[[email protected]
10-25 12:00:18.503 11270 11305 E SQLiteDatabase: android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: message_media.message_row_id (code 1555 SQLITE_CONSTRAINT_PRIMARYKEY)
10-25 12:00:18.503 11270 11305 E SQLiteDatabase: at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method)
10-25 12:00:18.503 11270 11305 E SQLiteDatabase: at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:940)
10-25 12:00:18.503 11270 11305 E SQLiteDatabase: at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:790)
10-25 12:00:18.503 11270 11305 E SQLiteDatabase: at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:89)
10-25 12:00:18.503 11270 11305 E SQLiteDatabase: at android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1702)
10-25 12:00:18.503 11270 11305 E SQLiteDatabase: at android.database.sqlite.SQLiteDatabase.insert(SQLiteDatabase.java:1571)
10-25 12:00:18.503 11270 11305 E SQLiteDatabase: at X.0pg.A02(:123971)
10-25 12:00:18.503 11270 11305 E SQLiteDatabase: at X.0xK.A07(:176938)
10-25 12:00:18.503 11270 11305 E SQLiteDatabase: at X.0oc.A0x(:115901)
10-25 12:00:18.503 11270 11305 E SQLiteDatabase: at com.facebook.redex.RunnableRunnableShape0S0201000_I0.run(:522902)
10-25 12:00:18.503 11270 11305 E SQLiteDatabase: at android.os.Handler.handleCallback(Handler.java:938)
10-25 12:00:18.503 11270 11305 E SQLiteDatabase: at android.os.Handler.dispatchMessage(Handler.java:99)
10-25 12:00:18.503 11270 11305 E SQLiteDatabase: at X.1cc.dispatchMessage(:305319)
10-25 12:00:18.503 11270 11305 E SQLiteDatabase: at android.os.Looper.loopOnce(Looper.java:241)
10-25 12:00:18.503 11270 11305 E SQLiteDatabase: at android.os.Looper.loop(Looper.java:358)
10-25 12:00:18.503 11270 11305 E SQLiteDatabase: at android.os.HandlerThread.run(HandlerThread.java:67)
10-25 12:00:18.555 1445 4762 I InputDispatcher: Window '81e937d com.whatsapp/com.whatsapp.Conversation (server)' spent 1.6ms processing input events on average(0/17). Monitor spent 1.8ms processing input events on average(0/4). Window input events down spent 2.3ms on average (0/8). Window input events up spent 0.9ms on average (0/6). Monitor input events down spent 2.4ms on average (0/2). Monitor input events up spent 1.2ms on average (0/2).

Categories

Resources