Save/Restore launcher favorites? (shortcuts,widgets) - Nexus One Themes and Apps

Is there an app out there to save the screen layout for all screens with the ability to restore (best attempt) if needed?
I'm thinking this would be a good app to write if it already does not exist.
Every time we switch to a new launcher we have to go through the pain of re-adding everything. Otherwise launcher constantly FCs with this error:
Code:
E/Database( 4797): sqlite3_open_v2("/data/data/com.helixproject.launcher2/databases/launcher.db", &handle, 6, NULL) failed
W/dalvikvm( 4797): threadid=17: thread exiting with uncaught exception (group=0x4001b188)
E/AndroidRuntime( 4797): Uncaught handler: thread Thread-9 exiting due to uncaught exception
E/AndroidRuntime( 4797): android.database.sqlite.SQLiteException: unable to open database file
E/AndroidRuntime( 4797): at android.database.sqlite.SQLiteDatabase.dbopen(Native Method)
E/AndroidRuntime( 4797): at android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:1698)
E/AndroidRuntime( 4797): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:739)
E/AndroidRuntime( 4797): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:761)
E/AndroidRuntime( 4797): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:754)
E/AndroidRuntime( 4797): at android.app.ApplicationContext.openOrCreateDatabase(ApplicationContext.java:473)
E/AndroidRuntime( 4797): at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:193)
E/AndroidRuntime( 4797): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:98)
E/AndroidRuntime( 4797): at com.helixproject.launcher2.LauncherProvider.query(LauncherProvider.java:105)
E/AndroidRuntime( 4797): at android.content.ContentProvider$Transport.query(ContentProvider.java:130)
E/AndroidRuntime( 4797): at android.content.ContentResolver.query(ContentResolver.java:202)
E/AndroidRuntime( 4797): at com.helixproject.launcher2.LauncherModel$Loader$LoaderThread.loadWorkspace(LauncherModel.java:622)
E/AndroidRuntime( 4797): at com.helixproject.launcher2.LauncherModel$Loader$LoaderThread.run(LauncherModel.java:493)
This time when I moved from Helix2 0.6 to 0.7b I did the following:
opened launcher.db in SQLite browser
exported all the sql entries
inserted all the shortcuts I wanted to the new launcher.db (with SQLite browser)
restarted launcher2
This worked for all shortcuts but not for widgets, contacts and Astro links.

MyBackup Pro can backup and restore your screen layouts, i've only done it once or twice but I seem to remember it restoring widgets as well?

gIMpSTa said:
MyBackup Pro can backup and restore your screen layouts, i've only done it once or twice but I seem to remember it restoring widgets as well?
Click to expand...
Click to collapse
cool, http://www.appbrain.com/app/com.rerware.android.MyBackupPro
Will try it out.
Update:
backed up fully, then removed one widget and one shortcut from screen 4 (home). tried a restore... didn't restore either of the two . (checked after restarting launcher, even tried rebooting)

Try titanium backup.

SiNJiN76 said:
Try titanium backup.
Click to expand...
Click to collapse
This will replace ALL the data for the app with the saved version, Not just the screen elements.

Related

Transfering Libraries from Hero to Ion/other ROM?

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

[GAPPS] Google Apps for Android 4.4/KitKat

