My EVE seems to does this every couple days and then I have to wipe everything of the phone using "Fastboot -w". But I'd like to figure out why this is happening so I'm starting to log stuff using logcat through adb.
Here is what I think may be the issue but you tell me. I'm totally new to trying to debug this thing.
This is a series of Errors that occur when the android loop screen locks up and restarts the boot loop.
E/AndroidRuntime( 6118): java.lang.IllegalStateException: Cannot broadcast before boot completed
E/AndroidRuntime( 6118): at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:10389)
E/AndroidRuntime( 6118): at android.app.ApplicationContext.sendStickyBroadcast(ApplicationContext.java:930)
E/AndroidRuntime( 6118): at com.android.server.ConnectivityService.sendConnectedBroadcast(ConnectivityService.java:483)
E/AndroidRuntime( 6118): at com.android.server.ConnectivityService.handleConnect(ConnectivityService.java:568)
E/AndroidRuntime( 6118): at com.android.server.ConnectivityService.access$500(ConnectivityService.java:48)
E/AndroidRuntime( 6118): at com.android.server.ConnectivityService$MyHandler.handleMessage(ConnectivityService.java:714)
E/AndroidRuntime( 6118): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 6118): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 6118): at com.android.server.ConnectivityService$ConnectivityThread.run(ConnectivityService.java:91)
E/AndroidRuntime( 6118): Crash logging skipped, no checkin service
E/installd( 1067): eof
E/installd( 1067): failed to read size
E/appproc ( 6155): Can't open data/nv/command
Can you provide more of the logcat? Particularly what comes before the error. Or even make a file of the whole process and upload the file?
Also, does this happen with one particular ROM or have you tried various ROMs?
That isn't all for the errors though so maybe I should just post the whole log as a link to the file.
I hope someone has some idea about this cause reloading everything on the phone is getting tiresome.
I haven't really tryied that many other roms. I did try the new Rogers beta rom (V10G_00.kdz) but I think it still did it.
Here is one of two logs that I recorded at boot time. They look pretty much the same.
View attachment log.txt
Thanks for all your help.
Note in this next log the lgesystemd error at the end is another area where the android loop starts over.
View attachment Log1.txt
Could this be a currupt firmware seeing as how it seems like its an LG process freezing up?
Related
Hello all,
In my noobishness I tried to install the HtcMusic.apk from the Hero ROM onto a G1 running the Google Ion ROM. Well it gave me a MISSING_SHARED_LIBRARY error so in my ignorance I thought that I would be able to find whatever libraries were missing and transfer them to the Ion build and reflash the update.zip. The update flashed but the apk still cannot be installed. Do I have the concept of libraries wrong here and should just realize that it's not possible without doing other things or am I still missing libraries that should be transferred?
Thanks =)
thelamacmdr said:
Hello all,
In my noobishness I tried to install the HtcMusic.apk from the Hero ROM onto a G1 running the Google Ion ROM. Well it gave me a MISSING_SHARED_LIBRARY error so in my ignorance I thought that I would be able to find whatever libraries were missing and transfer them to the Ion build and reflash the update.zip. The update flashed but the apk still cannot be installed. Do I have the concept of libraries wrong here and should just realize that it's not possible without doing other things or am I still missing libraries that should be transferred?
Thanks =)
Click to expand...
Click to collapse
just adp push the libHtcMusic_jni.so from /system/lib and the HtcMusic.apk to /system/apps and you'll be set.
so i was missing a lib because the update.zip i downloaded doesn't have that...the search begins
Can't find this .so too.
Lib
this one is from a 6.0
And you think this would work for it?
Bcause this lib isn't requiered in the hero build.. *irritated*
Ok I did
Code:
adb remount
adb push libhtcmusic_jni.apk system/lib
adb install HtcMusic.apk
I still get the shared library error, maybe I have to push it to somewhere else or update.zip with the library included?
First Post:,
I've actually been working on this too. I've managed to get it to install. I followed another thread, pushing some stuff from /system/etc/permission and Platform.xml for the HTC stuff. I used the same lib a1t linked (although pulled mine right from the rom).
Although when running it on the phone I get this fun little log message:
Code:
E/dalvikvm( 347): Could not find method android.provider.DrmStore.getDrmConstra
int, referenced from method com.htc.music.MusicUtils.getDrmStatus
W/dalvikvm( 347): VFY: unable to resolve static method 403: Landroid/provider/D
rmStore;.getDrmConstraint (Landroid/content/ContentResolver;Landroid/net/Uri;I)L
android/provider/DrmStore$DrmConstraint;
W/dalvikvm( 347): VFY: rejecting opcode 0x71 at 0x00aa
W/dalvikvm( 347): VFY: rejected Lcom/htc/music/MusicUtils;.getDrmStatus (Landr
oid/content/Context;Landroid/net/Uri;)I
W/dalvikvm( 347): Verifier rejected class Lcom/htc/music/MusicUtils;
D/AndroidRuntime( 347): Shutting down VM
W/dalvikvm( 347): threadid=3: thread exiting with uncaught exception (group=0x4
000fe70)
E/AndroidRuntime( 347): Uncaught handler: thread main exiting due to uncaught e
xception
E/AndroidRuntime( 347): java.lang.VerifyError: com.htc.music.MusicUtils
E/AndroidRuntime( 347): at com.htc.music.HtcMusic.onStart(HtcMusic.java:
338)
E/AndroidRuntime( 347): at android.app.Instrumentation.callActivityOnSta
rt(Instrumentation.java:1205)
E/AndroidRuntime( 347): at android.app.Activity.performStart(Activity.ja
va:3490)
E/AndroidRuntime( 347): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2240)
E/AndroidRuntime( 347): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2284)
E/AndroidRuntime( 347): at android.app.ActivityThread.access$1800(Activi
tyThread.java:112)
E/AndroidRuntime( 347): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1692)
E/AndroidRuntime( 347): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 347): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 347): at android.app.ActivityThread.main(ActivityThrea
d.java:3948)
E/AndroidRuntime( 347): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 347): at java.lang.reflect.Method.invoke(Method.java:5
21)
E/AndroidRuntime( 347): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:782)
E/AndroidRuntime( 347): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:540)
E/AndroidRuntime( 347): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 60): Sending signal. PID: 347 SIG: 3
I/dalvikvm( 347): threadid=7: reacting to signal 3
I/dalvikvm( 347): Wrote stack trace to '/data/anr/traces.txt'
W/ActivityManager( 60): Launch timeout has expired, giving up wake lock!
Not in the loop as far as the HTC builds go, but there'ls definitely something I'm missing. android.provider is in the sdk, but the DRM stuff isn't (or doesn't seem to be). I tried pushing a few more things to the phone, hoping for a solution, but I ran out of room, I don't have the new SPL.
I can't really tell the problem from looking at this ( I'm kind of inexperienced in the way of Java/Android Application Dev.). Did you push the whole entire library from the HTC Hero ROM or rather the libs that aren't in the Haykuro/JF 1.51
sherlok said:
First Post:,
I've actually been working on this too. I've managed to get it to install. I followed another thread, pushing some stuff from /system/etc/permission and Platform.xml for the HTC stuff. I used the same lib a1t linked (although pulled mine right from the rom).
Although when running it on the phone I get this fun little log message:
Code:
E/dalvikvm( 347): Could not find method android.provider.DrmStore.getDrmConstra
int, referenced from method com.htc.music.MusicUtils.getDrmStatus
W/dalvikvm( 347): VFY: unable to resolve static method 403: Landroid/provider/D
rmStore;.getDrmConstraint (Landroid/content/ContentResolver;Landroid/net/Uri;I)L
android/provider/DrmStore$DrmConstraint;
W/dalvikvm( 347): VFY: rejecting opcode 0x71 at 0x00aa
W/dalvikvm( 347): VFY: rejected Lcom/htc/music/MusicUtils;.getDrmStatus (Landr
oid/content/Context;Landroid/net/Uri;)I
W/dalvikvm( 347): Verifier rejected class Lcom/htc/music/MusicUtils;
D/AndroidRuntime( 347): Shutting down VM
W/dalvikvm( 347): threadid=3: thread exiting with uncaught exception (group=0x4
000fe70)
E/AndroidRuntime( 347): Uncaught handler: thread main exiting due to uncaught e
xception
E/AndroidRuntime( 347): java.lang.VerifyError: com.htc.music.MusicUtils
E/AndroidRuntime( 347): at com.htc.music.HtcMusic.onStart(HtcMusic.java:
338)
E/AndroidRuntime( 347): at android.app.Instrumentation.callActivityOnSta
rt(Instrumentation.java:1205)
E/AndroidRuntime( 347): at android.app.Activity.performStart(Activity.ja
va:3490)
E/AndroidRuntime( 347): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2240)
E/AndroidRuntime( 347): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2284)
E/AndroidRuntime( 347): at android.app.ActivityThread.access$1800(Activi
tyThread.java:112)
E/AndroidRuntime( 347): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1692)
E/AndroidRuntime( 347): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 347): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 347): at android.app.ActivityThread.main(ActivityThrea
d.java:3948)
E/AndroidRuntime( 347): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 347): at java.lang.reflect.Method.invoke(Method.java:5
21)
E/AndroidRuntime( 347): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:782)
E/AndroidRuntime( 347): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:540)
E/AndroidRuntime( 347): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 60): Sending signal. PID: 347 SIG: 3
I/dalvikvm( 347): threadid=7: reacting to signal 3
I/dalvikvm( 347): Wrote stack trace to '/data/anr/traces.txt'
W/ActivityManager( 60): Launch timeout has expired, giving up wake lock!
Not in the loop as far as the HTC builds go, but there'ls definitely something I'm missing. android.provider is in the sdk, but the DRM stuff isn't (or doesn't seem to be). I tried pushing a few more things to the phone, hoping for a solution, but I ran out of room, I don't have the new SPL.
Click to expand...
Click to collapse
looks like you're missing the DRM stuff.
libdrmdec_jni.so
libdrmdec.so
libdrm1_jni.so
libdrm1.so
and probably the DrmProvider.apk
If you get this working, def let us know. the music player from that rom is sexy.
I've actually been working on this too. I've managed to get it to install. I followed another thread, pushing some stuff from /system/etc/permission and Platform.xml for the HTC stuff. I used the same lib a1t linked (although pulled mine right from the rom).
Click to expand...
Click to collapse
Hmm what files from system/etc/permissions did you push all of them or just Platform.xml and com.Htc.framework.xml? Cause as far as i know that's the only difference I have from whatt you've been doing except I pushed all of the libraries.
Any of you guys have luck porting the white clock over to Ion? From Hero build or JF? I can get the white notifications, but the clock refuses to budge. Unfortunately my normal goto guy is a bit under the weather.
blackeyedbrian said:
looks like you're missing the DRM stuff.
libdrmdec_jni.so
libdrmdec.so
libdrm1_jni.so
libdrm1.so
and probably the DrmProvider.apk
If you get this working, def let us know. the music player from that rom is sexy.
Click to expand...
Click to collapse
Ok i decided to play with this a little bit.
the method "getDrmConstraint" that is missing, is part of /system/framework/framework.jar on the hero rom. how to get that working on the other builds? i have no idea =D
Anyone got it working now?
Still workin on it, I'm trying to figure out what needs to be transferred. I'm thinking about just transfering all the files that have different file sizes (might check the sums too). I'll get back once I find out.
Edit: Just saw the framework.jar; the files have a difference of 2 mill in file size....
Edit2: Restarted phone after push, it's installed now
thelamacmdr said:
Still workin on it, I'm trying to figure out what needs to be transferred. I'm thinking about just transfering all the files that have different file sizes (might check the sums too). I'll get back once I find out.
Edit: Just saw the framework.jar; the files have a difference of 2 mill in file size....
Edit2: Restarted phone after push, it's installed now
Click to expand...
Click to collapse
so u pushed the lib, apk, n what else? would you mind just clarifying how u got it to work?
I didn't get it to work yet but I did manage to install it, I'm trying to find the location of class com.htc.widget. If anyone can please point it out it would be much appreciated. Once I figure out what I did and then do it again I'll post how to do it.
So far I transferred all of the HTC made libs, platform.xml, com.htc.framework.xml, and libhtcmusic_jni.so
For obvious reasons I won't post the Hero Rom (to get the libs from) and I'm not sure if I'm going too far just trying to use the Music app.
sorry for double post
check the diffs between the two images, this file will show the differences and files that only appear in one image but not the other.
update --> ion
updatehero --> hero
*i removed ringtones and notifications ogg mp3 just to focus on the rest
How did you manage to get this text file? I've been doing it manually....comparing the two zip files.
EDIT: Ok logcat shows
Code:
Could not find class 'com.htc.widget.AboutDialog$Builder', referenced from method com.htc.music.BaseHtcMusic.onCreateDialog
this is followed by a series of verify errors. These classes are located in a lib somewhere I'm assuming?
EDIT2: No longer have class errors, pushed files from system/framework
now receive error
Code:
E/dalvikvm( 330): Could not find method android.provider.DrmStore.getDrmConstra
int, referenced from method com.htc.music.MusicUtils.getDrmStatus
mazen912 said:
hello
i ported aosp 2.3.7 but can't boot after 2 weeks of trying
please dev's check it
thanks
Click to expand...
Click to collapse
MOD EDIT: Removed link since it destroys recovery...
ATTENTION! THIS SEEMS TO DESTROY THE RECOVERY!!!
I tried to reboot into feamod but this does not work. Using Odin right now to get back to a booting state.
Be careful!
Quoting from the Cyanogenmod Porting thread so I do not need to spam it.
As he wrote, it does not boot.
That's what my logcat spits out:
Code:
W/dalvikvm( 460): threadid=1: thread exiting with uncaught exception (group=0x4
0015560)
E/AndroidRuntime( 460): *** FATAL EXCEPTION IN SYSTEM PROCESS: main
E/AndroidRuntime( 460): java.lang.UnsatisfiedLinkError: Cannot load library: li
nk_image[1962]: 458 could not load needed library 'libsystem_server.so' for 'l
ibandroid_servers.so' (link_image[1962]: 458 could not load needed library 'li
bcameraservice.so' for 'libsystem_server.so' (link_image[1962]: 458 could not
load needed library 'libseccameraadaptor.so' for 'libcameraservice.so' (link_ima
ge[1962]: 458 could not load needed library 'libcamera.so' for 'libseccameraad
aptor.so' (reloc_library[1311]: 458 cannot locate '_ZN7android7Overlay5setFdEi
'...
E/AndroidRuntime( 460): ))))
E/AndroidRuntime( 460): at java.lang.Runtime.loadLibrary(Runtime.java:45
5)
E/AndroidRuntime( 460): at java.lang.System.loadLibrary(System.java:554)
E/AndroidRuntime( 460): at com.android.server.SystemServer.main(SystemSe
rver.java:624)
E/AndroidRuntime( 460): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 460): at java.lang.reflect.Method.invoke(Method.java:5
07)
E/AndroidRuntime( 460): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:839)
E/AndroidRuntime( 460): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:597)
E/AndroidRuntime( 460): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 460): Sending signal. PID: 460 SIG: 9
I/Zygote ( 458): Exit zygote because system server (460) has terminated
E/AndroidRuntime( 460): Error reporting crash
E/AndroidRuntime( 460): java.lang.NullPointerException
E/AndroidRuntime( 460): at com.android.internal.os.RuntimeInit$UncaughtH
andler.uncaughtException(RuntimeInit.java:76)
E/AndroidRuntime( 460): at java.lang.ThreadGroup.uncaughtException(Threa
dGroup.java:854)
E/AndroidRuntime( 460): at java.lang.ThreadGroup.uncaughtException(Threa
dGroup.java:851)
E/AndroidRuntime( 460): at dalvik.system.NativeStart.main(Native Method)
There seem to be some missing / not found files.
Hmm interesting development but I guess if he uses boot.img and recovery.img from Cyanogenmod port it could work?
broodplank1337 said:
Hmm interesting development but I guess if he uses boot.img and recovery.img from Cyanogenmod port it could work?
Click to expand...
Click to collapse
well we will never discover it if nobody will test it...
maybe I will do it, if I find the time for it.
stay tuned =)
ok guy's
it is just trying i'm not a dev guy
about recovery problem it is easy no need to use odin
when your phone not able to boot go to adb and push feamod recovery to sdcard
then
adb shell
su
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p13
adb reboot recovery
---------- Post added at 06:19 PM ---------- Previous post was at 06:14 PM ----------
i hope some one explain from wintel_mac logcat
what i should to do to fix it?
i'll test it right now
unfortunally it doesn´t work ;(
i tried it with skywalkers kernel, cm dev boot img and it wouldn´t boot...
mazen912 would you kindly ask if skywalker will help you out?
the hope dies at last....
what kernel did you use??
nail16 said:
what kernel did you use??
Click to expand...
Click to collapse
the one which mazen put in and skyhigh v1.3
i use https://github.com/abbradar
to porting but i will change the kernel
mazen912 said:
ok guy's
it is just trying i'm not a dev guy
about recovery problem it is easy no need to use odin
when your phone not able to boot go to adb and push feamod recovery to sdcard
then
adb shell
su
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p13
adb reboot recovery
Click to expand...
Click to collapse
I came up with that also, but as sdcard was not mounted (since vold is not executed at this early boot stage) I was not able to do that. However I did not check if /data was already there, I think it must have been there. And it should be RW.
So push it do /data if you experience the same problem and dd it with if=/data/recovery.img and it should work.
But of course Odin worked, too.
pffff... I can't download it! Every time download stops to 1% (because of very low speed (3-6kbs per second))
Please, someone pm me another download link if it is not big trouble. Thank's
geo_xar said:
pffff... I can't download it! Every time download stops to 1% (because of very low speed (3-6kbs per second))
Please, someone pm me another download link if it is not big trouble. Thank's
Click to expand...
Click to collapse
it is useless don't bother yourself
logcat attatched i hope some one can help me
This is the only exception that I see through logcat every time I run it and stop it after it freezes. I have tried fix permissions, dalvik wipe, and I don't want to wipe my phone. I don't have a recent nandroid, but in case I have to, are there any ideas on how I can backup my applications and the data without titanium backup? Should I just zip up the contents of /data and etc? I see that is apparently part of the android runtime. Any chance that this is malware?
[ 06-09 20:43:32.586 3581: 3581 E/AndroidRuntime ]
FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start receiver com.babelsdk.main.resources.BabelBootReceiver: java.lang.NullPointerException
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2287)
at android.app.ActivityThread.access$1600(ActivityThread.java:143)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4950)
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:1004)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:771)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at com.babelsdk.main.resources.BabelResources.scheduleSync(BabelResources.java:195)
at com.babelsdk.main.resources.BabelBootReceiver.onReceive(BabelBootReceiver.java:19)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2280)
... 10 more
Thanks.
Nevermind solved it.
It was Valet's app being stupid. Turns out this BabelBootReceiver was part of Valet.
So every 10 minutes my Z5 flashes a red LED 4 times and then reboots itself. I'm rooted and running AndroPlus Kernel v2, xposed installed. Any idea what could be causing this?
ChrissehB said:
So every 10 minutes my Z5 flashes a red LED 4 times and then reboots itself. I'm rooted and running AndroPlus Kernel v2, xposed installed. Any idea what could be causing this?
Click to expand...
Click to collapse
Downoald and Install the PC Companion (for drivers) then Flashtool.
Download original FTF file image from General section and flash it
Okay I reflashed without wiping data partition and it's still happening. If I boot into safe mode it stops happening so it's something I have installed but I can't find what. I've uninstalled everything that I've recently installed and can't figure it out. Any ideas at all?
EDIT:
I managed to fix this issue so I'm posting for anyone who may have the same issue in the future. I went through all different troubleshooting steps, booting safe mode, without sim card, without microsd. And without microsd it was perfectly fine. I managed to boot into safe mode and transferred all apps stored on the sd card to the phone and it's working perfectly again. I'm not sure which app was causing it to reboot every 10 minutes but something was.
i removed my last 2 installed apps. reflashed kernel and wipe dalvik and cache partition. seem to be fixed the problem for me ( no reboot last 2 hours)
What, exactly, does the 4 red blinks and reboot mean?
My Z5 did this once, but I've had it for a few months now. Completely stock.
I had a Z4 Tablet which did this all the time from brand new. Even did it on first boot, then randomly, several times a day. I tried reflashing it a couple of times, but it kept doing it. O2 replaced it, and the new one has never done it.
But, I still don't know what it means?
ok problem not fixed but i got a crash dump, could someone help me with that ?
the probleme started in the last 5 days.
Logcat Log
--------- beginning of crash
02-04 17:52:51.982 E/AndroidRuntime( 2330): *** FATAL EXCEPTION IN SYSTEM PROCESS: NetworkPolicy
02-04 17:52:51.982 E/AndroidRuntime( 2330): java.lang.IllegalArgumentException: tried recording negative data
02-04 17:52:51.982 E/AndroidRuntime( 2330): at android.net.NetworkStatsHistory.recordData(NetworkStatsHistory.java:304)
02-04 17:52:51.982 E/AndroidRuntime( 2330): at android.net.NetworkStatsHistory.recordHistory(NetworkStatsHistory.java:377)
02-04 17:52:51.982 E/AndroidRuntime( 2330): at android.net.NetworkStatsHistory.recordEntireHistory(NetworkStatsHistory.java:353)
02-04 17:52:51.982 E/AndroidRuntime( 2330): at com.android.server.net.NetworkStatsCollection.recordHistory(NetworkStatsCollection.java:224)
02-04 17:52:51.982 E/AndroidRuntime( 2330): at com.android.server.net.NetworkStatsCollection.read(NetworkStatsCollection.java:288)
02-04 17:52:51.982 E/AndroidRuntime( 2330): at com.android.server.net.NetworkStatsCollection.read(NetworkStatsCollection.java:262)
02-04 17:52:51.982 E/AndroidRuntime( 2330): at com.android.server.net.NetworkStatsRecorder$CombiningRewriter.read(NetworkStatsRecorder.java:303)
02-04 17:52:51.982 E/AndroidRuntime( 2330): at com.android.internal.util.FileRotator.readFile(FileRotator.java:372)
02-04 17:52:51.982 E/AndroidRuntime( 2330): at com.android.internal.util.FileRotator.rewriteSingle(FileRotator.java:242)
02-04 17:52:51.982 E/AndroidRuntime( 2330): at com.android.internal.util.FileRotator.rewriteActive(FileRotator.java:184)
02-04 17:52:51.982 E/AndroidRuntime( 2330): at com.android.server.net.NetworkStatsRecorder.forcePersistLocked(NetworkStatsRecorder.java:240)
02-04 17:52:51.982 E/AndroidRuntime( 2330): at com.android.server.net.NetworkStatsRecorder.maybePersistLocked(NetworkStatsRecorder.java:227)
02-04 17:52:51.982 E/AndroidRuntime( 2330): at com.android.server.net.NetworkStatsService.advisePersistThreshold(NetworkStatsService.java:665)
02-04 17:52:51.982 E/AndroidRuntime( 2330): at com.android.server.net.NetworkPolicyManagerService$14.handleMessage(NetworkPolicyManagerService.java:2137)
02-04 17:52:51.982 E/AndroidRuntime( 2330): at android.os.Handler.dispatchMessage(Handler.java:98)
02-04 17:52:51.982 E/AndroidRuntime( 2330): at android.os.Looper.loop(Looper.java:211)
02-04 17:52:51.982 E/AndroidRuntime( 2330): at android.os.HandlerThread.run(HandlerThread.java:61)
02-04 17:52:51.985 E/GTalkService( 8508): connectionClosed: no XMPPConnection - That's strange!
------------system_app_crash.txt ----------------
Process: com.android.settings
PID: 13810
Flags: 0x40c8be45
Package: com.android.settings v22 (5.1.1-1)
Build: Sony/E6653/E6653:5.1.1/32.0.A.6.200/2002872085:user/release-keys
UUID: dad9c001-b7ec-4d32-8ce8-f8305e3d76c1
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:304)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)
Caused by: java.lang.IllegalArgumentException: tried recording negative data
at android.os.Parcel.readException(Parcel.java:1559)
at android.os.Parcel.readException(Parcel.java:1505)
at android.net.INetworkStatsSession$Stub$Proxy.getSummaryForAllUid(INetworkStatsSession.java:257)
at com.android.settings.net.SummaryForAllUidLoader.loadInBackground(SummaryForAllUidLoader.java:62)
at com.android.settings.net.SummaryForAllUidLoader.loadInBackground(SummaryForAllUidLoader.java:27)
at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
at android.os.AsyncTask$2.call(AsyncTask.java:292)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
... 3 more
A colleague has given me her Moto G which has an issue with the Google Keyboard constantly crashing. She (and I) have cleared cache and data for the app, cleared the entire cache partition from recovery, and I managed to update "Google Keyboard" to "Gboard" (which appears to be a rebranding replacement based on the identical package ID) but it still happens. I have run logcat on the device with the following output:
Code:
W/GoogleCertificatesImpl( 1761): Package com.android.inputmethod.latin has a cert in the whitelist but wrong package name. go/package-enforcement-help
W/GoogleCertificatesImpl( 1761): Package com.android.inputmethod.latin has a cert in the whitelist but wrong package name. go/package-enforcement-help
D/AndroidRuntime( 4698): Shutting down VM
E/AndroidRuntime( 4698): FATAL EXCEPTION: main
E/AndroidRuntime( 4698): Process: com.android.inputmethod.latin, PID: 4698
E/AndroidRuntime( 4698): java.lang.SecurityException: GoogleCertificatesRslt: not whitelisted: pkg=com.android.inputmethod.latin, sha1=38918a453d07199354f8b19af05ec6562ced5788, atk=false, ver=12221236.true
E/AndroidRuntime( 4698): at android.os.Parcel.readException(Parcel.java:1546)
E/AndroidRuntime( 4698): at android.os.Parcel.readException(Parcel.java:1499)
E/AndroidRuntime( 4698): at com.google.android.gms.common.internal.q$a$a.a(Unknown Source)
E/AndroidRuntime( 4698): at com.google.android.gms.internal.hn.a(Unknown Source)
E/AndroidRuntime( 4698): at com.google.android.gms.common.internal.i.aZ(Unknown Source)
E/AndroidRuntime( 4698): at com.google.android.gms.common.internal.i$e.onServiceConnected(Unknown Source)
E/AndroidRuntime( 4698): at com.google.android.gms.common.internal.l$b$a.onServiceConnected(Unknown Source)
E/AndroidRuntime( 4698): at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1208)
E/AndroidRuntime( 4698): at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1225)
E/AndroidRuntime( 4698): at android.os.Handler.handleCallback(Handler.java:739)
E/AndroidRuntime( 4698): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 4698): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 4698): at android.app.ActivityThread.main(ActivityThread.java:5343)
E/AndroidRuntime( 4698): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 4698): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 4698): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
E/AndroidRuntime( 4698): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)
but I can't find any reference on Google to the cert whitelisting message. This is a stock UK Moto G (falcon) running the latest factory firmware (LPBS23.13-56-2), non-rooted, locked bootloader. Any other suggestions short of a factory reset appreciated!
Downgrading to Google Play Services v11.9.75 (from APKPure) seems to fix this....but you can't disable automatic Google Play Services updates so I guess this issue is likely to come back?
Just for my own benefit more than anyone else while I wait to see if this happens again....
Google Keyboard 4.0.x / Play Services 11.9.75 = error
Google Keyboard 4.0.x / Play Services 12.x = error
GBoard 7.0.8 / Play Services 11.9.75 = OK
GBoard 7.0.8 / Play Services 12.x = error
We have thousands of staff using these moto g's they're old and soon to be replaced but people cannot be without a keyboard...
We have a strict device policy and unfortunately it demands the most up to date software available.
Our only current alternative is to use an alternative keyboard app like Swiftkey Keyboard or Hackers Keyboard, and explaining to user Doris why we're installing hackers keyboard onto her device is great!
This has only been constantly crashing since an update was pushed out.
It's not just this one then? That's annoying - I guess there's not much to do then other than suggest she replaces her phone, and wait for the inevitable day when my other colleague's Moto G goes the same way.