lockscreen setting FC when editing shortcuts. - Android Q&A, Help & Troubleshooting

am trying to run a rom from H815 to H811 only have this one bug. at boot and presssing to edit add or remove screenlock shorcut.
they use different files.. am not dev.. just wondering wich files to use from H811.
after reboot log.
04-10 15:13:38.074 V/FingerprintService(1396): Fingerprint HAL id: 0
04-10 15:13:38.074 I/SystemServer(1396): BackgroundDexOptService
04-10 15:13:38.077 I/SystemServiceManager(1396): Starting com.android.server.pm.LauncherAppsService
04-10 15:13:38.088 I/SystemServiceManager(1396): Starting com.android.server.media.projection.MediaProjectionManagerService
04-10 15:13:38.105 V/LGSettingsProvider(1396): getSystemSetting(haptic_feedback_enabled, -2)
04-10 15:13:38.106 I/SystemServiceManager(1396): Starting com.android.server.MmsServiceBroker
04-10 15:13:38.110 V/LGSettingsProvider(1396): getSystemSetting(vibrate_input_devices, -2)
04-10 15:13:38.133 E/LockSettingsStorage(1396): Cannot read file java.io.FileNotFoundException: /data/system/gatekeeper.password.key: open failed: ENOENT (No such file or directory)
04-10 15:13:38.133 E/LockSettingsStorage(1396): Cannot read file java.io.FileNotFoundException: /data/system/password.key: open failed: ENOENT (No such file or directory)
04-10 15:13:38.133 E/LockSettingsStorage(1396): Cannot read file java.io.FileNotFoundException: /data/system/gatekeeper.pattern.key: open failed: ENOENT (No such file or directory)
04-10 15:13:38.133 E/LockSettingsStorage(1396): Cannot read file java.io.FileNotFoundException: /data/system/gatekeeper.gesture.key: open failed: ENOENT (No such file or directory)
04-10 15:13:38.134 E/LockSettingsStorage(1396): Cannot read file java.io.FileNotFoundException: /data/system/gesture.key: open failed: ENOENT (No such file or directory)
04-10 15:13:38.134 I/SystemServiceManager(1396): Starting phase 480
04-10 15:13:38.152 V/LGSettingsProvider(1396): getSecureSetting(user_setup_complete, 0)
04-10 15:13:38.153 I/SystemServer(1396): CCModeService
04-10 15:13:38.162 I/SystemServer(1396): DataSchedulerService
04-10 15:13:38.163 I/SystemServer(1396): SmartCoverService
04-10 15:13:38.165 D/SmartCoverService(1396): SmartCoverService(),mFolderPhone =false
presssing edit shor cut.
04-10 14:50:19.057 W/SplitWindow(9704): update focus...
04-10 14:50:19.069 I/PhoneWindow(9704): [generateLayout] setColorNavigationBar => color=0x ff465a65
04-10 14:50:19.072 D/PhoneWindowEx(9704): Ex2. SystemProperties.get result >> #ff000000
04-10 14:50:19.098 D/AndroidRuntime(9704): Shutting down VM
--------- beginning of crash
04-10 14:50:19.099 E/AndroidRuntime(9704): FATAL EXCEPTION: main
04-10 14:50:19.099 E/AndroidRuntime(9704): Process: com.lge.lockscreensettings, PID: 9704
04-10 14:50:19.099 E/AndroidRuntime(9704): java.lang.NoClassDefFoundError: Failed resolution of: Lcom/lge/locksettings/LockSettingsDB$Shortcut;
04-10 14:50:19.099 E/AndroidRuntime(9704): at com.lge.lockscreensettings.ThemeSetting.makeShortcutFromDB(ThemeSetting.java:291)
04-10 14:50:19.099 E/AndroidRuntime(9704): at com.lge.lockscreensettings.ThemeSetting.restoreThemeInfoFromDB(ThemeSetting.java:270)
04-10 14:50:19.099 E/AndroidRuntime(9704): at com.lge.lockscreensettings.ThemeSetting.onCreate(ThemeSetting.java:126)
04-10 14:50:19.099 E/AndroidRuntime(9704): at android.app.Activity.performCreate(Activity.java:6272)
04-10 14:50:19.099 E/AndroidRuntime(9704): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
04-10 14:50:19.099 E/AndroidRuntime(9704): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2387)
04-10 14:50:19.099 E/AndroidRuntime(9704): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2494)
04-10 14:50:19.099 E/AndroidRuntime(9704): at android.app.ActivityThread.access$900(ActivityThread.java:157)
04-10 14:50:19.099 E/AndroidRuntime(9704): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1356)
04-10 14:50:19.099 E/AndroidRuntime(9704): at android.os.Handler.dispatchMessage(Handler.java:102)
04-10 14:50:19.099 E/AndroidRuntime(9704): at android.os.Looper.loop(Looper.java:148)
04-10 14:50:19.099 E/AndroidRuntime(9704): at android.app.ActivityThread.main(ActivityThread.java:5525)
04-10 14:50:19.099 E/AndroidRuntime(9704): at java.lang.reflect.Method.invoke(Native Method)
04-10 14:50:19.099 E/AndroidRuntime(9704): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)
04-10 14:50:19.099 E/AndroidRuntime(9704): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
04-10 14:50:19.099 E/AndroidRuntime(9704): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.lge.locksettings.LockSettingsDB$Shortcut" on path: DexPathList[[zip file "/system/framework/com.lge.mdm.jar", zip file "/system/framework/com.lge.systemui.jar", zip file "/system/framework/com.lge.locksettings.jar", zip file "/system/app/LGLockScreenSettings_2/LGLockScreenSettings_2.apk"],nativeLibraryDirectories=[/system/app/LGLockScreenSettings_2/lib/arm64, /vendor/lib64, /system/lib64]]
04-10 14:50:19.099 E/AndroidRuntime(9704): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
04-10 14:50:19.099 E/AndroidRuntime(9704): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
04-10 14:50:19.099 E/AndroidRuntime(9704): at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
04-10 14:50:19.099 E/AndroidRuntime(9704): ... 15 more
04-10 14:50:19.099 E/AndroidRuntime(9704): Suppressed: java.io.IOException: No original dex files found for dex location /system/framework/com.lge.locksettings.jar
04-10 14:50:19.099 E/AndroidRuntime(9704): at dalvik.system.DexFile.openDexFileNative(Native Method)
04-10 14:50:19.099 E/AndroidRuntime(9704): at dalvik.system.DexFile.openDexFile(DexFile.java:295)
04-10 14:50:19.099 E/AndroidRuntime(9704): at dalvik.system.DexFile.<init>(DexFile.java:80)
04-10 14:50:19.099 E/AndroidRuntime(9704): at dalvik.system.DexFile.<init>(DexFile.java:59)
04-10 14:50:19.099 E/AndroidRuntime(9704): at dalvik.system.DexPathList.loadDexFile(DexPathList.java:279)
04-10 14:50:19.099 E/AndroidRuntime(9704): at dalvik.system.DexPathList.makePathElements(DexPathList.java:248)
04-10 14:50:19.099 E/AndroidRuntime(9704): at dalvik.system.DexPathList.<init>(DexPathList.java:120)
04-10 14:50:19.099 E/AndroidRuntime(9704): at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48)
04-10 14:50:19.099 E/AndroidRuntime(9704): at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65)
04-10 14:50:19.099 E/AndroidRuntime(9704): at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:57)
04-10 14:50:19.099 E/AndroidRuntime(9704): at android.app.LoadedApk.getClassLoader(LoadedApk.java:420)
04-10 14:50:19.099 E/AndroidRuntime(9704): at android.app.LoadedApk.makeApplication(LoadedApk.java:612)
04-10 14:50:19.099 E/AndroidRuntime(9704): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4768)
04-10 14:50:19.099 E/AndroidRuntime(9704): at android.app.ActivityThread.access$1600(ActivityThread.java:157)
04-10 14:50:19.099 E/AndroidRuntime(9704): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1417)
04-10 14:50:19.099 E/AndroidRuntime(9704): ... 6 more
04-10 14:50:19.099 E/AndroidRuntime(9704): Suppressed: java.lang.ClassNotFoundException: com.lge.locksettings.LockSettingsDB$Shortcut
04-10 14:50:19.099 E/AndroidRuntime(9704): at java.lang.Class.classForName(Native Method)
04-10 14:50:19.099 E/AndroidRuntime(9704): at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
04-10 14:50:19.099 E/AndroidRuntime(9704): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
04-10 14:50:19.099 E/AndroidRuntime(9704): at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
04-10 14:50:19.099 E/AndroidRuntime(9704): ... 16 more
04-10 14:50:19.099 E/AndroidRuntime(9704): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
04-10 14:50:19.181 E/linker (1405): readlink('/proc/self/fd/273') failed: Permission denied [fd=273]
04-10 14:50:19.181 E/linker (1405): warning: unable to get realpath for the library "/vendor/lib64/egl/eglSubDriverAndroid.so". Will use given name.
04-10 14:50:21.400 I/Process (9704): Sending signal. PID: 9704 SIG: 9
04-10 14:50:22.517 I/WeatherAncestor(7521): onReceive, action: com.lge.launcher2.RESUME, Time(hour:min:sec) 14:50:22
04-10 14:50:22.518 I/LayoutUtil(7521): the weather widgets(using time tick) are gone.
04-10 14:50:22.518 I/LayoutUtil(7521): All the weather widget is gone.
04-10 14:50:22.519 I/LayoutUtil(7521): the weather widgets(using time tick) are gone.
04-10 14:50:22.519 I/LayoutUtil(7521): All the weather widget is gone.
04-10 14:50:22.519 I/WeatherAncestor(7521): onReceive has processed, action: com.lge.launcher2.RESUME, Time(hour:min:sec) 14:50:22
04-10 14:50:24.815 W/SplitWindow(9611): update focus...

