hello all
i tried port jb to wildfire
but touch screen not work, i don't know, i try use my devices idc
can somebody help me?
This is logcat
KoolSavas95 said:
Did u replaced all hw folders in lib folder? Maybe need to edit framework.jar
Sent from my LG-P990 using xda premium
Click to expand...
Click to collapse
i will try
I think there are some permissions missing also from etc/permissions
W/PackageManager( 316): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package com.android.contacts
W/PackageManager( 316): Unknown permission android.permission.ADD_SYSTEM_SERVICE in package com.android.phone
W/PackageManager( 316): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.providers.calendar
W/PackageManager( 316): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.cl in package com.android.providers.calendar
W/PackageManager( 316): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package com.android.calendar
W/PackageManager( 316): Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.browser (protectionLevel=2 flags=0x9be45)
W/PackageManager( 316): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.providers.contacts
W/PackageManager( 316): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.cp in package com.android.providers.contacts
W/PackageManager( 316): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.settings
W/PackageManager( 316): Unknown permission com.google.android.googleapps.permission.ACCESS_GOOGLE_PASSWORD in package com.android.development
W/PackageManager( 316): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.development
W/PackageManager( 316): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.ALL_SERVICES in package com.android.development
W/PackageManager( 316): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.YouTubeUser in package com.android.development
W/PackageManager( 316): Not granting permission android.permission.DEVICE_POWER to package com.android.deskclock (protectionLevel=2 flags=0x8be45)
Click to expand...
Click to collapse
deba1994 said:
I think there are some permissions missing also from etc/permissions
Click to expand...
Click to collapse
oh no,it is not related to touch screen
it here:
Code:
D/EventHub( 316): No input device configuration file found for device 'compass'.
D/EventHub( 316): No input device configuration file found for device 'curcial-oj'.
I/SystemServer( 316): Bluetooth Service
I/EventHub( 316): New device: id=2, fd=105, path='/dev/input/event6', name='curcial-oj', classes=0x9, configuration='', keyLayout='/system/usr/keylayout/Generic.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false, usingSuspendBlockIoctl=false, usingClockIoctl=false
D/EventHub( 316): No input device configuration file found for device 'lightsensor-level'.
D/EventHub( 316): No input device configuration file found for device 'buzz-keypad'.
I/EventHub( 316): New device: id=5, fd=107, path='/dev/input/event3', name='buzz-keypad', classes=0x1, configuration='', keyLayout='/system/usr/keylayout/buzz-keypad.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=true, usingSuspendBlockIoctl=false, usingClockIoctl=false
D/EventHub( 316): No input device configuration file found for device 'proximity'.
D/AK8973 ( 113): HRET = AKSC_HOF_DSS_START
E/filemap ( 316): mmap(0,4096) failed: No such device
E/OMXCodec( 109): mediacodec list instance returned NULL
E/AudioCache( 109): Error 1, -2147483648 occurred
E/SoundPool( 316): Unable to load sample: (null)
I/EventHub( 316): New device: id=7, fd=108, path='/dev/input/event1', name='atmel-touchscreen', classes=0x55, configuration='/system/usr/idc/atmel-touchscreen.idc', keyLayout='/system/usr/keylayout/Generic.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false, usingSuspendBlockIoctl=false, usingClockIoctl=false
D/EventHub( 316): No input device configuration file found for device 'h2w headset'.
D/AK8973 ( 113): HRET = AKSC_HOF_DSS_REQUEST
I/EventHub( 316): New device: id=8, fd=98, path='/dev/input/event0', name='h2w headset', classes=0x1, configuration='', keyLayout='/system/usr/keylayout/h2w_headset.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false, usingSuspendBlockIoctl=false, usingClockIoctl=false
D/AK8973 ( 113): HRET = AKSC_HOF_DSS_REQUEST
I/BluetoothProfileState( 316): Message:Entering Stable State
I/InputReader( 316): Device added: id=-1, name='Virtual', sources=0x00000301
I/InputReader( 316): Device added: id=8, name='h2w headset', sources=0x00000101
I/InputReader( 316): Touch device 'atmel-touchscreen' could not query the properties of its associated display 0. The device will be inoperable until the display size becomes available.
I/InputReader( 316): Device added: id=7, name='atmel-touchscreen', sources=0x00001503
I/InputReader( 316): Device added: id=0, name='buzz-keypad', sources=0x00000101
D/AK8973 ( 113): HRET = AKSC_HOF_DSS_REQUEST
D/AK8973 ( 113): HRET = AKSC_HOF_DSS_REQUEST
I/InputReader( 316): Device added: id=2, name='curcial-oj', sources=0x00002103
E/Trace ( 316): error opening trace file: No such file or directory (2)
Code:
I/SystemServer( 316): Accessibility Manager
I/InputReader( 316): Reconfiguring input devices. changes=0x00000004
I/InputReader( 316): Device reconfigured: id=7, name='atmel-touchscreen', surface size is now 240x320, mode is 1
I/ActivityManager( 316): Config changed: {1.0 0mcc0mnc en_US sw320dp w320dp h401dp smll port ?uimode ?night finger -keyb/h/h -nav/h s.2}
Ok i'm not that good at this but will try to help....how did you port JB??did you compile from source?
i try port jb of heroc here
i port it by replace my zImage and ramdisk
I think u could try porting from here
and i think as koolsavas95 said..u may need to replace your hw folder in lib with what i am not sure....maybe u can try to use ics build as base ?
EDIT : that last mediafire link that i attached was wrong..sry dont download that !!!
thank you, deba1994
i will try
Best of luck and maybe if you are good at compiling u can maybe contact that x10 mini dev for help
tathanhlam66 said:
hello all
i tried port jb to wildfire
but touch screen not work, i don't know, i try use my devices idc
can somebody help me?
This is logcat
Click to expand...
Click to collapse
Any luck with the port?
I can not port it
my kernel does not work touch screen
If you are able to fix compiling errors you can try to build jb from source, just use sympnotic github: repo init -u git://github.com/sympnotic/android.git -b jellybean
I've tried to build from here but i got errors while compiling and i'm not able to solve them
I am downloading and compiling now from sympnotic. Let u know if it works
edit:
I could get past the bionic error, but the egl and external packads error are too much. Will try another time again.
*delete*
First of all:
model: i9505
My phone is still knox free (and I want it to be like that xD)
my CSC code: PHE (spain)
I was having problems with my cm11 so i flashed the stock rom (I9505XXUBMF5_I9505OXXBMF2_PHE) later as i allways have problems with the signal y flashed the modem.bin of the XXUGNK4, not the NON-HLOS.bin 'cause the ones after the knox bootloader release breck the camera anhd other things.
Later i realize that the alarms weren't working, i found the logcat part on cm that shows my problem (or so i think)
CM11 logcat part showing permissions errors
Code:
W/PackageManager( 645): Unknown permission android.permission.REAL_GET_TASKS in package com.google.android.googlequicksearchbox
W/PackageManager( 645): Unknown permission com.google.android.apps.googlevoice.permission.AUTO_SEND in package com.google.android.googlequicksearchbox
W/PackageManager( 645): Unknown permission android.permission.MANAGE_VOICE_KEYPHRASES in package com.google.android.googlequicksearchbox
W/PackageManager( 645): Unknown permission com.android.chrome.PRERENDER_URL in package com.google.android.googlequicksearchbox
W/PackageManager( 645): Unknown permission com.google.android.launcher.permission.CONTENT_REDIRECT in package com.google.android.googlequicksearchbox
W/PackageManager( 645): Not granting permission android.permission.DELETE_PACKAGES to package com.svox.pico (protectionLevel=18 flags=0x8be45)
W/PackageManager( 645): Unknown permission com.google.android.gms.permission.CAR_SPEED in package com.google.android.apps.maps
W/PackageManager( 645): Unknown permission com.cyngn.cmstats.SEND_ANALYTICS in package com.android.dialer
W/PackageManager( 645): Not granting permission android.permission.BIND_APPWIDGET to package com.anddoes.launcher (protectionLevel=18 flags=0x58be44)
W/PackageManager( 645): Unknown permission com.android.launcher.permission.READ_SETTINGS in package com.anddoes.launcher
W/PackageManager( 645): Unknown permission com.htc.launcher.permission.READ_SETTINGS in package com.anddoes.launcher
W/PackageManager( 645): Unknown permission org.adw.launcher.permission.READ_SETTINGS in package com.anddoes.launcher
W/PackageManager( 645): Unknown permission org.adwfreak.launcher.permission.READ_SETTINGS in package com.anddoes.launcher
W/PackageManager( 645): Unknown permission com.fede.launcher.permission.READ_SETTINGS in package com.anddoes.launcher
W/PackageManager( 645): Unknown permission com.cyanogenmod.trebuchet.permission.READ_SETTINGS in package com.anddoes.launcher
W/PackageManager( 645): Unknown permission com.teslacoilsw.launcher.permission.READ_SETTINGS in package com.anddoes.launcher
W/PackageManager( 645): Not granting permission com.google.android.gallery3d.permission.PICASA_STORE to package com.google.android.apps.photos because it was previously installed without
W/PackageManager( 645): Unknown permission android.permission.WRITE_SYNC_STATS in package com.google.android.apps.docs
W/PackageManager( 645): Not granting permission android.permission.ACCESS_SURFACE_FLINGER to package com.teamviewer.quicksupport.addon.samsung (protectionLevel=2 flags=0x8be44)
W/PackageManager( 645): Not granting permission android.permission.READ_FRAME_BUFFER to package com.teamviewer.quicksupport.addon.samsung (protectionLevel=18 flags=0x8be44)
W/PackageManager( 645): Not granting permission android.permission.INJECT_EVENTS to package com.teamviewer.quicksupport.addon.samsung (protectionLevel=18 flags=0x8be44)
W/PackageManager( 645): Not granting permission android.permission.CAPTURE_SECURE_VIDEO_OUTPUT to package com.teamviewer.quicksupport.addon.samsung (protectionLevel=18 flags=0x8be44)
W/PackageManager( 645): Not granting permission android.permission.CAPTURE_VIDEO_OUTPUT to package com.teamviewer.quicksupport.addon.samsung (protectionLevel=18 flags=0x8be44)
W/PackageManager( 645): Not granting permission org.thialfihar.android.apg.permission.READ_KEY_DETAILS to package com.fsck.k9 because it was previously installed without
W/PackageManager( 645): Not granting permission android.permission.READ_LOGS to package org.blackmart.market (protectionLevel=50 flags=0x8be44)
W/PackageManager( 645): Unknown permission com.android.launcher.permission.READ_SETTINGS in package com.google.android.onetimeinitializer
W/PackageManager( 645): Unknown permission com.android.launcher.permission.WRITE_SETTINGS in package com.google.android.onetimeinitializer
W/PackageManager( 645): Unknown permission com.android.launcher.permission.READ_SETTINGS in package com.cyanogenmod.trebuchet
W/PackageManager( 645): Unknown permission com.android.launcher.permission.WRITE_SETTINGS in package com.cyanogenmod.trebuchet
W/PackageManager( 645): Not granting permission com.google.android.gallery3d.permission.PICASA_STORE to package com.google.android.apps.plus because it was previously installed without
W/PackageManager( 645): Unknown permission android.permission.REAL_GET_TASKS in package com.android.vending
W/PackageManager( 645): Unknown permission android.permission.SEND_SMS_NO_CONFIRMATION in package com.android.vending
W/PackageManager( 645): Unknown permission android.permission.USE_FINGERPRINT in package com.android.vending
W/PackageManager( 645): Unknown permission android.permission.GET_PACKAGE_IMPORTANCE in package com.android.vending
W/PackageManager( 645): Unknown permission android.permission.GET_ACCOUNTS_PRIVILEGED in package com.android.vending
W/PackageManager( 645): Unknown permission android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS in package com.android.vending
W/PackageManager( 645): Unknown permission android.permission.GRANT_RUNTIME_PERMISSIONS in package com.android.vending
W/PackageManager( 645): Unknown permission android.permission.REVOKE_RUNTIME_PERMISSIONS in package com.android.vending
W/PackageManager( 645): Unknown permission android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST in package com.android.vending
W/PackageManager( 645): Unknown permission com.google.android.partnersetup.permission.WRITE_APP_PROVIDER in package com.android.vending
W/PackageManager( 645): Not granting permission android.permission.BIND_WALLPAPER to package com.google.android.GoogleCamera (protectionLevel=18 flags=0x583c44)
W/PackageManager( 645): Not granting permission android.permission.REBOOT to package eu.chainfire.supersu (protectionLevel=18 flags=0x83e05)
W/PackageManager( 645): Not granting permission android.permission.READ_DREAM_STATE to package com.google.android.gsf (protectionLevel=2 flags=0x40083e45)
W/PackageManager( 645): Unknown permission android.permission.CANCEL_NOTIFICATIONS in package org.cyanogenmod.voiceplus
W/PackageManager( 645): Unknown permission org.fdroid.fdroid.privileged.USE_SERVICE in package org.fdroid.fdroid
W/PackageManager( 645): Not granting permission android.permission.MEDIA_CONTENT_CONTROL to package com.andrew.apollo (protectionLevel=18 flags=0x18be65)
W/PackageManager( 645): Unknown permission com.baidu.permission.QCCLOUD_PROVIDER in package com.android.contacts
W/PackageManager( 645): Unknown permission com.android.vending.billing.IBillingAccountService.BIND2 in package com.google.android.gsf.login
W/PackageManager( 645): Unknown permission android.permission.USE_FINGERPRINT in package org.telegram.messenger
W/PackageManager( 645): Not granting permission android.permission.ACCESS_SURFACE_FLINGER to package com.teamviewer.quicksupport.market (protectionLevel=2 flags=0x18be44)
W/PackageManager( 645): Not granting permission android.permission.READ_FRAME_BUFFER to package com.teamviewer.quicksupport.market (protectionLevel=18 flags=0x18be44)
W/PackageManager( 645): Not granting permission android.permission.INJECT_EVENTS to package com.teamviewer.quicksupport.market (protectionLevel=18 flags=0x18be44)
W/PackageManager( 645): Unknown permission com.android.remotecontrolservice.REMOTE_CONTROL in package com.teamviewer.quicksupport.market
W/PackageManager( 645): Unknown permission android.permission.READ_MEDIA_STORAGE in package com.keramidas.TitaniumBackup
W/PackageManager( 645): Not granting permission android.permission.WRITE_MEDIA_STORAGE to package com.keramidas.TitaniumBackup (protectionLevel=18 flags=0x8be44)
W/PackageManager( 645): Not granting permission android.permission.BROADCAST_SMS to package com.keramidas.TitaniumBackup (protectionLevel=2 flags=0x8be44)
W/PackageManager( 645): Not granting permission android.permission.BROADCAST_WAP_PUSH to package com.keramidas.TitaniumBackup (protectionLevel=2 flags=0x8be44)
W/PackageManager( 645): Unknown permission android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS in package com.google.android.gms
W/PackageManager( 645): Not granting permission android.permission.READ_DREAM_STATE to package com.google.android.gms (protectionLevel=2 flags=0x40483e45)
W/PackageManager( 645): Unknown permission android.permission.PROVIDE_TRUST_AGENT in package com.google.android.gms
W/PackageManager( 645): Unknown permission com.google.android.apps.enterprise.dmagent.permission.AutoSyncPermission in package com.google.android.gms
W/PackageManager( 645): Unknown permission android.permission.MANAGE_VOICE_KEYPHRASES in package com.google.android.gms
W/PackageManager( 645): Unknown permission android.permission.REAL_GET_TASKS in package com.google.android.gms
W/PackageManager( 645): Unknown permission android.permission.READ_WIFI_CREDENTIAL in package com.google.android.gms
W/PackageManager( 645): Unknown permission android.permission.SCORE_NETWORKS in package com.google.android.gms
W/PackageManager( 645): Unknown permission android.permission.CONTROL_INCALL_EXPERIENCE in package com.google.android.gms
W/PackageManager( 645): Unknown permission android.permission.USER_ACTIVITY in package com.google.android.gms
W/PackageManager( 645): Unknown permission android.permission.MODIFY_AUDIO_ROUTING in package com.google.android.gms
W/PackageManager( 645): Unknown permission com.google.android.wearable.READ_SETTINGS in package com.google.android.gms
W/PackageManager( 645): Unknown permission android.permission.INTENT_FILTER_VERIFICATION_AGENT in package com.google.android.gms
W/PackageManager( 645): Unknown permission android.permission.LOCAL_MAC_ADDRESS in package com.google.android.gms
W/PackageManager( 645): Unknown permission android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST in package com.google.android.gms
W/PackageManager( 645): Unknown permission android.permission.BODY_SENSORS in package com.google.android.gms
W/PackageManager( 645): Unknown permission android.permission.NOTIFY_PENDING_SYSTEM_UPDATE in package com.google.android.gms
W/PackageManager( 645): Unknown permission com.android.voicemail.permission.READ_VOICEMAIL in package com.google.android.gms
W/PackageManager( 645): Not granting permission android.permission.READ_LOGS to package org.uguess.android.sysinfo.pro (protectionLevel=50 flags=0x9be44)
W/PackageManager( 645): Not granting permission android.permission.SET_PREFERRED_APPLICATIONS to package com.kms.free (protectionLevel=2 flags=0x83e04)
W/PackageManager( 645): Not granting permission android.permission.WRITE_APN_SETTINGS to package com.kms.free (protectionLevel=18 flags=0x83e04)
W/PackageManager( 645): Not granting permission android.permission.MODIFY_PHONE_STATE to package com.kms.free (protectionLevel=18 flags=0x83e04)
W/PackageManager( 645): Not granting permission android.permission.READ_LOGS to package com.kms.free (protectionLevel=50 flags=0x83e04)
W/PackageManager( 645): Not granting permission android.permission.BATTERY_STATS to package com.kms.free (protectionLevel=18 flags=0x83e04)
W/PackageManager( 645): Unknown permission android.permission.WRITE_SYNC_STATS in package com.google.android.apps.docs.editors.docs
W/PackageManager( 645): Not granting permission android.permission.WRITE_SECURE_SETTINGS to package eu.chainfire.pryfi (protectionLevel=50 flags=0x8be44)
W/PackageManager( 645): Not granting permission android.permission.WRITE_MEDIA_STORAGE to package com.android.soundrecorder (protectionLevel=18 flags=0x8be45)
W/PackageManager( 645): Unknown permission com.android.launcher.permission.PRELOAD_WORKSPACE in package com.google.android.partnersetup
W/PackageManager( 645): Not granting permission android.permission.BIND_ACCESSIBILITY_SERVICE to package net.cyl.notlog (protectionLevel=2 flags=0x18be44)
W/PackageManager( 645): Unknown permission com.samsung.android.providers.context.permission.WRITE_USE_APP_FEATURE_SURVEY in package net.cyl.notlog
W/PackageManager( 645): Unknown permission android.permission.REGISTER_CONNECTION_MANAGER in package com.google.android.talk
W/PackageManager( 645): Unknown permission com.cyanogenmod.filemanager.permissions.READ_THEME in package com.cyanogenmod.filemanager
W/PackageManager( 645): Unknown permission com.amazon.device.messaging.permission.RECEIVE in package com.skype.raider
W/PackageManager( 645): Unknown permission com.nokia.pushnotifications.permission.RECEIVE in package com.skype.raider
W/PackageManager( 645): Unknown permission com.sec.android.provider.badge.permission.READ in package com.skype.raider
W/PackageManager( 645): Unknown permission com.sec.android.provider.badge.permission.WRITE in package com.skype.raider
W/PackageManager( 645): Unknown permission com.htc.launcher.permission.READ_SETTINGS in package com.skype.raider
W/PackageManager( 645): Unknown permission com.htc.launcher.permission.UPDATE_SHORTCUT in package com.skype.raider
W/PackageManager( 645): Unknown permission com.sonyericsson.home.permission.BROADCAST_BADGE in package com.skype.raider
W/PackageManager( 645): Unknown permission com.majeur.launcher.permission.UPDATE_BADGE in package com.skype.raider
W/PackageManager( 645): Unknown permission android.permission.MMS_PUSH in package org.codeaurora.bluetooth
W/PackageManager( 645): Not granting permission android.permission.READ_LOGS to package com.SystemCleanup.Inteks.org (protectionLevel=50 flags=0x8be44)
W/PackageManager( 645): Not granting permission android.permission.MANAGE_USERS to package com.SystemCleanup.Inteks.org (protectionLevel=18 flags=0x8be44)
W/PackageManager( 645): Not granting permission android.permission.READ_LOGS to package cc.madkite.freedom (protectionLevel=50 flags=0x18be44)
W/PackageManager( 645): Unknown permission com.google.android.email.permission.READ_ATTACHMENT in package com.google.android.gm
W/PackageManager( 645): Unknown permission com.google.android.email.permission.ACCESS_PROVIDER in package com.google.android.gm
W/PackageManager( 645): Unknown permission com.google.android.gm.exchange.BIND in package com.google.android.gm
W/PackageManager( 645): Unknown permission android.permission.CANCEL_NOTIFICATIONS in package org.cyanogenmod.theme.chooser
W/PackageManager( 645): Unknown permission android.permission.WRITE_INTERNAL_STORAGE in package com.orange.miorange
W/PackageManager( 645): Unknown permission android.permission.READ_INTERNAL_STORAGE in package com.orange.miorange
W/PackageManager( 645): Not granting permission android.permission.MANAGE_DOCUMENTS to package com.orange.miorange (protectionLevel=2 flags=0x8be44)
W/PackageManager( 645): Not granting permission android.permission.MANAGE_DOCUMENTS to package com.google.android.youtube (protectionLevel=2 flags=0x583e44)
W/PackageManager( 645): Unknown permission htc.socialmanager.permission.USE_SOCIALSERVICE in package com.tumblr
W/PackageManager( 645): Unknown permission htc.socialmanager.permission.READ_SOCIAL_DATABASE in package com.tumblr
W/PackageManager( 645): Unknown permission htc.socialmanager.permission.WRITE_SOCIAL_DATABASE in package com.tumblr
W/PackageManager( 645): Unknown permission htc.socialmanager.permission.USE_SOCIALCOMPONENT in package com.tumblr
W/PackageManager( 645): Not granting permission android.permission.DEVICE_POWER to package com.android.deskclock (protectionLevel=2 flags=0x48be45)
W/PackageManager( 645): Unknown permission com.android.deskclock.worldclock.permissions.WRITE_DATABASE in package com.android.deskclock
W/PackageManager( 645): Unknown permission com.google.android.gm.exchange.BIND in package com.google.android.calendar
W/PackageManager( 645): Unknown permission com.chrome.permission.DEVICE_EXTRAS in package com.android.chrome
W/PackageManager( 645): Unknown permission com.sec.enterprise.knox.MDM_CONTENT_PROVIDER in package com.android.chrome
W/PackageManager( 645): Unknown permission archos.permission.FULLSCREEN.FULL in package org.ppsspp.ppsspp
That was when i have everything back (apps, supersu, configs, etc)
So I blame some configs on the system and after wipe system, cache, data, Int Storage and dalvik I installed a fresh cm11 onto the phone (cm-11-20160410-NIGHTLY-jflte), didn't install supersu neither the open-gapps, only CM.
but the problem with the permisions wasn't gone (almost the same logacat part, if not the same)
As my last resort, I flashed another stock ROM (I9505XXUBMGA_I9505OXXBMH1_PHE [the last knox-free from spain wich I now])
with the following odin config:
PIT file loaded
Auto Reboot: unticked
Re-Partion: ticked
F.Reset Time: ticked
Nand Erase All, Phone EFS Clear and Phone Bootloader Update ticked
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
with the hope that some black magic happend and the problem would be gone andd the flash Cm
This is the log of odin:
Code:
<OSM> Enter CS for MD5..
<OSM> Binary Check MD5.. Do not unplug the cable..
<OSM> Please wait..
<OSM> Checking MD5 finished Sucessfully..
<OSM> Leave CS..
<ID:0/003> Odin engine v(ID:3.1100)..
<ID:0/003> File analysis..
<ID:0/003> SetupConnection..
<ID:0/003> Initialzation..
<ID:0/003> Erase...
<ID:0/003> Set PIT file..
<ID:0/003> DO NOT TURN OFF TARGET!!
<ID:0/003> Get PIT for mapping..
<ID:0/003> Firmware update start..
<ID:0/003> SingleDownload.
<ID:0/003> sbl2.mbn
<ID:0/003> NAND Write Start!!
<ID:0/003> sbl3.mbn
<ID:0/003> rpm.mbn
<ID:0/003> aboot.mbn
<ID:0/003> tz.mbn
<ID:0/003> boot.img
<ID:0/003> recovery.img
<ID:0/003> system.img.ext4
<ID:0/003> modem.bin
<ID:0/003> NON-HLOS.bin
<ID:0/003> cache.img.ext4
<ID:0/003> hidden.img.ext4
<ID:0/003> RQT_CLOSE !!
<ID:0/003> RES OK !!
<ID:0/003> Remain Port .... 0
<OSM> All threads completed. (succeed 1 / failed 0)
And this is the phone's one:
Code:
ODIN MODE
PRODUCT NAME: GT-I9505
CUSTOM BINATY: SAMSUNG OFFICIAL
SYSTEM STATUS: OFFICIAL (notice that i'm flashing this after the actual flash to make this post)
CSB-CONFIG-LSB: 0x30
WRITE PROTECTION: Enable
START [224,1440]
ERASING USERDATA PARTITION.
BAR [240,1440]
END [240,1440]
I took off the battery for a minute or so, the put it back
boot the phone, let it boot recovery a fill the first start statusbar
the phone reboots, i enter recovery, wipe data and cache
And then let the phone boot the system
Every seems nice, the phone boots in no time and ask pinof the sim, i get trhough the initial setup with no pain and then got to settings and enable debugging, reboot the phone and pipe the logcat exit to a file throught abd, set an alarm tho ring on the next few minutes and power off the phone and see logcat.
This is it:
https:// drive.google.com/file/d/0B4Ox1zTG7d5feGpnUFl2QlVueWM/view?usp=sharing (XDA don't let me put links TTwTT
As you can see, the problem is still there
Code:
W/PackageManager( 782): Unknown permission com.android.launcher.permission.PRELOAD_WORKSPACE in package com.google.android.partnersetup
W/PackageManager( 782): Unknown permission android.permission.ACCESS_DEV_STORAGE in package com.sec.android.app.camera
W/PackageManager( 782): Unknown permission com.sec.chaton.TOKEN_74e548bcd7dc013c8f8b585ba11ad16b271ceebb0acbe6c001c0aecdae65f37b366963990139710b4b5c3238053d25b7940d90c9f30e04a119c6c3dd94c276d32ec19cc4a4906ccbae88b80158ce08440ba5b1d7e14b864a076e31fa3e478f51ff186b2e995cc4d9503987cc3b80efdc331d7626ae145ce1810604514abd5fd9 in package com.sec.android.app.camera
W/PackageManager( 782): Unknown permission android.permission.ACCESS_DEV_STORAGE in package com.sec.android.app.myfiles
W/PackageManager( 782): Unknown permission com.samsung.android.app.episodes.permission.IMPORT_STORYALBUM in package com.sec.android.app.myfiles
W/PackageManager( 782): Unknown permission com.sec.android.app.gallery3d.READ in package com.sec.chaton
W/PackageManager( 782): Unknown permission com.acrodea.samsung_avatar_maker.AvatarMaker_Select in package com.sec.chaton
W/PackageManager( 782): Unknown permission com.sec.android.app.gallery3d.WRITE in package com.sec.chaton
W/PackageManager( 782): Unknown permission com.sec.android.homesync.EXCLUSIVE_APP in package com.osp.app.signin
W/PackageManager( 782): Unknown permission com.samsung.android.providers.context.permission.READ_PROFILE in package com.sec.android.app.controlpanel
W/PackageManager( 782): Unknown permission com.sec.android.dualclockanalog.permission.READ_DATA in package com.sec.android.app.clockpackage
W/PackageManager( 782): Unknown permission com.sec.android.dualclockanalog.permission.WRITE_DATA in package com.sec.android.app.clockpackage
W/PackageManager( 782): Unknown permission com.sec.android.daemonapp.ap.accuweather.permission.ACCU_DAEMON_ACCESS_INTENT in package com.sec.android.app.clockpackage
W/PackageManager( 782): Unknown permission com.sec.android.daemonapp.ap.yahoostock.stockclock.permission.YAHOO_DAEMON_ACCESS_INTENT in package com.sec.android.app.clockpackage
W/PackageManager( 782): Unknown permission com.sec.android.daemonapp.ap.yahoonews.permission.YAHOO_DAEMON_ACCESS_INTENT in package com.sec.android.app.clockpackage
W/PackageManager( 782): Unknown permission com.sec.android.daemonapp.ap.kweather.permission.KW_DAEMON_ACCESS_INTENT in package com.sec.android.app.clockpackage
W/PackageManager( 782): Unknown permission com.sec.android.widgetapp.ap.edaily.stockclock.permission.EDAILY_DAEMON_ACCESS_PROVIDER in package com.sec.android.app.clockpackage
W/PackageManager( 782): Unknown permission com.sec.android.widgetapp.ap.edaily.stockclock.permission.EDAILY_DAEMON_ACCESS_INTENT in package com.sec.android.app.clockpackage
W/PackageManager( 782): Unknown permission com.sec.android.daemonapp.ap.yonhapnews.permission.YONHAP_DAEMON_ACCESS_PROVIDER in package com.sec.android.app.clockpackage
W/PackageManager( 782): Unknown permission com.sec.android.widgetapp.ap.yonhapnews.permission.YONHAP_DAEMON_ACCESS_INTENT in package com.sec.android.app.clockpackage
W/PackageManager( 782): Unknown permission com.sec.android.daemonapp.ap.sinaweather.permission.SINA_DAEMON_ACCESS_INTENT in package com.sec.android.app.clockpackage
W/PackageManager( 782): Unknown permission com.sec.android.widgetapp.ap.sinastock.stockclock.permission.SINA_DAEMON_ACCESS_PROVIDER in package com.sec.android.app.clockpackage
W/PackageManager( 782): Unknown permission com.sec.android.widgetapp.ap.sinastock.stockclock.permission.SINA_DAEMON_ACCESS_INTENT in package com.sec.android.app.clockpackage
W/PackageManager( 782): Unknown permission com.sec.android.daemonapp.ap.sinanews.permission.SINA_DAEMON_ACCESS_PROVIDER in package com.sec.android.app.clockpackage
W/PackageManager( 782): Unknown permission com.sec.android.widgetapp.ap.sinanews.permission.SINA_DAEMON_ACCESS_INTENT in package com.sec.android.app.clockpackage
W/PackageManager( 782): Unknown permission com.sec.android.daemonapp.ap.camobile.permission.CAMOBILE_DAEMON_ACCESS_PROVIDER in package com.sec.android.app.clockpackage
W/PackageManager( 782): Unknown permission com.sec.android.app.sbrowser.operatorbookmarks.permission.READ_OPERATOR_BOOKMARKS in package com.samsung.sec.android.application.csc
W/PackageManager( 782): Unknown permission com.sec.android.app.sbrowser.operatorbookmarks.permission.WRITE_OPERATOR_BOOKMARKS in package com.samsung.sec.android.application.csc
W/PackageManager( 782): Unknown permission com.sec.android.permission.READ_MEMO in package com.samsung.sec.android.application.csc
W/PackageManager( 782): Unknown permission com.sec.android.permission.WRITE_MEMO in package com.samsung.sec.android.application.csc
W/PackageManager( 782): Unknown permission com.sec.android.widgetapp.q1_penmemo.permission.READ in package com.samsung.sec.android.application.csc
W/PackageManager( 782): Unknown permission com.sec.android.widgetapp.q1_penmemo.permission.WRITE in package com.samsung.sec.android.application.csc
W/PackageManager( 782): Unknown permission com.sec.android.permission.VIDEOHUB in package com.sec.android.app.videoplayer
W/PackageManager( 782): Unknown permission android.permission.SYSTEM_ALERT in package com.sec.android.app.videoplayer
W/PackageManager( 782): Unknown permission com.sec.android.permission.READ_MEMO in package com.sec.android.app.DataCreate
W/PackageManager( 782): Unknown permission com.sec.android.permission.WRITE_MEMO in package com.sec.android.app.DataCreate
W/PackageManager( 782): Unknown permission com.sec.android.widgetapp.q1_penmemo.permission.READ in package com.sec.android.app.DataCreate
W/PackageManager( 782): Unknown permission com.sec.android.widgetapp.q1_penmemo.permission.WRITE in package com.sec.android.app.DataCreate
W/PackageManager( 782): Unknown permission android.permission.ACCESS_DEV_STORAGE in package com.samsung.android.app.episodes
W/PackageManager( 782): Unknown permission com.diotek.penmemo.util.PenMemoProvider.permission.READ in package com.samsung.android.app.episodes
W/PackageManager( 782): Unknown permission com.diotek.penmemo.util.PenMemoProvider.permission.WRITE in package com.samsung.android.app.episodes
The alarm of course never rang
So what should I do
I was also faced that problem..then I sold my phone.
Sent from my GT-P3100 using Tapatalk
sagar0835 said:
I was also faced that problem..then I sold my phone.
Sent from my GT-P3100 using Tapatalk
Click to expand...
Click to collapse
Mine is still on warranty (2 years left) so today I amy go to the technical support guy of the store to know if he can do something.
The only problem is knox, I shouldn't let them flash anything without me knowing it.
I also thought of selling the phone, but I'm not totally sure of that, 'cause now its value may have decreased and i cannot get anything better or equal with the money i can get from it
Thanks for the reply ^_^
I had sold it to around $200.
I didn't knew how to solve that problem..you should try to make it solve.
Sent from my GT-P3100 using Tapatalk
Darkangeel_hd said:
Mine is still on warranty (2 years left) so today I amy go to the technical support guy of the store to know if he can do something.
The only problem is knox, I shouldn't let them flash anything without me knowing it.
I also thought of selling the phone, but I'm not totally sure of that, 'cause now its value may have decreased and i cannot get anything better or equal with the money i can get from it
Thanks for the reply ^_^
Click to expand...
Click to collapse
do you have a warranty left if it will show you've been flashing things via odin, probably not. never heard of knox bootloaders breaking things before. hundreds of users have used them happily enough as far as I'm aware. flashing the latest firmware is the most likely thing they'll do in a service centre, you need to mention that upfront and even stick a note on your screen saying you don't want this done.
sorry I've nothing more helpful to add...
3mel said:
do you have a warranty left if it will show you've been flashing things via odin, probably not. never heard of knox bootloaders breaking things before. hundreds of users have used them happily enough as far as I'm aware.
sorry I've nothing more helpful to add...
Click to expand...
Click to collapse
I don't have knox, so no knox-flags here ^_^
and about counters, triangle away do the trick, so my phone is seen untouched and official
knox is bad, knox will rape your children and burn your cats!!! xD
oh yeah, didn't think of that. it's been so long since I had things that way myself.
I wonder if you'd have those errors going back to a cm10 ?
3mel said:
oh yeah, didn't think of that. it's been so long since I had things that way myself.
I wonder if you'd have those errors going back to a cm10 ?
Click to expand...
Click to collapse
The error keep apearing with every Rom y tried, stock ones included, I've been flashing and flashing all the weekend, but nothing seems to work.
I tried disabling SELinux, fixing permisions with TWRP, and I don't know what more could I do
Does anyone knows how android permissions are managed? The problems seems to be that some types of permissions have disapear, and that causes that when an app try to request that particular permisions, is treated as unknow an therefore rejected.
Well, I came form the Tech service, the selfproclaim theirselves "Geek Squad"
The "Geek Guy" asked me what a logcat is.........
And it seems that they are no longer allowed to use Odin, and also said that the only thing they could do is send the phone to Samsung, and that means knox being installed.
I got two ways, keep the phone as it is, with more than 2 years of warranty and always having the posibility of using Triangle Away to restore it; or send the phone to Samsung and let them curse it with knox, and in the moment i flash CM I lose my entire warranty.
What I choose is obvious, i keep the phone and I'll be trying to fix it during the warranty period ( I go two entire years ) and If i see that theres no way out of this situation, as my last resort, I'll let the phone to Samsung.
I will post any update i get.
If anyone have a clue on the matter, plase post it.
*****************************************************************************
PS:
If I will keep something from this day.... it will be: The thech support guy saying: "What is a logcat?"
what was that BEST BUY ? there's no reason for shop workers to know this kind of stuff.
you're dead against it I know but I'd say bite the bullet and stop caring about the warranty. marshmallow AOSP or CM is so dope I could never even consider going back to lollipop. from my very limited knowledge I'd guess your outdated bootloader as the #1 suspect behind your troubles, that's why I was curious if CM10 or maybe jellybean was better for you. with a baseband to match too...
3mel said:
what was that BEST BUY ? there's no reason for shop workers to know this kind of stuff.
you're dead against it I know but I'd say bite the bullet and stop caring about the warranty. marshmallow AOSP or CM is so dope I could never even consider going back to lollipop. from my very limited knowledge I'd guess your outdated bootloader as the #1 suspect behind your troubles, that's why I was curious if CM10 or maybe jellybean was better for you. with a baseband to match too...
Click to expand...
Click to collapse
He wasn't a shop worker, and I don't demand shop workers to know geeky stuff, but that guy was supposed to be a professional service technician, thats the reason.
I was expecting that a technician will know more than what i really known, he didn't event suggest me to wipe the data.... he did nothing.
I have a S4 Intl i9505 and I'm currently using CM12.1 snapshot, my phone works perfectly, other than some minor bugs with Bluetooth audio. Couldn't be happier now, I grew to hate the stock Samsung bloat Android.
My vote is load TWRP and flash the CM12.1
missioner said:
I have a S4 Intl i9505 and I'm currently using CM12.1 snapshot, my phone works perfectly, other than some minor bugs with Bluetooth audio. Couldn't be happier now, I grew to hate the stock Samsung bloat Android.
My vote is load TWRP and flash the CM12.1
Click to expand...
Click to collapse
The problem is that the permission error was in every single thing I flashed. I tried from CM 10 to 13 and form stock 4.2.2 to 4.3 from even diferent regions.
But I thing I may have came aout with a solution and why is this happening.
I'm actually working on it.
Thanks, and i thinbk like you, I came to a point when i don't even look the stock rom, I get in download mode, flash TWRP, boot TWRP and flash a CM version xD
thanks for the reply.
3mel said:
what was that BEST BUY ? there's no reason for shop workers to know this kind of stuff.
you're dead against it I know but I'd say bite the bullet and stop caring about the warranty. marshmallow AOSP or CM is so dope I could never even consider going back to lollipop. from my very limited knowledge I'd guess your outdated bootloader as the #1 suspect behind your troubles, that's why I was curious if CM10 or maybe jellybean was better for you. with a baseband to match too...
Click to expand...
Click to collapse
Cm10 gave me the same problems, and I actually update the baseband so that way it match with the system as much as posible
I think that I fixed my issue.
After reflashing a whole bunch of times I realized that my problem was almost solved, and knowing the nature of it.
After some research I found that the permissions on android are some xml files stored in "/etc/permissions" these files are the ones that contains every permission that could be requested in the system, and they're updated when you install an app that add a permision.
So I knew where the problem was, so by flashing any rom that overwrite the permissions correctly it should be solved (and yes, you only need to do that).
But the problem was still present in the logcat. So to compare, i asked a friend to hang me his permissions folder, he has an HTC with Cm12, but the thing is pretty much the same, and the first part of his logcat.
After comparing and reading mine and his from the beggining to the en line by line, I noticed what was happening.
The errors wile still present weren't the same, the part when the clock permission to power on the device was rejected wasn't present anymore, and so on with otheres; but there were also a lot of "Unknown permission error".
after sesearching another time about how android apps work, i ended up with the following conclusion:
Apps are made so that they can ask permissions from other apps, even if they are not present in the system, thus resulting in a "Unknown permission error" 'cause that especific permission from that especific app, that is not installed, is therefore not present in /etc/permissions
So there error is the stock ROM of Samsung are "normal" up to a certain extent; cuase the own apps on the clean samsung ROM request permissions from apps that the rom itself didn't have (i.e. the some galery3d ones)
there are errors but they are not critical ones, so everything works "fine".
Summarizing: the Samsung ROM apps request permissions that the Samsung ROM itself cannot provide, ending up in some "Unknown permission" errors, but they are not significant, since they apps that request then can actually work without then in most of the cases.
So we can say that is a problem of "inconsistency" on the stock ROM itself that don't provide the permission that it request.
Also I should point out that this last time I didn't restore my apps with a backup, i installed all of them another time, just to be sure that the permissions were created correctly.
Only once i have everything working as it should, I restored the data of some cherrypicked apps (of course not system ones xD).
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.