Skip to content
This repository has been archived by the owner on Jul 25, 2020. It is now read-only.

MediaTek data indicator System UI crash #1063

Open
Freenore opened this issue Oct 16, 2016 · 47 comments
Open

MediaTek data indicator System UI crash #1063

Freenore opened this issue Oct 16, 2016 · 47 comments

Comments

@Freenore
Copy link

Freenore commented Oct 16, 2016

E/TelephonyManager( 3986): Error calling ITelephony#getDataEnabled
E/TelephonyManager( 3986): java.lang.NullPointerException: Attempt to invoke interface method 'boolean com.android.internal.telephony.ITelephony.getDataEnabled()' on a null object reference
E/TelephonyManager( 3986):  at android.telephony.TelephonyManager.getDataEnabled(TelephonyManager.java:3595)
E/TelephonyManager( 3986):  at com.android.systemui.statusbar.policy.MobileDataController.isMobileDataEnabled(MobileDataController.java:205)
E/TelephonyManager( 3986):  at java.lang.reflect.Method.invoke(Native Method)
E/TelephonyManager( 3986):  at java.lang.reflect.Method.invoke(Method.java:372)
E/TelephonyManager( 3986):  at de.robv.android.xposed.XposedHelpers.callMethod(XposedHelpers.java:1213)
E/TelephonyManager( 3986):  at tk.wasdennnoch.androidn_ify.systemui.statusbar.StatusBarHooks$2.afterHookedMethod(StatusBarHooks.java:104)
E/TelephonyManager( 3986):  at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:348)
E/TelephonyManager( 3986):  at com.android.systemui.statusbar.policy.MobileDataController.<init>(<Xposed>)
E/TelephonyManager( 3986):  at com.android.systemui.statusbar.policy.NetworkControllerImpl.<init>(NetworkControllerImpl.java:374)
E/TelephonyManager( 3986):  at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:858)
E/TelephonyManager( 3986):  at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/TelephonyManager( 3986):  at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:334)
E/TelephonyManager( 3986):  at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(<Xposed>)
E/TelephonyManager( 3986):  at com.android.systemui.statusbar.phone.PhoneStatusBar.addStatusBarWindow(PhoneStatusBar.java:3139)
E/TelephonyManager( 3986):  at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/TelephonyManager( 3986):  at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:334)
E/TelephonyManager( 3986):  at com.android.systemui.statusbar.phone.PhoneStatusBar.addStatusBarWindow(<Xposed>)
E/TelephonyManager( 3986):  at com.android.systemui.statusbar.phone.PhoneStatusBar.createAndAddWindows(PhoneStatusBar.java:3135)
E/TelephonyManager( 3986):  at com.android.systemui.statusbar.BaseStatusBar.start(BaseStatusBar.java:516)
E/TelephonyManager( 3986):  at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:611)
E/TelephonyManager( 3986):  at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/TelephonyManager( 3986):  at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:334)
E/TelephonyManager( 3986):  at com.android.systemui.statusbar.phone.PhoneStatusBar.start(<Xposed>)
E/TelephonyManager( 3986):  at com.android.systemui.statusbar.SystemBars.createStatusBarFromConfig(SystemBars.java:106)
E/TelephonyManager( 3986):  at com.android.systemui.statusbar.SystemBars.onNoService(SystemBars.java:58)
E/TelephonyManager( 3986):  at com.android.systemui.statusbar.ServiceMonitor.startService(ServiceMonitor.java:228)
E/TelephonyManager( 3986):  at com.android.systemui.statusbar.ServiceMonitor.access$000(ServiceMonitor.java:49)
E/TelephonyManager( 3986):  at com.android.systemui.statusbar.ServiceMonitor$1.handleMessage(ServiceMonitor.java:73)
E/TelephonyManager( 3986):  at android.os.Handler.dispatchMessage(Handler.java:106)
E/TelephonyManager( 3986):  at android.os.Looper.loop(Looper.java:189)
E/TelephonyManager( 3986):  at android.app.ActivityThread.main(ActivityThread.java:5529)
E/TelephonyManager( 3986):  at java.lang.reflect.Method.invoke(Native Method)
E/TelephonyManager( 3986):  at java.lang.reflect.Method.invoke(Method.java:372)
E/TelephonyManager( 3986):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:950)
E/TelephonyManager( 3986):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:745)
E/TelephonyManager( 3986):  at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102)
E/AndroidRuntime( 3986): FATAL EXCEPTION: main
E/AndroidRuntime( 3986): Process: com.android.systemui, PID: 3986
E/AndroidRuntime( 3986): java.lang.IllegalArgumentException: method com.android.systemui.statusbar.SignalClusterView.setMobileDataIndicators [XposedOriginal] argument 3 has type com.mediatek.systemui.ext.IconIdWrapper[], got java.lang.Integer
E/AndroidRuntime( 3986):    at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 3986):    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:334)
E/AndroidRuntime( 3986):    at com.android.systemui.statusbar.SignalClusterView.setMobileDataIndicators(<Xposed>)
E/AndroidRuntime( 3986):    at com.android.systemui.statusbar.policy.NetworkControllerImpl.refreshSignalCluster(NetworkControllerImpl.java:565)
E/AndroidRuntime( 3986):    at com.android.systemui.statusbar.policy.NetworkControllerImpl.addSignalCluster(NetworkControllerImpl.java:451)
E/AndroidRuntime( 3986):    at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:902)
E/AndroidRuntime( 3986):    at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 3986):    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:334)
E/AndroidRuntime( 3986):    at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(<Xposed>)
E/AndroidRuntime( 3986):    at com.android.systemui.statusbar.phone.PhoneStatusBar.addStatusBarWindow(PhoneStatusBar.java:3139)
E/AndroidRuntime( 3986):    at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 3986):    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:334)
E/AndroidRuntime( 3986):    at com.android.systemui.statusbar.phone.PhoneStatusBar.addStatusBarWindow(<Xposed>)
E/AndroidRuntime( 3986):    at com.android.systemui.statusbar.phone.PhoneStatusBar.createAndAddWindows(PhoneStatusBar.java:3135)
E/AndroidRuntime( 3986):    at com.android.systemui.statusbar.BaseStatusBar.start(BaseStatusBar.java:516)
E/AndroidRuntime( 3986):    at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:611)
E/AndroidRuntime( 3986):    at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 3986):    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:334)
E/AndroidRuntime( 3986):    at com.android.systemui.statusbar.phone.PhoneStatusBar.start(<Xposed>)
E/AndroidRuntime( 3986):    at com.android.systemui.statusbar.SystemBars.createStatusBarFromConfig(SystemBars.java:106)
E/AndroidRuntime( 3986):    at com.android.systemui.statusbar.SystemBars.onNoService(SystemBars.java:58)
E/AndroidRuntime( 3986):    at com.android.systemui.statusbar.ServiceMonitor.startService(ServiceMonitor.java:228)
E/AndroidRuntime( 3986):    at com.android.systemui.statusbar.ServiceMonitor.access$000(ServiceMonitor.java:49)
E/AndroidRuntime( 3986):    at com.android.systemui.statusbar.ServiceMonitor$1.handleMessage(ServiceMonitor.java:73)
E/AndroidRuntime( 3986):    at android.os.Handler.dispatchMessage(Handler.java:106)
E/AndroidRuntime( 3986):    at android.os.Looper.loop(Looper.java:189)
E/AndroidRuntime( 3986):    at android.app.ActivityThread.main(ActivityThread.java:5529)
E/AndroidRuntime( 3986):    at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 3986):    at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 3986):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:950)
E/AndroidRuntime( 3986):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:745)
E/AndroidRuntime( 3986):    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102)
@Maxr1998 Maxr1998 added the crash label Oct 22, 2016
@Maxr1998 Maxr1998 changed the title System UI crash MediaTek data indicator System UI crash Oct 22, 2016
@Maxr1998
Copy link
Collaborator

