[Kindle Fire General] roothorick:
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:

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.

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?