Settings Crash When Checking Data Useage - Google Pixel Questions & Answers

When I go to Settings --> Data usage --> Wi-Fi data usage, the app crashes with the message "Settings keeps stopping". http://i.imgur.com/nyaJvEy.png
Tried safe mode and clearing chache and still wouldn't work. Support suggested I factory reset. Tried that, it worked initially, but by the time I was done setting my phone back up (downloading all apps, tweaking settings, etc,) the issue was back.
Is anyone else seeing this issue or am I alone? Anyone else mind checking theirs and chiming in? Thanks!

dipson626 said:
Is anyone else seeing this issue or am I alone? Anyone else mind checking theirs and chiming in? Thanks!
Click to expand...
Click to collapse
Did you get this far? Seems to be working okay for me..
I don't have any ideas about the cause or solution, except one of your apps is breaking it. Not sure.
Sent from my sailfish using XDA Labs

I appreciate you checking. The device will usually load the graph quickly, then immediately throw the error.
I agree, I think when it's trying to load usage for a particular app it's crashing. Support wants to warranty my device but I have a feeling that's not going to help. Just wanted to see if anyone else has this issue, then maybe could narrow down the offending app.

Hey.
I have the same problem; but on my HTC ONE M9 (Stock)
But it worked a few weeks ago, and now it crashes immediatley.
And it looks like its not a device problem (http://forum.xda-developers.com/nexus-6p/help/data-usage-crash-t3355490), but a "special" general problem...
And i tried to wipe data and cache at the "usage data" programm, but didnt help..

I have the same issue in my Google Pixel. Checking Cellular data usage will crash sometimes, but checking Wi-Fi data usage will always crash, I found some info as below link, but not luck for #23 solution, the "Draw over other apps" of System UI is default Yes.
https://code.google.com/p/android/issues/detail?id=197735

I'm seeing this also - seems to be compounded by a device restore where high data usage happens within first few hours of device use. Noticed this on my 5x with 7.1 and 7.1.1 - just saw this on a NEW Pixel 128GB - NO ROOT - PURE Factory ROM, reported it to AOSP issues as well: https://code.google.com/p/android/issues/detail?id=232202
On my 5x with 7.1.1 - the problem stopped after 2-3 days (don't know if usage histogram just stabilized to not get the crash)

Are the people seeing this error using the OTA or did they use fastboot, if using fastboot was it with -w or without.
I have done many installs, factory and custom roms and never seen this, I've never taken an OTA cause to me, that equals a dirty install ?
Sent from my Pixel using XDA-Developers Legacy app

Finally, I clean app settings then, data usage is working (But lost all the app settings (Permissions, Background data,,,etc.)
I do some test, the data usage will crash when "Background data" in some applications are disabled. But I am not sure which app will cause the crash.

I have never experience that issue but from the symptoms : Tried factory reset > worked at the beginning > installed apps, tweaking settings > stopped working. It most probably is caused by an app (or setting), so next step would be to ID it.
Did you have a look at a logcat of the moment the crash happens? It could give you some hints.
Otherwise (I know it is long and boring) factory reset then install apps and tweak settings only one at a time trying the WiFi data between each until you find the culprit is the way to go.

bafforosso said:
I have never experience that issue but from the symptoms : Tried factory reset > worked at the beginning > installed apps, tweaking settings > stopped working. It most probably is caused by an app (or setting), so next step would be to ID it.
Did you have a look at a logcat of the moment the crash happens? It could give you some hints.
Otherwise (I know it is long and boring) factory reset then install apps and tweak settings only one at a time trying the WiFi data between each until you find the culprit is the way to go.
Click to expand...
Click to collapse
I was going to say the same thing. I'm thinking an app in particular is causing this. I've never had the issue myself. However if it did happen to me. I would uninstall apps in reverse order.
Think back to when you first noticed this and try and think of any new apps you might have installed around that time.
Go to the All section of My Apps and Games - Most recent apps are on top, so uninstall from the top down until you find the culprit.

dipson626 said:
When I go to Settings --> Data usage --> Wi-Fi data usage, the app crashes with the message "Settings keeps stopping". http://i.imgur.com/nyaJvEy.png
Tried safe mode and clearing chache and still wouldn't work. Support suggested I factory reset. Tried that, it worked initially, but by the time I was done setting my phone back up (downloading all apps, tweaking settings, etc,) the issue was back.
Is anyone else seeing this issue or am I alone? Anyone else mind checking theirs and chiming in? Thanks!
Click to expand...
Click to collapse
I had sort of the same problem. I ended up uninstalling apps. mixplorer was causing it for me. I downgraded to a older version of it and my FC went away.

I found that data usage will crash after setting "Background data" of some applications as restricted.
The following is the logcat log.
03-16 16:27:52.937 1011 14355 I ActivityManager: START u0 {act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras)} from uid 1000 on display 0
03-16 16:27:52.991 18101 18101 D SubSettings: Launching fragment com.android.settings.datausage.DataUsageList
03-16 16:27:53.145 1011 1137 I ActivityManager: Displayed com.android.settings/.SubSettings: +185ms
03-16 16:27:53.196 18101 18128 D OpenGLRenderer: endAllActiveAnimators on 0x7016f89400 (RippleDrawable) with handle 0x7026d82860
03-16 16:27:53.205 2669 2669 D TextExpansionAccessibilityServicePro: onAccessibilityEvent: windows changeds
03-16 16:27:53.348 18101 18101 D AndroidRuntime: Shutting down VM
03-16 16:27:53.348 18101 18101 E AndroidRuntime: FATAL EXCEPTION: main
03-16 16:27:53.348 18101 18101 E AndroidRuntime: Process: com.android.settings, PID: 18101
03-16 16:27:53.348 18101 18101 E AndroidRuntime: java.util.concurrent.RejectedExecutionException: Task [email protected] rejected from [email protected][Running, pool size = 9, active threads = 9, queued tasks = 128, completed tasks = 15]
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2049)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:814)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1360)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:623)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at com.android.settings.datausage.AppDataUsagePreference$UidDetailTask.bindView(AppDataUsagePreference.java:93)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at com.android.settings.datausage.AppDataUsagePreference.<init>(AppDataUsagePreference.java:49)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at com.android.settings.datausage.DataUsageList.bindStats(DataUsageList.java:390)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at com.android.settings.datausage.DataUsageList$3.onLoadFinished(DataUsageList.java:548)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at com.android.settings.datausage.DataUsageList$3.onLoadFinished(DataUsageList.java:545)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at android.app.LoaderManagerImpl$LoaderInfo.callOnLoadFinished(LoaderManager.java:489)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at android.app.LoaderManagerImpl$LoaderInfo.onLoadComplete(LoaderManager.java:457)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at android.content.Loader.deliverResult(Loader.java:144)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at android.content.AsyncTaskLoader.dispatchOnLoadComplete(AsyncTaskLoader.java:265)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at android.content.AsyncTaskLoader$LoadTask.onPostExecute(AsyncTaskLoader.java:92)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at android.os.AsyncTask.finish(AsyncTask.java:667)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at android.os.AsyncTask.-wrap1(AsyncTask.java)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:684)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6119)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
03-16 16:27:53.348 18101 18101 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
03-16 16:27:53.352 1011 14353 W ActivityManager: Force finishing activity com.android.settings/.SubSettings
03-16 16:27:53.359 1011 14353 W ActivityManager: Force finishing activity com.android.settings/.Settings$DataUsageSummaryActivity
03-16 16:27:53.446 1011 23150 I OpenGLRenderer: Initialized EGL, version 1.4
03-16 16:27:53.446 1011 23150 D OpenGLRenderer: Swap behavior 1
03-16 16:27:53.561 2669 2669 D TextExpansionAccessibilityServicePro: onAccessibilityEvent: windows changeds
03-16 16:27:53.627 18101 18111 W art : Suspending all threads took: 10.978ms
03-16 16:27:53.630 18101 18111 I art : Background partial concurrent mark sweep GC freed 31617(1304KB) AllocSpace objects, 0(0B) LOS objects, 40% free, 8MB/14MB, paused 11.582ms total 46.596ms
03-16 16:27:53.859 1011 1066 W ActivityManager: Activity pause timeout for ActivityRecord{542b1f9 u0 com.android.settings/.SubSettings t16865 f}
03-16 16:27:53.997 1011 1031 I sensors : batch
03-16 16:27:53.998 1011 1031 I nanohub : queueBatch: sensor=1, handle=1, period=2500000, latency=0
03-16 16:27:53.998 1011 1031 I sensors : activate
03-16 16:27:54.000 1011 1031 I nanohub : queueActivate: sensor=1, handle=1, enable=1
03-16 16:27:54.002 1011 1384 I nanohub : osLog: [BMI160] accSetRate: rate=409600, latency=2499584, state=3
03-16 16:27:54.028 484 484 E SurfaceFlinger: releasePendingBuffer failed: Unknown error -1 (1)
03-16 16:27:54.062 2669 2669 D TextExpansionAccessibilityServicePro: onAccessibilityEvent: windows changeds
03-16 16:27:54.212 18101 18470 W ResourceType: ResTable_typeSpec entry count inconsistent: given 2, previously 1329
03-16 16:27:54.299 1011 1066 I ActivityManager: Killing 17506:air.byss.mobi.instaweatherpro/u0a189 (adj 906): empty #17
03-16 16:27:54.425 1011 1384 I nanohub : osLog: bridge: Got event 0x00000221 with 1296 bytes of data
03-16 16:27:54.440 1011 1384 I nanohub : osLog: bridge: Got event 0x00000221 with 528 bytes of data
03-16 16:27:54.445 1011 1384 I nanohub : osLog: bridge: Issuing on-demand request for Cell Info
03-16 16:27:54.467 1011 1384 I nanohub : osLog: bridge: Got event 0x00000225 with 456 bytes of data
03-16 16:27:54.480 2309 17835 W ctxmgr : [AclManager]No 2 for (accnt=account#-2037801134#, com.google.android.gms(10019):UserLocationProducer, vrsn=10298000, 0, 3pPkg = null , 3pMdlId = null). Was: 2 for 1, account#-2037801134#
03-16 16:27:54.482 1011 1384 I nanohub : osLog: [WifiLocator] incoming scan 0x20028a64
03-16 16:27:54.484 1011 1384 I nanohub : osLog: [WifiLocator] wifi position success (24m)
03-16 16:27:54.485 1011 1384 I nanohub : osLog: [CellLocator] incoming scan 0x20028988
03-16 16:27:54.486 1011 1384 I nanohub : osLog: [CellLocator] cell position success (741m)
03-16 16:27:54.488 1011 1384 I nanohub : osLog: [LocEng] Sending Scan Request with interval ~60 seconds, ~520 meters
03-16 16:27:54.489 1011 1384 I nanohub : osLog: [GeofencingEngine] LocationCallback: provider 1, accuracy 20 meters, 0 transitions
03-16 16:27:54.534 1011 1069 E libprocessgroup: failed to kill 1 processes for processgroup 17506
03-16 16:27:54.660 1011 2783 D ActivityManager: cleanUpApplicationRecord -- 17506
Click to expand...
Click to collapse

I have the same problem:
01-09 11:58:07.691 22967 22967 E AndroidRuntime: java.util.concurrent.RejectedExecutionException: Task [email protected] rejected from [email protected][Running, pool size = 17, active threads = 17, queued tasks = 128, completed tasks = 52]
I have to ENABLE background data on all apps to resolve this?

Solved
I had the same problem on my Samsung J7 prime for more than 6 months! I tried force restart, clear the Settings app cache & data, wiping the cash partition, run in safe mode...
but finally THE SOLUTION was : resting the apps preferences
like this : settings >> apps >> the 3 dots in the top corner >> reset apps preferences

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

emu-ex-plus-alpha emulators cause KatKernel-based TF101 to reboot

I am having a very irritating issue with my TF101. I can't run any of the emu.ex.plus.alpha suite of emulators on any OS based on the KatKernel—attempting to open the emulators simply causes the device to reboot.
The emulators worked on stock, they worked on the last official version of CyanogenMod for the TF101, but they will not work on KatKiss, Omni, or any other OS based on KatKernel.
Sorry to double-post
Found a potential lead in an lc dump:
Code:
09-08 10:18:07.025 I/ActivityManager( 416): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.explusalpha.Snes9xPlus/com.imagine.BaseActivity bnds=[798,85][956,193]} from pid 634
09-08 10:18:07.034 D/PermissionCache( 107): checking android.permission.READ_FRAME_BUFFER for uid=1000 => granted (149 us)
09-08 10:18:07.065 W/BroadcastQueue( 416): Permission Denial: receiving Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 (has extras) } to com.google.android.googlequicksearchbox/com.google.android.search.core.summons.icing.InternalIcingCorporaProvider$ApplicationLaunchReceiver requires com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS due to sender com.android.launcher3 (uid 10008)
09-08 10:18:07.135 I/ActivityManager( 416): Start proc com.explusalpha.Snes9xPlus for activity com.explusalpha.Snes9xPlus/com.imagine.BaseActivity: pid=1420 uid=10063 gids={50063, 1028, 1015, 1023, 3002, 3001}
09-08 10:18:07.185 I/qtaguid ( 1101): Failed write_ctrl(u 59) res=-1 errno=22
09-08 10:18:07.185 I/qtaguid ( 1101): Untagging socket 59 failed errno=-22
09-08 10:18:07.185 W/NetworkManagementSocketTagger( 1101): untagSocket(59) failed with errno -22
09-08 10:18:07.225 E/cutils ( 104): Failed to mkdirat(/storage/sdcard2/Android): Read-only file system
09-08 10:18:07.225 W/ContextI
It is at this point that the device reboots.