Maxr1998 commented Oct 22, 2016

Please don't open an issue for every build. I see you already reported that in #1019 and #1036. Just wait for the fix.

@wasdennnoch
Copy link
Owner

wasdennnoch commented Oct 23, 2016

Do you have a deodexed SystemUI at hand?

@Freenore
Copy link
Author

Yeah my phone is deodexed.

@Maxr1998
Copy link
Collaborator

Maxr1998 commented Oct 23, 2016

Then upload that please :P
Although I may have already fixed that in my own sources.

@Freenore
Copy link
Author

Freenore commented Oct 23, 2016

@Maxr1998 I sent it lol

@Maxr1998
Copy link
Collaborator

Maxr1998 commented Oct 23, 2016

Could you download the above file and sent me your Xposed (not logcat) logs afterwards?

@Takumi87
Copy link

Report:

The Nify_Mediatek_fix apk attached here still gave me systemui crash. Do i have to open another issue?

@Maxr1998
Copy link
Collaborator

Maxr1998 commented Oct 24, 2016

@Takumi87 the Nify-MT-log.apk.zip doesn't fix the issue yet, it should only provide me some logging. I need Xposed logs or available or the normal device logs, which contain Xposed logs.

@Takumi87
Copy link

Takumi87 commented Oct 24, 2016

Here's the logs. I captured from both xposed logs and catlog and i just uploaded it on drive since my internet is shit.

[logs with same error as above]

@Maxr1998
Copy link
Collaborator

Nify_MT_test.apk.zip

Ok guys, had a little error in the previous one. Try this and send me your Xposed logs and/or logcat (from catlog app or adb).

@Takumi87
Copy link

Here are the logs bro. As usual i captured from both xposed logs and catlog. I read the catlog to make sure there's a tk.wassdennoch lines there.😁😂😀 i have difficulty uploading files directly to github so.
https://drive.google.com/file/d/0B6reUIyJc-MRS25Yek5HY2dLVGM/view?usp=drivesdk

@Maxr1998
Copy link
Collaborator

I think I finally found the error. Try that, and logs as above.

Nify_fix.apk.zip

@Takumi87
Copy link

Wow man that was fast. Cheers! Thanks. 😁😂😀 will try it tomorrow. Time to get some sleep. :)

@Takumi87
Copy link

Tested the build. Still got the systemui crash. 😭

@Freenore
Copy link
Author

Wtf... I accidently closed... sorry

@wasdennnoch wasdennnoch reopened this Oct 24, 2016
@wasdennnoch wasdennnoch reopened this Oct 24, 2016
@wasdennnoch
Copy link
Owner

lol

@Freenore
Copy link
Author

Btw, the N-ify fix apk didn't worked for me and Xposed not showing any logs.
alogcat.2016-10-24-23-07-34+0530.txt

@Takumi87
Copy link

Do i need to capture another set of logs? Or it's done by someone with identical issue? :) and is this an mtk problem or issue with devices running LP? Nah, just curious. :D

@Maxr1998
Copy link
Collaborator

No, but I'd really appreicate if you could upload your deodexed SystemUI apk. @Vality9, where did you upload it?

@Takumi87
Copy link

Ok. Will get on it. Will have to research how to do it tho and how to find out if mine is odexed or deodexed. I will just probably upload the apk to my drive as usual as i am not yet so familiar with dropbox.

@Takumi87
Copy link

Here bro. I am not sure if it's odexed or deodexed tho.

https://drive.google.com/file/d/0B6reUIyJc-MRYlNRS0F4VVEtaVU/view?usp=drivesdk

@Freenore
Copy link
Author

@Maxr1998 I uploaded it on Github? If you can't see or get any error then:

https://drive.google.com/file/d/0B_CaJq66_92SSEplcG9JMm11MjQ/view?usp=drivesdk

@Takumi87
Copy link

@Vality9
Is that your systemui?

@Takumi87
Copy link

Oh my bad. It's logcat. Lol

@Freenore
Copy link
Author

How can I send my System UI? lol?

@Takumi87
Copy link

@Vality9
Use root explorer or any favorite file manager of yours that has root access. Go to /system and look for the SystemUI.apk and just copy it to another location and zip it and upload. Either to cloud and paste the link or directly here. I just uploaded mine to Drive since i am on mobile. Mobile version of github sucks. Lol

@Freenore
Copy link
Author

@Takumi87
Copy link

No. You should mention @Maxr1998
I'm no dev. I'm also just a tester like you. 😁😂😀

@Mikeyangeleo
Copy link

What is the password to the file??? 😕

On Mon, Oct 24, 2016, 12:48 PM Max Rumpf notifications@github.com wrote:

Nify_MT_test.apk.zip
https://github.com/wasdennnoch/AndroidN-ify/files/547614/Nify_MT_test.apk.zip

Ok guys, had a little error in the previous one. Try this and send me your
Xposed logs and/or logcat (from catlog app or adb).


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#1063 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVy9MORzeLFFzMXWrSY2AeujHDMsLxClks5q3JsLgaJpZM4KX4sH
.

@Freenore
Copy link
Author

Thanks for it but it doesn't work. Nevermind, I would delete Xposed(or
N-ify, still not sure what causes the problem but I have Xposed just for
Android N-ify) at some point because it drains my battery so fast and I
can't even use the latest build to get latest features.

On Sat, Oct 22, 2016 at 6:44 PM, Max Rumpf notifications@github.com wrote:

@Vality9 https://github.com/Vality9 Could you try this one and report
back? You need to unpack the apk from the zip first.
Nify_MediaTek_fix.apk.zip
https://github.com/wasdennnoch/AndroidN-ify/files/545793/Nify_MediaTek_fix.apk.zip


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#1063 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVI7mJeek8XZ0xvM2EVYvKneQEoABPzFks5q2gwqgaJpZM4KX4sH
.

@Takumi87
Copy link

@Mikeyangeleo
What file? My copy of my systemui isnt password protected.

@Mikeyangeleo
Copy link

What? I don't understand the question or perhaps the way you wrote it

On Thu, Oct 27, 2016, 2:08 AM Takumi87 notifications@github.com wrote:

@Mikeyangeleo https://github.com/Mikeyangeleo
What file? My copy of my systemui isnt password protected.


You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub
#1063 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVy9MM3oM2ukDjpusKaCdc5Oh49ZhtFkks5q3_mMgaJpZM4KX4sH
.

@Takumi87
Copy link

You were asking what is the password to the file and i was wondering what you mean?

@Freenore
Copy link
Author

Soo....no fix?

@Maxr1998
Copy link
Collaborator

No, more like "No time" :(
I'll get back to it soon enough.

@Freenore
Copy link
Author

Freenore commented Nov 5, 2016

Should I use the Android Nify version which was working for me?

@Takumi87
Copy link

Takumi87 commented Nov 5, 2016

@Vality9
What version works for you? Funny, with mine only the stable build works. All the snapshots doesnt. :(

@Freenore
Copy link
Author

Freenore commented Nov 5, 2016

The 618 is the most latest one that works for me.

@Takumi87
Copy link

screenshot_2016-11-10-09-39-17
Lol. I tried 618 and i didn't get fc but glitches here and there. 😁😂😂

@Takumi87
Copy link

And

screenshot_2016-11-10-09-39-17

@Freenore
Copy link
Author

Yeah it's a bit buggy. Sometimes I feel I should install Nougat based CyanogenMod but Im not sure if I can just flash any ROM on internet or I need one specificly made for this device.

@Takumi87
Copy link

Roms are device specific as each device uses different socs and gpu. So you'd end up in trouble. My mtk6752m is stuck on kitkat officially but we have L roms up to 5.1.1. No taste of M or even N. 😭

@Freenore
Copy link
Author

Ohh, I found Unfofical CyanogenMod based on 5.1.1 so no taste of even Marshmallow lol

@Takumi87
Copy link

Takumi87 commented Mar 7, 2017

Digging this up again. Hehe. 😁😂😂

@Maxr1998 Maxr1998 removed their assignment Feb 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants