MIUI 12 keeps restarting - General Questions and Answers

Hi Guys,
Friend asked me for help with his Mi10T Pro.
With no reason phone started to restart MIUI (12) after couple seconds (~10-15secs.) from turning it on.
I got home screen and suddenly it shows "5G MIUI" logo and launcher starts again.
Is there any way to recover the data? I tried using ADB pull - it lets me download around ~100 photos until connections drops.
Maybe there is a way to hold this restarts and let ADB to copy the data? I managed to collect some crash logs.
Any help will be much appreciated. Thx in advance!
09-08 10:49:05.937 1337 1337 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 1337 (init), pid 1337 (init)
09-08 10:49:06.006 1337 1337 F libc : crash_dump helper failed to exec
09-08 10:50:15.442 2041 3482 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: AsyncTask #2
09-08 10:50:15.442 2041 3482 E AndroidRuntime: android.util.proto.WireTypeMismatchException: Current wire type Fixed32 does not match expected wire type Length Delimited at offset 0x1
09-08 10:50:15.442 2041 3482 E AndroidRuntime: mFieldNumber : 0xc
09-08 10:50:15.442 2041 3482 E AndroidRuntime: mWireType : 0x5
09-08 10:50:15.442 2041 3482 E AndroidRuntime: mState : 0x1
09-08 10:50:15.442 2041 3482 E AndroidRuntime: mDiscardedBytes : 0x0
09-08 10:50:15.442 2041 3482 E AndroidRuntime: mOffset : 0x1
09-08 10:50:15.442 2041 3482 E AndroidRuntime: mExpectedObjectTokenStack : null
09-08 10:50:15.442 2041 3482 E AndroidRuntime: mDepth : 0xffffffff
09-08 10:50:15.442 2041 3482 E AndroidRuntime: mBuffer : [[email protected]
09-08 10:50:15.442 2041 3482 E AndroidRuntime: mBufferSize : 0x2000
09-08 10:50:15.442 2041 3482 E AndroidRuntime: mEnd : 0x665
09-08 10:50:15.442 2041 3482 E AndroidRuntime: at android.util.proto.ProtoInputStream.assertWireType(ProtoInputStream.java:929)
09-08 10:50:15.442 2041 3482 E AndroidRuntime: at android.util.proto.ProtoInputStream.start(ProtoInputStream.java:494)
09-08 10:50:15.442 2041 3482 E AndroidRuntime: at com.android.server.usage.UsageStatsProto.loadCountAndTime(UsageStatsProto.java:157)
09-08 10:50:15.442 2041 3482 E AndroidRuntime: at com.android.server.usage.UsageStatsProto.read(UsageStatsProto.java:537)
09-08 10:50:15.442 2041 3482 E AndroidRuntime: at com.android.server.usage.UsageStatsDatabase.readLocked(UsageStatsDatabase.java:887)
09-08 10:50:15.442 2041 3482 E AndroidRuntime: at com.android.server.usage.UsageStatsDatabase.readLocked(UsageStatsDatabase.java:859)
09-08 10:50:15.442 2041 3482 E AndroidRuntime: at com.android.server.usage.UsageStatsDatabase.readLocked(UsageStatsDatabase.java:850)
09-08 10:50:15.442 2041 3482 E AndroidRuntime: at com.android.server.usage.UsageStatsDatabase.queryUsageStats(UsageStatsDatabase.java:659)
09-08 10:50:15.442 2041 3482 E AndroidRuntime: at com.android.server.usage.UserUsageStatsService.queryStats(UserUsageStatsService.java:350)
09-08 10:50:15.442 2041 3482 E AndroidRuntime: at com.android.server.usage.UserUsageStatsService.queryUsageStats(UserUsageStatsService.java:377)
09-08 10:50:15.442 2041 3482 E AndroidRuntime: at com.android.server.usage.UsageStatsService.queryUsageStats(UsageStatsService.java:631)
09-08 10:50:15.442 2041 3482 E AndroidRuntime: at com.android.server.usage.UsageStatsService$LocalService.queryUsageStatsForUser(UsageStatsService.java:1810)
09-08 10:50:15.442 2041 3482 E AndroidRuntime: at com.android.server.storage.CacheQuotaStrategy.getUnfulfilledRequests(CacheQuotaStrategy.java:178)
09-08 10:50:15.442 2041 3482 E AndroidRuntime: at com.android.server.storage.CacheQuotaStrategy.access$200(CacheQuotaStrategy.java:74)
09-08 10:50:15.442 2041 3482 E AndroidRuntime: at com.android.server.storage.CacheQuotaStrategy$1$1.run(CacheQuotaStrategy.java:136)
09-08 10:50:15.442 2041 3482 E AndroidRuntime: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289)
09-08 10:50:15.442 2041 3482 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
09-08 10:50:15.442 2041 3482 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
09-08 10:50:15.442 2041 3482 E AndroidRuntime: at java.lang.Thread.run(Thread.java:919)
09-08 10:50:15.569 3227 3227 E AndroidRuntime: FATAL EXCEPTION: main
09-08 10:50:15.569 3227 3227 E AndroidRuntime: Process: com.google.android.gms.persistent, PID: 3227
09-08 10:50:15.569 3227 3227 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-08 10:50:15.569 4269 6891 E AndroidRuntime: FATAL EXCEPTION: [com.google.android.gms.chimera.GmsIntentOperationService$ChimeraService-Executor] idle
09-08 10:50:15.569 4269 6891 E AndroidRuntime: Process: com.google.android.gms, PID: 4269
09-08 10:50:15.569 4269 6891 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-08 10:50:15.575 4269 7662 E AndroidRuntime: FATAL EXCEPTION: [com.google.android.gms.chimera.GmsIntentOperationService$ChimeraService-Executor] idle
09-08 10:50:15.575 4269 7662 E AndroidRuntime: Process: com.google.android.gms, PID: 4269
09-08 10:50:15.575 4269 7662 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-08 10:50:15.587 4269 7765 E AndroidRuntime: FATAL EXCEPTION: [com.google.android.gms.chimera.GmsIntentOperationService$ChimeraService-Executor] idle
09-08 10:50:15.587 4269 7765 E AndroidRuntime: Process: com.google.android.gms, PID: 4269
09-08 10:50:15.587 4269 7765 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-08 10:50:15.591 4269 7566 E AndroidRuntime: FATAL EXCEPTION: [com.google.android.gms.chimera.GmsIntentOperationService$ChimeraService-Executor] idle
09-08 10:50:15.591 4269 7566 E AndroidRuntime: Process: com.google.android.gms, PID: 4269
09-08 10:50:15.591 4269 7566 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-08 10:50:15.604 2751 3175 E AndroidRuntime: FATAL EXCEPTION: ToggleManager
09-08 10:50:15.604 2751 3175 E AndroidRuntime: Process: com.android.systemui, PID: 2751
09-08 10:50:15.604 2751 3175 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-08 10:50:15.613 4313 7779 E AndroidRuntime: FATAL EXCEPTION: GoogleApiClient
09-08 10:50:15.613 4313 7779 E AndroidRuntime: Process: com.google.android.googlequicksearchbox:search, PID: 4313
09-08 10:50:15.613 4313 7779 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-08 10:50:15.621 3227 7684 E AndroidRuntime: FATAL EXCEPTION: lowpool[8]
09-08 10:50:15.621 3227 7684 E AndroidRuntime: Process: com.google.android.gms.persistent, PID: 3227
09-08 10:50:15.621 3227 7684 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-08 10:50:15.638 7442 7514 E AndroidRuntime: FATAL EXCEPTION: AsyncTask #2
09-08 10:50:15.638 7442 7514 E AndroidRuntime: Process: com.google.android.gm, PID: 7442
09-08 10:50:15.638 7442 7514 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-08 10:50:50.103 7956 9254 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: AsyncTask #2
09-08 10:50:50.103 7956 9254 E AndroidRuntime: android.util.proto.WireTypeMismatchException: Current wire type Fixed32 does not match expected wire type Length Delimited at offset 0x1
09-08 10:50:50.103 7956 9254 E AndroidRuntime: mFieldNumber : 0xc
09-08 10:50:50.103 7956 9254 E AndroidRuntime: mWireType : 0x5
09-08 10:50:50.103 7956 9254 E AndroidRuntime: mState : 0x1
09-08 10:50:50.103 7956 9254 E AndroidRuntime: mDiscardedBytes : 0x0
09-08 10:50:50.103 7956 9254 E AndroidRuntime: mOffset : 0x1
09-08 10:50:50.103 7956 9254 E AndroidRuntime: mExpectedObjectTokenStack : null
09-08 10:50:50.103 7956 9254 E AndroidRuntime: mDepth : 0xffffffff
09-08 10:50:50.103 7956 9254 E AndroidRuntime: mBuffer : [[email protected]
09-08 10:50:50.103 7956 9254 E AndroidRuntime: mBufferSize : 0x2000
09-08 10:50:50.103 7956 9254 E AndroidRuntime: mEnd : 0x665
09-08 10:50:50.103 7956 9254 E AndroidRuntime: at android.util.proto.ProtoInputStream.assertWireType(ProtoInputStream.java:929)
09-08 10:50:50.103 7956 9254 E AndroidRuntime: at android.util.proto.ProtoInputStream.start(ProtoInputStream.java:494)
09-08 10:50:50.103 7956 9254 E AndroidRuntime: at com.android.server.usage.UsageStatsProto.loadCountAndTime(UsageStatsProto.java:157)
09-08 10:50:50.103 7956 9254 E AndroidRuntime: at com.android.server.usage.UsageStatsProto.read(UsageStatsProto.java:537)
09-08 10:50:50.103 7956 9254 E AndroidRuntime: at com.android.server.usage.UsageStatsDatabase.readLocked(UsageStatsDatabase.java:887)
09-08 10:50:50.103 7956 9254 E AndroidRuntime: at com.android.server.usage.UsageStatsDatabase.readLocked(UsageStatsDatabase.java:859)
09-08 10:50:50.103 7956 9254 E AndroidRuntime: at com.android.server.usage.UsageStatsDatabase.readLocked(UsageStatsDatabase.java:850)
09-08 10:50:50.103 7956 9254 E AndroidRuntime: at com.android.server.usage.UsageStatsDatabase.queryUsageStats(UsageStatsDatabase.java:659)
09-08 10:50:50.103 7956 9254 E AndroidRuntime: at com.android.server.usage.UserUsageStatsService.queryStats(UserUsageStatsService.java:350)
09-08 10:50:50.103 7956 9254 E AndroidRuntime: at com.android.server.usage.UserUsageStatsService.queryUsageStats(UserUsageStatsService.java:377)
09-08 10:50:50.103 7956 9254 E AndroidRuntime: at com.android.server.usage.UsageStatsService.queryUsageStats(UsageStatsService.java:631)
09-08 10:50:50.103 7956 9254 E AndroidRuntime: at com.android.server.usage.UsageStatsService$LocalService.queryUsageStatsForUser(UsageStatsService.java:1810)
09-08 10:50:50.103 7956 9254 E AndroidRuntime: at com.android.server.storage.CacheQuotaStrategy.getUnfulfilledRequests(CacheQuotaStrategy.java:178)
09-08 10:50:50.103 7956 9254 E AndroidRuntime: at com.android.server.storage.CacheQuotaStrategy.access$200(CacheQuotaStrategy.java:74)
09-08 10:50:50.103 7956 9254 E AndroidRuntime: at com.android.server.storage.CacheQuotaStrategy$1$1.run(CacheQuotaStrategy.java:136)
09-08 10:50:50.103 7956 9254 E AndroidRuntime: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289)
09-08 10:50:50.103 7956 9254 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
09-08 10:50:50.103 7956 9254 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
09-08 10:50:50.103 7956 9254 E AndroidRuntime: at java.lang.Thread.run(Thread.java:919)
09-08 10:50:50.224 9987 9987 E AndroidRuntime: FATAL EXCEPTION: main
09-08 10:50:50.224 9987 9987 E AndroidRuntime: Process: com.google.android.googlequicksearchbox:search, PID: 9987
09-08 10:50:50.224 9987 9987 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-08 10:50:50.234 13966 13966 E AndroidRuntime: FATAL EXCEPTION: main
09-08 10:50:50.234 13966 13966 E AndroidRuntime: Process: com.miui.core, PID: 13966
09-08 10:50:50.234 13966 13966 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-08 10:50:50.239 9928 12978 E AndroidRuntime: FATAL EXCEPTION: [com.google.android.gms.chimera.GmsIntentOperationService$ChimeraService-Executor] idle
09-08 10:50:50.239 9928 12978 E AndroidRuntime: Process: com.google.android.gms, PID: 9928
09-08 10:50:50.239 9928 12978 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-08 10:50:50.241 8825 8825 E AndroidRuntime: FATAL EXCEPTION: main
09-08 10:50:50.241 8825 8825 E AndroidRuntime: Process: com.google.android.gms.persistent, PID: 8825
09-08 10:50:50.241 8825 8825 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-08 10:50:50.243 13860 13860 E AndroidRuntime: FATAL EXCEPTION: main
09-08 10:50:50.243 13860 13860 E AndroidRuntime: Process: com.miui.cloudservice, PID: 13860
09-08 10:50:50.243 13860 13860 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-08 10:50:50.254 13910 13910 E AndroidRuntime: FATAL EXCEPTION: main
09-08 10:50:50.254 13910 13910 E AndroidRuntime: Process: com.xiaomi.simactivate.service, PID: 13910
09-08 10:50:50.254 13910 13910 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-08 10:50:50.255 8825 8943 E AndroidRuntime: FATAL EXCEPTION: lowpool[0]
09-08 10:50:50.255 8825 8943 E AndroidRuntime: Process: com.google.android.gms.persistent, PID: 8825
09-08 10:50:50.255 8825 8943 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-08 10:51:23.411 14173 19696 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: AsyncTask #6
09-08 10:51:23.411 14173 19696 E AndroidRuntime: android.util.proto.WireTypeMismatchException: Current wire type Fixed32 does not match expected wire type Length Delimited at offset 0x1
09-08 10:51:23.411 14173 19696 E AndroidRuntime: mFieldNumber : 0xc
09-08 10:51:23.411 14173 19696 E AndroidRuntime: mWireType : 0x5
09-08 10:51:23.411 14173 19696 E AndroidRuntime: mState : 0x1
09-08 10:51:23.411 14173 19696 E AndroidRuntime: mDiscardedBytes : 0x0
09-08 10:51:23.411 14173 19696 E AndroidRuntime: mOffset : 0x1
09-08 10:51:23.411 14173 19696 E AndroidRuntime: mExpectedObjectTokenStack : null
09-08 10:51:23.411 14173 19696 E AndroidRuntime: mDepth : 0xffffffff
09-08 10:51:23.411 14173 19696 E AndroidRuntime: mBuffer : [[email protected]
09-08 10:51:23.411 14173 19696 E AndroidRuntime: mBufferSize : 0x2000
09-08 10:51:23.411 14173 19696 E AndroidRuntime: mEnd : 0x665
09-08 10:51:23.411 14173 19696 E AndroidRuntime: at android.util.proto.ProtoInputStream.assertWireType(ProtoInputStream.java:929)
09-08 10:51:23.411 14173 19696 E AndroidRuntime: at android.util.proto.ProtoInputStream.start(ProtoInputStream.java:494)
09-08 10:51:23.411 14173 19696 E AndroidRuntime: at com.android.server.usage.UsageStatsProto.loadCountAndTime(UsageStatsProto.java:157)
09-08 10:51:23.411 14173 19696 E AndroidRuntime: at com.android.server.usage.UsageStatsProto.read(UsageStatsProto.java:537)
09-08 10:51:23.411 14173 19696 E AndroidRuntime: at com.android.server.usage.UsageStatsDatabase.readLocked(UsageStatsDatabase.java:887)
09-08 10:51:23.411 14173 19696 E AndroidRuntime: at com.android.server.usage.UsageStatsDatabase.readLocked(UsageStatsDatabase.java:859)
09-08 10:51:23.411 14173 19696 E AndroidRuntime: at com.android.server.usage.UsageStatsDatabase.readLocked(UsageStatsDatabase.java:850)
09-08 10:51:23.411 14173 19696 E AndroidRuntime: at com.android.server.usage.UsageStatsDatabase.queryUsageStats(UsageStatsDatabase.java:659)
09-08 10:51:23.411 14173 19696 E AndroidRuntime: at com.android.server.usage.UserUsageStatsService.queryStats(UserUsageStatsService.java:350)
09-08 10:51:23.411 14173 19696 E AndroidRuntime: at com.android.server.usage.UserUsageStatsService.queryUsageStats(UserUsageStatsService.java:377)
09-08 10:51:23.411 14173 19696 E AndroidRuntime: at com.android.server.usage.UsageStatsService.queryUsageStats(UsageStatsService.java:631)
09-08 10:51:23.411 14173 19696 E AndroidRuntime: at com.android.server.usage.UsageStatsService$LocalService.queryUsageStatsForUser(UsageStatsService.java:1810)
09-08 10:51:23.411 14173 19696 E AndroidRuntime: at com.android.server.storage.CacheQuotaStrategy.getUnfulfilledRequests(CacheQuotaStrategy.java:178)
09-08 10:51:23.411 14173 19696 E AndroidRuntime: at com.android.server.storage.CacheQuotaStrategy.access$200(CacheQuotaStrategy.java:74)
09-08 10:51:23.411 14173 19696 E AndroidRuntime: at com.android.server.storage.CacheQuotaStrategy$1$1.run(CacheQuotaStrategy.java:136)
09-08 10:51:23.411 14173 19696 E AndroidRuntime: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289)
09-08 10:51:23.411 14173 19696 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
09-08 10:51:23.411 14173 19696 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
09-08 10:51:23.411 14173 19696 E AndroidRuntime: at java.lang.Thread.run(Thread.java:919)
09-08 10:51:23.524 15040 15040 E AndroidRuntime: FATAL EXCEPTION: main
09-08 10:51:23.524 15040 15040 E AndroidRuntime: Process: com.google.android.gms.persistent, PID: 15040
09-08 10:51:23.524 15040 15040 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-08 10:51:56.668 20329 21438 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: AsyncTask #2
09-08 10:51:56.668 20329 21438 E AndroidRuntime: android.util.proto.WireTypeMismatchException: Current wire type Fixed32 does not match expected wire type Length Delimited at offset 0x1
09-08 10:51:56.668 20329 21438 E AndroidRuntime: mFieldNumber : 0xc
09-08 10:51:56.668 20329 21438 E AndroidRuntime: mWireType : 0x5
09-08 10:51:56.668 20329 21438 E AndroidRuntime: mState : 0x1
09-08 10:51:56.668 20329 21438 E AndroidRuntime: mDiscardedBytes : 0x0
09-08 10:51:56.668 20329 21438 E AndroidRuntime: mOffset : 0x1
09-08 10:51:56.668 20329 21438 E AndroidRuntime: mExpectedObjectTokenStack : null
09-08 10:51:56.668 20329 21438 E AndroidRuntime: mDepth : 0xffffffff
09-08 10:51:56.668 20329 21438 E AndroidRuntime: mBuffer : [[email protected]
09-08 10:51:56.668 20329 21438 E AndroidRuntime: mBufferSize : 0x2000
09-08 10:51:56.668 20329 21438 E AndroidRuntime: mEnd : 0x665
09-08 10:51:56.668 20329 21438 E AndroidRuntime: at android.util.proto.ProtoInputStream.assertWireType(ProtoInputStream.java:929)
09-08 10:51:56.668 20329 21438 E AndroidRuntime: at android.util.proto.ProtoInputStream.start(ProtoInputStream.java:494)
09-08 10:51:56.668 20329 21438 E AndroidRuntime: at com.android.server.usage.UsageStatsProto.loadCountAndTime(UsageStatsProto.java:157)
09-08 10:51:56.668 20329 21438 E AndroidRuntime: at com.android.server.usage.UsageStatsProto.read(UsageStatsProto.java:537)
09-08 10:51:56.668 20329 21438 E AndroidRuntime: at com.android.server.usage.UsageStatsDatabase.readLocked(UsageStatsDatabase.java:887)
09-08 10:51:56.668 20329 21438 E AndroidRuntime: at com.android.server.usage.UsageStatsDatabase.readLocked(UsageStatsDatabase.java:859)
09-08 10:51:56.668 20329 21438 E AndroidRuntime: at com.android.server.usage.UsageStatsDatabase.readLocked(UsageStatsDatabase.java:850)
09-08 10:51:56.668 20329 21438 E AndroidRuntime: at com.android.server.usage.UsageStatsDatabase.queryUsageStats(UsageStatsDatabase.java:659)
09-08 10:51:56.668 20329 21438 E AndroidRuntime: at com.android.server.usage.UserUsageStatsService.queryStats(UserUsageStatsService.java:350)
09-08 10:51:56.668 20329 21438 E AndroidRuntime: at com.android.server.usage.UserUsageStatsService.queryUsageStats(UserUsageStatsService.java:377)
09-08 10:51:56.668 20329 21438 E AndroidRuntime: at com.android.server.usage.UsageStatsService.queryUsageStats(UsageStatsService.java:631)
09-08 10:51:56.668 20329 21438 E AndroidRuntime: at com.android.server.usage.UsageStatsService$LocalService.queryUsageStatsForUser(UsageStatsService.java:1810)
09-08 10:51:56.668 20329 21438 E AndroidRuntime: at com.android.server.storage.CacheQuotaStrategy.getUnfulfilledRequests(CacheQuotaStrategy.java:178)
09-08 10:51:56.668 20329 21438 E AndroidRuntime: at com.android.server.storage.CacheQuotaStrategy.access$200(CacheQuotaStrategy.java:74)
09-08 10:51:56.668 20329 21438 E AndroidRuntime: at com.android.server.storage.CacheQuotaStrategy$1$1.run(CacheQuotaStrategy.java:136)
09-08 10:51:56.668 20329 21438 E AndroidRuntime: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289)
09-08 10:51:56.668 20329 21438 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
09-08 10:51:56.668 20329 21438 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
09-08 10:51:56.668 20329 21438 E AndroidRuntime: at java.lang.Thread.run(Thread.java:919)
09-08 10:51:56.752 26150 26150 E AndroidRuntime: FATAL EXCEPTION: main
09-08 10:51:56.752 26150 26150 E AndroidRuntime: Process: com.miui.cloudservice, PID: 26150
09-08 10:51:56.752 26150 26150 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-08 10:51:56.753 22160 22160 E AndroidRuntime: FATAL EXCEPTION: main
09-08 10:51:56.753 22160 22160 E AndroidRuntime: Process: com.google.android.googlequicksearchbox:search, PID: 22160
09-08 10:51:56.753 22160 22160 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-08 10:51:56.773 21201 21201 E AndroidRuntime: FATAL EXCEPTION: main
09-08 10:51:56.773 21201 21201 E AndroidRuntime: Process: com.google.android.gms.persistent, PID: 21201
09-08 10:51:56.773 21201 21201 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-08 10:51:56.775 26037 26037 E AndroidRuntime: FATAL EXCEPTION: main
09-08 10:51:56.775 26037 26037 E AndroidRuntime: Process: com.miui.bugreport, PID: 26037
09-08 10:51:56.775 26037 26037 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-08 10:51:56.791 23207 23207 E AndroidRuntime: FATAL EXCEPTION: main
09-08 10:51:56.791 23207 23207 E AndroidRuntime: Process: com.android.vending, PID: 23207
09-08 10:51:56.791 23207 23207 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-08 10:51:56.796 23207 23254 E AndroidRuntime: FATAL EXCEPTION: alyz
09-08 10:51:56.796 23207 23254 E AndroidRuntime: Process: com.android.vending, PID: 23207
09-08 10:51:56.796 23207 23254 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-08 10:52:30.474 26344 26779 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: AsyncTask #1
09-08 10:52:30.474 26344 26779 E AndroidRuntime: android.util.proto.WireTypeMismatchException: Current wire type Fixed32 does not match expected wire type Length Delimited at offset 0x1
09-08 10:52:30.474 26344 26779 E AndroidRuntime: mFieldNumber : 0xc
09-08 10:52:30.474 26344 26779 E AndroidRuntime: mWireType : 0x5
09-08 10:52:30.474 26344 26779 E AndroidRuntime: mState : 0x1
09-08 10:52:30.474 26344 26779 E AndroidRuntime: mDiscardedBytes : 0x0
09-08 10:52:30.474 26344 26779 E AndroidRuntime: mOffset : 0x1
09-08 10:52:30.474 26344 26779 E AndroidRuntime: mExpectedObjectTokenStack : null
09-08 10:52:30.474 26344 26779 E AndroidRuntime: mDepth : 0xffffffff
09-08 10:52:30.474 26344 26779 E AndroidRuntime: mBuffer : [[email protected]
09-08 10:52:30.474 26344 26779 E AndroidRuntime: mBufferSize : 0x2000
09-08 10:52:30.474 26344 26779 E AndroidRuntime: mEnd : 0x665
09-08 10:52:30.474 26344 26779 E AndroidRuntime: at android.util.proto.ProtoInputStream.assertWireType(ProtoInputStream.java:929)
09-08 10:52:30.474 26344 26779 E AndroidRuntime: at android.util.proto.ProtoInputStream.start(ProtoInputStream.java:494)
09-08 10:52:30.474 26344 26779 E AndroidRuntime: at com.android.server.usage.UsageStatsProto.loadCountAndTime(UsageStatsProto.java:157)
09-08 10:52:30.474 26344 26779 E AndroidRuntime: at com.android.server.usage.UsageStatsProto.read(UsageStatsProto.java:537)
09-08 10:52:30.474 26344 26779 E AndroidRuntime: at com.android.server.usage.UsageStatsDatabase.readLocked(UsageStatsDatabase.java:887)
09-08 10:52:30.474 26344 26779 E AndroidRuntime: at com.android.server.usage.UsageStatsDatabase.readLocked(UsageStatsDatabase.java:859)
09-08 10:52:30.474 26344 26779 E AndroidRuntime: at com.android.server.usage.UsageStatsDatabase.readLocked(UsageStatsDatabase.java:850)
09-08 10:52:30.474 26344 26779 E AndroidRuntime: at com.android.server.usage.UsageStatsDatabase.queryUsageStats(UsageStatsDatabase.java:659)
09-08 10:52:30.474 26344 26779 E AndroidRuntime: at com.android.server.usage.UserUsageStatsService.queryStats(UserUsageStatsService.java:350)
09-08 10:52:30.474 26344 26779 E AndroidRuntime: at com.android.server.usage.UserUsageStatsService.queryUsageStats(UserUsageStatsService.java:377)
09-08 10:52:30.474 26344 26779 E AndroidRuntime: at com.android.server.usage.UsageStatsService.queryUsageStats(UsageStatsService.java:631)
09-08 10:52:30.474 26344 26779 E AndroidRuntime: at com.android.server.usage.UsageStatsService$LocalService.queryUsageStatsForUser(UsageStatsService.java:1810)
09-08 10:52:30.474 26344 26779 E AndroidRuntime: at com.android.server.storage.CacheQuotaStrategy.getUnfulfilledRequests(CacheQuotaStrategy.java:178)
09-08 10:52:30.474 26344 26779 E AndroidRuntime: at com.android.server.storage.CacheQuotaStrategy.access$200(CacheQuotaStrategy.java:74)
09-08 10:52:30.474 26344 26779 E AndroidRuntime: at com.android.server.storage.CacheQuotaStrategy$1$1.run(CacheQuotaStrategy.java:136)
09-08 10:52:30.474 26344 26779 E AndroidRuntime: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289)
09-08 10:52:30.474 26344 26779 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
09-08 10:52:30.474 26344 26779 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
09-08 10:52:30.474 26344 26779 E AndroidRuntime: at java.lang.Thread.run(Thread.java:919)
09-08 10:52:30.798 27249 31720 E AndroidRuntime: FATAL EXCEPTION: lowpool[14]
09-08 10:52:30.798 27249 31720 E AndroidRuntime: Process: com.google.android.gms.persistent, PID: 27249
09-08 10:52:30.798 27249 31720 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-08 10:52:30.801 27249 27249 E AndroidRuntime: FATAL EXCEPTION: main
09-08 10:52:30.801 27249 27249 E AndroidRuntime: Process: com.google.android.gms.persistent, PID: 27249
09-08 10:52:30.801 27249 27249 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-08 10:52:30.803 27692 27692 E AndroidRuntime: FATAL EXCEPTION: main
09-08 10:52:30.803 27692 27692 E AndroidRuntime: Process: com.google.android.googlequicksearchbox:interactor, PID: 27692
09-08 10:52:30.803 27692 27692 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-08 10:52:30.804 32282 32282 E AndroidRuntime: FATAL EXCEPTION: main
09-08 10:52:30.804 32282 32282 E AndroidRuntime: Process: com.miui.cloudservice, PID: 32282
09-08 10:52:30.804 32282 32282 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause

If phone is bootlooping it should be obvious that you can't get a stable USB-connection: adb pull operation aborts when bootloop re-starts.
Assumed phone's Android is rooted, you may use Android's dd command with seek / skip options.
Example:
Code:
adb exec-out "su -c 'dd if=BLOCK seek=NN skip=NN'" >> C:\IMG

Unfortunatelly its not rooted.

Related

[Q] Market FC after system restore

When I got the Nexus S (9023) I went to root it, put on Clockwork recovery and immediately made a backup. Meanwhile I played with different custom roms and today I went back to the original backup. All seems fine but the market does not work
Any idea what happened and how to get it back?
Code:
--------- beginning of /dev/log/system
05-27 06:23:11.792 2322 2322 E AndroidRuntime: FATAL EXCEPTION: main
05-27 06:23:11.792 2322 2322 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.vending/com.android.vending.TosActivity}: java.lang.NullPointerException
05-27 06:23:11.792 2322 2322 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1647)
05-27 06:23:11.792 2322 2322 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
05-27 06:23:11.792 2322 2322 E AndroidRuntime: at android.app.ActivityThread.access$1500(ActivityThread.java:117)
05-27 06:23:11.792 2322 2322 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
05-27 06:23:11.792 2322 2322 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
05-27 06:23:11.792 2322 2322 E AndroidRuntime: at android.os.Looper.loop(Looper.java:130)
05-27 06:23:11.792 2322 2322 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:3683)
05-27 06:23:11.792 2322 2322 E AndroidRuntime: at java.lang.reflect.Method.invokeNative(Native Method)
05-27 06:23:11.792 2322 2322 E AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:507)
05-27 06:23:11.792 2322 2322 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
05-27 06:23:11.792 2322 2322 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
05-27 06:23:11.792 2322 2322 E AndroidRuntime: at dalvik.system.NativeStart.main(Native Method)
05-27 06:23:11.792 2322 2322 E AndroidRuntime: Caused by: java.lang.NullPointerException
05-27 06:23:11.792 2322 2322 E AndroidRuntime: at com.android.vending.TosActivity.onCreate(TosActivity.java:47)
05-27 06:23:11.792 2322 2322 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
05-27 06:23:11.792 2322 2322 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611)
05-27 06:23:11.792 2322 2322 E AndroidRuntime: ... 11 more
05-27 06:23:11.796 106 1905 W ActivityManager: Force finishing activity com.android.vending/.TosActivity
05-27 06:23:11.800 106 1905 W ActivityManager: Force finishing activity com.android.vending/.AssetBrowserActivity
05-27 06:23:12.300 106 119 W ActivityManager: Activity pause timeout for HistoryRecord{40875c60 com.android.vending/.TosActivity}
I had a similar problem today after restoring just "system". Doing a Full restore resolved it.
Phew! got it solved without going the wipe-and-reinstall route. Pushing a current vendor.apk on the phone did not help but then I figured that the latest (CM7) gapps package also has a vendor.apk and this is not the very latest version. So I installed this through adb and this indeed downgraded the market and it could be started again!
Problem solved. Althoug I'm still curious what might have cause the broken market in the backup

Unable to add APN settings

Hello, I'm trying to add an APN for a secondary sim that I use for international data. However there is no option to add a new APN. There should normally be a + sign on the top right corner of the APN settings however that is missing for me.
I've tried resetting APNs to default, removing and adding the sim back in and rebooting the phone multiple times, airplane mode, even factory resetting the phone and none of that helped.
When I contacted Oneplus support, they told me this is a carrier restriction and I needed to contact both my primary carrier and the secondary carrier I wanted to add the APN for.
I contacted my primary carrier (Koodo Mobile in Canada) and they said there was no restriction from them and I needed to contact the secondary carrier. I've tried to contact them but they haven't been responding to my ticket but I doubt they would be able to do anything.
I found this video on youtube showing a similar issue on another phone and resolved it by installing nova launcher and adding an APN settings widget to the home screen which got the '+' button when opened.
However when I tried it, the APN settings just crashed when I touched the add button.
I got a logcat of the crash although I'm not sure how useful it is.
Code:
07-19 23:46:31.984 1220 1404 V Theme : com.android.settings, Add app's resource
07-19 23:46:31.985 1220 1404 V Theme : com.android.settings, Add app's resource
07-19 23:46:31.992 1220 1275 D RestartProcessManager: Update Total Launch Times :com.android.settings
07-19 23:46:31.992 1220 1275 D RestartProcessManager: updateSelf : com.android.settings, size : 21
07-19 23:46:31.992 1220 1275 D RestartProcessManager: Last Running Package : com.android.settings , start time 1563594391992
07-19 23:46:31.992 1220 1849 I MotorManagerService: notifyActivityChanged: mBackgroudPkg = com.android.settings mFocusPkg = com.android.settings mIsSplitMode = false mBackActivity = com.android.settings.Settings$ApnSettingsActivity mFocusActivity = com.android.settings.Settings$ApnEditorActivity
07-19 23:46:31.992 765 808 E ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
07-19 23:46:31.998 1220 9298 I ScreenModeManager: post to setScreenFlushModeLocked for AppWindowToken{e34cb8 token=Token{e89d31b ActivityRecord{624b92a u0 com.android.settings/.Settings$ApnEditorActivity t2666}}} to mode=0 package com.android.settings activity com.android.settings/.Settings$ApnEditorActivity
07-19 23:46:31.998 1220 9298 D OneplusAppPreload: com.android.settings is not preload, collectAppFocusEvent
07-19 23:46:32.000 16588 16588 W ActivityThread: handleWindowVisibility: no activity for token [email protected]
07-19 23:46:32.006 16588 16588 D SettingsActivity: Starting onCreate
07-19 23:46:32.007 16588 16896 E ActivityThread: Failed to find provider info for com.qti.smq.Feedback.provider
07-19 23:46:32.008 16588 16896 E SharedPreferencesImpl: Couldn't create directory for SharedPreferences file /data/user_de/0/com.android.settings/shared_prefs/smqpreferences.xml
07-19 23:46:32.017 16588 16588 D SettingsActivity: Starting to set activity title
07-19 23:46:32.017 16588 16588 D SettingsActivity: Done setting title
07-19 23:46:32.017 16588 16588 D SettingsActivity: Switching to fragment com.android.settings.network.ApnEditor
07-19 23:46:32.020 16588 16588 D ApnEditor: onCreate: read only APN type: dun
07-19 23:46:32.021 16588 16588 D ApnEditor: onCreate: EDITED true
07-19 23:46:32.021 16588 16588 D AndroidRuntime: Shutting down VM
07-19 23:45:53.966 16358 16358 E AndroidRuntime: FATAL EXCEPTION: main
07-19 23:45:53.966 16358 16358 E AndroidRuntime: Process: com.android.phone, PID: 16358
07-19 23:45:53.966 16358 16358 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.Settings$ApnEditorActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.android.internal.telephony.Phone.getOperatorNumeric()' on a null object reference
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3123)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3258)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1955)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7029)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:537)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.android.internal.telephony.Phone.getOperatorNumeric()' on a null object reference
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at com.android.settings.network.ApnEditor.fillUI(ApnEditor.java:623)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at com.android.settings.network.ApnEditor.onCreate(ApnEditor.java:414)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.Fragment.performCreate(Fragment.java:2503)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1256)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.FragmentManagerImpl.addAddedFragments(FragmentManager.java:2426)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2205)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2161)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2062)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:818)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at com.android.settings.SettingsActivity.switchToFragment(SettingsActivity.java:703)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at com.android.settings.SettingsActivity.launchSettingFragment(SettingsActivity.java:451)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at com.android.settings.SettingsActivity.onCreate(SettingsActivity.java:330)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7163)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7154)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1288)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3097)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: ... 11 more
07-19 23:46:32.021 16588 16588 E AndroidRuntime: FATAL EXCEPTION: main
07-19 23:46:32.021 16588 16588 E AndroidRuntime: Process: com.android.phone, PID: 16588
07-19 23:46:32.021 16588 16588 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.Settings$ApnEditorActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.android.internal.telephony.Phone.getOperatorNumeric()' on a null object reference
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3123)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3258)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1955)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7029)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:537)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.android.internal.telephony.Phone.getOperatorNumeric()' on a null object reference
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at com.android.settings.network.ApnEditor.fillUI(ApnEditor.java:623)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at com.android.settings.network.ApnEditor.onCreate(ApnEditor.java:414)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.Fragment.performCreate(Fragment.java:2503)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1256)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.FragmentManagerImpl.addAddedFragments(FragmentManager.java:2426)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2205)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2161)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2062)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:818)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at com.android.settings.SettingsActivity.switchToFragment(SettingsActivity.java:703)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at com.android.settings.SettingsActivity.launchSettingFragment(SettingsActivity.java:451)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at com.android.settings.SettingsActivity.onCreate(SettingsActivity.java:330)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7163)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7154)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1288)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3097)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: ... 11 more
07-19 23:46:32.025 16588 16588 I OPDiagnose: OPDiagnoseManager addIssueCount type = 31, count = 1
07-19 23:46:32.025 16588 16588 I : BpOPDiagnoseServer addIssueCount type = 31, count = 1
07-19 23:46:32.025 785 840 I : BnOPDiagnoseServer ADD_ISSUE_COUNT type = 31, count = 1
07-19 23:46:32.025 785 840 I OPDiagnoseService: addIssueCount: type = 31, count = 1, time_now = 2019-07-19 23:46:32
07-19 23:46:32.025 785 838 I OPDiagnoseService: threadLoop: get issue item...31
07-19 23:46:32.027 16588 16897 D OSTracker: OS Event: system_app_crash
07-19 23:46:32.029 785 838 I OPDiagnoseService: ~IssueItem: Destructor of IssueItem object, type id = 31
07-19 23:46:32.030 1220 9298 D AbnormalMonitor: appCrash :com.android.phone
07-19 23:46:32.030 1220 9298 W ActivityManager: Force finishing activity com.android.settings/.Settings$ApnEditorActivity
07-19 23:46:32.030 1220 9298 D ActivityTrigger: ActivityTrigger activityPauseTrigger
07-19 23:46:32.030 16588 16897 D AbstractTracker: Event success
07-19 23:46:32.031 1220 9298 W ActivityManager: Force finishing activity com.android.settings/.Settings$ApnSettingsActivity
07-19 23:46:32.034 1220 1276 I ActivityManager: Showing crash dialog for package com.android.phone u0
Does anyone have any clue why I can't add an APN?
midknightwizard said:
Hello, I'm trying to add an APN for a secondary sim that I use for international data. However there is no option to add a new APN. There should normally be a + sign on the top right corner of the APN settings however that is missing for me.
I've tried resetting APNs to default, removing and adding the sim back in and rebooting the phone multiple times, airplane mode, even factory resetting the phone and none of that helped.
When I contacted Oneplus support, they told me this is a carrier restriction and I needed to contact both my primary carrier and the secondary carrier I wanted to add the APN for.
I contacted my primary carrier (Koodo Mobile in Canada) and they said there was no restriction from them and I needed to contact the secondary carrier. I've tried to contact them but they haven't been responding to my ticket but I doubt they would be able to do anything.
I found this video on youtube showing a similar issue on another phone and resolved it by installing nova launcher and adding an APN settings widget to the home screen which got the '+' button when opened.
However when I tried it, the APN settings just crashed when I touched the add button.
I got a logcat of the crash although I'm not sure how useful it is.
Code:
07-19 23:46:31.984 1220 1404 V Theme : com.android.settings, Add app's resource
07-19 23:46:31.985 1220 1404 V Theme : com.android.settings, Add app's resource
07-19 23:46:31.992 1220 1275 D RestartProcessManager: Update Total Launch Times :com.android.settings
07-19 23:46:31.992 1220 1275 D RestartProcessManager: updateSelf : com.android.settings, size : 21
07-19 23:46:31.992 1220 1275 D RestartProcessManager: Last Running Package : com.android.settings , start time 1563594391992
07-19 23:46:31.992 1220 1849 I MotorManagerService: notifyActivityChanged: mBackgroudPkg = com.android.settings mFocusPkg = com.android.settings mIsSplitMode = false mBackActivity = com.android.settings.Settings$ApnSettingsActivity mFocusActivity = com.android.settings.Settings$ApnEditorActivity
07-19 23:46:31.992 765 808 E ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
07-19 23:46:31.998 1220 9298 I ScreenModeManager: post to setScreenFlushModeLocked for AppWindowToken{e34cb8 token=Token{e89d31b ActivityRecord{624b92a u0 com.android.settings/.Settings$ApnEditorActivity t2666}}} to mode=0 package com.android.settings activity com.android.settings/.Settings$ApnEditorActivity
07-19 23:46:31.998 1220 9298 D OneplusAppPreload: com.android.settings is not preload, collectAppFocusEvent
07-19 23:46:32.000 16588 16588 W ActivityThread: handleWindowVisibility: no activity for token [email protected]
07-19 23:46:32.006 16588 16588 D SettingsActivity: Starting onCreate
07-19 23:46:32.007 16588 16896 E ActivityThread: Failed to find provider info for com.qti.smq.Feedback.provider
07-19 23:46:32.008 16588 16896 E SharedPreferencesImpl: Couldn't create directory for SharedPreferences file /data/user_de/0/com.android.settings/shared_prefs/smqpreferences.xml
07-19 23:46:32.017 16588 16588 D SettingsActivity: Starting to set activity title
07-19 23:46:32.017 16588 16588 D SettingsActivity: Done setting title
07-19 23:46:32.017 16588 16588 D SettingsActivity: Switching to fragment com.android.settings.network.ApnEditor
07-19 23:46:32.020 16588 16588 D ApnEditor: onCreate: read only APN type: dun
07-19 23:46:32.021 16588 16588 D ApnEditor: onCreate: EDITED true
07-19 23:46:32.021 16588 16588 D AndroidRuntime: Shutting down VM
07-19 23:45:53.966 16358 16358 E AndroidRuntime: FATAL EXCEPTION: main
07-19 23:45:53.966 16358 16358 E AndroidRuntime: Process: com.android.phone, PID: 16358
07-19 23:45:53.966 16358 16358 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.Settings$ApnEditorActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.android.internal.telephony.Phone.getOperatorNumeric()' on a null object reference
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3123)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3258)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1955)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7029)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:537)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.android.internal.telephony.Phone.getOperatorNumeric()' on a null object reference
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at com.android.settings.network.ApnEditor.fillUI(ApnEditor.java:623)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at com.android.settings.network.ApnEditor.onCreate(ApnEditor.java:414)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.Fragment.performCreate(Fragment.java:2503)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1256)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.FragmentManagerImpl.addAddedFragments(FragmentManager.java:2426)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2205)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2161)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2062)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:818)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at com.android.settings.SettingsActivity.switchToFragment(SettingsActivity.java:703)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at com.android.settings.SettingsActivity.launchSettingFragment(SettingsActivity.java:451)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at com.android.settings.SettingsActivity.onCreate(SettingsActivity.java:330)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7163)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7154)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1288)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3097)
07-19 23:45:53.966 16358 16358 E AndroidRuntime: ... 11 more
07-19 23:46:32.021 16588 16588 E AndroidRuntime: FATAL EXCEPTION: main
07-19 23:46:32.021 16588 16588 E AndroidRuntime: Process: com.android.phone, PID: 16588
07-19 23:46:32.021 16588 16588 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.Settings$ApnEditorActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.android.internal.telephony.Phone.getOperatorNumeric()' on a null object reference
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3123)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3258)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1955)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7029)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:537)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.android.internal.telephony.Phone.getOperatorNumeric()' on a null object reference
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at com.android.settings.network.ApnEditor.fillUI(ApnEditor.java:623)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at com.android.settings.network.ApnEditor.onCreate(ApnEditor.java:414)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.Fragment.performCreate(Fragment.java:2503)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1256)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.FragmentManagerImpl.addAddedFragments(FragmentManager.java:2426)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2205)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2161)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2062)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:818)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at com.android.settings.SettingsActivity.switchToFragment(SettingsActivity.java:703)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at com.android.settings.SettingsActivity.launchSettingFragment(SettingsActivity.java:451)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at com.android.settings.SettingsActivity.onCreate(SettingsActivity.java:330)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7163)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7154)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1288)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3097)
07-19 23:46:32.021 16588 16588 E AndroidRuntime: ... 11 more
07-19 23:46:32.025 16588 16588 I OPDiagnose: OPDiagnoseManager addIssueCount type = 31, count = 1
07-19 23:46:32.025 16588 16588 I : BpOPDiagnoseServer addIssueCount type = 31, count = 1
07-19 23:46:32.025 785 840 I : BnOPDiagnoseServer ADD_ISSUE_COUNT type = 31, count = 1
07-19 23:46:32.025 785 840 I OPDiagnoseService: addIssueCount: type = 31, count = 1, time_now = 2019-07-19 23:46:32
07-19 23:46:32.025 785 838 I OPDiagnoseService: threadLoop: get issue item...31
07-19 23:46:32.027 16588 16897 D OSTracker: OS Event: system_app_crash
07-19 23:46:32.029 785 838 I OPDiagnoseService: ~IssueItem: Destructor of IssueItem object, type id = 31
07-19 23:46:32.030 1220 9298 D AbnormalMonitor: appCrash :com.android.phone
07-19 23:46:32.030 1220 9298 W ActivityManager: Force finishing activity com.android.settings/.Settings$ApnEditorActivity
07-19 23:46:32.030 1220 9298 D ActivityTrigger: ActivityTrigger activityPauseTrigger
07-19 23:46:32.030 16588 16897 D AbstractTracker: Event success
07-19 23:46:32.031 1220 9298 W ActivityManager: Force finishing activity com.android.settings/.Settings$ApnSettingsActivity
07-19 23:46:32.034 1220 1276 I ActivityManager: Showing crash dialog for package com.android.phone u0
Does anyone have any clue why I can't add an APN?
Click to expand...
Click to collapse
I don't know if this may help but unlocked /unbranded EU version GM1913 all good so it might be from a carrier as mentioned.
Solution
I know this is an old post, but I ran into the same issue with my OnePlus 7T Pro yesterday. I couldn't edit the existing APNs, nor could I create a new one. I didn't have the "+" button at the top. I unlocked the bootloader and rooted the phone in order to edit apns-conf.xml and telephony.db but sadly this didn't work. However, I did find a solution:
My SIM is from Telus, the default APN is sp.telus.com. I don't use this APN, I need to change it to this one: bb.telus.com.
What I did was borrow my girlfriend's SIM (Koodo) and inserted it, along with my SIM. That way, both SIM slots are occupied.
Somehow, doing this allowed me to edit existing APNs and even add new ones! The "+" button at the top appeared, so I created a new APN and saved it. Also, I edited the default Telus APN from sp.telus.com to bb.telus.com just in case the custom APN I made did not work.
I removed my girlfriend's SIM, rebooted the phone several times and the APN changes I made are still there.
Hope this helps someone!
My experience is to do as the alexkalicharan said and swap sims with one that will allow you to add another. I will add that when I saved the new APN entry, it didn't show up on the list, but when I rebooted with my sim it did.