[HELP NEEDED] - wrong permissions set on com.android.vending

My App Store is crashing for a few days. Did an update, after that there is no way I can start my App Store. Did a security update (just a coincidence it came the same day), did the clean cache, revert and stuff blablabla...
Decided to dig into it myself and logcat shows some funny stuff:
Code:
07-03 09:36:28.781 2204 25544 I BroadcastQueue: am_broadcast_finished: [background,1,Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 pkg=com.google.android.googlequicksearchbox (has extras) }]
07-03 09:36:28.801 2204 3566 I BroadcastQueue: am_broadcast_finished: [background,1,Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 pkg=com.google.android.gms (has extras) }]
07-03 09:36:28.822 9045 9045 I art : Starting a blocking GC AddRemoveAppImageSpace
07-03 09:36:28.825 9045 9045 W System : ClassLoader referenced unknown path: /system/priv-app/Phonesky/lib/arm64
07-03 09:36:28.833 9045 9045 I LoadedApk: No resource references to update in package alias:dummy.dummy
07-03 09:36:28.846 9045 9045 W Finsky.CrashDetector: Read crash info cnt=7 ts=1499066092355 cause=NullPointerException.
07-03 09:36:28.847 9045 9045 W Finsky.CrashDetector: Cleanup cache cnt=7 ts=1499066092355 cause=NullPointerException.
07-03 09:36:28.847 9045 9045 W Finsky.CrashDetector: Failed to delete file: /data/user/0/com.android.vending/cache/cache_and_sync_images cnt=7 ts=1499066092355 cause=NullPointerException.
07-03 09:36:28.847 9045 9045 W Finsky.CrashDetector: Failed to delete file: /data/user/0/com.android.vending/cache/hipri cnt=7 ts=1499066092355 cause=NullPointerException.
07-03 09:36:28.847 9045 9045 W Finsky.CrashDetector: Cleanup data stores cnt=7 ts=1499066092355 cause=NullPointerException.
07-03 09:36:28.848 9045 9045 W Finsky.CrashDetector: Cleanup restore data store cnt=7 ts=1499066092355 cause=NullPointerException.
07-03 09:36:28.848 9045 9045 W Finsky.CrashDetector: Cleanup installer data store cnt=7 ts=1499066092355 cause=NullPointerException.
07-03 09:36:28.901 9045 9073 E AndroidRuntime: FATAL EXCEPTION: PackageInstallerImpl
07-03 09:36:28.901 9045 9073 E AndroidRuntime: Process: com.android.vending, PID: 9045
07-03 09:36:28.901 9045 9073 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.AppOpsManager.checkPackage(int, java.lang.String)' on a null object reference
07-03 09:36:28.901 9045 9073 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1698)
07-03 09:36:28.901 9045 9073 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1641)
07-03 09:36:28.901 9045 9073 E AndroidRuntime: at android.content.pm.IPackageInstaller$Stub$Proxy.getMySessions(IPackageInstaller.java:385)
07-03 09:36:28.901 9045 9073 E AndroidRuntime: at android.content.pm.PackageInstaller.getMySessions(PackageInstaller.java:406)
07-03 09:36:28.901 9045 9073 E AndroidRuntime: at com.google.android.finsky.installer.am.run(SourceFile:102)
07-03 09:36:28.901 9045 9073 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:751)
07-03 09:36:28.901 9045 9073 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95)
07-03 09:36:28.901 9045 9073 E AndroidRuntime: at android.os.Looper.loop(Looper.java:241)
07-03 09:36:28.901 9045 9073 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:61)
07-03 09:36:28.901 2204 25543 D ActivityManager: New dropbox entry: com.android.vending, system_app_crash, 530d052a-fae7-42a9-8de9-68f990e4ada1
07-03 09:36:28.902 2204 25543 W ActivityManager: Force finishing activity com.android.vending/.AssetBrowserActivity
07-03 09:36:28.904 2204 25543 I InputDispatcher: Focus entered window: Window{c145681 u0 com.google.android.googlequicksearchbox/com.google.android.launcher.GEL}
07-03 09:36:28.906 2204 3589 W InputMethodManagerService: Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
07-03 09:36:28.907 2204 25543 D ActivityTrigger: ActivityTrigger activityPauseTrigger
07-03 09:36:28.909 9045 9045 I Finsky : [1] com.google.android.finsky.dailyhygiene.DailyHygiene.a(323): No need to run daily hygiene.
07-03 09:36:28.912 691 691 D clmlib : Got activities:0x00000008
07-03 09:36:28.912 691 691 I JavaDumper:JavaDumperThread: addEvent: [email protected] processName: com.android.vending
07-03 09:36:28.912 2204 2204 I BroadcastQueue: am_broadcast_enqueue: [background,1,Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) },3]
07-03 09:36:28.913 691 817 I JavaDumper:JavaDumperThread: Event: [email protected] TimeStamp: 1499067388
Instead of googling the crash stack trace I noticed the Failed to delete file thing. And because I know this has been an issue before, I just checked on other phone. I do not have two equal phones so... Maybe this is just a thing that changed between L and N, but maybe someone has a clue how to fix these permissions on a nonrooted device?
Because on a working phone the /data/user/0/com.android.vending is accessible:
Code:
1|[email protected]:/data/user/0 $ ls -ld com.android.vending
drwxr-x--x u0_a101 u0_a101 2017-06-28 10:14 com.android.vending
And on the not working phone the same directory is not accessible.
Code:
1|E6653:/data/user/0 $ ls -ld com.android.vending
drwx------ 11 u0_a62 u0_a62 4096 2017-07-01 20:20 com.android.vending
Please someone with not rooted phone can confirm how are the permission on this directory set up?
Device: Sony E6653 (xperia Z5), Android 7.1.1 (a.k.a. N) build number 32.4.A.0.160, security patch june 1. 2017. Not rooted, stock.
Okay, so as far as I understand this, reverting an app to default state (that is disabling a system app, like google play store) does not reset its folder permission, just replaces the content. The only way to fix permissions seems to be the factory reset which will reformat the whole system partition (more or less...). Unless I find a way how to temporary gain root to my phone I will go the long way, which is a factory reset.

MIUI 12 keeps restarting

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.

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.

Categories

Resources