Related

[Q] Porting PAC rom - some problems

Hello everyone,
I have some problems with porting PAC to HTC Sensation:
1. getVolumeState(/mnt/usbdisk): Unknown volume - beacuse of that I have f/c on settings/storage and can't mount SD card. Workaround - pull and push sd card than can it read it. Here is full logcat:
Code:
W/MountService( 436): getVolumeState(/mnt/usbdisk): Unknown volume
D/AndroidRuntime(13478): Shutting down VM
W/dalvikvm(13478): threadid=1: thread exiting with uncaught exception (group=0x40af5930)
E/AndroidRuntime(13478): FATAL EXCEPTION: main
E/AndroidRuntime(13478): java.lang.IllegalArgumentException
E/AndroidRuntime(13478): at android.os.Parcel.readException(Parcel.java:1429)
E/AndroidRuntime(13478): at android.os.Parcel.readException(Parcel.java:1379)
E/AndroidRuntime(13478): at android.os.storage.IMountService$Stub$Proxy.getVolumeState(IMountService.java:241)
E/AndroidRuntime(13478): at android.os.storage.StorageManager.getVolumeState(StorageManager.java:555)
E/AndroidRuntime(13478): at com.android.settings.deviceinfo.StorageVolumePreferenceCategory.updatePreferencesFromState(StorageVolumePreferenceCategory.java:241)
E/AndroidRuntime(13478): at com.android.settings.deviceinfo.StorageVolumePreferenceCategory.updateApproximate(StorageVolumePreferenceCategory.java:335)
E/AndroidRuntime(13478): at com.android.settings.deviceinfo.StorageVolumePreferenceCategory$1.handleMessage(StorageVolumePreferenceCategory.java:91)
E/AndroidRuntime(13478): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(13478): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(13478): at android.app.ActivityThread.main(ActivityThread.java:5237)
E/AndroidRuntime(13478): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(13478): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(13478): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799)
E/AndroidRuntime(13478): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
E/AndroidRuntime(13478): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 436): Force finishing activity com.android.settings/.Settings
W/ActivityManager( 436): Activity pause timeout for ActivityRecord{40f15f58 u0 com.android.settings/.Settings}
W/ThrottleService( 436): unable to find stats for iface rmnet0
2. Menu settings doesn't work. After touching softkey or the key on the screen it doesn't show program settings. I don't know how to fix it...
Thanks for any help!
You can PM or answer this thread.
Regards,
Hellmanor.
bump.
bump again.
More logcat:
Code:
I/DefContainer-JNI( 1584): error opening: /storage/sdcard0: Permission denied
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0) returned 0
W/StorageMeasurement( 1919): Problem in container service
W/StorageMeasurement( 1919): java.lang.IllegalStateException: libcore.io.ErrnoException: statfs failed: ENOENT (No such file or directory)
W/StorageMeasurement( 1919): at android.os.Parcel.readException(Parcel.java:1433)
W/StorageMeasurement( 1919): at android.os.Parcel.readException(Parcel.java:1379)
W/StorageMeasurement( 1919): at com.android.internal.app.IMediaContainerService$Stub$Proxy.getFileSystemStats(IMediaContainerService.java:464)
W/StorageMeasurement( 1919): at com.android.settings.deviceinfo.StorageMeasurement$MeasurementHandler.measureApproximateStorage(StorageMeasurement.java:384)
W/StorageMeasurement( 1919): at com.android.settings.deviceinfo.StorageMeasurement$MeasurementHandler.handleMessage(StorageMeasurement.java:350)
W/StorageMeasurement( 1919): at android.os.Handler.dispatchMessage(Handler.java:99)
W/StorageMeasurement( 1919): at android.os.Looper.loop(Looper.java:137)
W/StorageMeasurement( 1919): at android.os.HandlerThread.run(HandlerThread.java:60)
I/DefContainer-JNI( 1584): error opening: /storage/sdcard0: Permission denied
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Android) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Podcasts) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/DCIM) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Ringtones) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Movies) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Alarms) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Music) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Notifications) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Pictures) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Download) returned 0
I/DefContainer-JNI( 1584): error opening: /storage/sdcard0: Permission denied
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0) returned 0
D/AndroidRuntime( 1919): Shutting down VM
W/dalvikvm( 1919): threadid=1: thread exiting with uncaught exception (group=0x40b09930)
W/MountService( 434): getVolumeState(/mnt/usbdisk): Unknown volume
E/AndroidRuntime( 1919): FATAL EXCEPTION: main
E/AndroidRuntime( 1919): java.lang.IllegalArgumentException
E/AndroidRuntime( 1919): at android.os.Parcel.readException(Parcel.java:1429)
E/AndroidRuntime( 1919): at android.os.Parcel.readException(Parcel.java:1379)
E/AndroidRuntime( 1919): at android.os.storage.IMountService$Stub$Proxy.getVolumeState(IMountService.java:241)
E/AndroidRuntime( 1919): at android.os.storage.StorageManager.getVolumeState(StorageManager.java:555)
E/AndroidRuntime( 1919): at com.android.settings.deviceinfo.StorageVolumePreferenceCategory.updatePreferencesFromState(StorageVolumePreferenceCategory.java:241)
E/AndroidRuntime( 1919): at com.android.settings.deviceinfo.StorageVolumePreferenceCategory.updateApproximate(StorageVolumePreferenceCategory.java:335)
E/AndroidRuntime( 1919): at com.android.settings.deviceinfo.StorageVolumePreferenceCategory$1.handleMessage(StorageVolumePreferenceCategory.java:91)
E/AndroidRuntime( 1919): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1919): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1919): at android.app.ActivityThread.main(ActivityThread.java:5237)
E/AndroidRuntime( 1919): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1919): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 1919): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799)
E/AndroidRuntime( 1919): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
E/AndroidRuntime( 1919): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 434): Force finishing activity com.android.settings/.Settings