Smartphone App doesn't work on Tablet. Pioneer Smart Sync

Hello,
I bought a new Pioneer car stereo (SPH-20DAB), this (and some others from Pioneer) works together with an APP.
There are two Android Apps from Pioneer.
1. Pionneer Smart Sync
2. Pionner Smart Sync for Tablet.
The first smartphone app works great on many tested Smartphones.
The Second App won't work on any Testet Android Tablet.
I can Instal it, but never get any connection to the Stereo, i think it's because this App will exclusive work with with the SPH-t20BT mainunit which has its own Tablet (cheap Crap!)
So i desided to install the Smartphone app on my Tablet, but it is not possible. My Tablet (Lenovo P11 with Android 11) always says when i install the .apk "This App is not for your Device"
After this i tried to Root my P11, after many try's i was succesfull (After downgrading it Back to Android 10), and install TWRP Recovery an Magisk with Root. Now I changed my DeviceID to some other devices like my Oneplus 6T, now it is possible to install the smartphone version of the Pioneer app on my P11 Tablet, but it crashes on every start.
Why will this happen? is there any other difference between Tablets and Smartphones in Android development? Do i have to change some more parameters?.
On the other hand, the tablet version of the Pioneer app runs fine on my Oneplus 6T, but also can't connect (i think because this app only allows the SPH-T20BT tablet unit).
If you get message "This App is not for your Device" then this has good reasons. It's on an app's developer to define on what devices his app should work or not. Some apps only work on phones and not on tablets.
Of course you can try to trick the app, but it doesn't make sense as you could see for yourself.
To get the very reason why app in question crashes do a LOGCAT.
What is the technical Background, the app maybe won't work on tablets? is there an Option the Developer can say "i don't wan't this" so the app will crash ? maybe a reason in my opinion can be the bigger screen an so the app can become optical awfull. Or is there a real difference in the Andrid Api or in the Hardware design?
The Tablet app still exists, but will be not updatet anymore, so that will be no further way for me the solution in this case.
I will test it tommorow with the Logcat, i forget the Tablet somewhere and can't test it now.
I try to install the app on Bluestacks (works fine, but only Phones are availible), and on Genymotion where i can set off a Tablet device with Android 10 an the Same Hardware specs. On the first try i wasn't able to install the .apk (something with ARM native code) but after i install an arm code translator it works fine. Slow, but this is another problem i think.
Maybe a reason, or is this another Problem between 32 Bit an Arm, and has nothing to do with my Problem ?
I made a log an tryed to cut out the necessary parts i think.
Can you maybe explain for which parts i can look? are there any keywords i can search for ?
I attached the log below.
I don't know why, but i can't add files.
I read threw the log an i think it hapens here
11-05 08:36:40.897 30015 30015 E AndroidRuntime: FATAL EXCEPTION: main
11-05 08:36:40.897 30015 30015 E AndroidRuntime: Process: jp.pioneer.carsync, PID: 30015
11-05 08:36:40.897 30015 30015 E AndroidRuntime: java.lang.ExceptionInInitializerError
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.di.module.AppModule.provideAppSharedPreference(Unknown Source:0)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.di.module.AppModule_ProvideAppSharedPreferenceFactory.provideAppSharedPreference(Unknown Source:0)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.di.module.AppModule_ProvideAppSharedPreferenceFactory.get(Unknown Source:10)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.di.module.AppModule_ProvideAppSharedPreferenceFactory.get(Unknown Source:0)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at dagger.internal.DoubleCheck.get(Unknown Source:15)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.domain.model.StatusHolder_Factory.get(Unknown Source:4)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.domain.model.StatusHolder_Factory.get(Unknown Source:0)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.infrastructure.repository.StatusHolderRepositoryImpl_Factory.get(Unknown Source:7)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.infrastructure.repository.StatusHolderRepositoryImpl_Factory.get(Unknown Source:0)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at dagger.internal.DoubleCheck.get(Unknown Source:15)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.di.component.DaggerAppComponent.injectStatusUpdateListener(Unknown Source:2)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.di.component.DaggerAppComponent.getStatusUpdateListener(Unknown Source:4)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.di.component.DaggerAppComponent.injectDomainInitializer(Unknown Source:0)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.di.component.DaggerAppComponent.getDomainInitializer(Unknown Source:4)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.di.component.DaggerAppComponent.injectApp(Unknown Source:0)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.di.component.DaggerAppComponent.inject(Unknown Source:0)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.App.initialize(Unknown Source:31)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.App.onCreate(Unknown Source:5)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1190)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6479)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at android.app.ActivityThread.access$1300(ActivityThread.java:220)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1860)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:107)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at android.os.Looper.loop(Looper.java:214)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7397)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:502)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:935)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Unable to find resource ID #0x7f08014b
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at android.content.res.ResourcesImpl.getResourceEntryName(ResourcesImpl.java:300)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at android.content.res.Resources.getResourceEntryName(Resources.java:2112)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.presentation.model.MenuKeyItem.<init>(Unknown Source:25)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.content.AppSharedPreference$1.<init>(Unknown Source:16)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.content.AppSharedPreference.<clinit>(Unknown Source:323)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: ... 28 more
So after all it works fine, the reason was only a broken .apk
After Severall trys, i was able to download the actuall version (3.5.0) of the Pioneer Smart Sync smartphone .apk and it works fine on my Lenovo P11 Tablet.
DeinOpa said:
So after all it works fine, the reason was only a broken .apk
After Severall trys, i was able to download the actuall version (3.5.0) of the Pioneer Smart Sync smartphone .apk and it works fine on my Lenovo P11 Tablet.
Click to expand...
Click to collapse
Oh Yes it is absolutly cheap Crap and damm slow but thanks for the hint with the Smartphone APP.

Question Text-to-speech on nio with LOS 19 microG

I'm using the latest LOS 19 with microG from here on my nio and I'm trying to get text-to-speech to work (to use it in OSMAnd~). However, non of the TTS engines I tried works (Google Speech Services, flite, RHVoice). They all suffer from the same problem: Once I go to Settings > System > Languages > Text-to-speech output the Settings app jumps back to the System category. If I try navigating there again, it crashes.
Here's the log when the crash happens:
Code:
05-27 14:56:35.644 16812 16812 D SettingsActivity: Starting to set activity title
05-27 14:56:35.644 16812 16812 D SettingsActivity: Done setting title
05-27 14:56:35.644 16812 16812 D SettingsActivity: Switching to fragment com.android.settings.tts.TextToSpeechSettings
05-27 14:56:35.644 16812 16812 D SubSettings: Launching fragment com.android.settings.tts.TextToSpeechSettings
05-27 14:56:35.645 1494 2865 E UserRestrictionsUtils: Unknown restriction queried by uid 1000 (org.lineageos.lineagesettings et al): null
05-27 14:56:35.646 1494 2865 E UserRestrictionsUtils: Unknown restriction queried by uid 1000 (org.lineageos.lineagesettings et al): null
05-27 14:56:35.646 1494 2865 E UserRestrictionsUtils: Unknown restriction queried by uid 1000 (org.lineageos.lineagesettings et al): null
05-27 14:56:35.650 1494 2865 I ActivityTaskManager: START u0 {act=android.speech.tts.engine.CHECK_TTS_DATA cmp=com.github.olga_yakovleva.rhvoice.android/.CheckTTSData} from uid 1000
05-27 14:56:35.655 1202 1202 I android.hardware.power-service-qti: Power setMode: 5 to: 1
05-27 14:56:35.659 16812 16812 D SettingsActivity: Executed frag manager pendingTransactions
05-27 14:56:35.681 16812 16834 D SettingsActivity: No enabled state changed, skipping updateCategory call
05-27 14:56:35.685 1494 7986 W ActivityTaskManager: Tried to set launchTime (0) < mLastActivityLaunchTime (6736388)
05-27 14:56:35.691 1022 12398 I netd : bandwidthAddNiceApp(10263) <0.04ms>
05-27 14:56:35.742 1494 1737 I ActivityTaskManager: Displayed com.android.settings/.SubSettings: +129ms
05-27 14:56:35.743 16812 16812 D CompatibilityChangeReporter: Compat change id reported: 78294732; UID 1000; state: ENABLED
05-27 14:56:35.743 16812 16812 E TextToSpeechSettings: Voice data check complete, but no engine bound
05-27 14:56:35.743 16812 16812 D AndroidRuntime: Shutting down VM
05-27 14:56:35.744 16812 16812 E AndroidRuntime: FATAL EXCEPTION: main
05-27 14:56:35.744 16812 16812 E AndroidRuntime: Process: com.android.settings, PID: 16812
05-27 14:56:35.744 16812 16812 E AndroidRuntime: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1230932445, result=1, data=Intent { (has extras) }} to activity {com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.app.ActivityThread.deliverResults(ActivityThread.java:5368)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.app.ActivityThread.handleSendResult(ActivityThread.java:5407)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:67)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2253)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:201)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.os.Looper.loop(Looper.java:288)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7870)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.speech.tts.TtsEngines.parseEnginePrefFromList(TtsEngines.java:510)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.speech.tts.TtsEngines.isLocaleSetToDefaultForEngine(TtsEngines.java:372)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at com.android.settings.tts.TextToSpeechSettings.updateDefaultLocalePref(TextToSpeechSettings.java:524)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at com.android.settings.tts.TextToSpeechSettings.onActivityResult(TextToSpeechSettings.java:507)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at androidx.fragment.app.FragmentManager$9.onActivityResult(FragmentManager.java:3011)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at androidx.fragment.app.FragmentManager$9.onActivityResult(FragmentManager.java:2991)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at androidx.activity.result.ActivityResultRegistry.doDispatch(ActivityResultRegistry.java:362)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at androidx.activity.result.ActivityResultRegistry.dispatchResult(ActivityResultRegistry.java:322)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at androidx.activity.ComponentActivity.onActivityResult(ComponentActivity.java:634)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at androidx.fragment.app.FragmentActivity.onActivityResult(FragmentActivity.java:164)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at com.android.settings.SettingsActivity.onActivityResult(SettingsActivity.java:476)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.app.Activity.dispatchActivityResult(Activity.java:8385)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: at android.app.ActivityThread.deliverResults(ActivityThread.java:5361)
05-27 14:56:35.744 16812 16812 E AndroidRuntime: ... 13 more
05-27 14:56:35.745 1494 2865 W ActivityTaskManager: Force finishing activity com.android.settings/.SubSettings
05-27 14:56:35.745 1494 16960 I DropBoxManagerService: add tag=system_app_crash isTagEnabled=true flags=0x2
05-27 14:56:35.746 1494 2865 W ActivityTaskManager: Force finishing activity com.android.settings.intelligence/.search.SearchActivity
05-27 14:56:35.747 16812 16812 I Process : Sending signal. PID: 16812 SIG: 9
05-27 14:56:35.789 0 0 I binder : undelivered transaction 2177669, process died.
05-27 14:56:35.790 0 0 I binder : undelivered transaction 2177654, process died.
05-27 14:56:35.799 1494 2865 I ActivityManager: Process com.android.settings (pid 16812) has died: fg TOP
05-27 14:56:35.800 1494 1777 I libprocessgroup: Successfully killed process cgroup uid 1000 pid 16812 in 0ms
05-27 14:56:35.802 1494 5392 I WindowManager: WIN DEATH: Window{4c195a8 u0 com.android.settings/com.android.settings.Settings}
05-27 14:56:35.802 1494 5392 W InputManager-JNI: Input channel object '4c195a8 com.android.settings/com.android.settings.Settings (client)' was disposed without first being removed with the input manager!
05-27 14:56:35.804 1023 1023 I Zygote : Process 16812 exited due to signal 9 (Killed)
05-27 14:56:35.804 1494 6205 W WindowManager: Cannot find window which accessibility connection is added to
05-27 14:56:35.805 1494 6204 I WindowManager: WIN DEATH: Window{e8cb5a7 u0 com.android.settings/com.android.settings.SubSettings}
05-27 14:56:35.805 1494 6204 W InputManager-JNI: Input channel object 'e8cb5a7 com.android.settings/com.android.settings.SubSettings (client)' was disposed without first being removed with the input manager!
05-27 14:56:35.807 1494 1759 W UsageStatsService: Unexpected activity event reported! (com.android.settings/com.android.settings.homepage.SettingsHomepageActivity event : 23 instanceId : 216578729)
Anybody got any hints on what I could do to fix it?
Anybody got an idea against which which project / repo / etc this could be reported (while not playing 'You should report this elsewhere' ping pong? )
I was able to fix my problem by installing Google Speech Services via Aurora, rebooting, installing eSpeak via F-Droid, starting eSpeak and going to 'General TTS settings' via the eSpeak menu. Possibly eSpeak sets itself as the default TTS if none is configured.
Afterwards I was also able to select Speech Services as the default without issues.

Question WebView on WearOS?

Is it possible to make WebView work on WearOS? I'm trying to login on VancedMicroG to use Youtube ReVanced on the watch, but it keeps crashing when I try to log in... I already sideloaded WebView but it doesn't work. Here's the log:
CSS:
02-26 00:01:19.901 13424 13424 E AndroidRuntime: FATAL EXCEPTION: main
02-26 00:01:19.901 13424 13424 E AndroidRuntime: Process: com.mgoogle.android.gms:ui, PID: 13424
02-26 00:01:19.901 13424 13424 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mgoogle.android.gms/org.microg.gms.auth.login.LoginActivity}: java.lang.UnsupportedOperationException
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3456)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3612)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2073)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at android.os.Looper.loop(Looper.java:246)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7690)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:593)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:995)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: Caused by: java.lang.UnsupportedOperationException
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:242)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at android.webkit.WebView.getFactory(WebView.java:2576)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at android.webkit.WebView.ensureProviderCreated(WebView.java:2570)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at android.webkit.WebView.setOverScrollMode(WebView.java:2638)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at android.view.View.<init>(View.java:5518)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at android.view.View.<init>(View.java:5679)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at android.view.ViewGroup.<init>(ViewGroup.java:698)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at android.widget.AbsoluteLayout.<init>(AbsoluteLayout.java:56)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at android.webkit.WebView.<init>(WebView.java:413)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at android.webkit.WebView.<init>(WebView.java:355)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at android.webkit.WebView.<init>(WebView.java:337)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at android.webkit.WebView.<init>(WebView.java:324)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at android.webkit.WebView.<init>(WebView.java:314)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at org.microg.gms.auth.login.LoginActivity.createWebView(Unknown Source:2)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at org.microg.gms.auth.login.LoginActivity.onCreate(Unknown Source:23)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:8033)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:8013)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3429)
02-26 00:01:19.901 13424 13424 E AndroidRuntime: ... 11 more
Or maybe GeckoView could work? I'm using running Fennec on the watch with some useful extensions and it works perfectly fine as far as I can tell, I don't use it very often. Anyway, looking forward to hear your suggestions!
So huh... Anyone?
[PORT] YouTube Music (Vanced) on WearOS 2
This is a mod of YT Music Vanced & microG Vanced. Offline mode works as long as you have a YT Music subscription. Requirements • A phone • ADB • Basic knowledge about sideloading • Internet connection...
forum.xda-developers.com

Categories

Resources