[Q] CM12 Dialer on Stock Lollipop - Xperia Z2 Q&A, Help & Troubleshooting

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?

Related

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&A] [GAPPS] Google Apps for Android 4.4/KitKat

Q&A for [GAPPS] Google Apps for Android 4.4/KitKat
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [GAPPS] Google Apps for Android 4.4/KitKat. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
DP FH said:
I got this and play store and gms keeps crashing.
E/MediaFocusControl( 1885): java.app.GmsApplication: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.app.GmsApplication" on path: DexPathLt$MethodAndArgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime( 2260): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
E/AndroidRuntime( 2260): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2260): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.app.GmsApplication" on path: DexPathList[[zip file "/system/framework/com.android.media.remotedisplay.jar", zip file "/system/framework/com.android.location.provider.jar", zip file "/system/priv-app/PrebuiltGmsCore.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
E/AndroidRuntime( 2260): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
E/AndroidRuntime( 2260): at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
E/AndroidRuntime( 2260): at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
E/AndroidRuntime( 2260): at android.app.Instrumentation.newApplication(Instrumentation.java:975)
E/AndroidRuntime( 2260): at android.app.LoadedApk.makeApplication(LoadedApk.java:509)
E/AndroidRuntime( 2260): ... 11 more
E/AndroidRuntime( 2260): Suppressed: java.io.IOException: unable to open DEX file
E/AndroidRuntime( 2260): at dalvik.system.DexFile.openDexFileNative(Native Method)
E/AndroidRuntime( 2260): at dalvik.system.DexFile.openDexFile(DexFile.java:296)
E/AndroidRuntime( 2260): at dalvik.system.DexFile.<init>(DexFile.java:80)
E/AndroidRuntime( 2260): at dalvik.system.DexFile.<init>(DexFile.java:59)
E/AndroidRuntime( 2260): at dalvik.system.DexPathList.loadDexFile(DexPathList.java:263)
E/AndroidRuntime( 2260): at dalvik.system.DexPathList.makeDexElements(DexPathList.java:230)E/AndroidRuntime( 2260): at dalvik.system.DexPathList.<init>(DexPathList.java:112)
E/AndroidRuntime( 2260): at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48)
E/AndroidRuntime( 2260): at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65)
E/AndroidRuntime( 2260): at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:57)
E/AndroidRuntime( 2260): at android.app.LoadedApk.getClassLoader(LoadedApk.java:321)
E/AndroidRuntime( 2260): at android.app.LoadedApk.makeApplication(LoadedApk.java:507)
E/AndroidRuntime( 2260): ... 11 more
E/dalvikvm( 2283): Dex cache directory isn't writable: /data/dalvik-cache
E/AndroidRuntime( 2283): FATAL EXCEPTION: main
E/AndroidRuntime( 2283): Process: com.google.process.location, PID: 2283
E/AndroidRuntime( 2283): java.lang.RuntimeException: Unable to get provider com.google.android.location.reporting.service.ReportingContentProvider: java.lang.ClassNotFoundException: Didn't find class "com.google.android.location.reporting.service.ReportingContentProvider" on path: DexPathList[[zip file "/system/framework/com.android.media.remotedisplay.jar", zip file "/system/framework/com.android.location.provider.jar", zip file "/system/priv-app/PrebuiltGmsCore.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
E/AndroidRuntime( 2283): at android.app.ActivityThread.installProvider(ActivityThread.java:4955)
E/AndroidRuntime( 2283): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4547)
E/AndroidRuntime( 2283): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4487)
E/AndroidRuntime( 2283): at android.app.ActivityThread.access$1500(ActivityThread.java:144)
E/AndroidRuntime( 2283): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1265)
E/AndroidRuntime( 2283): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 2283): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 2283): at android.app.ActivityThread.main(ActivityThread.java:5179)
E/AndroidRuntime( 2283): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2283): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 2283): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime( 2283): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
E/AndroidRuntime( 2283): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2283): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.location.reporting.service.ReportingContentProvider" on path: DexPathList[[zip file "/system/framework/com.android.media.remotedisplay.jar", zip file "/system/framework/com.android.location.provider.jar", zip file "/system/priv-app/PrebuiltGmsCore.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
E/AndroidRuntime( 2283): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
E/AndroidRuntime( 2283): at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
E/AndroidRuntime( 2283): at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
E/AndroidRuntime( 2283): at android.app.ActivityThread.installProvider(ActivityThread.java:4940)
E/AndroidRuntime( 2283): ... 12 more
E/AndroidRuntime( 2283): Suppressed: java.io.IOException: unable to open DEX file
E/AndroidRuntime( 2283): at dalvik.system.DexFile.openDexFileNative(Native Method)
E/AndroidRuntime( 2283): at dalvik.system.DexFile.openDexFile(DexFile.java:296)
E/AndroidRuntime( 2283): at dalvik.system.DexFile.<init>(DexFile.java:80)
E/AndroidRuntime( 2283): at dalvik.system.DexFile.<init>(DexFile.java:59)
E/AndroidRuntime( 2283): at dalvik.system.DexPathList.loadDexFile(DexPathList.java:263)
E/AndroidRuntime( 2283): at dalvik.system.DexPathList.makeDexElements(DexPathList.java:230)E/AndroidRuntime( 2283): at dalvik.system.DexPathList.<init>(DexPathList.java:112)
E/AndroidRuntime( 2283): at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48)
E/AndroidRuntime( 2283): at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65)
E/AndroidRuntime( 2283): at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:57)
E/AndroidRuntime( 2283): at android.app.LoadedApk.getClassLoader(LoadedApk.java:321)
E/AndroidRuntime( 2283): at android.app.ContextImpl.getClassLoader(ContextImpl.java:734)
E/AndroidRuntime( 2283): at android.app.ActivityThread.installProvider(ActivityThread.java:4939)
E/AndroidRuntime( 2283): ... 12 more
and much more of this...
Click to expand...
Click to collapse
Ditto. And stuck as now no one seems to be working on WFS at all.

[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.

FATAL EXCEPTION: ContactsProviderWorker

Hello,
When I use Facebook, there IS thé following error :
Code:
FATAL EXCEPTION: ContactsProviderWorker
Process: android.process.acore, PID: 6295
java.lang.RuntimeException: Package manager has died
at android.app.ApplicationPackageManager.queryContentProviders(ApplicationPackageManager.java:696)
at com.android.providers.contacts.ContactDirectoryManager.getDirectoryProviderPackages(ContactDirectoryManager.java:219)
at com.android.providers.contacts.ContactDirectoryManager.scanAllPackages(ContactDirectoryManager.java:256)
at com.android.providers.contacts.ContactDirectoryManager.scanAllPackagesIfNeeded(ContactDirectoryManager.java:191)
at com.android.providers.contacts.ContactDirectoryManager.scanAllPackages(ContactDirectoryManager.java:181)
at com.android.providers.contacts.ContactsProvider2.updateDirectoriesInBackground(ContactsProvider2.java:1885)
at com.android.providers.contacts.ContactsProvider2.performBackgroundTask(ContactsProvider2.java:1704)
at com.android.providers.contacts.ContactsProvider2$1.handleMessage(ContactsProvider2.java:1523)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)
Caused by: android.os.TransactionTooLargeException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:496)
at android.content.pm.IPackageManager$Stub$Proxy.queryContentProviders(IPackageManager.java:2842)
at android.app.ApplicationPackageManager.queryContentProviders(ApplicationPackageManager.java:694)
... 10 more
What is the origin of problem and how correct?
I use WIKO PULP 4G with ANDROID 5.1.1
Thanks.

Categories

Resources