Settings has stopped... - Moto G4 Play Questions & Answers

I'm unable to access my 'settings' menu. - Settings has stopped...
Many posts say a factory reset will not fix the issue so can someone point me in the direction on how to re-flash this phone before it gets given away or thrown in the trash...
Rooted, no new apps etc so not sure what broke it.

Pretty sure they only have images for the dev edition

fluffyofqweam said:
Pretty sure they only have images for the dev edition
Click to expand...
Click to collapse
There is an o2 image here
and some random one here which I can't ID.
At this point I don't really care what happens to this device now so if you can point me in a direction to a good guide I'll give one of those a go

Where did you find this image?

fluffyofqweam said:
Where did you find this image?
Click to expand...
Click to collapse
https://mirrors.lolinet.com/firmware/moto/harpia/official/

Alright this let's try flashing the the first image you linked, do you have TWRP?

fluffyofqweam said:
Alright this let's try flashing the the first image you linked, do you have TWRP?
Click to expand...
Click to collapse
Yep that's all installed & working - I was actually going to try the newer image as the o2 one appears to be older than the image I have on the phone now... But I'm open to your wisdom.
As an aside - If I can get another identical phone could I pull the image out of that for re-installing on mine at a later date ? (I may be able to borrow a device next week for a few days) Otherwise I'm up for trying this today.
I was going to follow these instructions but only doing the;
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash system system.img_sparsechunk.4
mfastboot flash system system.img_sparsechunk.5
mfastboot flash system system.img_sparsechunk.6
mfastboot flash system system.img_sparsechunk.7
part as it looks like it the OS thats broken rather than anything else. It would be nice If I didn't have to kill all my user data but I'm not that worried if I have no choice.
The phone works in fastboot and I have ADB working on my PC - I also now have mfastboot as I'd seen people hinting that Moto users should use that rather than just fastboot.

You found a newer one? I would flash the newer image as it maybe fixed the issue, not sure what you meant about the indentical phone part, if your asking if you can flash the Moto G4 play image on another device that's not a Moto G4 play the answer is no, and for the instructions you found, I have never seen it
---------- Post added at 05:45 PM ---------- Previous post was at 05:44 PM ----------
I'm actually a bit new to Android but I'm sure you can help others out to help you by posting your logcat after trying to get into the settings app
---------- Post added at 05:45 PM ---------- Previous post was at 05:45 PM ----------
And what ever you do do not throw this beast of a device away

fluffyofqweam said:
You found a newer one? I would flash the newer image as it maybe fixed the issue, not sure what you meant about the indentical phone part, if your asking if you can flash the Moto G4 play image on another device that's not a Moto G4 play the answer is no, and for the instructions you found, I have never seen it
---------- Post added at 05:45 PM ---------- Previous post was at 05:44 PM ----------
I'm actually a bit new to Android but I'm sure you can help others out to help you by posting your logcat after trying to get into the settings app
Click to expand...
Click to collapse
So the 2nd image link I posted here is slightly newer than the current phone version - I was going to try that as it appears to match in so fas as its a retail version rather than a carrier specific version (my devide was retail)
What I meant by extracting an image from another phone - I can get access to an identical non rooted stock retail image moto g4 play next week - so figured there must be a way to extract the system image then load it back onto this broken phone.
Re logcat - standby I'll edit this post in a few min once it's booted up & I've tested it. I was looking for logs but I'm even newer to this Android stuff than you are!
*** LOGCAT BELOW *** (from trying to access settings)
07-14 17:54:19.475 5162 11342 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android
.settings/.Settings (has extras)} from uid 10061 on display 0
07-14 17:54:19.480 7488 11394 D ProcSpeedReader: Failed to read freq stats from null
07-14 17:54:19.508 5162 7564 I ActivityManager: Start proc 12499:com.android.settings/1000 for activity com.android.settings/.Settings
07-14 17:54:19.553 7488 11394 D ProcSpeedReader: Failed to read freq stats from null
07-14 17:54:19.580 12499 12499 W System : ClassLoader referenced unknown path: /data/app/com.android.settings-1/lib/arm
07-14 17:54:19.583 12499 12499 D AndroidRuntime: Shutting down VM
07-14 17:54:19.589 12499 12499 E AndroidRuntime: FATAL EXCEPTION: main
07-14 17:54:19.589 12499 12499 E AndroidRuntime: Process: com.android.settings, PID: 12499
07-14 17:54:19.589 12499 12499 E AndroidRuntime: java.lang.RuntimeException: Unable to get provider android.support.v4.content.FileProvider: java.lang.ClassNotF
oundException: Didn't find class "android.support.v4.content.FileProvider" on path: DexPathList[[zip file "/system/framework/com.motorola.frameworks.core.addon.
jar", zip file "/data/app/com.android.settings-1/base.apk"],nativeLibraryDirectories=[/data/app/com.android.settings-1/lib/arm, /data/app/com.android.settings-1
/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at android.app.ActivityThread.installProvider(ActivityThread.java:5193)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at android.app.ActivityThread.installContentProviders(ActivityThread.java:4785)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4725)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at android.app.ActivityThread.-wrap1(ActivityThread.java)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1418)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5459)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v4.content.FileProvider" on pat
h: DexPathList[[zip file "/system/framework/com.motorola.frameworks.core.addon.jar", zip file "/data/app/com.android.settings-1/base.apk"],nativeLibraryDirector
ies=[/data/app/com.android.settings-1/lib/arm, /data/app/com.android.settings-1/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at android.app.ActivityThread.installProvider(ActivityThread.java:5178)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: ... 10 more
07-14 17:54:19.589 12499 12499 E AndroidRuntime: Suppressed: java.io.IOException: No original dex files found for dex location /data/app/com.android.sett
ings-1/base.apk
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at dalvik.system.DexFile.openDexFileNative(Native Method)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at dalvik.system.DexFile.openDexFile(DexFile.java:295)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at dalvik.system.DexFile.<init>(DexFile.java:80)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at dalvik.system.DexFile.<init>(DexFile.java:59)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at dalvik.system.DexPathList.loadDexFile(DexPathList.java:279)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at dalvik.system.DexPathList.makePathElements(DexPathList.java:248)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at dalvik.system.DexPathList.<init>(DexPathList.java:120)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:58)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at android.app.LoadedApk.getClassLoader(LoadedApk.java:376)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at android.app.LoadedApk.makeApplication(LoadedApk.java:568)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4717)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: ... 8 more
07-14 17:54:19.589 12499 12499 E AndroidRuntime: Suppressed: java.lang.ClassNotFoundException: android.support.v4.content.FileProvider
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at java.lang.Class.classForName(Native Method)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
07-14 17:54:19.589 12499 12499 E AndroidRuntime: ... 12 more
07-14 17:54:19.589 12499 12499 E AndroidRuntime: Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace a
vailable
07-14 17:54:19.591 5162 5176 W ActivityManager: Force finishing activity com.android.settings/.Settings
07-14 17:54:19.592 5162 5176 I ActivityManager: moveHomeStack, setupComplete:true
07-14 17:54:19.622 7488 11394 D ProcSpeedReader: Failed to read freq stats from null
07-14 17:54:19.682 5162 8999 I OpenGLRenderer: Initialized EGL, version 1.4
07-14 17:54:20.123 5162 5188 W ActivityManager: Activity pause timeout for ActivityRecord{103e8bb u0 com.android.settings/.Settings t9 f}
07-14 17:54:20.126 7488 11394 D ProcSpeedReader: Failed to read freq stats from null
07-14 17:54:20.170 5162 10520 I ActivityManager: Killing 12168:com.android.vending/u0a48 (adj 15): empty #7
07-14 17:54:20.209 5162 7985 D ActivityManager: cleanUpApplicationRecord -- 12168
07-14 17:54:20.761 358 717 I SFPerfTracer: triggers: (rate: 0:0) (0 sw vsyncs) (0 skipped) (26:2792 vsyncs) (28:3249)
07-14 17:54:21.333 12499 12499 I Process : Sending signal. PID: 12499 SIG: 9
07-14 17:54:21.338 5162 8999 D OpenGLRenderer: endAllActiveAnimators on 0xb94d8470 (RippleDrawable) with handle 0xb95eeb18
07-14 17:54:21.347 5162 10519 W InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Pr
[email protected] [email protected], token = [email protected]
07-14 17:54:21.372 5162 6956 I ActivityManager: Process com.android.settings (pid 12499) has died
07-14 17:54:21.372 5162 6956 D ActivityManager: cleanUpApplicationRecord -- 12499
Click to expand...
Click to collapse

Wait a minute, you got a Verizon version and rooted it? Werid, we yeah I would use the 2nd image if it was newer, and do you mean to get a whole other Moto G4 play just to get the image? I wouldn't really do that
---------- Post added at 05:53 PM ---------- Previous post was at 05:52 PM ----------
I would suggest the app called logcat reader, it's a simple app hold down to access a menu
---------- Post added at 05:55 PM ---------- Previous post was at 05:53 PM ----------
I know your settings is broken but please make a backup before you start flashing anything!

fluffyofqweam said:
Wait a minute, you got a Verizon version and rooted it? Werid, we yeah I would use the 2nd image if it was newer, and do you mean to get a whole other Moto G4 play just to get the image? I wouldn't really do that
---------- Post added at 05:53 PM ---------- Previous post was at 05:52 PM ----------
I would suggest the app called logcat reader, it's a simple app hold down to access a menu
---------- Post added at 05:55 PM ---------- Previous post was at 05:53 PM ----------
I know your settings is broken but please make a backup before you start flashing anything!
Click to expand...
Click to collapse
No, no - this is a UK Retail version XT1604. I have nothing to backup to be honest - and even if I end up on an old software/radio etc (o2 build) then fine - If you want me to backup from inside TWRP then I can, but I don't see much point backing up a recovery image I have, a system image which is clearly broken, cache which is empty anyway and a few user settings. I can decide that later.
Based on what you see do I just need to flash the system.image files in turn ? or do I need to flash all the other bits as well (Everything else on the phone works I should point out besides being able to access settings)

Alright, I understand it's your choice but there's a chance the situation might get even worse, luckily you have TWRP though, anyways i would think that flashing the second image you posted would already have everything, but before you do that checkout this video
It seems like he does a lot stuff not needed. But it's not going to hurt right?
---------- Post added at 06:26 PM ---------- Previous post was at 06:19 PM ----------
Copy and paste all the commands to the note pad, read the discription
---------- Post added at 06:43 PM ---------- Previous post was at 06:26 PM ----------
Any news?

Any news?
Click to expand...
Click to collapse
Only just sitting down to watch the vid - standby. It's also dinner-time

Yum! ?

Ok, so the video is the same instructions as here but rather than using mfastboot just regular fastboot.exe
I'm in the process of taking a full backup via TWRP right now.
I'll update this post shortly.
**1**
That's why I was planning on not touching the radio side of things... I'll consider a rom if none of this works - at the end of the day long as I can get into boot loader its fine.
My plan is to flash everything except the radio stuff, and the recovery image

Gotcha! Perhaps follow the article, people do say that some things like there data or wifi signal doesn't work while other people say it works perfectly, I wish the best of luck, also if this does fail, maybe consider a rom?

Before I commit to this; does anyone know the difference between the MIP and the MIPS firmwares ? Is 1 for the dual SIM version? If so which one as this is only a single SIM

Er, not sure, sorry I didn't respond, xda labs didn't send me a notification

Any news?

