Skip to content
This repository was archived by the owner on Jun 4, 2018. It is now read-only.
This repository was archived by the owner on Jun 4, 2018. It is now read-only.

System UI crashes on AOSPA #4

Description

@bgiesing

When using AOSPA, I get constant system UI crashes where I can't even use the device.

WWhat logs do you need?

Activity

  1. alice-mkh commented on Aug 25, 2014

    @alice-mkh
    Owner

    For now reboot and activate safe mode in Xposed.
    As for logs, LogCat please.
    However, try this, please: https://dl.dropboxusercontent.com/u/36782044/tabletkat-cm-test5.apk
    It's a temporary build where I fixed most reported issues as for now. (As you can see from commits)

  2. bgiesing commented on Aug 25, 2014

    @bgiesing
    Author

    Here is my logcat! http://goo.gl/NrfFhJ Also it still crashes with the test 5.

    Hopefully it has the information as I was at school and didn't have access to adb so I had to rig up a script that started logging on boot!

  3. alice-mkh commented on Aug 25, 2014

    @alice-mkh
    Owner

    404: Page not found – the page http://goo.gl/Bridge does not exist.

  4. alice-mkh commented on Aug 25, 2014

    @alice-mkh
    Owner

    I don't need logging from boot, I just need the moment when the crash happens.

  5. bgiesing commented on Aug 25, 2014

    @bgiesing
    Author

    Sorry autocorrect fail. http://goo.gl/NrfFhJ and that was the only way I could get it to work

  6. bgiesing commented on Aug 25, 2014

    @bgiesing
    Author

    The crash happens the second the device turns on and it won't stop.

  7. alice-mkh commented on Aug 25, 2014

    @alice-mkh
    Owner

    Yes, of course. The point is that it's the same crash every time. However, there is a problem. The crash is not in the log. ;)

  8. alice-mkh commented on Aug 25, 2014

    @alice-mkh
    Owner

    So I still don't know where it happens.
    It looks like this:

    08-25 11:54:14.366 E/AndroidRuntime(11477): de.robv.android.xposed.XposedHelpers$InvocationTargetError: java.lang.NullPointerException
    08-25 11:54:14.366 E/AndroidRuntime(11477): at de.robv.android.xposed.XposedHelpers.callMethod(XposedHelpers.java:955)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at org.exalm.tabletkat.TabletKatModule.createStatusBar(TabletKatModule.java:179)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at org.exalm.tabletkat.TabletKatModule.access$000(TabletKatModule.java:26)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at org.exalm.tabletkat.TabletKatModule$2.replaceHookedMethod(TabletKatModule.java:149)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at de.robv.android.xposed.XC_MethodReplacement.beforeHookedMethod(XC_MethodReplacement.java:15)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:611)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at com.android.systemui.statusbar.SystemBars.createStatusBarFromConfig(Native Method)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at com.android.systemui.statusbar.SystemBars.onNoService(SystemBars.java:58)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at com.android.systemui.statusbar.ServiceMonitor.startService(ServiceMonitor.java:228)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at com.android.systemui.statusbar.ServiceMonitor.access$000(ServiceMonitor.java:49)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at com.android.systemui.statusbar.ServiceMonitor$1.handleMessage(ServiceMonitor.java:73)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at android.os.Handler.dispatchMessage(Handler.java:102)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at android.os.Looper.loop(Looper.java:157)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at android.app.ActivityThread.main(ActivityThread.java:5335)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at java.lang.reflect.Method.invokeNative(Native Method)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at java.lang.reflect.Method.invoke(Method.java:515)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at dalvik.system.NativeStart.main(Native Method)
    08-25 11:54:14.366 E/AndroidRuntime(11477): Caused by: java.lang.NullPointerException
    08-25 11:54:14.366 E/AndroidRuntime(11477): at org.exalm.tabletkat.ViewHelper.replaceView(ViewHelper.java:19)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at org.exalm.tabletkat.ViewHelper.replaceView(ViewHelper.java:15)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at org.exalm.tabletkat.statusbar.tablet.NotificationPanelTitle.onFinishInflate(NotificationPanelTitle.java:74)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at org.exalm.tabletkat.statusbar.tablet.NotificationPanel.onFinishInflate(NotificationPanel.java:102)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at org.exalm.tabletkat.statusbar.tablet.TabletStatusBarMod.addPanelWindows(TabletStatusBarMod.java:328)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at org.exalm.tabletkat.statusbar.tablet.TabletStatusBarMod$12.replaceHookedMethod(TabletStatusBarMod.java:1294)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at de.robv.android.xposed.XC_MethodReplacement.beforeHookedMethod(XC_MethodReplacement.java:15)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:611)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at com.android.systemui.statusbar.tv.TvStatusBar.createAndAddWindows(Native Method)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at com.android.systemui.statusbar.BaseStatusBar.start(BaseStatusBar.java:423)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at com.android.systemui.statusbar.BaseStatusBar.start(Native Method)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at java.lang.reflect.Method.invokeNative(Native Method)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at java.lang.reflect.Method.invoke(Method.java:515)
    08-25 11:54:14.366 E/AndroidRuntime(11477): at de.robv.android.xposed.XposedHelpers.callMethod(XposedHelpers.java:947)
    08-25 11:54:14.366 E/AndroidRuntime(11477): ... 19

  9. bgiesing commented on Aug 25, 2014

    @bgiesing
    Author

    Sorry that was my fault, when I rebooted it replaced the error log with the clean log.

    Try this file http://goo.gl/vp6XPV

  10. alice-mkh commented on Aug 26, 2014

    @alice-mkh
    Owner

    Well, there is BaseStatusBar.updateHoverState at all on clean Android. I'll look into that later, ok?

  11. dccorona commented on Aug 26, 2014

    @dccorona

    For what it's worth, it looks like the problem is with Hover, a custom ROM feature of Paranoid Android (AOSPA). It brings "heads up" style notifications and floating window into the picture, which explains why your module runs into issues with it (they've modified the statusbar so that they can essentially replace it with a hovering notification)

    I've tried disabling hover, but the problem still persists, so sadly it's not as simple as shutting off the feature...it's baked right into the OS.

    I'd love to have support on Paranoid Android, but I can understand the unique challenge it poses and understand if you can't find a workaround.

  12. alice-mkh commented on Aug 27, 2014

    @alice-mkh
    Owner

    Disabling is not enough. I'll override it with an empty method when I get home.

  13. alice-mkh commented on Aug 28, 2014

    @alice-mkh
    Owner

    Oops, I had overridden it, but forgot to post it here.
    https://dl.dropboxusercontent.com/u/36782044/tabletkat-test3.apk

  14. bgiesing commented on Aug 29, 2014

    @bgiesing
    Author

    It still crashes the same way… Sorry, can’t make a bug report right now…

    Sent from Windows Mail

    From: Exalm
    Sent: ‎Thursday‎, ‎August‎ ‎28‎, ‎2014 ‎2‎:‎32‎ ‎AM
    To: Exalm/tabletkat
    Cc: brandon@voxive.cz.cc

    Oops, I had overridden it, but forgot to post it here.
    https://dl.dropboxusercontent.com/u/36782044/tabletkat-test3.apk

    —
    Reply to this email directly or view it on GitHub.

  15. bgiesing commented on Aug 30, 2014

    @bgiesing
    Author

    It looks like the new test build that you posted on XDA has fixed it! I am closing it.

  16. alice-mkh commented on Aug 31, 2014

    @alice-mkh
    Owner

    Hmm, ok.

  17. bgiesing commented on Sep 15, 2014

    @bgiesing
    Author

    So after playing with it for a while, I think that I may have figured out the crashing on AOSPA!

    It will not crash if the battery is plugged in, however, if you unplug it the battery icon has to update and will crash the system UI. It will keep crashing till you plug it back in.

    It doesn't help if you start with the device unplugged. It will still crash until you plug it in.

    Sorry, I can't give you a log because the fact that it doesn't work while unplugged.

  18. parkerlreed commented on Sep 29, 2014

    @parkerlreed

    adb logcat prints the entire logcat not just from when it starts. This means you can replug USB and get the errors from the crash.

    Here's my logcat from a 2012 Nexus 7 after plugging it back in after the systemui force crashes http://slexy.org/view/s2LOEZAPsq

  19. bgiesing commented on Oct 2, 2014

    @bgiesing
    Author

    @Exalm

    Here is the log for the crashes on PA.

    By the looks of it, it's the battery causing the crashes.

  20. alice-mkh commented on Oct 5, 2014

    @alice-mkh
    Owner

    Is it fixed now? If I understand correctly, it works fine except Overlay Recents causing crashes.
    Does the battery have correct colors?

  21. bgiesing commented on Oct 6, 2014

    @bgiesing
    Author

    Yep, everything works but overlay recents, even the battery meter

  22. parkerlreed commented on Oct 29, 2014

    @parkerlreed

    1.1 in the Xposed repos still doesn't work on aospa. Is there a newer build floating around?

  23. alice-mkh commented on Oct 29, 2014

    @alice-mkh
    Owner

    Testing builds posted here are newer than 1.1. The newest test build is https://dl.dropboxusercontent.com/u/36782044/tabletkat-1.2-test19.apk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions