No left and right key at navbar after upgraded to MIUI 12.5 #205

Open
opened 3 years ago by liyafe1997 · 6 comments

Redmi K30pro MIUI 12.5.2

There should be two dots in left and right side of navbar for shortcuts.

Redmi K30pro MIUI 12.5.2 There should be two dots in left and right side of navbar for shortcuts.
Poster

Screenshot location redirect and statusbar network indicator mod also doesn't work.

Screenshot location redirect and statusbar network indicator mod also doesn't work.
Owner

Android 11 I assume?

Android 11 I assume?
Poster

Android 11 I assume?

Yes but in my previous MIUI version (12.2.x) also Android 11, but most of mods work fine.

So I guess its not caused by "Android 11", seems it is caused by some change of com.android.systemui in MIUI 12.5.

> Android 11 I assume? Yes but in my previous MIUI version (12.2.x) also Android 11, but most of mods work fine. So I guess its not caused by "Android 11", seems it is caused by some change of com.android.systemui in MIUI 12.5.
Poster

I found this in EdXposed logs:

05-22 23:28:04.130  2857  2857 I EdXposed-Bridge:   Loading class name.mikanoshi.customiuizer.MainModule
05-22 23:28:04.310  2857  2857 I EdXposed-Bridge: [CustoMIUIzer][NetSpeedIntervalHook] Failed to hook onAttachedToWindow method in com.android.systemui.statusbar.NetworkSpeedView
05-22 23:28:04.311  2857  2857 I EdXposed-Bridge: [CustoMIUIzer][NavBarButtonsHook] Failed to hook createNavigationBar method in com.android.systemui.statusbar.phone.StatusBar
05-22 23:28:04.319  2857  2857 I EdXposed-Bridge: [CustoMIUIzer][NavBarButtonsHook] Failed to hook switchSuit method in com.android.systemui.statusbar.phone.NavigationBarView
05-22 23:28:04.329  2857  2857 I EdXposed-Bridge: [CustoMIUIzer][ImeBackAltIconHook] Failed to hook setImeWindowStatus method in com.android.systemui.statusbar.phone.StatusBar
05-22 23:28:04.336  2857  2857 I EdXposed-Bridge: [CustoMIUIzer][MultiWindowPlusNativeHook] Failed to hook onBusEvent method in com.android.systemui.recents.views.RecentMenuView

Seems the method name changed in MIUI12.5 so it unable to hook?

I found this in EdXposed logs: ``` 05-22 23:28:04.130 2857 2857 I EdXposed-Bridge: Loading class name.mikanoshi.customiuizer.MainModule 05-22 23:28:04.310 2857 2857 I EdXposed-Bridge: [CustoMIUIzer][NetSpeedIntervalHook] Failed to hook onAttachedToWindow method in com.android.systemui.statusbar.NetworkSpeedView 05-22 23:28:04.311 2857 2857 I EdXposed-Bridge: [CustoMIUIzer][NavBarButtonsHook] Failed to hook createNavigationBar method in com.android.systemui.statusbar.phone.StatusBar 05-22 23:28:04.319 2857 2857 I EdXposed-Bridge: [CustoMIUIzer][NavBarButtonsHook] Failed to hook switchSuit method in com.android.systemui.statusbar.phone.NavigationBarView 05-22 23:28:04.329 2857 2857 I EdXposed-Bridge: [CustoMIUIzer][ImeBackAltIconHook] Failed to hook setImeWindowStatus method in com.android.systemui.statusbar.phone.StatusBar 05-22 23:28:04.336 2857 2857 I EdXposed-Bridge: [CustoMIUIzer][MultiWindowPlusNativeHook] Failed to hook onBusEvent method in com.android.systemui.recents.views.RecentMenuView ``` Seems the method name changed in MIUI12.5 so it unable to hook?
Poster

Here is my com.android.systemui APK

Here is my com.android.systemui APK
Poster

I decompiled both systemui apk of MIUI12 and 12.5 and it really seems some changes made in this method.

I also uploaded the old MIUI12 systemui apk here. Hope it's helpful for your analyze and development.

I decompiled both systemui apk of MIUI12 and 12.5 and it really seems some changes made in this method. I also uploaded the old MIUI12 systemui apk here. Hope it's helpful for your analyze and development.
Mikanoshi added the
Android 11
label 2 years ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Mikanoshi/CustoMIUIzer#205
Loading…
There is no content yet.