Z5 Rebooting every 10 minutes - Xperia Z5 Q&A, Help & Troubleshooting

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

Related

Save/Restore launcher favorites? (shortcuts,widgets)

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.

Need help, Infinite Boot Loop, LG EVE (GW620)

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?

Another KitKat ROM for Crespo

hello Guys ,
I am not a developer but i found another Kitkat ROM in Google+ Community For nexus S..
So, I am sharing like with you..
Download--
http://fitsnugly.euroskank.com/?rom=cm11&device=crespo
Screenshot--
https://plus.google.com/photos/113349952133764397641/albums/5948688425053899313
Enjoy..:highfive::highfive:
We already know
But I don't know until last night..
Not all people are same as yours they are only follow xda..
Sent from my Nexus S using xda app-developers app
Thread here: http://forum.xda-developers.com/showthread.php?p=47584140#post47584140
Thanks for sharing it Rushabh22. I already knew about it because I found out about it by searching the web. It shows that although XDA DEVELOPER IS THE BEST SITE for all to with android you sometimes have to look somewhere else. Thanks!
though there is another... http://d-h.st/users/staffe?fld_id=0 it's another unofficial CM11
Gapps not working
Ok, so i flashed the new rom , it was working ok and then when i flash the pa-gapps-4.4 and i reboot. the lockscreen is ok, i unlock it and the launcher is not working... the only thing i can open is the notification drawer. the apps seem to be working because i received notification from gmail when i got a new e-mail anyone knows how to resolve this ?
Pa gapps is knocking out the launcher.. Use the search button to find play store and get a launcher from there...
Sent from my Nexus S using XDA Premium 4 mobile app
Setting.Out said:
Pa gapps is knocking out the launcher.. Use the search button to find play store and get a launcher from there...
Sent from my Nexus S using XDA Premium 4 mobile app
Click to expand...
Click to collapse
That was my guess to, i tried several times so i realised that smth is wrong with pa gapps, but my search button isn't working also. it vibrates when i touch it but it's not launching anything.
csp.popa said:
That was my guess to, i tried several times so i realised that smth is wrong with pa gapps, but my search button isn't working also. it vibrates when i touch it but it's not launching anything.
Click to expand...
Click to collapse
I unzipped/removed apps/rezipped my pa gapps and now problem free..
Sent from my Nexus S using XDA Premium 4 mobile app
Setting.Out said:
I unzipped/removed apps/rezipped my pa gapps and now problem free..
Sent from my Nexus S using XDA Premium 4 mobile app
Click to expand...
Click to collapse
which app did you remove ? which app should i remove to get rid of the launcher because that's what is crashing my rom !?
csp.popa said:
which app did you remove ? which app should i remove to get rid of the launcher because that's what is crashing my rom !?
Click to expand...
Click to collapse
PA gapps has a launcher in it, remove it and you should be good.. I removed a bunch more, but that's because I odex my rom and need more system space..
Setting.Out said:
PA gapps has a launcher in it, remove it and you should be good.. I removed a bunch more, but that's because I odex my rom and need more system space..
Click to expand...
Click to collapse
thanks man, it worked !
Hi folks! Given that I don't have enough messages in my xda profile, I considered this is the closest post to ask this:
cn.fyodor's AOSP rom runs quite well; however, Play Store app won't launch:
Code:
E/AndroidRuntime( 1504): FATAL EXCEPTION: main
E/AndroidRuntime( 1504): Process: com.android.vending, PID: 1504
E/AndroidRuntime( 1504): java.lang.IllegalArgumentException: Invalid path: /cache
E/AndroidRuntime( 1504): at android.os.StatFs.doStat(StatFs.java:46)
E/AndroidRuntime( 1504): at android.os.StatFs.<init>(StatFs.java:39)
E/AndroidRuntime( 1504): at com.google.android.finsky.download.Storage.cachePartitionAvailableSpace(Storage.java:38)
E/AndroidRuntime( 1504): at com.google.android.finsky.download.DownloadQueueImpl$StartNextDownloadRunnable.run(DownloadQueueImpl.java:442)
E/AndroidRuntime( 1504): at android.os.Handler.handleCallback(Handler.java:733)
E/AndroidRuntime( 1504): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 1504): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1504): at android.app.ActivityThread.main(ActivityThread.java:4998)
E/AndroidRuntime( 1504): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1504): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 1504): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:777)
E/AndroidRuntime( 1504): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593)
E/AndroidRuntime( 1504): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1504): Caused by: libcore.io.ErrnoException: statvfs failed: ENOENT (No such file or directory)
E/AndroidRuntime( 1504): at libcore.io.Posix.statvfs(Native Method)
E/AndroidRuntime( 1504): at libcore.io.ForwardingOs.statvfs(ForwardingOs.java:132)
E/AndroidRuntime( 1504): at android.os.StatFs.doStat(StatFs.java:44)
E/AndroidRuntime( 1504): ... 12 more
Looking in adb shell, folder /cache does not exist. Is this correct or the directory should be there?
Anyway, when I create by-hand this folder, Play Store will work again.
Problem is when I reboot phone; cache directory will no longer exist.
pacorrop said:
Hi folks! Given that I don't have enough messages in my xda profile, I considered this is the closest post to ask this:
cn.fyodor's AOSP rom runs quite well; however, Play Store app won't launch:
Code:
E/AndroidRuntime( 1504): FATAL EXCEPTION: main
E/AndroidRuntime( 1504): Process: com.android.vending, PID: 1504
E/AndroidRuntime( 1504): java.lang.IllegalArgumentException: Invalid path: /cache
E/AndroidRuntime( 1504): at android.os.StatFs.doStat(StatFs.java:46)
E/AndroidRuntime( 1504): at android.os.StatFs.<init>(StatFs.java:39)
E/AndroidRuntime( 1504): at com.google.android.finsky.download.Storage.cachePartitionAvailableSpace(Storage.java:38)
E/AndroidRuntime( 1504): at com.google.android.finsky.download.DownloadQueueImpl$StartNextDownloadRunnable.run(DownloadQueueImpl.java:442)
E/AndroidRuntime( 1504): at android.os.Handler.handleCallback(Handler.java:733)
E/AndroidRuntime( 1504): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 1504): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1504): at android.app.ActivityThread.main(ActivityThread.java:4998)
E/AndroidRuntime( 1504): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1504): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 1504): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:777)
E/AndroidRuntime( 1504): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593)
E/AndroidRuntime( 1504): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1504): Caused by: libcore.io.ErrnoException: statvfs failed: ENOENT (No such file or directory)
E/AndroidRuntime( 1504): at libcore.io.Posix.statvfs(Native Method)
E/AndroidRuntime( 1504): at libcore.io.ForwardingOs.statvfs(ForwardingOs.java:132)
E/AndroidRuntime( 1504): at android.os.StatFs.doStat(StatFs.java:44)
E/AndroidRuntime( 1504): ... 12 more
Looking in adb shell, folder /cache does not exist. Is this correct or the directory should be there?
Anyway, when I create by-hand this folder, Play Store will work again.
Problem is when I reboot phone; cache directory will no longer exist.
Click to expand...
Click to collapse
Devil kernel? if so, there's your problem...
Setting.Out said:
Devil kernel? if so, there's your problem...
Click to expand...
Click to collapse
That is! Thank you :good::good: Suggestion for another kernel else? Stock is good enough?
pacorrop said:
That is! Thank you :good::good: Suggestion for another kernel else? Stock is good enough?
Click to expand...
Click to collapse
Stock is it... No other options..
Sent from my Nexus S using XDA Premium 4 mobile app
Setting.Out said:
Stock is it... No other options..
Sent from my Nexus S using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I finally tuned the cn.fyodor's kernel and introduced some pretty features (to me at least )
pacorrop said:
I finally tuned the cn.fyodor's kernel and introduced some pretty features (to me at least )
Click to expand...
Click to collapse
so why don't sharing?
teoserio said:
so why don't sharing?
Click to expand...
Click to collapse
These are the "features". I quote features because all of them but one is copy pasted, but I considered useful for me to introduce them in the AOSP ROM's kernel from fyodor.cn (which I think is the ideal ROM for me):
- BLX (from Ezekeel I think?)
- Vibration levels (from Der Teufel)
- Wifi PM_MAX set to PM_FAST (from bedalus)
- Customized BLD (from me yoohoo). Whatever soft key you push, only its LED is lit during a configured timeout. I'll make a video with this in action to make it more understandable.
Anyway, I'm a totally noob in this, and I know than XDA rules stand for the fact that if I share a compiled kernel I also should provide the entire kernel sources, but I don't have a github account so I don't know how to do this. I'm a lazy person. Could I provide only the diffs from the fyodor.cn kernel? :laugh:

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

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