JingMatrix / LSPosed

LSPosed Framework resuscitated
https://lsposed.org
GNU General Public License v3.0
1.99k stars 57 forks source link

Fail to hook `com.android.systemui` process in LSPosed v1.10.1 #69

Closed JingMatrix closed 2 weeks ago

JingMatrix commented 2 weeks ago

Steps to reproduce/复现步骤

  1. Install LSPosed v1.10.1
  2. Install module ClassicPowerMenu

Expected behaviour/预期行为

Module ClassicPowerMenu work as expected

Actual behaviour/实际行为

ClassicPowerMenu works well with LSPosed v1.10.0, but not with LSPosed v1.10.1

Xposed Module List/Xposed 模块列表

1.ClassicPowerMenu
2.PixelifyGooglePhotos
3.ChromeXt
4.Enable ScreenShot

Magisk Module List/Magisk 模块列表

1.Zygisk - LSPosed
2.Play Integrity Fix
3.Tricky Store

LSPosed version/LSPosed 版本

v1.10.1

Android version/Android 版本

15

Magisk version/Magisk 版本

28001

Riru version/Riru 版本

N/A

Version requirement/版本要求

Logs/日志

v1.10.0.log v1.10.1.log

The crucial difference is that in v1.10.0, one has the following lines for hooking com.android.systemui

[ 2024-10-17T11:51:39.752    10222:  2137:  2137 I/LSPosed         ] Loading xposed for com.android.systemui/10222
[ 2024-10-17T11:51:39.759    10222:  2137:  2137 I/LSPosed-Bridge  ] Loading legacy module com.kieronquinn.app.classicpowermenu from /data/app/~~ggDklU9_iihkGR1WOjP8xw==/com.kieronquinn.app.classicpowermenu-sFmBnOQguW9x__KO6KzrEg==/base.apk
[ 2024-10-17T11:51:39.772    10222:  2314:  2314 I/LSPosed         ] Loading xposed for com.android.systemui/10222
[ 2024-10-17T11:51:39.778    10222:  2314:  2314 I/LSPosed-Bridge  ] Loading legacy module com.kieronquinn.app.classicpowermenu from /data/app/~~ggDklU9_iihkGR1WOjP8xw==/com.kieronquinn.app.classicpowermenu-sFmBnOQguW9x__KO6KzrEg==/base.apk
[ 2024-10-17T11:51:39.861    10222:  2137:  2137 I/LSPosed-Bridge  ]   Loading class com.kieronquinn.app.classicpowermenu.components.xposed.Xposed
[ 2024-10-17T11:51:39.970    10222:  2314:  2314 I/LSPosed-Bridge  ]   Loading class com.kieronquinn.app.classicpowermenu.components.xposed.Xposed
[ 2024-10-17T11:51:41.147        0:   852:   854 I/Magisk          ] ** boot-complete triggered
[ 2024-10-17T11:51:56.686     2000:  4235:  4235 I/LSPosed         ] Loaded manager, skipping next steps
[ 2024-10-17T11:51:57.597        0:   905:   933 I/lspd            ] Background concurrent mark compact GC freed 8902KB AllocSpace bytes, 32(4328KB) LOS objects, 78% free, 6541KB/30MB, paused 6.198ms,662us total 43.313ms

which is not shown in v1.10.1, possible linked to #64 .

JingMatrix commented 2 weeks ago

Moreover, after few reboots, the notification of LSPosed manage will disappear if CPM is enabled, which is a good indicator to figure out which commit causes this bug.

JingMatrix commented 2 weeks ago

It turns out that commit 44570c5 causes the bug. Here are the log for it and the log of its parent commit: 44570c5.log c5d7b32.log