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.