Google Apps to cache for Android 4.4/KitKat
Installed (mostly) to /cache, and intended for ARMv6 (no libs, srec, or tts)
A full KitKat/CM11 ROM nearly fills our /system partition, so even the smallest, most trimmed gapps won't fit.
Option 2 is this - installing them to /cache and symlinking to /system
Because they are installed to /cache, do not wipe cache or factory reset after installing - you won't have gapps anymore.
If you do need to wipe cache, reinstall the zip afterwards.
Data can be wiped as long as you use Mounts & storage > Format /data, not factory reset from the main menu.
Added to /system: 9.9 MB
Added to /cache: 33.6 MB
(according to GNOME's archive manager)
If you have previously installed a different gapps package, please format /system and reinstall the ROM then this gapps package
Download:
gapps-4.4-tocache-20141026-2.zip
4645549b29720a264941247afd3f6269
Google Drive: http://goo.gl/3ad3HR
MediaFire: https://www.mediafire.com/?livkok80xyegdwj
team-simplicit.com: http://www.team-simplicit.com/downloads/gapps/gapps-4.4-tocache-20141026-2.zip
Pick whatever mirror is fastest for you
I'll try and keep Play Services and the Play Store up to date so they don't use up space on /data, but neither of them make any notification when updated, so I might lag behind a bit.
Changelog:
20141026-2:
- Moved more things out from cache as 20141026 was not enough
20141026:
- Moved an app from cache to system, as the space usage on cache was too much for some devices
20141025:
- Removed SetupWizard (caused problems)
- Play Services updated to 6.1.83
- Play Store updated to 5.0.31
20140605:
- Play Store updated to 4.8.20
20140523:
- Play Services updated to 4.4.52 (1174655-012)
20140519:
- Initial package
New package available in first post - Google Play Services updated to 4.4.52 (1174655-012)
New package, Play Store updated to 4.8.20
(I think after this I'll stop bumping and only update the first post instead - these changes update themselves on the device anyway)
@WinSuk,
Have you considered swapping the system and userdata partitions around (if userdata is actually bigger than system on your device)? See this patch as a reference: http://review.androidarmv6.org/#/c/7300/
We'll be enabling hardware TLS for all msm7x27 devices in the androidarmv6 project soon, which will require an updated recovery image. Now would be a good time to include the mtd hack, if it seems worthwhile for your device.
psyke83 said:
@WinSuk,
Have you considered swapping the system and userdata partitions around (if userdata is actually bigger than system on your device)? See this patch as a reference: http://review.androidarmv6.org/#/c/7300/
We'll be enabling hardware TLS for all msm7x27 devices in the androidarmv6 project soon, which will require an updated recovery image. Now would be a good time to include the mtd hack, if it seems worthwhile for your device.
Click to expand...
Click to collapse
Like ways, we can use sd-ext as well
Sent from my Xperia M using XDA Premium 4 mobile app
psyke83 said:
@WinSuk,
Have you considered swapping the system and userdata partitions around (if userdata is actually bigger than system on your device)? See this patch as a reference: http://review.androidarmv6.org/#/c/7300/
We'll be enabling hardware TLS for all msm7x27 devices in the androidarmv6 project soon, which will require an updated recovery image. Now would be a good time to include the mtd hack, if it seems worthwhile for your device.
Click to expand...
Click to collapse
Our system partition is actually bigger than data 240MB vs 185MB.
It might be a useful hack for older ROMs like CM9 though (where we have lots of system space)
WinSuk said:
Our system partition is actually bigger than data 240MB vs 185MB.
It might be a useful hack for older ROMs like CM9 though (where we have lots of system space)
Click to expand...
Click to collapse
For like even bigger ROMs, or maybe gapps, you can use the /cache partition. Or bind it data to have more space
Sent from my Optimus One using XDA Premium 4 mobile app
Package updated - problem-causing SetupWizard removed, Play Store & Play Services updated.
Edit: updated again for compatibility with newer devices
Suitable for all android devices ?
Any PlayStore said:
Suitable for all android devices ?
Click to expand...
Click to collapse
No, just ARMv6 devices - other devices will have a lot missing using this package.
PA gapps would be good for other devices.
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...
Does not function at all!
My Xperia broke from a drop on wooden floor - so i am now using my old Wildfire S
Install order:
cm-11-20150308-NIGHTLY-marvel (works as intended)
CronMod-INT2EXT4+_signed (works as intended)
gapps-4.4-tocache-20141026-2 (broken)
The Play Store functions at start, but WApp and YTube will demand that "Google Services Framework" is installed. (Can not pass this)
After "Google Services Framework" gets installed - gapps just crash all over. (Look at attached images)
YTube - crashes after logo
Instagram - crashes instantly
WApp - will not backup online, or download backups
Google Play - broken
gapps-base-arm-4.4.4-20170902-1-signed <- unable to install this new version of gapps (Look at last image)

Error on boot from logcat and freezing

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.

Z5 Rebooting every 10 minutes

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

Google Keyboard is constantly crashing with a cert whitelisting error in logcat

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.

Categories

Resources