handleLoadPackage() not called for app using appComponentFactory #513
Replies: 4 comments 2 replies
-
|
There seems to be error is you LSPosed logs, please upload the complete logs of debug build. |
Beta Was this translation helpful? Give feedback.
-
|
I was using release build before, I didn't know it didn't have debug info with verbose logs enabled. Following is the log after hooked app is started, I cleared the log before I started it. Hopefully that's enough, if you need logs from earlier in the boot, let me know. Note that |
Beta Was this translation helpful? Give feedback.
-
|
You surely cannot hook any method you want in an Android application. Instead, you should analyze the correct execution flow of the target app and set up the hooking points properly. This is not a problem of LSPosed, it is your task while designing a module. |
Beta Was this translation helpful? Give feedback.
-
|
That is an interesting proposal, I will consider it once the refactoring of LSPosed is done. Personally, I don't think hiding root via LSPosed could help, it is usually better to write zygsik modules directly. Alternative, try maybe this one: https://github.com/Mrack/TInjector_Symbi |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Steps to reproduce/复现步骤
AndroidManifestApplication_appComponentFactory, like forandroidx.core.app.CoreComponentFactory.Expected behaviour/预期行为
handleLoadPackage()gets called.Actual behaviour/实际行为
handleLoadPackage()not called beforeappComponentFactoryclass of the app is loaded, so methods cannot be hooked. Is hooking methods supported so early on?Xposed Module List/Xposed 模块列表
Root implementation/Root 方案
Magisk 29
System Module List/系统模块列表
LSPosed version/LSPosed 版本
v1.10.2 (7199) 0e457e3
Android version/Android 版本
.
Version requirement/版本要求
Logs/日志
Stacktrace without xposed module.
Stacktrace with xposed module.
Logcat logs. Note sure which elf is triggering
Compressed data is corrupterror or why.Beta Was this translation helpful? Give feedback.
All reactions