Porting Rom, crashes after "unfortunately the process com.android.phone has stopped"

Porting Rom, crashes after "unfortunately the process com.android.phone has stopped"
I'm trying to port a 4.0.4 rom from the samsung galaxy note to the xperia play. I've crushed a good amount of bugs so far, but I still can't get it past the boot-splash except for a couple seconds after wiping the dalvik cache or not wiping data on first boot.
So when I flash my attempted port rom over itself with wiping everything but data it boots and I get to the android is updating screen and after it's finished optimizing all the apps a dialog box with "unfortunately the process com.android.phone has stopped" and I can see the android setup screen in the background. But immediately after the dialog box appears my phone soft reboots (it goes immediately to the boot-splash) and is stuck at the boot-splash.
If I flash the attempted port rom after wiping everything including data I'm just stuck at the boot-splash screen.
Here is the logcat when the phone crashes after the error dialog onscreen:
Code:
[ 01-06 06:21:43.507 2024:0x7e8 E/AndroidRuntime ]
FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to create application com.android.phone.PhoneApp: java.lang.RuntimeException: java.lang.ClassNotFoundException: com.android.internal.telephony.SemcRIL
at android.app.ActivityThread.handleBindApplication(ActivityThread.java)
at android.app.ActivityThread.access$1300(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at android.app.ActivityThread.main(ActivityThread.java)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: com.android.internal.telephony.SemcRIL
at com.android.internal.telephony.PhoneFactory.makeDefaultPhone(PhoneFactory.java)
at com.android.internal.telephony.PhoneFactory.makeDefaultPhones(PhoneFactory.java)
at com.android.phone.PhoneApp.onCreate(PhoneApp.java:443)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java)
... 11 more
Caused by: java.lang.ClassNotFoundException: com.android.internal.telephony.SemcRIL
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:217)
at java.lang.Class.forName(Class.java:172)
... 15 more
Caused by: java.lang.NoClassDefFoundError: com/android/internal/telephony/SemcRIL
... 18 more
Caused by: java.lang.ClassNotFoundException: com.android.internal.telephony.SemcRIL
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
... 18 more
Right here also seems to be where the setup wizard fails to start or something similar, does anyone know what this log means?
Code:
[ 01-06 07:09:05.237 1923:0x783 E/ViewRootImpl ]
IllegalArgumentException locking surface
java.lang.IllegalArgumentException
at android.view.Surface.lockCanvasNative(Native Method)
at android.view.Surface.lockCanvas(Surface.java)
at android.view.ViewRootImpl.draw(ViewRootImpl.java)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java)
at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at android.app.ActivityThread.main(ActivityThread.java)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
at dalvik.system.NativeStart.main(Native Method)
[ 01-06 07:09:05.237 1923:0x783 D/PhoneStatusBar ]
disable: < EXPAND ICONS ALERTS ticker SYSTEM_INFO back HOME RECENT clock >
[ 01-06 07:09:05.237 1923:0x7cc I/StorageNotification ]
UMS connection changed to true (media state removed)
[ 01-06 07:09:05.237 2069:0x815 E/AndroidRuntime ]
FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to get provider com.google.android.gsf.subscribedfeeds.SubscribedFeedsProvider: java.lang.NullPointerException
at android.app.ActivityThread.installProvider(ActivityThread.java)
at android.app.ActivityThread.installContentProviders(ActivityThread.java)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java)
at android.app.ActivityThread.access$1300(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at android.app.ActivityThread.main(ActivityThread.java)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at android.accounts.AccountManager.getAccounts(AccountManager.java)
at android.accounts.AccountManager.addOnAccountsUpdatedListener(AccountManager.java)
at com.google.android.gsf.subscribedfeeds.AbstractSyncableContentProvider.onCreate(AbstractSyncableContentProvider.java:169)
at com.google.android.gsf.subscribedfeeds.SubscribedFeedsProvider.onCreate(SubscribedFeedsProvider.java:78)
at android.content.ContentProvider.attachInfo(ContentProvider.java)
... 13 more
[ 01-06 07:09:05.247 2069:0x815 I/Process ]
Sending signal. PID: 2069 SIG: 9
[ 01-06 07:09:05.247 2069:0x815 E/AndroidRuntime ]
Error reporting crash
android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java)
at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
at dalvik.system.NativeStart.main(Native Method)
[ 01-06 07:09:05.257 2020:0x7e4 E/InputQueue-JNI ]
channel '2bcfa598 com.google.android.setupwizard/com.google.android.setupwizard.WelcomeActivity (client)' ~ Publisher closed input channel or an error occurred. events=0x8
[ 01-06 07:09:05.267 1824:0x720 I/Zygote ]
Exit zygote because system server (1830) has terminated
[ 01-06 07:09:05.427 2118:0x846 D/AndroidRuntime ]
I hope someone can help me
Thank's to everyone in advance :fingers-crossed:
So I can't interact with my phone, but after digging a little deeper I was able to get it to not reboot, but now it flashes from a blank screen to a screen that says "unfortunately the process com.android.phone has stopped" with the statusbar indicating no network and the app to set up your phone in the background and adb produced some new errors that I can't begin to understand.
Code:
01-06 11:33:56.058 8063:0x1f9e E/AndroidRuntime ]
*** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.ServerThread
java.lang.RuntimeException: Error receiving broadcast Intent { act=android.hardware.usb.action.USB_STATE flg=0x20000010 (has extras) } in [email protected]
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java)
at android.os.Handler.handleCallback(Handler.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at com.android.server.ServerThread.run(SystemServer.java:826)
Caused by: java.lang.IllegalArgumentException
at com.android.server.MountService.getVolumeState(MountService.java:1404)
at com.android.server.MountService.notifyShareAvailabilityChange(MountService.java:1026)
at com.android.server.MountService.access$1300(MountService.java:92)
at com.android.server.MountService$1.onReceive(MountService.java:546)
... 5 more
[ 01-06 11:33:56.248 8224:0x2020 E/AbstractCompatWrapper ]
Invalid input to AbstructCompatWrapper
[ 01-06 11:33:56.248 8224:0x2020 E/CompatUtils ]
Exception in invoke: NullPointerException
[ 01-06 11:33:56.248 8224:0x2020 E/CompatUtils ]
Exception in invoke: InvocationTargetException
[ 01-06 11:33:56.268 8241:0x2031 E/AndroidRuntime ]
FATAL EXCEPTION: main
java.lang.AssertionError: android.os.DeadObjectException
at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java)
at android.app.LoadedApk.getClassLoader(LoadedApk.java)
at android.app.LoadedApk.makeApplication(LoadedApk.java)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java)
at android.app.ActivityThread.access$1300(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at android.app.ActivityThread.main(ActivityThread.java)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at android.content.pm.IPackageManager$Stub$Proxy.getPackageInfo(IPackageManager.java)
... 14 more
[ 01-06 11:33:56.268 8241:0x2031 E/AndroidRuntime ]
Error reporting crash
android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java)
at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
at dalvik.system.NativeStart.main(Native Method)
[ 01-06 11:33:56.278 8224:0x2020 E/AbstractCompatWrapper ]
Invalid input to AbstructCompatWrapper
[ 01-06 11:33:56.278 8224:0x2020 E/CompatUtils ]
Exception in invoke: NullPointerException
[ 01-06 11:33:56.288 8254:0x203e E/AndroidRuntime ]
FATAL EXCEPTION: main
java.lang.AssertionError: android.os.DeadObjectException
at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java)
at android.app.LoadedApk.getClassLoader(LoadedApk.java)
at android.app.LoadedApk.makeApplication(LoadedApk.java)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java)
at android.app.ActivityThread.access$1300(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at android.app.ActivityThread.main(ActivityThread.java)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at android.content.pm.IPackageManager$Stub$Proxy.getPackageInfo(IPackageManager.java)
... 14 more
[ 01-06 11:33:56.288 8254:0x203e E/AndroidRuntime ]
Error reporting crash
android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java)
at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
at dalvik.system.NativeStart.main(Native Method)
[ 01-06 11:33:56.328 8224:0x2020 E/AndroidRuntime ]
FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to create service com.android.inputmethod.latin.LatinIME: java.lang.NullPointerException
at android.app.ActivityThread.handleCreateService(ActivityThread.java)
at android.app.ActivityThread.access$1600(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at android.app.ActivityThread.main(ActivityThread.java)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at android.view.accessibility.AccessibilityManager.<init>(AccessibilityManager.java)
at android.view.accessibility.AccessibilityManager.getInstance(AccessibilityManager.java)
at android.app.ContextImpl$2.getService(ContextImpl.java)
at android.app.ContextImpl.getSystemService(ContextImpl.java)
at android.content.ContextWrapper.getSystemService(ContextWrapper.java)
at com.android.inputmethod.accessibility.AccessibilityUtils.initInternal(AccessibilityUtils.java:79)
at com.android.inputmethod.accessibility.AccessibilityUtils.init(AccessibilityUtils.java:63)
at com.android.inputmethod.latin.LatinIME.onCreate(LatinIME.java:495)
... 11 more
[ 01-06 11:33:56.328 8224:0x2020 E/AndroidRuntime ]
Error reporting crash
android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java)
at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
at dalvik.system.NativeStart.main(Native Method)
[ 01-06 11:33:56.328 1608:0x648 E/installd ]
eof
[ 01-06 11:33:56.328 1608:0x648 E/installd ]
failed to read size
[ 01-06 11:33:56.418 8158:0x1fde E/InputQueue-JNI ]
channel '2b8e8580 RecentsPanel (client)' ~ Publisher closed input channel or an error occurred. events=0x8
[ 01-06 11:33:56.418 8158:0x1fde E/AudioManager ]
Dead object in getRingerMode
android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at android.media.IAudioService$Stub$Proxy.getRingerMode(IAudioService.java)
at android.media.AudioManager.getRingerMode(AudioManager.java)
at com.android.systemui.statusbar.phone.PhoneStatusBarPolicy.updateVolume(PhoneStatusBarPolicy.java:245)
at com.android.systemui.statusbar.phone.PhoneStatusBarPolicy.access$300(PhoneStatusBarPolicy.java:53)
at com.android.systemui.statusbar.phone.PhoneStatusBarPolicy$1.onReceive(PhoneStatusBarPolicy.java:133)
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java)
at android.os.Handler.handleCallback(Handler.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at android.app.ActivityThread.main(ActivityThread.java)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
at dalvik.system.NativeStart.main(Native Method)
[ 01-06 11:33:56.428 8158:0x1fde E/AudioManager ]
Dead object in shouldVibrate
android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at android.media.IAudioService$Stub$Proxy.shouldVibrate(IAudioService.java)
at android.media.AudioManager.shouldVibrate(AudioManager.java)
at com.android.systemui.statusbar.phone.PhoneStatusBarPolicy.updateVolume(PhoneStatusBarPolicy.java:251)
at com.android.systemui.statusbar.phone.PhoneStatusBarPolicy.access$300(PhoneStatusBarPolicy.java:53)
at com.android.systemui.statusbar.phone.PhoneStatusBarPolicy$1.onReceive(PhoneStatusBarPolicy.java:133)
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java)
at android.os.Handler.handleCallback(Handler.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at android.app.ActivityThread.main(ActivityThread.java)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
at dalvik.system.NativeStart.main(Native Method)
[ 01-06 11:33:56.438 8158:0x1fde E/AndroidRuntime ]
FATAL EXCEPTION: main
java.lang.RuntimeException: Package manager has died
at android.app.ApplicationPackageManager.getApplicationInfo(ApplicationPackageManager.java)
at android.app.ApplicationPackageManager.getResourcesForApplication(ApplicationPackageManager.java)
at com.android.systemui.statusbar.StatusBarIconView.getIcon(StatusBarIconView.java:185)
at com.android.systemui.statusbar.StatusBarIconView.getIcon(StatusBarIconView.java:169)
at com.android.systemui.statusbar.StatusBarIconView.set(StatusBarIconView.java:138)
at com.android.systemui.statusbar.StatusBarIconView.set(StatusBarIconView.java:122)
at com.android.systemui.statusbar.phone.PhoneStatusBar.addIcon(PhoneStatusBar.java:734)
at com.android.systemui.statusbar.CommandQueue$H.handleMessage(CommandQueue.java:212)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at android.app.ActivityThread.main(ActivityThread.java)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at android.content.pm.IPackageManager$Stub$Proxy.getApplicationInfo(IPackageManager.java)
... 16 more
[ 01-06 11:33:56.438 8158:0x1fde E/AndroidRuntime ]
Error reporting crash
android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java)
at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
at dalvik.system.NativeStart.main(Native Method)

