Some crashes to reboot - Omni Q&A

Hi!
I use a google-free Omnirom on my Xperia X. There are 2 apps, both from f-droid, that crash the device to reboot. They work with Lineage on an other device. The apps are osmand, which generates an exceptionlog, and usbmountr.
Does any OR dev like to examine this? If yes, what files will I have to post? Maybe debugging it live in irc or jabber? I don't know, if this is a general OR problem, or a problem with the 64bit system.

Here is what osmand logs:
Code:
07.08.2017 8:32:35
Exception occured in thread Thread[main,5,main] :
java.lang.RuntimeException: Unable to resume activity {net.osmand.plus/net.osmand.plus.activities.MapActivity}: java.lang.RuntimeException: android.os.DeadSystemException
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3445)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3485)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2748)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1489)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6171)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)
Caused by: java.lang.RuntimeException: android.os.DeadSystemException
at android.net.ConnectivityManager.getActiveNetworkInfo(ConnectivityManager.java:761)
at net.osmand.plus.OsmandSettings.isInternetConnected(OsmandSettings.java:265)
at net.osmand.plus.OsmandSettings.isInternetConnectionAvailable(OsmandSettings.java:252)
at net.osmand.plus.OsmandSettings.isInternetConnectionAvailable(OsmandSettings.java:246)
at net.osmand.plus.helpers.DiscountHelper.checkAndDisplay(DiscountHelper.java:54)
at net.osmand.plus.activities.MapActivity.onResume(MapActivity.java:637)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1270)
at android.app.Activity.performResume(Activity.java:6786)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3422)
... 10 more
Caused by: android.os.DeadSystemException
... 19 more

Related

CyonageMod 7.1 7.1 RC, 7.2 problem on Motorola defy

Hi,
I just installed all the ROMs for the Defy that are available here. I've also tryed the ICS but I had other problems. So, the problem is that i am unable to install any application that use SIP (Viber, Fring, Skype - is saying that "Please reinstall Skype").
After I installed MIUI i found a stack trace and it seems that a library is missing:
Code:
device_model:umts_jordan
build_version:2.1.6
condition:1
processName:com.viber.voip
pid:3683
uid:10042
tag:null
shortMsg:java.lang.UnsatisfiedLinkError
longMsg:java.lang.UnsatisfiedLinkError: Couldn't load VoipEngineNative: findLibrary returned null
stackTrace:java.lang.ExceptionInInitializerError
at com.viber.voip.ViberTabActivity.onCreate(ViberTabActivity.java:17)
at com.viber.voip.IdleActivity.onCreate(IdleActivity.java:98)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1628)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1680)
at android.app.ActivityThread.access$1500(ActivityThread.java:117)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3703)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ExceptionInInitializerError
at com.viber.voip.sound.SoundFactory.<clinit>(SoundFactory.java:83)
... 15 more
Caused by: java.lang.ExceptionInInitializerError
at com.viber.voip.sound.SoundFactory.chooseSoundServiceModelImplInternal(SoundFactory.java:94)
at com.viber.voip.sound.SoundFactory.getSoundServiceForModel(SoundFactory.java:106)
at com.viber.voip.sound.SoundFactory.getSoundService(SoundFactory.java:119)
at com.viber.voip.ViberApplication.getSoundService(ViberApplication.java:727)
at com.viber.voip.sound.ToneGeneratorFactory.<clinit>(ToneGeneratorFactory.java:32)
... 16 more
Caused by: java.lang.UnsatisfiedLinkError: Couldn't load VoipEngineNative: findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java:429)
at java.lang.System.loadLibrary(System.java:554)
The fring and Viber programs are stop working and they crash.
Also when I press the Speech button on the widget search, it open the Market application and is searching: pname:com.google.android.voicesearch, but there is no results in the market.
Maybe is just a problem of mine ...
Thank you
any ideeas ?
I have same doubt
try to download google's (voice search)!
.
Thread moved. Would advise you to read forum rules and post in correct section.
Failure to comply with forum rules will result in an infraction and/or ban depending on severity of rule break.

LogCat - findLibrary returned null, how to debug?

Hello,
I have some applicationa that crashes. I know why it crashes:
Code:
E/AndroidRuntime( 6271): FATAL EXCEPTION: main
E/AndroidRuntime( 6271): java.lang.UnsatisfiedLinkError: Couldn't load jni_hw_mosaic from loader dalvik.system.PathClassLoader[DexPathList[dexElements=[zip file "/system/framework/com.google.android.media.effects.jar", zip file "/system/app/Camera.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]]: findLibrary returned null
Of course, some native library not found. But I can't see most interesting thing - which library is missing. Is there any way to determine what library I need? Any debug, logcat or anything else?

com.androiphone stoped

Need help. In all rom 12.1 cm I install it appears me the message com.androiphone stop . already installed cm12.1 by Rox , Blissboop and Resurrection Remix all the times with clear install. Ihave I9301 and 2.8.5 TWRP. What can I do?
noslen69 said:
Need help. In all rom 12.1 cm I install it appears me the message com.androiphone stop . already installed cm12.1 by Rox , Blissboop and Resurrection Remix all the times with clear install. Ihave I9301 and 2.8.5 TWRP. What can I do?
Click to expand...
Click to collapse
Do you use xposed by any chance.
I have this same problem with CM 12.1, Galaxy S3 Neo GT-I9301i. I did a logcat which looks like so, at the moment of process crash:
Code:
--------- beginning of crash
E/AndroidRuntime( 1256): FATAL EXCEPTION: main
E/AndroidRuntime( 1256): Process: com.android.phone, PID: 1256
E/AndroidRuntime( 1256): java.lang.NullPointerException: Attempt to invoke virtual method 'void java.util.ArrayList.clear()' on a null object reference
E/AndroidRuntime( 1256): at com.android.internal.telephony.dataconnection.DcTracker.createAllApnList(DcTracker.java:2546)
E/AndroidRuntime( 1256): at com.android.internal.telephony.dataconnection.DcTracker.tryRestartDataConnections(DcTracker.java:1541)
E/AndroidRuntime( 1256): at com.android.internal.telephony.dataconnection.DcTracker.handleMessage(DcTracker.java:3085)
E/AndroidRuntime( 1256): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 1256): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 1256): at android.app.ActivityThread.main(ActivityThread.java:5294)
E/AndroidRuntime( 1256): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 1256): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 1256): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
E/AndroidRuntime( 1256): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
E/AndroidRuntime( 1256): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115)
And the last line leads me to believe it's the xposed issue. In the first few short tests I made with xposed framework uninstalled, this seems to fix the problem. And I'm trying to find other people to corroborate the issue.
Cheers
No. I dont have xposed instaled. Thanks
Please help me. Her is my logcat about the error com.androidphone stop in every CM 12.1 that i install in my s3 neo 9301I.
Any solution or back to stock. Thanks if someone cold help me, because i like CM 12.1 very much.
This is my first Logcat and i dont now if is allright.
http://forum.xda-developers.com/attachment.php?attachmentid=3515979&stc=1&d=1445597496

[Q]Sos, Google contact sync crash after cm13 install

Just installed Android 6.0 and cm13
After adding Google account, contacts unfortunately crash while syncing. Your solutions are greatly appreciated. I tried installing Google contacts sync 7.0...still crashing though. Tried wiping cache in recovery mode...refreshed permissions...thank u for your time.
java.lang.RuntimeException: Unable to get provider com.google.android.syncadapters.contacts.ProxyGalProvider: java.lang.ClassNotFoundException: Didn't find class "com.google.android.syncadapters.contacts.ProxyGalProvider" on path: DexPathList[[zip file "/data/app/com.google.android.syncadapters.contacts-2/base.apk"],nativeLibraryDirectories=[/data/app/com.google.android.syncadapters.contacts-2/lib/arm, /vendor/lib, /system/lib]]
at android.app.ActivityThread.installProvider(ActivityThread.java:5200)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:4792)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4732)
at android.app.ActivityThread.-wrap1(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1424)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5461)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.syncadapters.contacts.ProxyGalProvider" on path: DexPathList[[zip file "/data/app/com.google.android.syncadapters.contacts-2/base.apk"],nativeLibraryDirectories=[/data/app/com.google.android.syncadapters.contacts-2/lib/arm, /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)
at android.app.ActivityThread.installProvider(ActivityThread.java:5185)
... 10 more
Suppressed: java.io.IOException: Failed to open dex files from /data/app/com.google.android.syncadapters.contacts-2/base.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:58)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:376)
at android.app.LoadedApk.makeApplication(LoadedApk.java:569)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4724)
... 8 more
Suppressed: java.lang.ClassNotFoundException: com.google.android.syncadapters.contacts.ProxyGalProvider
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)
... 12 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
I'm having the same issue with my nexus 5. i haven't found any solution yet.
Same problem with LG G2 Mini.
bryplusan said:
Just installed Android 6.0 and cm13
After adding Google account, contacts unfortunately crash while syncing. Your solutions are greatly appreciated. I tried installing Google contacts sync 7.0...still crashing though. Tried wiping cache in recovery mode...refreshed permissions...thank u for your time.
java.lang.RuntimeException: Unable to get provider com.google.android.syncadapters.contacts.ProxyGalProvider: java.lang.ClassNotFoundException: Didn't find class "com.google.android.syncadapters.contacts.ProxyGalProvider" on path: DexPathList[[zip file "/data/app/com.google.android.syncadapters.contacts-2/base.apk"],nativeLibraryDirectories=[/data/app/com.google.android.syncadapters.contacts-2/lib/arm, /vendor/lib, /system/lib]]
at android.app.ActivityThread.installProvider(ActivityThread.java:5200)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:4792)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4732)
at android.app.ActivityThread.-wrap1(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1424)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5461)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.syncadapters.contacts.ProxyGalProvider" on path: DexPathList[[zip file "/data/app/com.google.android.syncadapters.contacts-2/base.apk"],nativeLibraryDirectories=[/data/app/com.google.android.syncadapters.contacts-2/lib/arm, /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)
at android.app.ActivityThread.installProvider(ActivityThread.java:5185)
... 10 more
Suppressed: java.io.IOException: Failed to open dex files from /data/app/com.google.android.syncadapters.contacts-2/base.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:58)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:376)
at android.app.LoadedApk.makeApplication(LoadedApk.java:569)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4724)
... 8 more
Suppressed: java.lang.ClassNotFoundException: com.google.android.syncadapters.contacts.ProxyGalProvider
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)
... 12 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
Click to expand...
Click to collapse
I may have found a solution by myself.
1.Disable Webview on android in apps manager its only 2mb !!
2.Then download Webview on android from Google playstore and reboot the phone and whola its fixed (thats how i fixed it)
Hope i helped
I had to replace the cm webview with the Google webview using the opengapps Aroma package but that worked for me.
Thanks
bryplusan said:
Just installed Android 6.0 and cm13
After adding Google account, contacts unfortunately crash while syncing.
Click to expand...
Click to collapse
Hi!
I had the same problem. Here is the solution.
1. You need to install Google Contacts Sync 6.0.1 and reboot. Check in the Settings -> Apps that "Google Contacts Sync" has permission to Contacts. After that try to sync your contacts.
2. If 1st step hasn't any result try to remove your account in the Settings -> Accounts than go to the contacts and try to import contacts from account and use your Google account once again.
For me (GS5 and CM13 and CM13-based ROMs) there was only 1st step enough.

