MIUI 2.4.20 gets utterly destroyed by an app install sometimes - Kindle Fire General

Posting it here since I don't have access to the dev forum just yet.
This ROM gets utterly hosed by something the Play Store does during install. It doesn't happen every time, or with specific apps, but I've reproduced it twice, and when it happens the only way to get the tablet back into a usable state is to wipe data and system and reflash from scratch, which, honestly, is a major pain, so I'm gathering what I can right now.
The problem is caused by Play Store installing an app. As soon as the app is finished and the installed notice pops up, MiuiHome will crash. I haven't caught that specific crash, but trying to get to your homescreen will just get you in a loop of crash dialog -> brief second of live wallpaper -> crash dialog again. Here's the backtrace out of the logcat for that crash:
Code:
E/AndroidRuntime( 1330): FATAL EXCEPTION: main
E/AndroidRuntime( 1330): java.lang.ArrayIndexOutOfBoundsException: length=4; index=4
E/AndroidRuntime( 1330): at com.miui.home.launcher.CellLayout.a(CellLayout.java:483)
E/AndroidRuntime( 1330): at com.miui.home.launcher.CellLayout.addView(CellLayout.java:207)
E/AndroidRuntime( 1330): at com.miui.home.launcher.Workspace.a(Workspace.java:324)
E/AndroidRuntime( 1330): at com.miui.home.launcher.Launcher.a(Launcher.java:1995)
E/AndroidRuntime( 1330): at com.miui.home.launcher.Launcher.a(Launcher.java:1833)
E/AndroidRuntime( 1330): at com.miui.home.launcher.bA.run(LauncherModel.java:1245)
E/AndroidRuntime( 1330): at com.miui.home.launcher.K.handleMessage(DeferredHandler.java:47)
E/AndroidRuntime( 1330): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1330): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1330): at android.app.ActivityThread.main(ActivityThread.java:4429)
E/AndroidRuntime( 1330): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1330): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 1330): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
E/AndroidRuntime( 1330): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
E/AndroidRuntime( 1330): at dalvik.system.NativeStart.main(Native Method)
But it gets worse.
You can invoke settings from the pullup menu, but if you try to select ANY app (not just the app that triggered the bug) in the Apps tab, Settings force-closes. Here's that backtrace.
Code:
E/AndroidRuntime( 1355): FATAL EXCEPTION: main
E/AndroidRuntime( 1355): java.lang.NullPointerException
E/AndroidRuntime( 1355): at com.android.settings.applications.InstalledAppDetails.gI(InstalledAppDetails.java:479)
E/AndroidRuntime( 1355): at com.android.settings.applications.InstalledAppDetails.onResume(InstalledAppDetails.java:401)
E/AndroidRuntime( 1355): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:873)
E/AndroidRuntime( 1355): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1032)
E/AndroidRuntime( 1355): at android.app.BackStackRecord.run(BackStackRecord.java:622)
E/AndroidRuntime( 1355): at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1382)
E/AndroidRuntime( 1355): at android.app.FragmentManagerImpl$1.run(FragmentManager.java:426)
E/AndroidRuntime( 1355): at android.os.Handler.handleCallback(Handler.java:605)
E/AndroidRuntime( 1355): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 1355): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1355): at android.app.ActivityThread.main(ActivityThread.java:4429)
E/AndroidRuntime( 1355): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1355): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 1355): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
E/AndroidRuntime( 1355): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
E/AndroidRuntime( 1355): at dalvik.system.NativeStart.main(Native Method)
Here's the worst part. Removing the app that triggered it using the pm commandline tools (since literally no other method of uninstalling apps is accessible) doesn't solve the problem. Uninstalling EVERY app you ever installed through Play Store doesn't solve the problem. The ONLY way to get the tablet back into a usable state is to go back into TWRP, wipe cache, dalvik, data, AND system, then reflash the ROM.
I keep wondering if it's just my device -- I mean, nobody else has reported this issue. But pains have been taken to work around bad spots in flash -- right? And besides a software bug, what else could it be?

Yeah thats no fun at all start helping people out get your 10 posts in and post in development for sure what apps may I ask even though Im on AOKP I am on the new kernel maybe we can find out whether it is specific to the rom or a kernel issue hopefully a dev will look at your logcat soon.I have had simular but not with the runtime error and not after app install so far I havent had the crashes your experiencing either.

Related

After recompiling HTC Music FC's

Hi, after i recompile HTC Music and i run it i get FC, i try to clear the data and its not helping, even when i recompile without changing anything i get FC.
All others apps i edit working very good and no FC.
Thnaks!
edit:
Code:
I/HtcMusic( 4041): borranx MyGallery.QVGA 2
W/dalvikvm( 4041): VFY: bad exception entry: startAddr=126 endAddr=126 (size=289)
W/dalvikvm( 4041): VFY: rejected Lcom/htc/music/MusicUtils;.getArtworkFromFile (Landroid/content/Context;Landroid/net/Uri;I)Landroid/graphics/Bitmap;
W/dalvikvm( 4041): Verifier rejected class Lcom/htc/music/MusicUtils;
D/AndroidRuntime( 4041): Shutting down VM
W/dalvikvm( 4041): threadid=1: thread exiting with uncaught exception (group=0x400259f8)
E/AndroidRuntime( 4041): FATAL EXCEPTION: main
E/AndroidRuntime( 4041): java.lang.VerifyError: com.htc.music.MusicUtils
E/AndroidRuntime( 4041): at com.htc.music.HtcMusic.onStart(HtcMusic.java:768)
E/AndroidRuntime( 4041): at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1211)
E/AndroidRuntime( 4041): at android.app.Activity.performStart(Activity.java:3822)
E/AndroidRuntime( 4041): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2760)
E/AndroidRuntime( 4041): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2803)
E/AndroidRuntime( 4041): at android.app.ActivityThread.access$2300(ActivityThread.java:135)
E/AndroidRuntime( 4041): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2136)
E/AndroidRuntime( 4041): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 4041): at android.os.Looper.loop(Looper.java:144)
E/AndroidRuntime( 4041): at android.app.ActivityThread.main(ActivityThread.java:4937)
E/AndroidRuntime( 4041): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 4041): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 4041): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 4041): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 4041): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 188): Force finishing activity com.htc.music/.HtcMusic

Youtube force closing

I'm sure this is thr wrong section but its hard finding the right forum on this app so I'm sorry to any mod to has to fix that.
Im using cyanogenmod 5.0.8 for quite a long
time now but suddenly youtube app keeps
force closing, i solved this by going to system/
apps and just reinstalling it but now its going
back to force closing as soon as iv exited it and
relaunched it...
I then tried restoring a backup but this has not
worked, i then updated the youtube app to the
new youtube app from gingerbread or froyo
cant remember but this does the same thing,
fix permissions just totaly f**ked my phone
and i had to restore my backup again.
So does anyone know how i can fix this issue?
Sent from my HTC Dream using XDA App
This is the red errors from logcat moments after it force closing, iv discovered that the you tube app seems to work fine so long as I'm not signed in but as soon as iv signed in with my gmail account and iv exited the app I imedidiatly tested it and its back to force closing.
W/dalvikvm( 5831): threadid=3: thread exiting
with uncaught exception (group=0x4001e178)
E/AndroidRuntime( 5831): Uncaught handler:
thread main exiting due to uncaught exception
E/AndroidRuntime( 5831):
java.lang.IllegalArgumentException: activity is
null
E/AndroidRuntime( 5831): at
android.accounts.AccountManager.getAuthToken
(AccountManager.java:503)
E/AndroidRuntime( 5831): at at.run
(SourceFile:406)
E/AndroidRuntime( 5831): at
android.accounts.AccountManager$9.run
(AccountManager.java:812)
E/AndroidRuntime( 5831): at
android.os.Handler.handleCallback
(Handler.java:587)
E/AndroidRuntime( 5831): at
android.os.Handler.dispatchMessage
(Handler.java:92)
E/AndroidRuntime( 5831): at
android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 5831): at
android.app.ActivityThread.main
(ActivityThread.java:4363)
E/AndroidRuntime( 5831): at
java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 5831): at
java.lang.reflect.Method.invoke
(Method.java:521)
E/AndroidRuntime( 5831): at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 5831): at
com.android.internal.os.ZygoteInit.main
(ZygoteInit.java:618)
E/AndroidRuntime( 5831): at
dalvik.system.NativeStart.main(Native Method)
Sent from my HTC Dream using XDA App

[FIX?] MIUI 2.3.16 Bootloop when receiving a SMS