[Q] CM12 Dialer on Stock Lollipop

Hi!
Does anyone know how you would go about to get the CM12 dialer to work in a stock lollipop rom.
I've managed to build the dialer from source using
Code:
make Dialer
in the repo tree. This produces a Dialer.apk in out/target/product/generic/system/priv-app/Dialer and a Dialer.odex in out/target/product/generic/system/priv-app/Dialer/arm.
I've pushed these to my phone and placed them in /system/apps/cmDialer and fixed permissions to 644.
However, I get an FC as soon as I try to start the app.
It seems that the main error is
Code:
IOException: Failed to open oat file from /system/app/cmDialer/arm/Dialer.odex (error) (no dalvik_cache availible) and relocation failed.
This is however preceded by a stacktrace about ClassNotFoundException but I'm guessing the class can't be found because the .odex file can't be read for whatever reason.
Here's the full stack:
Code:
03-19 23:31:36.675: E/AndroidRuntime(11411): FATAL EXCEPTION: main
03-19 23:31:36.675: E/AndroidRuntime(11411): Process: com.android.dialer, PID: 11411
03-19 23:31:36.675: E/AndroidRuntime(11411): java.lang.RuntimeException: Unable to instantiate application com.android.dialer.DialerApplication: java.lang.ClassNotFoundException: Didn't find class "com.android.dialer.DialerApplication" on path: DexPathList[[zip file "/system/app/cmDialer/Dialer.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
03-19 23:31:36.675: E/AndroidRuntime(11411): at android.app.LoadedApk.makeApplication(LoadedApk.java:569)
03-19 23:31:36.675: E/AndroidRuntime(11411): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4591)
03-19 23:31:36.675: E/AndroidRuntime(11411): at android.app.ActivityThread.access$1500(ActivityThread.java:149)
03-19 23:31:36.675: E/AndroidRuntime(11411): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1385)
03-19 23:31:36.675: E/AndroidRuntime(11411): at android.os.Handler.dispatchMessage(Handler.java:102)
03-19 23:31:36.675: E/AndroidRuntime(11411): at android.os.Looper.loop(Looper.java:211)
03-19 23:31:36.675: E/AndroidRuntime(11411): at android.app.ActivityThread.main(ActivityThread.java:5321)
03-19 23:31:36.675: E/AndroidRuntime(11411): at java.lang.reflect.Method.invoke(Native Method)
03-19 23:31:36.675: E/AndroidRuntime(11411): at java.lang.reflect.Method.invoke(Method.java:372)
03-19 23:31:36.675: E/AndroidRuntime(11411): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1016)
03-19 23:31:36.675: E/AndroidRuntime(11411): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:811)
03-19 23:31:36.675: E/AndroidRuntime(11411): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.dialer.DialerApplication" on path: DexPathList[[zip file "/system/app/cmDialer/Dialer.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
03-19 23:31:36.675: E/AndroidRuntime(11411): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
03-19 23:31:36.675: E/AndroidRuntime(11411): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
03-19 23:31:36.675: E/AndroidRuntime(11411): at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
03-19 23:31:36.675: E/AndroidRuntime(11411): at android.app.Instrumentation.newApplication(Instrumentation.java:979)
03-19 23:31:36.675: E/AndroidRuntime(11411): at android.app.LoadedApk.makeApplication(LoadedApk.java:564)
03-19 23:31:36.675: E/AndroidRuntime(11411): ... 10 more
03-19 23:31:36.675: E/AndroidRuntime(11411): Suppressed: java.io.IOException: Zip archive '/system/app/cmDialer/Dialer.apk' doesn't contain classes.dex (error msg: Entry not found)
03-19 23:31:36.675: E/AndroidRuntime(11411): at dalvik.system.DexFile.openDexFileNative(Native Method)
03-19 23:31:36.675: E/AndroidRuntime(11411): at dalvik.system.DexFile.openDexFile(DexFile.java:295)
03-19 23:31:36.675: E/AndroidRuntime(11411): at dalvik.system.DexFile.<init>(DexFile.java:80)
03-19 23:31:36.675: E/AndroidRuntime(11411): at dalvik.system.DexFile.<init>(DexFile.java:59)
03-19 23:31:36.675: E/AndroidRuntime(11411): at dalvik.system.DexPathList.loadDexFile(DexPathList.java:262)
03-19 23:31:36.675: E/AndroidRuntime(11411): at dalvik.system.DexPathList.makeDexElements(DexPathList.java:231)
03-19 23:31:36.675: E/AndroidRuntime(11411): at dalvik.system.DexPathList.<init>(DexPathList.java:109)
03-19 23:31:36.675: E/AndroidRuntime(11411): at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48)
03-19 23:31:36.675: E/AndroidRuntime(11411): at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65)
03-19 23:31:36.675: E/AndroidRuntime(11411): at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:57)
03-19 23:31:36.675: E/AndroidRuntime(11411): at android.app.LoadedApk.getClassLoader(LoadedApk.java:367)
03-19 23:31:36.675: E/AndroidRuntime(11411): at android.app.LoadedApk.makeApplication(LoadedApk.java:559)
03-19 23:31:36.675: E/AndroidRuntime(11411): ... 10 more
03-19 23:31:36.675: E/AndroidRuntime(11411): Caused by: java.io.IOException: Failed to open oat file from dex location '/system/app/cmDialer/Dialer.apk'
03-19 23:31:36.675: E/AndroidRuntime(11411): ... 22 more
03-19 23:31:36.675: E/AndroidRuntime(11411): Caused by: java.io.IOException: Failed to open oat file from /system/app/cmDialer/arm/Dialer.odex (error ) (no dalvik_cache availible) and relocation failed.
03-19 23:31:36.675: E/AndroidRuntime(11411): ... 22 more
03-19 23:31:36.675: E/AndroidRuntime(11411): Caused by: java.io.IOException:
03-19 23:31:36.675: E/AndroidRuntime(11411): ... 22 more
03-19 23:31:36.675: E/AndroidRuntime(11411): Suppressed: java.lang.ClassNotFoundException: com.android.dialer.DialerApplication
03-19 23:31:36.675: E/AndroidRuntime(11411): at java.lang.Class.classForName(Native Method)
03-19 23:31:36.675: E/AndroidRuntime(11411): at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
03-19 23:31:36.675: E/AndroidRuntime(11411): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
03-19 23:31:36.675: E/AndroidRuntime(11411): at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
03-19 23:31:36.675: E/AndroidRuntime(11411): ... 13 more
03-19 23:31:36.675: E/AndroidRuntime(11411): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
Anyone got any idea of what I'm doing wrong? Am I missing some files or something?
Thanks!
..
I managed to get a step further by deodexing the apk and adding the classes.dex file.
However, instead I get a VerifyError. Anyone seen that?