fluffyofqweam said:
Any news?
Click to expand...
Click to collapse
Yes! - Sorry was out. We are back in business.
I ended up doing a full re-flash using this image and these instructions as a guide. But rather than mfastboot - use just fastboot and inside the .zip you will find a file called flashfile.xml - open that file in a browser and it will show you all the steps that firmware requires and bits to do. Use the website as a guide only.
The software installed;
6.0.1
Patch 01-May-2017
Modem Version: M8916_20250106.08.05.23.01R
System Version: 24.221.18.harpia.retail.en.US
Blur Version: Blur_Version.24.221.18.harpia.retail.en.US
Version when read from CPV: harpia-user 6.0.1 MPIS24.241-2.35-2-17 18 release-keys
Kernel 3.10.49 22-May-2017
Managed to re-encrypt then root the device, I'll sort out basic apps & bits later so I can build a base config to backup through TWRP. Once I've done that I'll start stripping out some of the junk (knowing I have a working backup)
It would appear for the time being the device is safe from any nasty incidents or the bin... I'm also a bit more happy about flashing the device now as well.

Related

Help! Google Contacts/Download Manager crashing with ClassNotFoundException

Hello,
Please help as my AT&T bootloader is updated/locked so I can't downgrade to any OEM firmware image from odin. Here is what I did:
Root --> Removed too many apps-->TB restore--xposed-->security update -->reboot loop-->factory reset-->re-root-->installing packages manually through adb-->flashing update.zips
Finally, I have the phone somewhat running. However, various Google apps (app store, setup wizard, contacts) are crashing with a ClassNotFoundException. I have manually installed these .apk using instructions in the forums here. Now, I'm trying to figure out what I did wrong and how to resolve it.
I wasn't sure about the package name/file owner/package permissions or if I need to restore more of the .apks that I removed. Some of the Samsung/Knox/Att apps are still removed. I also came across a post regarding some settings in system/framework/arm/boot.oat, framework-classes2.dex, oat2dex.jar. However, I wasn't sure what to type to check it.
I can run commands and provide any output that will help. Thanks in advance since I just bought this expensive phone!
"Unfortunately, the process android.process.acore has stopped."
09-29 22:52:03.242 8960 8960 E AndroidRuntime: FATAL EXCEPTION: main
09-29 22:52:03.242 8960 8960 E AndroidRuntime: Process: android.process.acore, PID: 8960
09-29 22:52:03.242 8960 8960 E AndroidRuntime: java.lang.RuntimeException: Unable to get provider com.android.providers.userdictionary.UserDictionaryProvider: java.lang.ClassNotFoundException: Didn't find class "com.android.providers.userdictionary.UserDictionaryProvider" on path: DexPathList[[zip file "/system/app/UserDictionaryProvider/base.apk"],nativeLibraryDirectories=[/system/app/UserDictionaryProvider/lib/arm64, /vendor/lib64, /system/lib64]]
09-29 22:52:03.242 8960 8960 E AndroidRuntime: at android.app.ActivityThread.installProvider(ActivityThread.java:6770)
09-29 22:52:03.242 8960 8960 E AndroidRuntime: at android.app.ActivityThread.installContentProviders(ActivityThread.java:6362)
[email protected]:/system/app # ls -l ./UserDictionaryProvider/*
ls -l ./UserDictionaryProvider/*
-rw-r--r-- root root 4568 2016-09-29 20:02 base.apk
================================
I get errors like "Unfortunately, Download manager has stopped"
09-29 22:50:39.032 8812 8812 E AndroidRuntime: FATAL EXCEPTION: main
09-29 22:50:39.032 8812 8812 E AndroidRuntime: Process: android.process.media, PID: 8812
09-29 22:50:39.032 8812 8812 E AndroidRuntime: java.lang.RuntimeException: Unable to get provider com.android.providers.downloads.DownloadStorageProvider: java.lang.ClassNotFoundException: Didn't find class "com.android.providers.downloads.DownloadStorageProvider" on path: DexPathList[[zip file "/system/framework/secsmartcard.jar", zip file "/system/priv-app/DownloadsProvider/Base.apk"],nativeLibraryDirectories=[/system/priv-app/DownloadsProvider/lib/arm64, /vendor/lib64, /system/lib64]]
[email protected]:/system/app # ls -l /system/priv-app/DownloadsProvider/*
ls -l /system/priv-app/DownloadsProvider/*
-rw-r--r-- root sdcard_rw 66309 2016-09-29 22:10 Base.apk
----------------------------------------------
Bad processes:
Bad process android.process.acore uid 10004: crashed at time 747214
Short msg: java.lang.ClassNotFoundException
Long msg: java.lang.ClassNotFoundException: Didn't find class "com.android.providers.userdictionary.UserDictionaryProvider" on path: DexPathList[[zip file "/system/app/UserDictionaryProvider.apk"],nativeLibraryDirectories=[/system/lib64/UserDictionaryProvider, /vendor/lib64, /system/lib64]]
Stack:
java.lang.RuntimeException: Unable to get provider com.android.providers.userdictionary.UserDictionaryProvider: java.lang.ClassNotFoundException: Didn't find class "com.android.providers.userdictionary.UserDictionaryProvider" on path: DexPathList[[zip file "/system/app/UserDictionaryProvider.apk"],nativeLibraryDirectories=[/system/lib64/UserDictionaryProvider, /vendor/lib64, /system/lib64]]
at android.app.ActivityThread.installProvider(ActivityThread.java:6770)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:6362)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6302)
at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:755)
at android.app.ActivityThread.handleBindApplication(<Xposed>)
at android.app.ActivityThread.access$1800(ActivityThread.java:222)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1861)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7229)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:133)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.providers.userdictionary.UserDictionaryProvider" on path: DexPathList[[zip file "/system/app/UserDictionaryProvider.apk"],nativeLibraryDirectories=[/system/lib64/UserDictionaryProvider, /vendor/lib64, /system/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
at android.app.ActivityThread.installProvider(ActivityThread.java:6755)
... 14 more
Suppressed: java.io.IOException: No original dex files found for dex location /system/app/UserDictionaryProvider.apk
at dalvik.system.DexFile.openDexFileNative(Native Method)
at dalvik.system.DexFile.openDexFile(DexFile.java:295)
at dalvik.system.DexFile.<init>(DexFile.java:80)
at dalvik.system.DexFile.<init>(DexFile.java:59)
at dalvik.system.DexPathList.loadDexFile(DexPathList.java:279)
at dalvik.system.DexPathList.makePathElements(DexPathList.java:248)
at dalvik.system.DexPathList.<init>(DexPathList.java:120)
at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48)
at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65)
at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:84)
at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:45)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:434)
at de.robv.android.xposed.XposedBridge$4.afterHookedMethod(XposedBridge.java:282)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:769)
at android.app.LoadedApk.<init>(<Xposed>)
at android.app.ActivityThread.getPackageInfo(ActivityThread.java:2559)
at android.app.ActivityThread.getPackageInfo(ActivityThread.java:2450)
at android.app.ActivityThread.getPackageInfo(ActivityThread.java:2422)
at android.app.ContextImpl.createPackageContextAsUser(ContextImpl.java:1854)
at android.app.ContextImpl.createPackageContext(ContextImpl.java:1841)
at android.content.ContextWrapper.createPackageContext(ContextWrapper.java:774)
at android.app.ActivityThread.installProvider(ActivityThread.java:6740)
... 14 more
Suppressed: java.lang.ClassNotFoundException: com.android.providers.userdictionary.UserDictionaryProvider
at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 16 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
This cause the system process to loop with acore crashing until I disable all the contact related apps and then the crash rate slows and I can work on the phone
--------------------------------
09-29 21:02:00.409 5754 5833 D CapabilityDiscoveryModule: requestInitialCapabilitiesQuery:
09-29 21:02:00.409 5754 5833 D CapabilityDiscoveryModule: requestInitialCapabilitiesQuery: contact is not ready. retry in 1 second.
09-29 21:02:01.419 5754 5833 D CapabilityDiscoveryModule: handleMessage: evt 3
09-29 21:02:01.419 5754 5833 D CapabilityDiscoveryModule: requestInitialCapabilitiesQuery:
09-29 21:02:01.419 5754 5833 D CapabilityDiscoveryModule: requestInitialCapabilitiesQuery: contact is not ready. retry in 1 second.
09-29 21:02:01.909 656 656 I rmt_storage: rmt_storage_connect_cb: clnt_h=0xd conn_h=0x7fa84ba000
09-29 21:02:01.909 656 656 I rmt_storage: rmt_storage_rw_iovec_cb: /boot/modem_fs1: clnt_h=0xd: req_h=0xd msg_id=3: R/W request received
09-29 21:02:01.909 656 656 I rmt_storage: wakelock acquired: 1, error no: 42
09-29 21:02:01.909 656 1008 I rmt_storage: rmt_storage_client_thread: /boot/modem_fs1: clnt_h=0xd Unblock worker thread (th_id: 548280202304)
09-29 21:02:01.929 656 1008 I rmt_storage: rmt_storage_client_thread: /boot/modem_fs1: clnt_h=0xd: req_h=0xd msg_id=3: Bytes written = 1572864
09-29 21:02:01.929 656 1008 I rmt_storage: rmt_storage_client_thread: /boot/modem_fs1: clnt_h=0xd: req_h=0xd msg_id=3: Send response: res=0 err=0
09-29 21:02:01.929 656 1008 I rmt_storage: read_debugfs_status_info: Read status: 0
09-29 21:02:01.929 656 1008 I rmt_storage: rmt_storage_client_thread: /boot/modem_fs1: clnt_h=0xd About to block rmt_storage client thread (th_id: 548280202304) wakelock released: 1, error no: 0
09-29 21:02:01.929 656 1008 I rmt_storage:
====================
Time since processes crashed:
Process com.android.contacts uid 10004: last crashed +1m41s950ms ago
Process android.process.acore uid 10004: last crashed +3m0s72ms ago
Process android.process.media uid 10061: last crashed +5s479ms ago
Phone info (might be out of date due to updates)
=================
Model: SM-G935A
Sales Code: ATT
Android Version: 6.0.1 [MMB29M]
Build Date: Tue Aug 2 18:04:41 KST 2016
PDA Version: G935AUCS2APH1 [august 2016, rev1]
Phone Version: G935AUCS2APH1 [august 2016, rev1]
CSC Version: G935AATT2APH1 [august 2016, rev1]
Product Code: SM-G935AZSAATT
Knox Version: v30
Warranty Bit: 0
Security Patch: 2016-08-01
current binary: samsung official
========================
127|[email protected]:/system/app # dumpsys package com.android.providers.userdictionary
umpsys package com.android.providers.userdictionary <
Registered ContentProviders:
com.android.providers.userdictionary/.UserDictionaryProvider:
Provider{f4ce69c com.android.providers.userdictionary/.UserDictionaryProvider}
ContentProvider Authorities:
[user_dictionary]:
Provider{f4ce69c com.android.providers.userdictionary/.UserDictionaryProvider}
applicationInfo=ApplicationInfo{aa9e8a5 com.android.providers.userdictionary}
Key Set Manager:
[com.android.providers.userdictionary]
Signing KeySets: 2
Packages:
Package [com.android.providers.userdictionary] (64cc22f):
userId=10004
sharedUser=SharedUserSetting{be9c42b android.uid.shared/10004}
pkg=Package{ff56a21 com.android.providers.userdictionary}
codePath=/system/app/UserDictionaryProvider
resourcePath=/system/app/UserDictionaryProvider
legacyNativeLibraryDir=/system/app/UserDictionaryProvider/lib
primaryCpuAbi=null
secondaryCpuAbi=null
nativeLibraryRootDir=/system/app/UserDictionaryProvider/lib
nativeLibraryDir=/system/app/UserDictionaryProvider/lib/arm64
secondaryNativeLibraryDir=null
nativeLibraryRootRequiresIsa=true
dexMode=unknown
versionCode=23 targetSdk=23
versionName=6.0.1
splits=[base]
applicationInfo=ApplicationInfo{85a6e46 com.android.providers.userdictionary}
flags=[ SYSTEM HAS_CODE ALLOW_BACKUP ]
dataDir=/data/user/0/com.android.providers.userdictionary
supportsScreens=[small, medium, large, xlarge, resizeable, anyDensity]
timeStamp=2016-09-29 21:44:27
firstInstallTime=2016-09-29 20:02:04
lastUpdateTime=2016-09-29 20:02:04
signatures=PackageSignatures{c3e7807 [b956d34]}
installPermissionsFixed=true installStatus=1
pkgFlags=[ SYSTEM HAS_CODE ALLOW_BACKUP ]
install permissions:
com.cequint.ecid.CALLER_ID_LOOKUP, granted=true, flags=0x0
android.permission.WRITE_SETTINGS, granted=true, flags=0x0
com.samsung.android.memo.READ, granted=true, flags=0x0
android.permission.USE_CREDENTIALS, granted=true, flags=0x0
com.sec.android.app.parser.permission.SERVICE, granted=true, flags=0x0
android.permission.MODIFY_AUDIO_SETTINGS, granted=true, flags=0x0
com.sec.android.app.sns3.permission.RECEIVE_SNS_BROADCAST, granted=true, flags=0x0
com.google.android.providers.gsf.permission.READ_GSERVICES, granted=true, flags=0x0
android.permission.MANAGE_ACCOUNTS, granted=true, flags=0x0
com.sec.imsservice.PERMISSION, granted=true, flags=0x0
android.permission.SEND_RESPOND_VIA_MESSAGE, granted=true, flags=0x0
com.sec.phone.permission.SEC_FACTORY_PHONE, granted=true, flags=0x0
android.permission.NFC, granted=true, flags=0x0
android.permission.PROCESS_PHONE_ACCOUNT_REGISTRATION, granted=true, flags=0x0
com.samsung.android.providers.context.permission.WRITE_EXCHANGE_CALL, granted=true, flags=0x0
android.permission.CALL_PRIVILEGED, granted=true, flags=0x0
android.permission.CHANGE_NETWORK_STATE, granted=true, flags=0x0
android.permission.WRITE_SYNC_SETTINGS, granted=true, flags=0x0
com.sec.imsservice.READ_IMS_PERMISSION, granted=true, flags=0x0
android.permission.RECEIVE_BOOT_COMPLETED, granted=true, flags=0x0
com.sec.android.app.sns3.permission.READ_SNS_DB, granted=true, flags=0x0
com.wssnps.permission.COM_WSSNPS, granted=true, flags=0x0
com.sec.android.settings.permission.SOFT_RESET, granted=true, flags=0x0
com.samsung.rcs.presence.WRITE_PERMISSION, granted=true, flags=0x0
com.android.launcher.permission.UNINSTALL_SHORTCUT, granted=true, flags=0x0
android.permission.READ_PROFILE, granted=true, flags=0x0
android.permission.BLUETOOTH, granted=true, flags=0x0
com.samsung.android.email.permission.ACCESS_PROVIDER, granted=true, flags=0x0
android.permission.WRITE_MEDIA_STORAGE, granted=true, flags=0x0
com.android.voicemail.permission.READ_VOICEMAIL, granted=true, flags=0x0
android.permission.GET_TASKS, granted=true, flags=0x0
com.android.incallui.remotecall.RemoteCallIntentService, granted=true, flags=0x0
android.permission.INTERNET, granted=true, flags=0x0
com.sec.android.phone.permission.WRITE_CALL_SETTINGS, granted=true, flags=0x0
com.sec.android.provider.emergencymode.READ_DATABASE, granted=true, flags=0x0
com.samsung.android.provider.filterprovider.permission.READ_FILTER, granted=true, flags=0x0
android.permission.WRITE_PROFILE, granted=true, flags=0x0
android.permission.WRITE_SECURE_SETTINGS, granted=true, flags=0x0
com.samsung.android.dualscreen.permission.USE_INTERNAL_APIS, granted=true, flags=0x0
com.sec.permission.BACKUP_RESTORE_HOMESCREEN, granted=true, flags=0x0
com.samsung.android.providers.context.permission.WRITE_USE_APP_FEATURE_SURVEY, granted=true, flags=0x0
com.samsung.android.permission.MANAGE_CUSTOM_STARTING_WINDOW, granted=true, flags=0x0
android.permission.CHANGE_WIFI_STATE, granted=true, flags=0x0
android.permission.MANAGE_USERS, granted=true, flags=0x0
android.permission.ACCESS_NETWORK_STATE, granted=true, flags=0x0
com.sec.android.app.snsimagecache.permission.READ_SNSIMAGECACHE_DB, granted=true, flags=0x0
com.sec.android.phone.permission.READ_CALL_SETTINGS, granted=true, flags=0x0
android.permission.INTERACT_ACROSS_USERS, granted=true, flags=0x0
com.samsung.rcs.presence.READ_PERMISSION, granted=true, flags=0x0
com.sec.imsservice.WRITE_IMS_PERMISSION, granted=true, flags=0x0
com.sec.enterprise.knox.MDM_CONTENT_PROVIDER, granted=true, flags=0x0
android.permission.BIND_DIRECTORY_SEARCH, granted=true, flags=0x0
android.permission.READ_SYNC_STATS, granted=true, flags=0x0
android.permission.REBOOT, granted=true, flags=0x0
com.sec.android.permission.VOIP_INTERFACE, granted=true, flags=0x0
android.permission.READ_SYNC_SETTINGS, granted=true, flags=0x0
android.permission.VIBRATE, granted=true, flags=0x0
android.permission.SEND_CALL_LOG_CHANGE, granted=true, flags=0x0
com.sec.android.kies.calllog.BROADCAST_DETECT, granted=true, flags=0x0
com.android.voicemail.permission.WRITE_VOICEMAIL, granted=true, flags=0x0
android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK, granted=true, flags=0x0
android.permission.ACCESS_WIFI_STATE, granted=true, flags=0x0
com.samsung.android.app.assistantmenu.permission.ADVERTISE_ASSISTANTMENU, granted=true, flags=0x0
android.permission.MODIFY_PHONE_STATE, granted=true, flags=0x0
com.android.launcher.permission.INSTALL_SHORTCUT, granted=true, flags=0x0
android.permission.STATUS_BAR, granted=true, flags=0x0
android.permission.READ_SOCIAL_STREAM, granted=true, flags=0x0
android.permission.WAKE_LOCK, granted=true, flags=0x0
com.sec.ims.android.rcs.READ_PERMISSION, granted=true, flags=0x0
android.permission.UPDATE_APP_OPS_STATS, granted=true, flags=0x0
User 0: installed=true hidden=false stopped=false notLaunched=false enabled=0
mPackagesOnlyForOwnerUser:
mComponentsOnlyForOwnerUser:
Shared users:
SharedUser [android.uid.shared] (be9c42b):
userId=10004
install permissions:
com.cequint.ecid.CALLER_ID_LOOKUP, granted=true, flags=0x0
android.permission.WRITE_SETTINGS, granted=true, flags=0x0
com.samsung.android.memo.READ, granted=true, flags=0x0
android.permission.USE_CREDENTIALS, granted=true, flags=0x0
com.sec.android.app.parser.permission.SERVICE, granted=true, flags=0x0
android.permission.MODIFY_AUDIO_SETTINGS, granted=true, flags=0x0
com.sec.android.app.sns3.permission.RECEIVE_SNS_BROADCAST, granted=true, flags=0x0
com.google.android.providers.gsf.permission.READ_GSERVICES, granted=true, flags=0x0
android.permission.MANAGE_ACCOUNTS, granted=true, flags=0x0
com.sec.imsservice.PERMISSION, granted=true, flags=0x0
android.permission.SEND_RESPOND_VIA_MESSAGE, granted=true, flags=0x0
com.sec.phone.permission.SEC_FACTORY_PHONE, granted=true, flags=0x0
android.permission.NFC, granted=true, flags=0x0
android.permission.PROCESS_PHONE_ACCOUNT_REGISTRATION, granted=true, flags=0x0
com.samsung.android.providers.context.permission.WRITE_EXCHANGE_CALL, granted=true, flags=0x0
android.permission.CALL_PRIVILEGED, granted=true, flags=0x0
android.permission.CHANGE_NETWORK_STATE, granted=true, flags=0x0
android.permission.WRITE_SYNC_SETTINGS, granted=true, flags=0x0
com.sec.imsservice.READ_IMS_PERMISSION, granted=true, flags=0x0
android.permission.RECEIVE_BOOT_COMPLETED, granted=true, flags=0x0
com.sec.android.app.sns3.permission.READ_SNS_DB, granted=true, flags=0x0
com.wssnps.permission.COM_WSSNPS, granted=true, flags=0x0
com.sec.android.settings.permission.SOFT_RESET, granted=true, flags=0x0
com.samsung.rcs.presence.WRITE_PERMISSION, granted=true, flags=0x0
com.android.launcher.permission.UNINSTALL_SHORTCUT, granted=true, flags=0x0
android.permission.READ_PROFILE, granted=true, flags=0x0
android.permission.BLUETOOTH, granted=true, flags=0x0
com.samsung.android.email.permission.ACCESS_PROVIDER, granted=true, flags=0x0
android.permission.WRITE_MEDIA_STORAGE, granted=true, flags=0x0
com.android.voicemail.permission.READ_VOICEMAIL, granted=true, flags=0x0
android.permission.GET_TASKS, granted=true, flags=0x0
com.android.incallui.remotecall.RemoteCallIntentService, granted=true, flags=0x0
android.permission.INTERNET, granted=true, flags=0x0
com.sec.android.phone.permission.WRITE_CALL_SETTINGS, granted=true, flags=0x0
com.sec.android.provider.emergencymode.READ_DATABASE, granted=true, flags=0x0
com.samsung.android.provider.filterprovider.permission.READ_FILTER, granted=true, flags=0x0
android.permission.WRITE_PROFILE, granted=true, flags=0x0
android.permission.WRITE_SECURE_SETTINGS, granted=true, flags=0x0
com.samsung.android.dualscreen.permission.USE_INTERNAL_APIS, granted=true, flags=0x0
com.sec.permission.BACKUP_RESTORE_HOMESCREEN, granted=true, flags=0x0
com.samsung.android.providers.context.permission.WRITE_USE_APP_FEATURE_SURVEY, granted=true, flags=0x0
com.samsung.android.permission.MANAGE_CUSTOM_STARTING_WINDOW, granted=true, flags=0x0
android.permission.CHANGE_WIFI_STATE, granted=true, flags=0x0
android.permission.MANAGE_USERS, granted=true, flags=0x0
android.permission.ACCESS_NETWORK_STATE, granted=true, flags=0x0
com.sec.android.app.snsimagecache.permission.READ_SNSIMAGECACHE_DB, granted=true, flags=0x0
com.sec.android.phone.permission.READ_CALL_SETTINGS, granted=true, flags=0x0
android.permission.INTERACT_ACROSS_USERS, granted=true, flags=0x0
com.samsung.rcs.presence.READ_PERMISSION, granted=true, flags=0x0
com.sec.imsservice.WRITE_IMS_PERMISSION, granted=true, flags=0x0
com.sec.enterprise.knox.MDM_CONTENT_PROVIDER, granted=true, flags=0x0
android.permission.BIND_DIRECTORY_SEARCH, granted=true, flags=0x0
android.permission.READ_SYNC_STATS, granted=true, flags=0x0
android.permission.REBOOT, granted=true, flags=0x0
com.sec.android.permission.VOIP_INTERFACE, granted=true, flags=0x0
android.permission.READ_SYNC_SETTINGS, granted=true, flags=0x0
android.permission.VIBRATE, granted=true, flags=0x0
android.permission.SEND_CALL_LOG_CHANGE, granted=true, flags=0x0
com.sec.android.kies.calllog.BROADCAST_DETECT, granted=true, flags=0x0
com.android.voicemail.permission.WRITE_VOICEMAIL, granted=true, flags=0x0
android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK, granted=true, flags=0x0
android.permission.ACCESS_WIFI_STATE, granted=true, flags=0x0
com.samsung.android.app.assistantmenu.permission.ADVERTISE_ASSISTANTMENU, granted=true, flags=0x0
android.permission.MODIFY_PHONE_STATE, granted=true, flags=0x0
com.android.launcher.permission.INSTALL_SHORTCUT, granted=true, flags=0x0
android.permission.STATUS_BAR, granted=true, flags=0x0
android.permission.READ_SOCIAL_STREAM, granted=true, flags=0x0
android.permission.WAKE_LOCK, granted=true, flags=0x0
com.sec.ims.android.rcs.READ_PERMISSION, granted=true, flags=0x0
android.permission.UPDATE_APP_OPS_STATS, granted=true, flags=0x0
User 0:
gids=[3002, 1023, 1015, 3003]
runtime permissions:
android.permission.READ_SMS, granted=true, flags=0x20
android.permission.READ_CALL_LOG, granted=true, flags=0x20
android.permission.READ_EXTERNAL_STORAGE, granted=true, flags=0x20
android.permission.READ_PHONE_STATE, granted=true, flags=0x20
android.permission.CALL_PHONE, granted=true, flags=0x20
android.permission.WRITE_CONTACTS, granted=true, flags=0x20
android.permission.CAMERA, granted=true, flags=0x20
android.permission.WRITE_CALL_LOG, granted=true, flags=0x20
android.permission.GET_ACCOUNTS, granted=true, flags=0x20
android.permission.WRITE_EXTERNAL_STORAGE, granted=true, flags=0x20
android.permission.READ_CONTACTS, granted=true, flags=0x20
com.android.voicemail.permission.ADD_VOICEMAIL, granted=true, flags=0x20
Not granted runtime permissions:
android.permission.ACCESS_FINE_LOCATION
android.permission.ACCESS_COARSE_LOCATION
android.permission.READ_CALENDAR
[email protected]:/system/app #
------------------------
[email protected]:/ # pm list packages | grep providers
pm list packages | grep providers
package:com.sec.android.providers.mapcon
package:com.android.providers.telephony
package:com.sec.android.providers.iwlansettings
package:com.android.providers.calendar
package:com.android.providers.downloads
package:com.sec.android.providers.security
package:com.samsung.android.providers.context
package:com.android.providers.settings
package:com.sec.android.providers.tasks
package:com.android.providers.partnerbookmarks
package:com.android.providers.userdictionary
package:com.android.providers.contacts
[email protected]:/ # pm list packages | grep google
pm list packages | grep google
package:com.google.android.youtube
package:com.google.android.googlequicksearchbox
package:com.google.android.onetimeinitializer
package:com.google.android.configupdater
package:com.google.android.setupwizard
package:com.google.android.apps.cloudprint
package:com.google.android.apps.docs
package:com.google.android.apps.maps
package:com.google.android.webview
package:com.google.android.syncadapters.contacts
package:com.google.android.packageinstaller
package:com.google.android.gms
package:com.google.android.gsf
package:com.google.android.tts
package:com.google.android.apps.walletnfcrel
package:com.google.android.partnersetup
package:com.google.android.feedback
package:com.google.android.apps.photos
package:com.google.android.calendar
package:com.google.android.syncadapters.calendar
package:com.google.android.gsf.login
package:com.google.android.backuptransport
Update: It appears that my .apk files from my TB are missing the .dex files. See the directory listing below They must have gotten corrupted somehow. I downloaded a ROM and extracted the package for comparison. The directory output is listed below. I am going to try to install the package from the Rom to my phone and see if that works.
c:\ADB\Fix\SecDownloadProvider\SecDownloadProvider.apk>dir *.*
Volume in drive C is OSDisk
Volume Serial Number is 9479-1398
Directory of c:\ADB\Fix\SecDownloadProvider\SecDownloadProvider.apk
09/30/2016 04:58 AM <DIR> .
09/30/2016 04:58 AM <DIR> ..
06/22/2011 10:25 PM 11,056 AndroidManifest.xml
09/01/2016 06:55 PM 508,400 classes.dex
09/30/2016 04:58 AM <DIR> META-INF
09/30/2016 04:58 AM <DIR> res
06/22/2011 10:25 PM 325,344 resources.arsc
09/30/2016 04:58 AM <DIR> SEC-INF
3 File(s) 844,800 bytes
5 Dir(s) 9,350,660,096 bytes free
c:\ADB\Fix\SecDownloadProvider\SecDownloadProvider.apk>cd ..\..\original\com.android.providers.downloads-d2fe90ec39edf21aa56916fa5fd4a87f.apk
c:\ADB\Fix\original\com.android.providers.downloads-d2fe90ec39edf21aa56916fa5fd4a87f.apk>dir *.*
Volume in drive C is OSDisk
Volume Serial Number is 9479-1398
Directory of c:\ADB\Fix\original\com.android.providers.downloads-d2fe90ec39edf21aa56916fa5fd4a87f.apk
09/30/2016 04:59 AM <DIR> .
09/30/2016 04:59 AM <DIR> ..
06/22/2011 10:25 PM 10,824 AndroidManifest.xml
09/30/2016 04:59 AM <DIR> META-INF
09/30/2016 04:59 AM <DIR> res
06/22/2011 10:25 PM 37,608 resources.arsc
2 File(s) 48,432 bytes
4 Dir(s) 9,350,660,096 bytes free
c:\ADB\Fix\original\com.android.providers.userdictionary-70d22165a8fd663e8b760301ad62e796.apk>dir *.dex
Volume in drive C is OSDisk
Volume Serial Number is 9479-1398
Directory of c:\ADB\Fix\original\com.android.providers.userdictionary-70d22165a8fd663e8b760301ad62e796.apk
File Not Found
c:\ADB\Fix\original\com.android.providers.userdictionary-70d22165a8fd663e8b760301ad62e796.apk>dir cd ..\..\UserDictionaryProvider\UserDictionaryProvider.apk\*.dex
Volume in drive C is OSDisk
Volume Serial Number is 9479-1398
Directory of c:\ADB\Fix\original\com.android.providers.userdictionary-70d22165a8fd663e8b760301ad62e796.apk
File Not Found
Directory of c:\ADB\Fix\UserDictionaryProvider\UserDictionaryProvider.apk
09/01/2016 06:50 PM 16,308 classes.dex
1 File(s) 16,308 bytes
0 Dir(s) 9,350,332,416 bytes free
Update: I installed those two .apk files and flashed gapps. Now I'm getting a crash in the setup wizard. It might be related to this post on github.com /opengapps/opengapps/wiki/Notes-for-CMSetupWizard. I'm not sure yet.
Steps used to try and install the version of the two .apk files that I got from the ROM
[email protected]:/ #
mount -o rw,remount /system
mount -o rw,remount rootfs /
[email protected]:/ # mount -o rw,remount /system
mkdir /system/app/UserDictionaryProvider
mkdir /system/app/UserDictionaryProvider
[email protected]:/ # chmod 755 /system/app/UserDictionaryProvider
chmod 755 /system/app/UserDictionaryProvider
[email protected]:/ # cp /storage/6585-415F/Fix/UserDictionaryProvider/UserDictionaryProvider.apk /system/app/UserDictionaryProvider/UserDictionaryProvider.apk
ystem/app/UserDictionaryProvider/UserDictionaryProvider.apk <
[email protected]:/ # chmod 644 /system/app/UserDictionaryProvider/UserDictionaryProvider.apk
od 644 /system/app/UserDictionaryProvider/UserDictionaryProvider.apk <
[email protected]:/ # ls /system/app/UserDictionaryProvider/UserDictionaryProvider.apk
/system/app/UserDictionaryProvider/UserDictionaryProvider.apk <
/system/app/UserDictionaryProvider/UserDictionaryProvider.apk
[email protected]:/ # ls -l /system/app/UserDictionaryProvider/UserDictionaryProvider.apk
-rw-r--r-- root root 22845 2016-09-30 05:14 UserDictionaryProvider.apk
[email protected]:/ # ls /system/priv-app/SecDownloadProvider.apk
/system/priv-app/SecDownloadProvider.apk: No such file or directory
|[email protected]:/ # ls /system/priv-app/SecDownloadProvider/*
/system/priv-app/SecDownloadProvider/*: No such file or directory
[email protected]:/ # mkdir /system/priv-app/SecDownloadProvider
mkdir /system/priv-app/SecDownloadProvider
[email protected]:/ # chmod 755 /system/priv-app/SecDownloadProvider
chmod 755 /system/priv-app/SecDownloadProvider
[email protected]:/ # cp /storage/6585-415F/Fix/SecDownloadProvider/SecDownloadProvider.apk /system/priv-app/SecDownloadProvider/SecDownloadProvider.apk
m/priv-app/SecDownloadProvider/SecDownloadProvider.apk
[email protected]:/ # chmod 644 /system/priv-app/SecDownloadProvider/SecDownloadProvider.apk
od 644 /system/priv-app/SecDownloadProvider/SecDownloadProvider.apk
[email protected]:/ # ls -l /system/priv-app/SecDownloadProvider/SecDownloadProvider.apk
-rw-r--r-- root root 558572 2016-09-30 05:19 SecDownloadProvider.apk
Error that I am getting now
=========================
09-30 06:55:20.875 10384 10384 I WifiSettings: Registering receiver concurrent Wifi and MHS
09-30 06:55:20.885 1351 2888 D SettingsProvider: isChangeAllowed() : name = wifi_watchdog_poor_network_test_enabled
09-30 06:55:20.885 1351 2196 D SettingsProvider: isChangeAllowed() : name = wifi_poor_connection_warning
09-30 06:55:20.885 10384 10384 D AndroidRuntime: Shutting down VM
09-30 06:55:20.885 10384 10384 E AndroidRuntime: FATAL EXCEPTION: main
09-30 06:55:20.885 10384 10384 E AndroidRuntime: Process: com.android.settings, PID: 10384
09-30 06:55:20.885 10384 10384 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'android.widget.ListAdapter android.preference.PreferenceScreen.getRootAdapter()' on a null object reference
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at com.android.settings.wifi.WifiSettingsForSetupWizard.onActivityCreated(WifiSettingsForSetupWizard.java:106)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at android.app.Fragment.performActivityCreated(Fragment.java:2289)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1007)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1163)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at android.app.BackStackRecord.run(BackStackRecord.java:793)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1552)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:567)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at com.android.settings.SettingsActivity.switchToFragment(SettingsActivity.java:2217)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at com.android.settings.SettingsActivity$8.run(SettingsActivity.java:1350)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:739)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at android.os.Looper.loop(Looper.java:158)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7229)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:133)
09-30 06:55:20.895 1351 3652 I PersonaManager: mKnoxInfo is empty
09-30 06:55:20.895 1351 3652 W ActivityManager: Force finishing activity com.android.settings/.wifi.WifiSetupActivity
Update:
I tried updating all the permissions for every google app, but still no luck. Finally I got the system to boot by disabling the setup wizard
pm disable com.google.android.setupwizard
I setup wiFi and then I tried to start some google apps and I found that google play services was not installed. I check the pm list packages output and gms was not showing up in the list of packages.
I downloaded the correct version of gms apk and installed it. After this I enabled package manager
pm enable com.google.android.setupwizard
The wizard still crashed with the same class not found error. However, it then moved past the error and setup the phone anyway. The phone logged in and most things are working. I am updating all apps from the store and am working on a few issues like the contacts not working.
The phone is up and running now. I am having some issues with packages which see to be related to the odex.
To get around the issue, I connect with adb shell catlog and search up for FATAL to see the crash stack.
I am still working on it to try to figure out what is wrong. From some searched on odex files,
I might have to deodex the file or find a deodex one from a ROM. I think what happened to my installation
is that I got corrupted/missing odx odex data for the system service providers. This might have
been from TB "integrate into system rom" operations that I did. I'll continue tomorrow.
//had some issues trying to set ringtones and other problems
//found that the media storage provider was not installed
//from adb shell, logcat shows the following crash over and over when searching up for FATAL in the output
--------------------------
10-01 05:36:53.589 4214 4226 I art : Wrote stack traces to '/data/anr/traces.txt'
10-01 05:36:53.589 1396 2217 I Process : Sending signal. PID: 4206 SIG: 3
10-01 05:36:53.589 4206 4212 I art : Thread[2,tid=4212,WaitingInMainSignalCatcherLoop,Thread*=0x7f8c71c000,peer=0x12c6d0a0,"Signal Catcher"]: reacting to signal 3
10-01 05:36:53.589 6347 6347 D AndroidRuntime: Shutting down VM
10-01 05:36:53.599 6347 6347 E AndroidRuntime: FATAL EXCEPTION: main
10-01 05:36:53.599 6347 6347 E AndroidRuntime: Process: android.process.media, PID: 6347
10-01 05:36:53.599 6347 6347 E AndroidRuntime: java.lang.RuntimeException: Unable to get provider com.android.providers.media.MediaDocumentsProvider: java.lang.ClassNotFoundException: Didn't find class "com.android.providers.media.MediaDocumentsProvider" on path: DexPathList[[zip file "/system/priv-app/SecMediaProvider/SecMediaProvider.apk"],nativeLibraryDirectories=[/system/priv-app/SecMediaProvider/lib/arm64, /vendor/lib64, /system/lib64]]
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at android.app.ActivityThread.installProvider(ActivityThread.java:6770)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at android.app.ActivityThread.installContentProviders(ActivityThread.java:6362)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6302)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:755)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(<Xposed>)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at android.app.ActivityThread.access$1800(ActivityThread.java:222)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1861)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at android.os.Looper.loop(Looper.java:158)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7229)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:133)
//cpu is pegged due to system process looping as the media provider crashes
[email protected]:/ # top -m 4
top -m 4
User 27%, System 36%, IOW 0%, IRQ 1%
User 360 + Nice 1 + Sys 487 + Idle 464 + IOW 8 + IRQ 8 + SIRQ 9 = 1337
PID PR CPU% S #THR VSS RSS PCY UID Name
1396 3 30% S 205 2569632K 273356K fg system system_server
6697 1 16% S 17 2192572K 99180K bg u0_a181 com.wunderground.android.weather
6750 1 2% R 1 7568K 2836K fg root top
1015 1 0% S 5 2143016K 114400K fg root zygote64
//then I disabled the media provider
1|[email protected]:/ # pm disable com.android.providers.media
pm disable com.android.providers.media
Package com.android.providers.media new state: disabled
//cpu dropped
ser 14%, System 32%, IOW 0%, IRQ 1%
User 111 + Nice 89 + Sys 442 + Idle 692 + IOW 3 + IRQ 10 + SIRQ 13 = 1360
PID PR CPU% S #THR VSS RSS PCY UID Name
1396 0 15% S 221 2621096K 223988K fg system system_server
651 3 5% S 1 7284K 2360K fg system /system/bin/servicemanager
135 0 4% S 1 0K 0K fg root kswapd0
983 3 2% S 1 65284K 9728K fg root /system/bin/installd
here is the current directory structure
[email protected]:/system/priv-app/SecMediaProvider # ls
ls
SecMediaProvider.apk
arm64
[email protected]:/system/priv-app/SecMediaProvider # cd arm64
cd arm64
[email protected]:/system/priv-app/SecMediaProvider/arm64 # ls
ls
SecMediaProvider.odex
//then I used TB(Titanium Backup) to clean up dalvik cache
//However, when enabling the provider again, it still hung.
//Since the crash error listed a lib directory, I tried moving the .odex there,
[email protected]:/system/priv-app/SecMediaProvider/arm64 #
mount -o rw,remount /system
mount -o rw,remount rootfs /
<
[email protected]:/system/priv-app/SecMediaProvider/arm64 # cd ..
cd ..
127|[email protected]:/system/priv-app/SecMediaProvider # mkdir lib
mkdir lib
[email protected]:/system/priv-app/SecMediaProvider # mv arm64 lib/arm64
mv arm64 lib/arm64
[email protected]:/system/priv-app/SecMediaProvider # ls
ls
SecMediaProvider.apk
lib
[email protected]:/system/priv-app/SecMediaProvider # cd lib
cd lib
[email protected]:/system/priv-app/SecMediaProvider/lib # ls
ls
arm64
[email protected]:/system/priv-app/SecMediaProvider/lib # cd arm64
cd arm64
[email protected]:/system/priv-app/SecMediaProvider/lib/arm64 # ls
ls
SecMediaProvider.odex
[email protected]:/system/priv-app/SecMediaProvider/lib/arm64 # pm enable com.android.providers.media
m enable com.android.providers.media
<
Package com.android.providers.media new state: enabled
[email protected]:/system/priv-app/SecMediaProvider/lib/arm64 #
//still got a hang; however, the CPU was not pegged and I was able to navigate a bit
//went to devices\Applications\Application Manager --> more\show system apps
// Then I went to Media Storage and cleared the cache and data
10-01 06:04:19.009 976 1368 I APM::AudioPolicyManager: stopOutput() output 4, stream 1, session 190
10-01 06:04:19.019 19156 19156 I InjectionManager: Inside getClassLibPath caller
10-01 06:04:19.029 19156 19156 D RelationGraph: garbageCollect()
10-01 06:04:19.029 19156 19156 I InjectionManager: Inside getClassLibPath + mLibMap{0=, 1=}
10-01 06:04:19.029 19156 19156 D ContextRelationManager: ContextRelationManager() : FEATURE_ENABLED=true
10-01 06:04:19.029 19156 19156 W ResourcesManager: getTopLevelResources: /system/priv-app/SecMediaProvider/SecMediaProvider.apk / 1.0 running in com.android.providers.media rsrc of package com.android.providers.media
10-01 06:04:19.029 1396 3479 I InjectionManagerService -AppFeature: getCoreFeaturePkgList :[]
10-01 06:04:19.029 19156 19156 D ResourcesManager: For user 0 new overlays fetched [/data/overlays/style/com.s6theme.Astarlitnight/com.s6theme.Astarlitnight.common.apk, /data/overlays/style/com.s6theme.Astarlitnight/com.s6theme.Astarlitnight.touchwiz.apk, /data/overlays/style/com.s6theme.Astarlitnight/com.s6theme.Astarlitnight.media.apk]
10-01 06:04:19.039 19156 19156 D AndroidRuntime: Shutting down VM
10-01 06:04:19.049 19156 19156 E AndroidRuntime: FATAL EXCEPTION: main
10-01 06:04:19.049 19156 19156 E AndroidRuntime: Process: android.process.media, PID: 19156
10-01 06:04:19.049 19156 19156 E AndroidRuntime: java.lang.RuntimeException: Unable to get provider com.android.providers.media.MediaDocumentsProvider: java.lang.ClassNotFoundException: Didn't find class "com.android.providers.media.MediaDocumentsProvider" on path: DexPathList[[zip file "/system/priv-app/SecMediaProvider/SecMediaProvider.apk"],nativeLibraryDirectories=[/system/priv-app/SecMediaProvider/lib/arm64, /vendor/lib64, /system/lib64]]
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at android.app.ActivityThread.installProvider(ActivityThread.java:6770)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at android.app.ActivityThread.installContentProviders(ActivityThread.java:6362)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6302)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:755)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(<Xposed>)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at android.app.ActivityThread.access$1800(ActivityThread.java:222)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1861)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at android.os.Looper.loop(Looper.java:158)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7229)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:133)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.providers.media.MediaDocumentsProvider" on path: DexPathList[[zip file "/system/priv-app/SecMediaProvider/SecMediaProvider.apk"],nativeLibraryDirectories=[/system/priv-app/SecMediaProvider/lib/arm64, /vendor/lib64, /system/lib64]]
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at android.app.ActivityThread.installProvider(ActivityThread.java:6755)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: ... 14 more
10-01 06:04:19.049 19156 19156 E AndroidRuntime: Suppressed: java.io.IOException: No original dex files found for dex location /system/priv-app/SecMediaProvider/SecMediaProvider.apk
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at dalvik.system.DexFile.openDexFileNative(Native Method)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at dalvik.system.DexFile.openDexFile(DexFile.java:295)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at dalvik.system.DexFile.<init>(DexFile.java:80)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at dalvik.system.DexFile.<init>(DexFile.java:59)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at dalvik.system.DexPathList.loadDexFile(DexPathList.java:279)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at dalvik.system.DexPathList.makePathElements(DexPathList.java:248)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at dalvik.system.DexPathList.<init>(DexPathList.java:120)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:84)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:45)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at android.app.LoadedApk.getClassLoader(LoadedApk.java:434)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at de.robv.android.xposed.XposedBridge$1.beforeHookedMethod(XposedBridge.java:200)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:735)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: ... 10 more
10-01 06:04:19.049 19156 19156 E AndroidRuntime: Suppressed: java.lang.ClassNotFoundException: com.android.providers.media.MediaDocumentsProvider
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at java.lang.Class.classForName(Native Method)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: ... 16 more
10-01 06:04:19.049 19156 19156 E AndroidRuntime: Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
10-01 06:04:19.049 1396 3519 I PersonaManager: mKnoxInfo is empty
10-01 06:04:19.049 1396 3760 I Process : Sending signal. PID: 1396 SIG: 3
10-01 06:04:19.049 1396 3760 I Process : Sending signal. PID: 18955 SIG: 3
10-01 06:04:19.049 1396 1402 I art : Thread[2,tid=1402,WaitingInMainSignalCatcherLoop,Thread*=0x7f8c71c000,peer=0x12c010a0,"Signal Catcher"]: reacting to signal 3
10-01 06:04:19.049 1396 3519 W ActivityManager: Process android.process.media has crashed too many times: killing!
10-01 06:04:19.049 1396 3519 I ActivityManager: Killing 19156:android.process.media/u0a61 (adj 0): crash
10-01 06:04:19.049 1396 3519 D ActivityManager: isAutoRunBlockedApp:: com.android.providers.media, Auto Run ON
10-01 06:04:19.049 1396 3760 W ActivityManager: Unable to launch app com.android.providers.media/10061 for provider media: launching app became null
10-01 06:04:19.049 18955 18997 E ActivityThread: Failed to find provider info for media
10-01 06:04:19.059 18955 18960 I art : Thread[2,tid=18960,WaitingInMainSignalCatcherLoop,Thread*=0x7f8bc1d000,peer=0x12c6f0a0,"Signal Catcher"]: reacting to signal 3
Update: I got this resolved. I was able to find a deodexed ROM for an S7 edge. I copied the .apk file for the SecMediaProvider from the Rom to my device and everything appears to be working properly now.

help with logcat to fix my looping nexus 7 gen2

I have a boot looping device and I want to fix my data partition without wiping it. I have used twrp to backup my data. I can now wipe data and it boots fine. If I put my data back it loops. Wiping this OS is not really an option for me.
Last thing I did before the boot loop was installed a wake detector.
this is my log during the looping - files is 10 times this size..., this is the only part that would fit. I think the fatal error may have something to do with my issue.
https://pastebin.com/XHaWBeWR
I think this is the problem but not sure how to fix.
01-05 10:31:13.545 1849 1849 E AndroidRuntime: FATAL EXCEPTION: main
01-05 10:31:13.545 1849 1849 E AndroidRuntime: Process: com.google.android.gm, PID: 1849
01-05 10:31:13.545 1849 1849 E AndroidRuntime: java.lang.RuntimeException: Unable to create application com.google.android.gm.MailMigrationApplication: java.lang.RuntimeException: Package manager has died
01-05 10:31:13.545 1849 1849 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4710)
01-05 10:31:13.545 1849 1849 E AndroidRuntime: at android.app.ActivityThread.-wrap1(ActivityThread.java)
01-05 10:31:13.545 1849 1849 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)
01-05 10:31:13.545 1849 1849 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
01-05 10:31:13.545 1849 1849 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
01-05 10:31:13.545 1849 1849 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5417)
01-05 10:31:13.545 1849 1849 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-05 10:31:13.545 1849 1849 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
01-05 10:31:13.545 1849 1849 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
01-05 10:31:13.545 1849 1849 E AndroidRuntime: Caused by: java.lang.RuntimeException: Package manager has died
01-05 10:31:13.545 1849 1849 E AndroidRuntime: at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:134)
01-05 10:31:13.545 1849 1849 E AndroidRuntime: at dwe.a(SourceFile:12)
01-05 10:31:13.545 1849 1849 E AndroidRuntime: at dwe.<init>(SourceFile:3)
01-05 10:31:13.545 1849 1849 E AndroidRuntime: at dun.<init>(SourceFile:9)
01-05 10:31:13.545 1849 1849 E AndroidRuntime: at dui.a(SourceFile:67)
01-05 10:31:13.545 1849 1849 E AndroidRuntime: at eem.onCreate(SourceFile:103)
01-05 10:31:13.545 1849 1849 E AndroidRuntime: at com.google.android.gm.MailMigrationApplication.onCreate(SourceFile:2)
01-05 10:31:13.545 1849 1849 E AndroidRuntime: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)
01-05 10:31:13.545 1849 1849 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4707)
01-05 10:31:13.545 1849 1849 E AndroidRuntime: ... 8 more
01-05 10:31:13.545 1849 1849 E AndroidRuntime: Caused by: android.os.DeadObjectException
01-05 10:31:13.545 1849 1849 E AndroidRuntime: at android.os.BinderProxy.transactNative(Native Method)
01-05 10:31:13.545 1849 1849 E AndroidRuntime: at android.os.BinderProxy.transact(Binder.java:503)
01-05 10:31:13.545 1849 1849 E AndroidRuntime: at android.content.pm.IPackageManager$Stub$Proxy.getPackageInfo(IPackageManager.java:2163)
01-05 10:31:13.545 1849 1849 E AndroidRuntime: at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:129)
01-05 10:31:13.545 1849 1849 E AndroidRuntime: ... 16 more
01-05 10:31:13.546 1849 1849 E AndroidRuntime: Error reporting crash
01-05 10:31:13.546 1849 1849 E AndroidRuntime: android.os.DeadObjectException
01-05 10:31:13.546 1849 1849 E AndroidRuntime: at android.os.BinderProxy.transactNative(Native Method)
01-05 10:31:13.546 1849 1849 E AndroidRuntime: at android.os.BinderProxy.transact(Binder.java:503)
01-05 10:31:13.546 1849 1849 E AndroidRuntime: at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:4427)
01-05 10:31:13.546 1849 1849 E AndroidRuntime: at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:90)
01-05 10:31:13.546 1849 1849 E AndroidRuntime: at iko.uncaughtException(SourceFile:16)
01-05 10:31:13.546 1849 1849 E AndroidRuntime: at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
01-05 10:31:13.546 1849 1849 E AndroidRuntime: at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
01-05 10:31:13.546 1849 1849 E AndroidRuntime: at ikp.uncaughtException(SourceFile:15)
01-05 10:31:13.546 1849 1849 I Process : Sending signal. PID: 1849 SIG: 9
01-05 10:31:13.555 1633 2076 W UserManager: Could not get userHandle for user 0
01-05 10:31:13.555 1633 2076 W UserManager: Could not get userHandle for user 0
01-05 10:31:13.569 1663 1683 I ContactDirectoryManager: Discovered 0 contact directories in 2940ms
01-05 10:31:13.571 1663 1683 E AndroidRuntime: FATAL EXCEPTION: ContactsProviderWorker
01-05 10:31:13.571 1663 1683 E AndroidRuntime: Process: android.process.acore, PID: 1663
01-05 10:31:13.571 1663 1683 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke interface method 'android.accounts.Account[] android.accounts.IAccountManager.getAccounts(java.lang.String, java.lang.String)' on a null object reference
01-05 10:31:13.571 1663 1683 E AndroidRuntime: at android.accounts.AccountManager.getAccounts(AccountManager.java:429)
01-05 10:31:13.571 1663 1683 E AndroidRuntime: at com.android.providers.contacts.ContactsProvider2.performBackgroundTask(ContactsProvider2.java:1710)
01-05 10:31:13.571 1663 1683 E AndroidRuntime: at com.android.providers.contacts.ContactsProvider2$1.handleMessage(ContactsProvider2.java:1516)
01-05 10:31:13.571 1663 1683 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
01-05 10:31:13.571 1663 1683 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
01-05 10:31:13.571 1663 1683 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:61)
01-05 10:31:13.572 1663 1683 E AndroidRuntime: Error reporting crash
01-05 10:31:13.572 1663 1683 E AndroidRuntime: android.os.DeadObjectException
01-05 10:31:13.572 1663 1683 E AndroidRuntime: at android.os.BinderProxy.transactNative(Native Method)
01-05 10:31:13.572 1663 1683 E AndroidRuntime: at android.os.BinderProxy.transact(Binder.java:503)
01-05 10:31:13.572 1663 1683 E AndroidRuntime: at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:4427)
01-05 10:31:13.572 1663 1683 E AndroidRuntime: at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:90)
01-05 10:31:13.572 1663 1683 E AndroidRuntime: at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
01-05 10:31:13.572 1663 1683 E AndroidRuntime: at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
01-05 10:31:13.572 1663 1683 I Process : Sending signal. PID: 1663 SIG: 9
01-05 10:31:13.585 2090 2090 W System : ClassLoader referenced unknown path: /system/app/GoogleContactsSyncAdapter/lib/arm
01-05 10:31:13.586 2090 2090 D AndroidRuntime: Shutting down VM
01-05 10:31:13.587 2090 2090 E AndroidRuntime: FATAL EXCEPTION: main
01-05 10:31:13.587 2090 2090 E AndroidRuntime: Process: com.google.process.gapps, PID: 2090
01-05 10:31:13.587 2090 2090 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate application android.app.Application: java.lang.IllegalStateException: Unable to get package info for com.google.android.syncadapters.contacts; is system dying?
01-05 10:31:13.587 2090 2090 E AndroidRuntime: at android.app.LoadedApk.makeApplication(LoadedApk.java:578)
01-05 10:31:13.587 2090 2090 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4680)
01-05 10:31:13.587 2090 2090 E AndroidRuntime: at android.app.ActivityThread.-wrap1(ActivityThread.java)
01-05 10:31:13.587 2090 2090 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)
01-05 10:31:13.587 2090 2090 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
01-05 10:31:13.587 2090 2090 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
01-05 10:31:13.587 2090 2090 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5417)
01-05 10:31:13.587 2090 2090 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-05 10:31:13.587 2090 2090 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
01-05 10:31:13.587 2090 2090 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
01-05 10:31:13.587 2090 2090 E AndroidRuntime: Caused by: java.lang.IllegalStateException: Unable to get package info for com.google.android.syncadapters.contacts; is system dying?
01-05 10:31:13.587 2090 2090 E AndroidRuntime: at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:420)
01-05 10:31:13.587 2090 2090 E AndroidRuntime: at android.app.LoadedApk.makeApplication(LoadedApk.java:570)
01-05 10:31:13.587 2090 2090 E AndroidRuntime: ... 9 more
01-05 10:31:13.587 2090 2090 E AndroidRuntime: Caused by: android.os.DeadObjectException
01-05 10:31:13.587 2090 2090 E AndroidRuntime: at android.os.BinderProxy.transactNative(Native Method)
01-05 10:31:13.587 2090 2090 E AndroidRuntime: at android.os.BinderProxy.transact(Binder.java:503)
01-05 10:31:13.587 2090 2090 E AndroidRuntime: at android.content.pm.IPackageManager$Stub$Proxy.getPackageInfo(IPackageManager.java:2163)
01-05 10:31:13.587 2090 2090 E AndroidRuntime: at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:418)
01-05 10:31:13.587 2090 2090 E AndroidRuntime: ... 10 more
01-05 10:31:13.589 2090 2090 E AndroidRuntime: Error reporting crash
01-05 10:31:13.589 2090 2090 E AndroidRuntime: android.os.DeadObjectException
01-05 10:31:13.589 2090 2090 E AndroidRuntime: at android.os.BinderProxy.transactNative(Native Method)
01-05 10:31:13.589 2090 2090 E AndroidRuntime: at android.os.BinderProxy.transact(Binder.java:503)
01-05 10:31:13.589 2090 2090 E AndroidRuntime: at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:4427)
01-05 10:31:13.589 2090 2090 E AndroidRuntime: at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:90)
01-05 10:31:13.589 2090 2090 E AndroidRuntime: at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
01-05 10:31:13.589 2090 2090 E AndroidRuntime: at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
01-05 10:31:13.589 2090 2090 I Process : Sending signal. PID: 2090 SIG: 9
01-05 10:31:13.638 2114 2118 D libEGL : loaded /vendor/lib/egl/libEGL_adreno.so
01-05 10:31:13.639 2114 2118 D libEGL : loaded /vendor/lib/egl/libGLESv1_CM_adreno.so
01-05 10:31:13.660 2114 2118 D libEGL : loaded /vendor/lib/egl/libGLESv2_adreno.so
01-05 10:31:13.670 2114 2118 I Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb
01-05 10:31:13.686 2114 2118 E BootAnimation: couldn't find audio_conf.txt
01-05 10:31:13.722 272 272 I lowmemorykiller: ActivityManager disconnected
01-05 10:31:13.722 272 272 I lowmemorykiller: Closing Activity Manager data connection
01-05 10:31:13.807 1528 1536 E BluetoothMap:
01-05 10:31:13.807 1528 1536 E BluetoothMap: android.os.DeadObjectException
01-05 10:31:13.807 1528 1536 E BluetoothMap: at android.os.BinderProxy.transactNative(Native Method)
01-05 10:31:13.807 1528 1536 E BluetoothMap: at android.os.BinderProxy.transact(Binder.java:503)
01-05 10:31:13.807 1528 1536 E BluetoothMap: at android.bluetooth.IBluetoothManager$Stub$Proxy.unregisterStateChangeCallback(IBluetoothManager.java:269)
01-05 10:31:13.807 1528 1536 E BluetoothMap: at android.bluetooth.BluetoothMap.close(BluetoothMap.java:133)
01-05 10:31:13.807 1528 1536 E BluetoothMap: at android.bluetooth.BluetoothMap.finalize(BluetoothMap.java:117)
01-05 10:31:13.807 1528 1536 E BluetoothMap: at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:202)
01-05 10:31:13.807 1528 1536 E BluetoothMap: at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:185)
01-05 10:31:13.807 1528 1536 E BluetoothMap: at java.lang.Thread.run(Thread.java:818)
01-05 10:31:14.185 1884 2053 V fb-UnpackingSoSource: regenerating DSO store X.00E
01-05 10:31:14.186 1884 2053 V fb-UnpackingSoSource: not releasing dso store lock for /data/user/0/com.facebook.katana/lib-assets (syncer thread started)
01-05 10:31:14.188 1884 2125 V fb-UnpackingSoSource: starting syncer worker
01-05 10:31:14.195 1884 2053 V fb-UnpackingSoSource: locked dso store /data/user/0/com.facebook.katana/lib-xzs
01-05 10:31:14.203 1884 2053 V fb-UnpackingSoSource: deps mismatch on deps store: regenerating
01-05 10:31:14.203 1884 2053 V fb-UnpackingSoSource: so store dirty: regenerating
01-05 10:31:14.212 1884 2125 V fb-UnpackingSoSource: releasing dso store lock for /data/user/0/com.facebook.katana/lib-assets (from syncer thread)
01-05 10:31:14.553 1884 2053 V XZ : XZ native library initialized.
01-05 10:31:14.554 1884 2053 V fb-UnpackingSoSource: regenerating DSO store X.00F
01-05 10:31:14.562 1884 2053 I fb-UnpackingSoSource: extracting DSO libcoldstart.so
Click to expand...
Click to collapse

(TB-8504x) Lenovo tab 4 8: Fix facelock ("Face Unlock") crash

Lenovo Tab 4 8 - Fix facelock crash (Related gist: https://gist.github.com/KreAch3R/734b1086c928ab8ceeafaf3e4dbd8c33)
I noticed that a Lenovo tab 4 8 (tb-8504x) on the latest stock image as of today didn't have a working face unlock ("facelock"). When it was time to add a new face, it crashed with the following log:
Code:
08-16 17:39:34.379 6600 6600 D AndroidRuntime: Shutting down VM
08-16 17:39:34.380 6600 6600 E AndroidRuntime: FATAL EXCEPTION: main
08-16 17:39:34.380 6600 6600 E AndroidRuntime: Process: com.android.facelock, PID: 6600
08-16 17:39:34.380 6600 6600 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN6google8protobuf5Arena15AllocateAlignedEPKSt9type_infom" referenced by "/system/lib64/libfacenet.so"...
08-16 17:39:34.380 6600 6600 E AndroidRuntime: at java.lang.Runtime.loadLibrary0(Runtime.java:989)
08-16 17:39:34.380 6600 6600 E AndroidRuntime: at java.lang.System.loadLibrary(System.java:1530)
08-16 17:39:34.380 6600 6600 E AndroidRuntime: at com.google.android.libraries.vision.facenet.FaceNet.<clinit>(FaceNet.java:67)
08-16 17:39:34.380 6600 6600 E AndroidRuntime: at com.google.android.libraries.vision.facenet.FaceNet.createFromAssets(FaceNet.java:118)
08-16 17:39:34.380 6600 6600 E AndroidRuntime: at com.android.facelock.FaceLockUtil.initialize(FaceLockUtil.java:148)
08-16 17:39:34.380 6600 6600 E AndroidRuntime: at com.android.facelock.SetupEnrollmentScreen.onCreate(SetupEnrollmentScreen.java:517)
08-16 17:39:34.380 6600 6600 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:6720)
08-16 17:39:34.380 6600 6600 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
08-16 17:39:34.380 6600 6600 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2618)
08-16 17:39:34.380 6600 6600 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)
08-16 17:39:34.380 6600 6600 E AndroidRuntime: at android.app.ActivityThread.-wrap12(ActivityThread.java)
08-16 17:39:34.380 6600 6600 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1477)
08-16 17:39:34.380 6600 6600 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
08-16 17:39:34.380 6600 6600 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
08-16 17:39:34.380 6600 6600 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6119)
08-16 17:39:34.380 6600 6600 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
08-16 17:39:34.380 6600 6600 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
08-16 17:39:34.380 6600 6600 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
08-16 17:39:34.383 1428 2305 W ActivityManager: Force finishing activity com.android.facelock/.SetupEnrollmentScreen
The FIX
1. Download libfacenet.so from Open-GApps [Direct link to the binary I used].
2. Follow the instructions from here and download @dywersant 's magisk-remount.zip module from here.
3. Boot into Android with a RW /system using the module. You can confirm with:
Code:
su
cd /system
touch testfile.txt
If the command succeeds, you have a writable /system.
4. Go into the lib64 folder (/system/lib64)
5. Make a backup of the original libfacenet.so file:
Code:
cp /system/lib64/libfacenet.so /sdcard/libfacenet.so.orig
BE CAREFUL: Don't make the backup inside the /system partition, as it can be lost after reboot!
6. Mount the specific file as RW
I don't know how or why, but Lenovo seems to have made every lib file a different ro mount point/partition. So:
Code:
mount -o rw,remount /system/lib64/libfacenet.so
is needed, otherwise you end up with "read only file system" error (even when the whole /system is RW!)
7. Push to /sdcard and replace the file
Code:
cp /sdcard/libfacenet.so /system/lib64/libfacenet.so
Now, try to add a new face again. It should work!
--------------------------------------------------------------
Debugging
If anyone is interested to know how. You always start from the log. Let's disect this line:
Code:
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN6google8protobuf5Arena15AllocateAlignedEPKSt9type_infom" referenced by "/system/lib64/libfacenet.so"
This tells us that the app com.android.facelock launched and called the library libfacenet.so which referenced a method/symbol/whatever named _ZN6google8protobuf5Arena15AllocateAlignedEPKSt9type_infom but that method doesn't exist inside whatever should include it, so "dlopen" failed and we got ourselves the "java.lang.UnsatisfiedLinkError" error. Let's sum up:
1. The app that crashes is com.android.facelock
2. One related .so lib is libfacenet.so
3. There is another one, unnamed, that should contain _ZN6google8protobuf5Arena15AllocateAlignedEPKSt9type_infom but it doesn't.
Googling about "_ZN6google8protobuf5Arena15AllocateAlignedEPKSt9type_infom" brings up some libprotobuf related results. This is good enough. Grepping through /system/lib64 shows up that there are two .so there:
Code:
libprotobuf-cpp-full.so
libprotobuf-cpp-lite.so
Doing the same in a working pixel image produces the same files. But obviously Facelock works on the Pixel but not on this tablet. We need a way to differentiate them (remember, pixel is on a Oreo base while this is Nougat).
Reading this StackExchange post, we find out about the "readelf -a -W elffile" command. Give this a try and you should see that a lot comes up. Next step, grepping through this file dump.
Lenovo libprotobuf-cpp-lite.so:
Code:
$ readelf -a -W libprotobuf-cpp-lite.so | grep _ZN6google8protobuf5Arena15AllocateAlignedEPKSt9type_infom
$
Pixel libprotobuf-cpp-lite.so:
Code:
$ readelf -a -W libprotobuf-cpp-lite.so | grep _ZN6google8protobuf5Arena15AllocateAlignedEPKSt9type_infom
000000000004fb10 0000005700000402 R_AARCH64_JUMP_SLOT 0000000000022254 _ZN6google8protobuf5Arena15AllocateAlignedEPKSt9type_infom + 0
87: 0000000000022254 216 FUNC GLOBAL DEFAULT 12 _ZN6google8protobuf5Arena15AllocateAlignedEPKSt9type_infom
Bingo! So we confirm that the libfacenet.so is trying to call an upstream method (probably), one that isn't bundled inside the libprotobuf-cpp-lite.so of the Lenovo stock image.
So now we know, it's a problem of version incompatibility. There are two things to try:
1. Replace libprotobuf-cpp-lite.so with a version that contains _ZN6google8protobuf5Arena15AllocateAlignedEPKSt9type_infom
2. Replaced libfacenet.so with a version that doesn't contain _ZN6google8protobuf5Arena15AllocateAlignedEPKSt9type_infom
Method No. 1 didn't work, while it got rid of the "java.lang.UnsatisfiedLinkError" error (confirming the diagnosis), it produced more .so related crashes, so I assume there were a lot more code that was incompatible. But Method No.2 worked as a charm!

Touchscreen update *#2663# crashes

Hi,
I changed my screen a few days ago and I the touchscreen stopped responding. I am pretty sure this is a software problem. Even after a full wipe and a cache wipe, I cannot access the *#2663# menu to update the touchscreen firmware. I get a grey screen which closes itself after 3secs and on the following tries, I get a popup that says : "devicekeystring keeps stopping".
Any idea on how to fix this ?
Thanks !
Check the logs(logcat) to see why its crashing, all the signs point to HW failure, the device isnt even able to communicate with the touch controller (hence why the firmware udpater is crashing)
However, logcat will confirm that
Good luck
Thanks for your answer. I did not think about the logs.
Here's what's happening when typing *#2663# :
Code:
11-24 21:34:19.419 3328 3328 E AndroidRuntime: FATAL EXCEPTION: main
11-24 21:34:19.419 3328 3328 E AndroidRuntime: Process: android.uid.system, PID: 3328
11-24 21:34:19.419 3328 3328 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sec.android.app.factorykeystring/com.sec.android.app.status.touch_firmware}: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.io.BufferedWriter.close()' on a null object reference
11-24 21:34:19.419 3328 3328 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3113)
11-24 21:34:19.419 3328 3328 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3256)
11-24 21:34:19.419 3328 3328 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
11-24 21:34:19.419 3328 3328 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
11-24 21:34:19.419 3328 3328 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
11-24 21:34:19.419 3328 3328 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1947)
11-24 21:34:19.419 3328 3328 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
11-24 21:34:19.419 3328 3328 E AndroidRuntime: at android.os.Looper.loop(Looper.java:214)
11-24 21:34:19.419 3328 3328 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7037)
11-24 21:34:19.419 3328 3328 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
11-24 21:34:19.419 3328 3328 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
11-24 21:34:19.419 3328 3328 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
11-24 21:34:19.419 3328 3328 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.io.BufferedWriter.close()' on a null object reference
11-24 21:34:19.419 3328 3328 E AndroidRuntime: at com.sec.android.app.status.touch_firmware.writeCmd(touch_firmware.java:1506)
11-24 21:34:19.419 3328 3328 E AndroidRuntime: at com.sec.android.app.status.touch_firmware.readCmdResult(touch_firmware.java:1661)
11-24 21:34:19.419 3328 3328 E AndroidRuntime: at com.sec.android.app.status.touch_firmware.readThreshold_melfas(touch_firmware.java:1864)
11-24 21:34:19.419 3328 3328 E AndroidRuntime: at com.sec.android.app.status.touch_firmware.updateText(touch_firmware.java:912)
11-24 21:34:19.419 3328 3328 E AndroidRuntime: at com.sec.android.app.status.touch_firmware.init(touch_firmware.java:902)
11-24 21:34:19.419 3328 3328 E AndroidRuntime: at com.sec.android.app.status.touch_firmware.onCreate(touch_firmware.java:339)
11-24 21:34:19.419 3328 3328 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7327)
11-24 21:34:19.419 3328 3328 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7318)
11-24 21:34:19.419 3328 3328 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
11-24 21:34:19.419 3328 3328 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3093)
11-24 21:34:19.419 3328 3328 E AndroidRuntime: ... 11 more

Bootloop rooted Oneplus5 with Oxygen stock rom.

Hey forum, long time no see...
I have came back facing a problem with my OnePlus 5 running stock rom with ROOT.
I had to turn it off to replace the screen-protector but turning it back on was no dice.
A bootloop is happening where I see the screen to enter my PIN/password for 1 second after that the OS only reboots.
That means that I see the two dots and the white circle in red and not the boot-loader warning.
I have installed the latest TWRP on so I cleared dalvik and cache but that did not work either
I thought it might be magisk but uninstalling and/or reinstalling it did not fix the problem.
I have managed to authorize adb using TWEP recovery and pulled the logcat during the boot.
I hope the someone can help me debug this, there is some data in apps that need te recovert before doing a full wipe.
Code:
--------- beginning of crash
07-01 21:32:38.393 3572 3572 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 3572 (init), pid 3572 (init)
07-01 21:32:38.434 3572 3572 F libc : crash_dump helper failed to exec
07-01 21:32:38.461 1493 1493 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
07-01 21:32:38.461 1493 1493 E AndroidRuntime: java.lang.IllegalArgumentException: provider doesn't exist: fused
07-01 21:32:38.461 1493 1493 E AndroidRuntime: at com.android.server.LocationManagerService.requestLocationUpdatesLocked(LocationManagerService.java:2775)
07-01 21:32:38.461 1493 1493 E AndroidRuntime: at com.android.server.LocationManagerService.requestLocationUpdates(LocationManagerService.java:2755)
07-01 21:32:38.461 1493 1493 E AndroidRuntime: at android.location.LocationManager.requestLocationUpdates(LocationManager.java:1042)
07-01 21:32:38.461 1493 1493 E AndroidRuntime: at android.location.LocationManager.requestLocationUpdates(LocationManager.java:950)
07-01 21:32:38.461 1493 1493 E AndroidRuntime: at com.android.server.twilight.TwilightService.startListening(TwilightService.java:261)
07-01 21:32:38.461 1493 1493 E AndroidRuntime: at com.android.server.twilight.TwilightService.handleMessage(TwilightService.java:210)
07-01 21:32:38.461 1493 1493 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:103)
07-01 21:32:38.461 1493 1493 E AndroidRuntime: at android.os.Looper.loop(Looper.java:214)
07-01 21:32:38.461 1493 1493 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:569)
07-01 21:32:38.461 1493 1493 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:377)
07-01 21:32:38.461 1493 1493 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-01 21:32:38.461 1493 1493 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516)
07-01 21:32:38.461 1493 1493 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:928)
07-01 21:32:38.580 3222 3222 E AndroidRuntime: FATAL EXCEPTION: main
07-01 21:32:38.580 3222 3222 E AndroidRuntime: Process: com.google.android.gms.persistent, PID: 3222
07-01 21:32:38.580 3222 3222 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
07-01 21:32:53.657 5246 5246 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 5246 (init), pid 5246 (init)
07-01 21:32:53.681 5246 5246 F libc : crash_dump helper failed to exec
07-01 21:32:53.724 3934 3934 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
07-01 21:32:53.724 3934 3934 E AndroidRuntime: java.lang.IllegalArgumentException: provider doesn't exist: fused
07-01 21:32:53.724 3934 3934 E AndroidRuntime: at com.android.server.LocationManagerService.requestLocationUpdatesLocked(LocationManagerService.java:2775)
07-01 21:32:53.724 3934 3934 E AndroidRuntime: at com.android.server.LocationManagerService.requestLocationUpdates(LocationManagerService.java:2755)
07-01 21:32:53.724 3934 3934 E AndroidRuntime: at android.location.LocationManager.requestLocationUpdates(LocationManager.java:1042)
07-01 21:32:53.724 3934 3934 E AndroidRuntime: at android.location.LocationManager.requestLocationUpdates(LocationManager.java:950)
07-01 21:32:53.724 3934 3934 E AndroidRuntime: at com.android.server.twilight.TwilightService.startListening(TwilightService.java:261)
07-01 21:32:53.724 3934 3934 E AndroidRuntime: at com.android.server.twilight.TwilightService.handleMessage(TwilightService.java:210)
07-01 21:32:53.724 3934 3934 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:103)
07-01 21:32:53.724 3934 3934 E AndroidRuntime: at android.os.Looper.loop(Looper.java:214)
07-01 21:32:53.724 3934 3934 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:569)
07-01 21:32:53.724 3934 3934 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:377)
07-01 21:32:53.724 3934 3934 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-01 21:32:53.724 3934 3934 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516)
07-01 21:32:53.724 3934 3934 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:928)
07-01 21:33:08.878 6891 6891 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 6891 (init), pid 6891 (init)
07-01 21:33:08.940 6891 6891 F libc : crash_dump helper failed to exec
07-01 21:33:08.957 5597 5597 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
07-01 21:33:08.957 5597 5597 E AndroidRuntime: java.lang.IllegalArgumentException: provider doesn't exist: fused
07-01 21:33:08.957 5597 5597 E AndroidRuntime: at com.android.server.LocationManagerService.requestLocationUpdatesLocked(LocationManagerService.java:2775)
07-01 21:33:08.957 5597 5597 E AndroidRuntime: at com.android.server.LocationManagerService.requestLocationUpdates(LocationManagerService.java:2755)
07-01 21:33:08.957 5597 5597 E AndroidRuntime: at android.location.LocationManager.requestLocationUpdates(LocationManager.java:1042)
07-01 21:33:08.957 5597 5597 E AndroidRuntime: at android.location.LocationManager.requestLocationUpdates(LocationManager.java:950)
07-01 21:33:08.957 5597 5597 E AndroidRuntime: at com.android.server.twilight.TwilightService.startListening(TwilightService.java:261)
07-01 21:33:08.957 5597 5597 E AndroidRuntime: at com.android.server.twilight.TwilightService.handleMessage(TwilightService.java:210)
07-01 21:33:08.957 5597 5597 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:103)
07-01 21:33:08.957 5597 5597 E AndroidRuntime: at android.os.Looper.loop(Looper.java:214)
07-01 21:33:08.957 5597 5597 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:569)
07-01 21:33:08.957 5597 5597 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:377)
07-01 21:33:08.957 5597 5597 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-01 21:33:08.957 5597 5597 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516)
07-01 21:33:08.957 5597 5597 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:928)
07-01 21:33:24.095 8546 8546 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 8546 (init), pid 8546 (init)
07-01 21:33:24.130 8546 8546 F libc : crash_dump helper failed to exec
07-01 21:33:24.157 7270 7270 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
07-01 21:33:24.157 7270 7270 E AndroidRuntime: java.lang.IllegalArgumentException: provider doesn't exist: fused
07-01 21:33:24.157 7270 7270 E AndroidRuntime: at com.android.server.LocationManagerService.requestLocationUpdatesLocked(LocationManagerService.java:2775)
07-01 21:33:24.157 7270 7270 E AndroidRuntime: at com.android.server.LocationManagerService.requestLocationUpdates(LocationManagerService.java:2755)
07-01 21:33:24.157 7270 7270 E AndroidRuntime: at android.location.LocationManager.requestLocationUpdates(LocationManager.java:1042)
07-01 21:33:24.157 7270 7270 E AndroidRuntime: at android.location.LocationManager.requestLocationUpdates(LocationManager.java:950)
07-01 21:33:24.157 7270 7270 E AndroidRuntime: at com.android.server.twilight.TwilightService.startListening(TwilightService.java:261)
07-01 21:33:24.157 7270 7270 E AndroidRuntime: at com.android.server.twilight.TwilightService.handleMessage(TwilightService.java:210)
07-01 21:33:24.157 7270 7270 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:103)
07-01 21:33:24.157 7270 7270 E AndroidRuntime: at android.os.Looper.loop(Looper.java:214)
07-01 21:33:24.157 7270 7270 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:569)
07-01 21:33:24.157 7270 7270 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:377)
07-01 21:33:24.157 7270 7270 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-01 21:33:24.157 7270 7270 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516)
07-01 21:33:24.157 7270 7270 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:928)
07-01 21:33:24.291 8249 8249 E AndroidRuntime: FATAL EXCEPTION: main
07-01 21:33:24.291 8249 8249 E AndroidRuntime: Process: com.google.android.gms.persistent, PID: 8249
07-01 21:33:24.291 8249 8249 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
07-01 21:33:39.289 10285 10285 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 10285 (init), pid 10285 (init)
07-01 21:33:39.341 10285 10285 F libc : crash_dump helper failed to exec
07-01 21:33:39.382 8917 8917 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
07-01 21:33:39.382 8917 8917 E AndroidRuntime: java.lang.IllegalArgumentException: provider doesn't exist: fused
07-01 21:33:39.382 8917 8917 E AndroidRuntime: at com.android.server.LocationManagerService.requestLocationUpdatesLocked(LocationManagerService.java:2775)
07-01 21:33:39.382 8917 8917 E AndroidRuntime: at com.android.server.LocationManagerService.requestLocationUpdates(LocationManagerService.java:2755)
07-01 21:33:39.382 8917 8917 E AndroidRuntime: at android.location.LocationManager.requestLocationUpdates(LocationManager.java:1042)
07-01 21:33:39.382 8917 8917 E AndroidRuntime: at android.location.LocationManager.requestLocationUpdates(LocationManager.java:950)
07-01 21:33:39.382 8917 8917 E AndroidRuntime: at com.android.server.twilight.TwilightService.startListening(TwilightService.java:261)
07-01 21:33:39.382 8917 8917 E AndroidRuntime: at com.android.server.twilight.TwilightService.handleMessage(TwilightService.java:210)
07-01 21:33:39.382 8917 8917 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:103)
07-01 21:33:39.382 8917 8917 E AndroidRuntime: at android.os.Looper.loop(Looper.java:214)
07-01 21:33:39.382 8917 8917 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:569)
07-01 21:33:39.382 8917 8917 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:377)
07-01 21:33:39.382 8917 8917 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-01 21:33:39.382 8917 8917 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516)
07-01 21:33:39.382 8917 8917 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:928)
07-01 21:33:54.474 11959 11959 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 11959 (init), pid 11959 (init)
07-01 21:33:54.524 11959 11959 F libc : crash_dump helper failed to exec
07-01 21:33:54.551 10651 10651 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
07-01 21:33:54.551 10651 10651 E AndroidRuntime: java.lang.IllegalArgumentException: provider doesn't exist: fused
07-01 21:33:54.551 10651 10651 E AndroidRuntime: at com.android.server.LocationManagerService.requestLocationUpdatesLocked(LocationManagerService.java:2775)
07-01 21:33:54.551 10651 10651 E AndroidRuntime: at com.android.server.LocationManagerService.requestLocationUpdates(LocationManagerService.java:2755)
07-01 21:33:54.551 10651 10651 E AndroidRuntime: at android.location.LocationManager.requestLocationUpdates(LocationManager.java:1042)
07-01 21:33:54.551 10651 10651 E AndroidRuntime: at android.location.LocationManager.requestLocationUpdates(LocationManager.java:950)
07-01 21:33:54.551 10651 10651 E AndroidRuntime: at com.android.server.twilight.TwilightService.startListening(TwilightService.java:261)
07-01 21:33:54.551 10651 10651 E AndroidRuntime: at com.android.server.twilight.TwilightService.handleMessage(TwilightService.java:210)
07-01 21:33:54.551 10651 10651 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:103)
07-01 21:33:54.551 10651 10651 E AndroidRuntime: at android.os.Looper.loop(Looper.java:214)
07-01 21:33:54.551 10651 10651 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:569)
07-01 21:33:54.551 10651 10651 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:377)
07-01 21:33:54.551 10651 10651 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-01 21:33:54.551 10651 10651 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516)
07-01 21:33:54.551 10651 10651 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:928)
07-01 21:33:54.662 11661 11661 E AndroidRuntime: FATAL EXCEPTION: main
07-01 21:33:54.662 11661 11661 E AndroidRuntime: Process: com.google.android.gms.persistent, PID: 11661
07-01 21:33:54.662 11661 11661 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
07-01 21:34:09.646 13627 13627 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 13627 (init), pid 13627 (init)
07-01 21:34:09.697 12319 12319 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
07-01 21:34:09.697 12319 12319 E AndroidRuntime: java.lang.IllegalArgumentException: provider doesn't exist: fused
07-01 21:34:09.697 12319 12319 E AndroidRuntime: at com.android.server.LocationManagerService.requestLocationUpdatesLocked(LocationManagerService.java:2775)
07-01 21:34:09.697 12319 12319 E AndroidRuntime: at com.android.server.LocationManagerService.requestLocationUpdates(LocationManagerService.java:2755)
07-01 21:34:09.697 12319 12319 E AndroidRuntime: at android.location.LocationManager.requestLocationUpdates(LocationManager.java:1042)
07-01 21:34:09.697 12319 12319 E AndroidRuntime: at android.location.LocationManager.requestLocationUpdates(LocationManager.java:950)
07-01 21:34:09.697 12319 12319 E AndroidRuntime: at com.android.server.twilight.TwilightService.startListening(TwilightService.java:261)
07-01 21:34:09.697 12319 12319 E AndroidRuntime: at com.android.server.twilight.TwilightService.handleMessage(TwilightService.java:210)
07-01 21:34:09.697 12319 12319 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:103)
07-01 21:34:09.697 12319 12319 E AndroidRuntime: at android.os.Looper.loop(Looper.java:214)
07-01 21:34:09.697 12319 12319 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:569)
07-01 21:34:09.697 12319 12319 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:377)
07-01 21:34:09.697 12319 12319 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-01 21:34:09.697 12319 12319 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516)
07-01 21:34:09.697 12319 12319 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:928)
07-01 21:34:09.698 13627 13627 F libc : crash_dump helper failed to exe
c

Categories

Resources