我修改了 /system/framework/miui-framework.jar ,把 miui.contentcatcher.InterceptorProxy$H.handleMessage 方法清空了,重启后卡米了,精简日志是
native: #00 pc 000000000056a79c /apex/com.android.art/lib64/libart.so!libart.so (offset 53c000) (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool)+144)
native: #01 pc 0000000000685a48 /apex/com.android.art/lib64/libart.so!libart.so (offset 53c000) (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool, BacktraceMap*, bool) const+368)
native: #02 pc 000000000064ae6c /apex/com.android.art/lib64/libart.so!libart.so (offset 53c000) (art::AbortState::DumpThread(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, art::Thread*) const+72)
native: #03 pc 00000000006353a0 /apex/com.android.art/lib64/libart.so!libart.so (offset 53c000) (art::Runtime::Abort(char const*)+2436)
native: #04 pc 0000000000016bc4 /apex/com.android.art/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)+80)
native: #05 pc 0000000000016184 /apex/com.android.art/lib64/libbase.so (android::base::LogMessage::~LogMessage()+368)
native: #06 pc 0000000000458898 /apex/com.android.art/lib64/libart.so!libart.so (offset 41e000) (art::JavaVMExt::JniAbort(char const*, char const*)+2524)
native: #07 pc 00000000004c232c /apex/com.android.art/lib64/libart.so!libart.so (offset 41e000) (art::JNI<false>::RegisterNatives(_JNIEnv*, _jclass*, JNINativeMethod const*, int)+2720)
native: #08 pc 000000000000a080 /system/lib64/libmiui_service.so (register_com_miui_server_greeze_GreezeManagerService(_JNIEnv*)+96)
native: #09 pc 000000000000b690 /system/lib64/libmiui_service.so (JNI_OnLoad+104)
native: #10 pc 000000000045c754 /apex/com.android.art/lib64/libart.so!libart.so (offset 41e000) (art::JavaVMExt::LoadNativeLibrary(_JNIEnv*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, _jobject*, _jclass*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*)+3120)
at java.lang.Runtime.nativeLoad(Native method)
at java.lang.Runtime.nativeLoad(Runtime.java:1121)
at java.lang.Runtime.loadLibrary0(Runtime.java:1075)
at java.lang.System.loadLibrary(System.java:1656)
at com.android.server.SystemServerImpl.<clinit>(SystemServerImpl.java:99)
at java.lang.Class.classForName(Native method)
at java.lang.Class.forName(Class.java:454)
at com.android.server.MiuiStubImplManifest$$.collectInjectors(MiuiStubImplManifest$$.java:10)
at java.lang.reflect.Method.invoke(Native method)
at com.miui.base.MiuiStubRegistry.doCollectInjectors(MiuiStubRegistry.java:117)
at com.miui.base.MiuiStubRegistry.collectInjectors(MiuiStubRegistry.java:109)
at com.miui.base.MiuiStubRegistry.init(MiuiStubRegistry.java:88)
at com.android.server.SystemServerStub.<clinit>(SystemServerStub.java:18)
at com.android.server.SystemServerStub.get(SystemServerStub.java:22)
at com.android.server.SystemServer.main(SystemServer.java:620)
Pending exception java.lang.ClassNotFoundException: com.miui.server.greeze.GreezeManagerService
at java.lang.String java.lang.Runtime.nativeLoad(java.lang.String, java.lang.ClassLoader, java.lang.Class) (Runtime.java:-2)
at java.lang.String java.lang.Runtime.nativeLoad(java.lang.String, java.lang.ClassLoader) (Runtime.java:1121)
at void java.lang.Runtime.loadLibrary0(java.lang.ClassLoader, java.lang.Class, java.lang.String) (Runtime.java:1075)
at void java.lang.Runtime.loadLibrary0(java.lang.Class, java.lang.String) (Runtime.java:998)
at void java.lang.System.loadLibrary(java.lang.String) (System.java:1656)
at void com.android.server.SystemServerImpl.<clinit>() (SystemServerImpl.java:99)
at java.lang.Class java.lang.Class.classForName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2)
at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:454)
at void com.android.server.MiuiStubImplManifest$$.collectInjectors(java.util.Map, java.lang.ClassLoader) (MiuiStubImplManifest$$.java:10)
at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
at void com.miui.base.MiuiStubRegistry.doCollectInjectors(java.lang.Class, java.lang.ClassLoader) (MiuiStubRegistry.java:117)
at void com.miui.base.MiuiStubRegistry.collectInjectors(java.lang.ClassLoader, java.lang.String) (MiuiStubRegistry.java:109)
at void com.miui.base.MiuiStubRegistry.init(java.lang.Class) (MiuiStubRegistry.java:88)
at void com.android.server.SystemServerStub.<clinit>() (SystemServerStub.java:18)
at com.android.server.SystemServerStub com.android.server.SystemServerStub.get() (SystemServerStub.java:22)
at void com.android.server.SystemServer.main(java.lang.String[]) (SystemServer.java:620)
修改别的地方也是同样的报错,代码和报错内容完全没有相关性,有没有修改但不报错的方法?