[ASK] force close RadioFM

I want ask
How to fix RadioFM app system so i cant use it.
Need help;
This is error logcat:
Process: com.sonyericsson.fmradio
PID: 12543
Flags: 0xc8be45
Package: com.sonyericsson.fmradio v4 (4.0)
Build: Sony/D2305/D2305:5.1.1/18.6.A.0.182/1643041205:user/release-keys
UUID: 3a62dbcc-4685-403b-9b41-35ffe14d968d
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/sonyericsson/fmradio/service/FmService;
at com.sonyericsson.fmradio.ui.FmRadioFeedback.<init>(FmRadioFeedback.java:63)
at com.sonyericsson.fmradio.ui.FmRadioActivity.connectToFmService(FmRadioActivity.java:449)
at com.sonyericsson.fmradio.ui.FmRadioActivity.onStart(FmRadioActivity.java:250)
at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1236)
at android.app.Activity.performStart(Activity.java:6006)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2342)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2442)
at android.app.ActivityThread.access$800(ActivityThread.java:156)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1351)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:211)
at android.app.ActivityThread.main(ActivityThread.java:5373)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.sonyericsson.fmradio.service.FmService" on path: DexPathList[[zip file "/system/app/Radio3/Radio3.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
... 16 more
Suppressed: java.lang.NoClassDefFoundError: com.sonyericsson.fmradio.service.FmService
at dalvik.system.DexFile.defineClassNative(Native Method)
at dalvik.system.DexFile.defineClass(DexFile.java:226)
at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:219)
at dalvik.system.DexPathList.findClass(DexPathList.java:321)
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:54)
... 18 more
Suppressed: java.lang.ClassNotFoundException: com.sonyericsson.fmradio.service.FmService
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)
... 17 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
Thanks before