Camera FC in Android 9 PIE Roms

I have been facing Camera Fc's in almost all PIE Roms randomly after a reboot.
It happens randomly after rebooting the phone. In some ROMs it happens after two or three reboots, I am attaching the link of the log file
time: 1551073148867
msg: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
stacktrace: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.camera2/com.android.camera.CameraActivity}: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2953)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3088)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1818)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6739)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:495)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:859)
Caused by: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
at com.android.ex.camera2.portability.AndroidCameraAgentImpl$AndroidCameraDeviceInfo.getCharacteristics(AndroidCameraAgentImpl.java:176)
at com.android.camera.app.CameraController.getCharacteristics(CameraController.java:112)
at com.android.camera.CaptureModule.getFacingFromCameraId(CaptureModule.java:1542)
at com.android.camera.CaptureModule.init(CaptureModule.java:415)
at com.android.camera.CameraActivity.onCreateTasks(CameraActivity.java:1627)
at com.android.camera.util.QuickActivity.onCreate(QuickActivity.java:114)
at android.app.Activity.performCreate(Activity.java:7145)
at android.app.Activity.performCreate(Activity.java:7136)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2933)
... 11 more
I am new and therefore could not post url here.
Kindly look into this issue
ZABCXYZ said:
I have been facing Camera Fc's in almost all PIE Roms randomly after a reboot.
It happens randomly after rebooting the phone. In some ROMs it happens after two or three reboots, I am attaching the link of the log file
time: 1551073148867
msg: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
stacktrace: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.camera2/com.android.camera.CameraActivity}: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2953)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3088)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1818)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6739)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:495)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:859)
Caused by: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
at com.android.ex.camera2.portability.AndroidCameraAgentImpl$AndroidCameraDeviceInfo.getCharacteristics(AndroidCameraAgentImpl.java:176)
at com.android.camera.app.CameraController.getCharacteristics(CameraController.java:112)
at com.android.camera.CaptureModule.getFacingFromCameraId(CaptureModule.java:1542)
at com.android.camera.CaptureModule.init(CaptureModule.java:415)
at com.android.camera.CameraActivity.onCreateTasks(CameraActivity.java:1627)
at com.android.camera.util.QuickActivity.onCreate(QuickActivity.java:114)
at android.app.Activity.performCreate(Activity.java:7145)
at android.app.Activity.performCreate(Activity.java:7136)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2933)
... 11 more
I am new and therefore could not post url here.
Kindly look into this issue
Click to expand...
Click to collapse
U partitions are encrypted . Do format data. Then camera will work.
Format data command decrypts and erases the data and internal sd partition.
Go to twrp
Format data
Type Yes to format.
Reboot

Categories

Resources