When I receive a SMS, instead of having a notification, the following error is shown, and the phone go back to the bootanimation. I'll already tried to wipe everything, like dalvik cache, factory reset and reinstalling the rom with no success.
I'm using the MIUI 2.3.16 ROM (http://forum.xda-developers.com/showthread.php?t=1258073)
Code:
E/AndroidRuntime( 4453): *** FATAL EXCEPTION IN SYSTEM PROCESS: ActivityManager
E/AndroidRuntime( 4453): java.util.MissingFormatArgumentException: Format specifier: 3$s
E/AndroidRuntime( 4453): at java.util.Formatter.getArgument(Formatter.java:1131)
E/AndroidRuntime( 4453): at java.util.Formatter.doFormat(Formatter.java:1096)
E/AndroidRuntime( 4453): at java.util.Formatter.format(Formatter.java:1062)
E/AndroidRuntime( 4453): at java.util.Formatter.format(Formatter.java:1031)
E/AndroidRuntime( 4453): at java.lang.String.format(String.java:2177)
E/AndroidRuntime( 4453): at android.content.res.Resources.getString(Resources.java:286)
E/AndroidRuntime( 4453): at com.android.server.am.PackageGuardian$PackageBehaviorWitness.<init>(PackageGuardian.java:883)
E/AndroidRuntime( 4453): at com.android.server.am.PackageGuardian.seekWitness(PackageGuardian.java:1534)
E/AndroidRuntime( 4453): at com.android.server.am.ActivityManagerService$3.handleMessage(ActivityManagerService.java:1041)
E/AndroidRuntime( 4453): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 4453): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 4453): at com.android.server.am.ActivityManagerService$AThread.run(ActivityManagerService.java:1529)
Did you try to reinstall MIUI? Applying the ZIP + full data wipe?
thiagomtl said:
Did you try to reinstall MIUI? Applying the ZIP + full data wipe?
Click to expand...
Click to collapse
Yes, but no success, the same error appears.
It seems to be an error when sending sms in french, because I found the same problem for MIUI HD2 (http://forum.xda-developers.com/showpost.php?p=16080760&postcount=482)

[Q] Mobile networks/Phone FC all the time

Alright i finally got a SIM card for my baby. Howerver for some weird reason i get a force close when trying to access the Mobile Networks menu in the system settings. Logcat snippet is below:
Code:
05-08 12:43:58.141 I/ActivityManager( 210): START {act=android.intent.action.MAIN cmp=com.android.phone/.Settings} from pid 913
05-08 12:43:58.144 D/AndroidRuntime( 913): Shutting down VM
05-08 12:43:58.144 W/dalvikvm( 913): threadid=1: thread exiting with uncaught exception (group=0x40a311f8)
05-08 12:43:58.154 E/AndroidRuntime( 913): FATAL EXCEPTION: main
05-08 12:43:58.154 E/AndroidRuntime( 913): android.content.ActivityNotFoundException: Unable to find explicit activity class {com.android.phone/com.a
ndroid.phone.Settings}; have you declared this activity in your AndroidManifest.xml?
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1508)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1384)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.app.Activity.startActivityForResult(Activity.java:3190)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.app.Activity.startActivity(Activity.java:3297)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.preference.Preference.performClick(Preference.java:957)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.preference.PreferenceScreen.onItemClick(PreferenceScreen.java:202)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.widget.AdapterView.performItemClick(AdapterView.java:292)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.widget.AbsListView.performItemClick(AbsListView.java:1083)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.widget.AbsListView$PerformClick.run(AbsListView.java:2539)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.widget.AbsListView$1.run(AbsListView.java:3193)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.os.Handler.handleCallback(Handler.java:605)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.os.Handler.dispatchMessage(Handler.java:92)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.os.Looper.loop(Looper.java:137)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.app.ActivityThread.main(ActivityThread.java:4424)
05-08 12:43:58.154 E/AndroidRuntime( 913): at java.lang.reflect.Method.invokeNative(Native Method)
05-08 12:43:58.154 E/AndroidRuntime( 913): at java.lang.reflect.Method.invoke(Method.java:511)
05-08 12:43:58.154 E/AndroidRuntime( 913): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
05-08 12:43:58.154 E/AndroidRuntime( 913): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
05-08 12:43:58.154 E/AndroidRuntime( 913): at dalvik.system.NativeStart.main(Native Method)
05-08 12:43:58.164 W/ActivityManager( 210): Force finishing activity com.android.settings/.SubSettings
05-08 12:43:58.681 W/ActivityManager( 210): Activity pause timeout for ActivityRecord{416a5ff8 com.android.settings/.SubSettings}
05-08 12:43:58.684 I/Process ( 210): Sending signal. PID: 913 SIG: 3
05-08 12:43:58.684 I/dalvikvm( 913): threadid=3: reacting to signal 3
05-08 12:43:58.688 I/dalvikvm( 913): Wrote stack traces to '/data/anr/traces.txt'
05-08 12:43:59.214 I/Process ( 210): Sending signal. PID: 913 SIG: 3
05-08 12:43:59.218 I/dalvikvm( 913): threadid=3: reacting to signal 3
Secondly, when trying to dial out, i get a FC logcat is below:
Code:
05-08 12:47:30.374 W/dalvikvm( 1315): threadid=1: thread exiting with uncaught exception (group=0x40a311f8)
05-08 12:47:30.374 I/ActivityManager( 210): START {act=android.intent.action.CALL_PRIVILEGED dat=tel:x flg=0x10000000 (has extras)} from pid 1315
05-08 12:47:30.384 E/AndroidRuntime( 1315): FATAL EXCEPTION: main
05-08 12:47:30.384 E/AndroidRuntime( 1315): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.
CALL_PRIVILEGED dat=tel:x flg=0x10000000 (has extras) }
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1512)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1482)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.app.Activity.startActivityFromFragment(Activity.java:3488)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.app.Fragment.startActivity(Fragment.java:973)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at com.android.contacts.dialpad.DialpadFragment.dialButtonPressed(DialpadFragment.java:1174)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at com.android.contacts.dialpad.DialpadFragment.onClick(DialpadFragment.java:953)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.view.View.performClick(View.java:3511)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.view.View$PerformClick.run(View.java:14105)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.os.Handler.handleCallback(Handler.java:605)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.os.Handler.dispatchMessage(Handler.java:92)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.os.Looper.loop(Looper.java:137)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.app.ActivityThread.main(ActivityThread.java:4424)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at java.lang.reflect.Method.invokeNative(Native Method)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at java.lang.reflect.Method.invoke(Method.java:511)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at dalvik.system.NativeStart.main(Native Method)
05-08 12:47:30.398 W/ActivityManager( 210): Force finishing activity com.android.contacts/.activities.DialtactsActivity
05-08 12:47:30.891 I/TaskSwitcherService( 1098): Handle command: org.rabold.android.taskswitcher.action.UPDATE_THUMBNAILS
05-08 12:47:30.898 I/TaskSwitcherService( 1098): Querying thumbnail for task #11: ComponentInfo{com.android.contacts/com.android.contacts.activities.D
ialtactsActivity}
05-08 12:47:30.911 W/ActivityManager( 210): Activity pause timeout for ActivityRecord{414f2918 com.android.contacts/.activities.DialtactsActivity}
05-08 12:47:30.915 I/Process ( 210): Sending signal. PID: 1315 SIG: 3
05-08 12:47:30.915 I/dalvikvm( 1315): threadid=3: reacting to signal 3
05-08 12:47:30.921 I/dalvikvm( 1315): Wrote stack traces to '/data/anr/traces.txt'
Btw there is no traces.txt for some reason i looked -.-
Also this is NOT ROM related it is something to do with my data partition as when i factory reset or wipe my data partition everything works. I would PREFER to find and fix this problem as i have a lot of data and would NOT like to start over again -.-
Thanks all for looking
Bleh nobody has any idea?
Sent from my HTC HD2 using Tapatalk
Hey dude, once i had the same problem as you have it right now
it looks like no ROM issue at all
but after i did clean install. my device work flawlessly
you should try clean install
good luck
mainweb said:
Hey dude, once i had the same problem as you have it right now
it looks like no ROM issue at all
but after i did clean install. my device work flawlessly
you should try clean install
good luck
Click to expand...
Click to collapse
Thanks man however im trying to stear away from clean install. :/
as for an update: Ive narrowed it down to the directory /data/system upon deletion of that directory, it almost acts like a clean install. But all my apps get FC when trying to launch. So i deleted that directory and rebooted, then tried restoring the files but then i get a boot loop. i think clean install is the only option

[Q] Nexus 7 Google Play Crash Problem

I updated my Nexus 7 from 4.2.1 to 4.2.2 via OTA.
After updating, the google play app always crashes with message "Unfortunately, Google Play Store has stopped".
Below are some logs taken from the device when the app crashes.
E/AndroidRuntime( 2242): FATAL EXCEPTION: main
E/AndroidRuntime( 2242): java.lang.RuntimeException: java.lang.NullPointerException: expected receiver of type com.google.android.finsky.remoting.protos.Response$Payload, but got null
E/AndroidRuntime( 2242): at com.google.android.volley.MicroProtoHelper.getParsedResponseFromWrapper(MicroProtoHelper.java:38)
E/AndroidRuntime( 2242): at com.google.android.finsky.api.DfeRequest.deliverResponse(DfeRequest.java:456)
E/AndroidRuntime( 2242): at com.google.android.finsky.api.DfeRequest.deliverResponse(DfeRequest.java:49)
E/AndroidRuntime( 2242): at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:99)
E/AndroidRuntime( 2242): at android.os.Handler.handleCallback(Handler.java:725)
E/AndroidRuntime( 2242): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 2242): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2242): at android.app.ActivityThread.main(ActivityThread.java:5041)
E/AndroidRuntime( 2242): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2242): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2242): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
E/AndroidRuntime( 2242): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
E/AndroidRuntime( 2242): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2242): Caused by: java.lang.NullPointerException: expected receiver of type com.google.android.finsky.remoting.protos.Response$Payload, but got null
E/AndroidRuntime( 2242): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2242): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2242): at com.google.android.volley.MicroProtoHelper.getParsedResponseFromWrapper(MicroProtoHelper.java:36)
E/AndroidRuntime( 2242): ... 12 more
Can anyone provide a possible solution?
Thank you.

Categories

Resources