[Q] Installing AOSP Dialer in stock Nexus 5X ROM problems

After successfully compiling AOSP Marshmallow 6.0.1 I tried to install the Dialer in a stock Nexus 5X ROM of the same build number.
AOSP build: MHC19J android-6.0.1_r22 bullhead user-debug
Nexus Stock ROM build: MHC19J
I install it by pushing the Dialer and Contacts apk to /system/priv-app and assigning proper SELinux permissions
Code:
chcon u:object_r:system_file:s0
to every newly added file and folder.
After booting up, launching Dialer results in the following error:
Code:
W/System(5353): ClassLoader referenced unknown path: /system/priv-app/Dialer/lib/arm64
D/AndroidRuntime(5353): Shutting down VM
E/AndroidRuntime(5353): FATAL EXCEPTION: main
E/AndroidRuntime(5353): Process: com.android.dialer, PID: 5353
E/AndroidRuntime(5353): java.lang.RuntimeException: Unable to instantiate application com.android.dialer.DialerApplication: java.lang.ClassNotFoundException: Didn't find class "com.android.dialer.DialerApplication" on path: DexPathList[[zip file "/system/priv-app/Dialer/Dialer.apk"],nativeLibraryDirectories=[/system/priv-app/Dialer/lib/arm64, /vendor/lib64, /system/lib64]]
E/AndroidRuntime(5353): at android.app.LoadedApk.makeApplication(LoadedApk.java:578)
E/AndroidRuntime(5353): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4685)
E/AndroidRuntime(5353): at android.app.ActivityThread.-wrap1(ActivityThread.java)
E/AndroidRuntime(5353): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)
E/AndroidRuntime(5353): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(5353): at android.os.Looper.loop(Looper.java:148)
E/AndroidRuntime(5353): at android.app.ActivityThread.main(ActivityThread.java:5422)
E/AndroidRuntime(5353): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(5353): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
E/AndroidRuntime(5353): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
E/AndroidRuntime(5353): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.dialer.DialerApplication" on path: DexPathList[[zip file "/system/priv-app/Dialer/Dialer.apk"],nativeLibraryDirectories=[/system/priv-app/Dialer/lib/arm64, /vendor/lib64, /system/lib64]]
E/AndroidRuntime(5353): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
E/AndroidRuntime(5353): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
E/AndroidRuntime(5353): at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
E/AndroidRuntime(5353): at android.app.Instrumentation.newApplication(Instrumentation.java:981)
E/AndroidRuntime(5353): at android.app.LoadedApk.makeApplication(LoadedApk.java:573)
E/AndroidRuntime(5353): ... 9 more
E/AndroidRuntime(5353): Suppressed: java.io.IOException: No original dex files found for dex location /system/priv-app/Dialer/Dialer.apk
E/AndroidRuntime(5353): at dalvik.system.DexFile.openDexFileNative(Native Method)
E/AndroidRuntime(5353): at dalvik.system.DexFile.openDexFile(DexFile.java:295)
E/AndroidRuntime(5353): at dalvik.system.DexFile.<init>(DexFile.java:80)
E/AndroidRuntime(5353): at dalvik.system.DexFile.<init>(DexFile.java:59)
E/AndroidRuntime(5353): at dalvik.system.DexPathList.loadDexFile(DexPathList.java:279)
E/AndroidRuntime(5353): at dalvik.system.DexPathList.makePathElements(DexPathList.java:248)
E/AndroidRuntime(5353): at dalvik.system.DexPathList.<init>(DexPathList.java:120)
E/AndroidRuntime(5353): at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48)
E/AndroidRuntime(5353): at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65)
E/AndroidRuntime(5353): at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:58)
E/AndroidRuntime(5353): at android.app.LoadedApk.getClassLoader(LoadedApk.java:376)
E/AndroidRuntime(5353): at android.app.LoadedApk.makeApplication(LoadedApk.java:568)
E/AndroidRuntime(5353): ... 9 more
E/AndroidRuntime(5353): Suppressed: java.lang.ClassNotFoundException: com.android.dialer.DialerApplication
E/AndroidRuntime(5353): at java.lang.Class.classForName(Native Method)
E/AndroidRuntime(5353): at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
E/AndroidRuntime(5353): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
E/AndroidRuntime(5353): at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
E/AndroidRuntime(5353): ... 12 more
E/AndroidRuntime(5353): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
I have searched for this problem but I have only found solutions for when it is a normal Android Studio app, but nothing on AOSP.

Categories

Resources