Skip to content

🐛 [BUG] <error>系统界面hook时ClassNotFoundException #1128

Open
@frcxdev

Description

@frcxdev

Notice 须知

  • I confirm that this problem still exists in the latest version.
    我确认最新版依然存在此问题.

  • I have checked all installed modules for the possibility and confirmed that this module is the cause.
    我已排查已安装的所有模块的可能性,确认由本模块造成.

  • I've searched the Issue Tracker and can't find an Issue that submitted the same issue.
    我已经搜索过 Issue Tracker,且并未查询到提交相同问题的 Issue.

Problem description | 问题描述

重启系统界面,发现报错日志

其它:不知道什么原因解锁屏幕大概率出现“安全服务没有响应”,在小米社区和酷安也有很多网友有这种问题

新年快乐!🍻

Module logs | 模块日志

[ 2025-02-08T23:44:12.522 1000: 28320: 28320 I/LSPosed-Bridge ] [HyperCeiler][E][com.android.systemui][IconsFromSystemManager]: Hook Failed: de.robv.android.xposed.XposedHelpers$ClassNotFoundError: java.lang.ClassNotFoundException: com.android.systemui.statusbar.phone.ui.StatusBarIconControllerImpl
at de.robv.android.xposed.XposedHelpers.findClass(Unknown Source:12)
at com.sevtinge.hyperceiler.module.base.tool.HookTool.findClass(SourceFile:2)
at com.sevtinge.hyperceiler.module.base.tool.HookTool.findClass(SourceFile:1)
at com.sevtinge.hyperceiler.module.hook.systemui.statusbar.icon.all.IconsFromSystemManager.init(Unknown Source:9)
at com.sevtinge.hyperceiler.module.base.BaseHook.onCreate(Unknown Source:3)
at com.sevtinge.hyperceiler.module.base.BaseModule.onCreate(Unknown Source:8)
at com.sevtinge.hyperceiler.module.base.BaseModule.initHook(SourceFile:8)
at com.sevtinge.hyperceiler.module.base.BaseModule.initHook(SourceFile:2)
at com.sevtinge.hyperceiler.module.app.SystemUI.Phone.SystemUiU.handleLoadPackage(Unknown Source:94)
at com.sevtinge.hyperceiler.module.base.BaseModule.init(Unknown Source:260)
at o0.c.accept(Unknown Source:91)
at java.util.HashMap.forEach(HashMap.java:1423)
at com.sevtinge.hyperceiler.XposedInit.handleLoadPackage(Unknown Source:485)
at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(Unknown Source:2)
at de.robv.android.xposed.callbacks.XC_LoadPackage.call(Unknown Source:6)
at de.robv.android.xposed.callbacks.XCallback.callAll(Unknown Source:26)
at g0.a(Unknown Source:281)
at java.lang.reflect.Method.invoke(Native Method)
at J.callback(Unknown Source:250)
at LSPHooker_.createOrUpdateClassLoaderLocked(Unknown Source:11)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:1141)
at android.app.LoadedApk.getResources(LoadedApk.java:1400)
at android.app.ContextImpl.createAppContext(ContextImpl.java:3335)
at android.app.ContextImpl.createAppContext(ContextImpl.java:3327)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7336)
at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2394)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:224)
at android.os.Looper.loop(Looper.java:318)
at android.app.ActivityThread.main(ActivityThread.java:8759)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:561)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)
Caused by: java.lang.ClassNotFoundException: com.android.systemui.statusbar.phone.ui.StatusBarIconControllerImpl
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:536)
at q.a(Unknown Source:16)
at de.robv.android.xposed.XposedHelpers.findClass(Unknown Source:4)
... 33 more
Caused by: java.lang.ClassNotFoundException: com.android.systemui.statusbar.phone.ui.StatusBarIconControllerImpl
... 37 more

Reproduction steps | 复现步骤

Screenshot of problem | 问题截图

图片注释

HyperCeiler device information | HyperCeiler 设备信息

图片注释

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions