EdXposed icon indicating copy to clipboard operation
EdXposed copied to clipboard

[BUG] actived but all modules can't work (Solved by customized EdXposed file)

Open GOUKI9999 opened this issue 7 years ago • 23 comments

什么情况/What happened? oenplus7 pro Android q , bootloop at 4463 now I tried updating 4471/4476 yahfa/handbook exposed manager /installer same situation that are all actived but modules can not work after somedays ago (maybe after updating magisk 20.1,I'm not sure) managers或installer 中显示激活但所有模块提示无法启用(缺少xposed)

uupdated:try rollback (re-flash) magisik 20.0 it's not worked yet

EdXposed及Riru版本/Versions of EdXposed and Riru

Magisk 20.1/20.0 Magisk Manager 7.4.0 Riru:19.5 EdXposed:4471/4476/4477 edXposed Manager 4.5.1/4.5.2

相关Logcat/Logcat

--------- beginning of head EdXposed Log Powered by Log Catcher QQ chat group 855219808 --------- beginning of system info Android version: 10 Android sdk: 29 Android build: QKQ1.190716.003 Fingerprint: OnePlus/OnePlus7Pro_EEA/OnePlus7Pro:10/QKQ1.190716.003/1910071200:user/release-keys ROM build description: OnePlus7Pro-user 10 QKQ1.190716.003 1910071200 release-keys EdXposed Version: v0.4.6.0_beta(4471) (Sandhook) Architecture: arm64-v8a Device: OnePlus7Pro Manufacture: OnePlus Brand: OnePlus Product: OnePlus7Pro --------- beginning of main --------- beginning of system 11-05 11:22:48.008 772 772 E EdXposed-Bridge: Cannot load any modules because /data/user_de/0/com.solohsu.android.edxp.manager/conf/modules.list was not found --------- beginning of crash 11-05 11:23:19.882 773 773 E EdXposed-Bridge: Cannot load any modules because /data/user_de/0/com.solohsu.android.edxp.manager/conf/modules.list was not found

GOUKI9999 avatar Nov 05 '19 03:11 GOUKI9999

Same for me.

Crash: 11-05 11:37:18.038 983 983 E EdXposed-Bridge: Cannot load any modules because /data/user_de/0/org.meowcat.edxposed.manager/conf/modules.list was not found

Device:

  • Xiaomi Mi Mix 2S
  • MIUI 11 Android 10

Environment:

  • Magisk v20.1
  • Riru Core 19.5
  • edXposed Yahfa v0.4.6.0_beta
  • edXposed Manager 4.5.1-451

Modules:

  • CustoMIUIzer

Log:

EdXposed Log
Powered by Log Catcher
QQ chat group 855219808
--------- beginning of system info
Android version: 10
Android sdk: 29
Android build: QKQ1.190828.002
Fingerprint: Xiaomi/polaris/polaris:10/QKQ1.190828.002/9.11.4:user/release-keys
ROM build description: polaris-user 10 QKQ1.190828.002 9.11.4 release-keys
EdXposed Version: v0.4.6.0_beta(4471) (Yahfa)
Architecture: arm64-v8a
Device: polaris
Manufacture: Xiaomi
Brand: Xiaomi
Product: polaris
--------- beginning of main
--------- beginning of system
07-07 21:54:15.938   982   982 I EdXposed: onModuleLoaded: welcome to EdXposed!
07-07 21:54:15.938   982   982 I EdXposed: Start to install inline hooks
07-07 21:54:15.938   982   982 I EdXposed: Using api level 29
07-07 21:54:15.938   982   982 I EdXposed: Start to install Riru hook
07-07 21:54:15.951   982   982 I EdXposed: Riru hooks installed
07-07 21:54:15.979   983   983 I EdXposed: onModuleLoaded: welcome to EdXposed!
07-07 21:54:15.979   983   983 I EdXposed: Start to install inline hooks
07-07 21:54:15.979   983   983 I EdXposed: Using api level 29
07-07 21:54:15.979   983   983 I EdXposed: Start to install Riru hook
07-07 21:54:15.989   983   983 I EdXposed: Riru hooks installed
07-07 21:54:16.179   983   983 I EdXposed: ART hooks installed
07-07 21:54:16.180   983   983 I EdXposed: system_property_get: dalvik.vm.dex2oat-filter -> quicken
07-07 21:54:16.180   983   983 I EdXposed: system_property_get: dalvik.vm.dex2oat-flags -> --inline-max-code-units=0
07-07 21:54:16.196   982   982 I EdXposed: ART hooks installed
07-07 21:54:16.196   982   982 I EdXposed: system_property_get: dalvik.vm.dex2oat-filter -> quicken
07-07 21:54:16.196   982   982 I EdXposed: system_property_get: dalvik.vm.dex2oat-flags -> --inline-max-code-units=0
07-07 21:54:16.528   983   983 I EdXposed: using installer org.meowcat.edxposed.manager
07-07 21:54:16.528   983   983 I EdXposed: black/white list mode: false, using whitelist: false
07-07 21:54:16.528   983   983 I EdXposed: dynamic modules mode: false
07-07 21:54:16.528   983   983 I EdXposed: resources hook: true
07-07 21:54:16.528   983   983 I EdXposed: deopt boot image: false
07-07 21:54:16.545   982   982 I EdXposed: using installer org.meowcat.edxposed.manager
07-07 21:54:16.545   982   982 I EdXposed: black/white list mode: false, using whitelist: false
07-07 21:54:16.545   982   982 I EdXposed: dynamic modules mode: false
07-07 21:54:16.545   982   982 I EdXposed: resources hook: true
07-07 21:54:16.545   982   982 I EdXposed: deopt boot image: false
11-05 11:37:04.185   982   982 E EdXposed-Bridge: Cannot load any modules because /data/user_de/0/org.meowcat.edxposed.manager/conf/modules.list was not found
11-05 11:37:04.505  1999  1999 E EdXposed: mmap failed, errno = Permission denied
11-05 11:37:04.505  1999  1999 E EdXposed: cannot hook method
11-05 11:37:04.505  1999  1999 E EdXposed: error when hooking com.elderdrivers.riru.edxp._hooker.yahfa.StartBootstrapServicesHooker
11-05 11:37:04.505  1999  1999 E EdXposed: java.lang.RuntimeException: Failed to hook private void com.android.server.SystemServer.startBootstrapServices() with public static void com.elderdrivers.riru.edxp._hooker.yahfa.StartBootstrapServicesHooker.hook(java.lang.Object) throws java.lang.Throwable
11-05 11:37:04.505  1999  1999 E EdXposed: 	at com.elderdrivers.riru.edxp.core.yahfa.HookMain.backupAndHook(HookMain.java:127)
11-05 11:37:04.505  1999  1999 E EdXposed: 	at com.elderdrivers.riru.edxp.core.yahfa.HookMain.doHookDefault(HookMain.java:3088)
11-05 11:37:04.505  1999  1999 E EdXposed: 	at com.elderdrivers.riru.edxp.proxy.BaseRouter.startSystemServerHook(BaseRouter.java:134)
11-05 11:37:04.505  1999  1999 E EdXposed: 	at com.elderdrivers.riru.edxp._hooker.impl.SystemMain.afterHookedMethod(SystemMain.java:27)
11-05 11:37:04.505  1999  1999 E EdXposed: 	at de.robv.android.xposed.XC_MethodHook.callAfterHookedMethod(XC_MethodHook.java:68)
11-05 11:37:04.505  1999  1999 E EdXposed: 	at com.elderdrivers.riru.edxp._hooker.yahfa.SystemMainHooker.hook(SystemMainHooker.java:25)
11-05 11:37:04.505  1999  1999 E EdXposed: 	at com.android.server.SystemServer.createSystemContext(SystemServer.java:623)
11-05 11:37:04.505  1999  1999 E EdXposed: 	at com.android.server.SystemServer.run(SystemServer.java:506)
11-05 11:37:04.505  1999  1999 E EdXposed: 	at com.android.server.SystemServer.main(SystemServer.java:361)
11-05 11:37:04.505  1999  1999 E EdXposed: 	at java.lang.reflect.Method.invoke(Native Method)
11-05 11:37:04.505  1999  1999 E EdXposed: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
11-05 11:37:04.505  1999  1999 E EdXposed: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:928)
11-05 11:37:06.870  1999  1999 E EdXposed: mmap failed, errno = Permission denied
11-05 11:37:06.870  1999  1999 E EdXposed: cannot hook method
11-05 11:37:06.870  1999  1999 E EdXposed: error occur when generating dex. dexDir=null
11-05 11:37:06.870  1999  1999 E EdXposed: java.lang.RuntimeException: Failed to hook public java.lang.ClassLoader android.app.LoadedApk.getClassLoader() with public static java.lang.Object EdHooker_.hook(java.lang.Object)
11-05 11:37:06.870  1999  1999 E EdXposed: 	at com.elderdrivers.riru.edxp.core.yahfa.HookMain.backupAndHook(HookMain.java:127)
11-05 11:37:06.870  1999  1999 E EdXposed: 	at com.elderdrivers.riru.edxp.yahfa.dexmaker.DynamicBridge.hookMethod(DynamicBridge.java:6225)
11-05 11:37:06.870  1999  1999 E EdXposed: 	at com.elderdrivers.riru.edxp.yahfa.config.YahfaHookProvider.hookMethod(YahfaHookProvider.java:19)
11-05 11:37:06.870  1999  1999 E EdXposed: 	at de.robv.android.xposed.XposedBridge.hookMethodNative(XposedBridge.java:458)
11-05 11:37:06.870  1999  1999 E EdXposed: 	at de.robv.android.xposed.XposedBridge.hookMethod(XposedBridge.java:235)
11-05 11:37:06.870  1999  1999 E EdXposed: 	at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:187)
11-05 11:37:06.870  1999  1999 E EdXposed: 	at com.elderdrivers.riru.edxp._hooker.impl.LoadedApkCstr.afterHookedMethod(LoadedApkCstr.java:64)
11-05 11:37:06.870  1999  1999 E EdXposed: 	at de.robv.android.xposed.XC_MethodHook.callAfterHookedMethod(XC_MethodHook.java:68)
11-05 11:37:06.870  1999  1999 E EdXposed: 	at com.elderdrivers.riru.edxp._hooker.yahfa.LoadedApkConstructorHooker.hook(LoadedApkConstructorHooker.java:35)
11-05 11:37:06.870  1999  1999 E EdXposed: 	at android.app.ActivityThread.getPackageInfo(ActivityThread.java:2343)
11-05 11:37:06.870  1999  1999 E EdXposed: 	at android.app.ActivityThread.getPackageInfo(ActivityThread.java:2286)
11-05 11:37:06.870  1999  1999 E EdXposed: 	at android.app.ActivityThread.getPackageInfo(ActivityThread.java:2257)
11-05 11:37:06.870  1999  1999 E EdXposed: 	at android.app.ContextImpl.createPackageContextAsUser(ContextImpl.java:2195)
11-05 11:37:06.870  1999  1999 E EdXposed: 	at android.app.ContextImpl.createPackageContext(ContextImpl.java:2182)
11-05 11:37:06.870  1999  1999 E EdXposed: 	at android.content.ContextWrapper.createPackageContext(ContextWrapper.java:886)
11-05 11:37:06.870  1999  1999 E EdXposed: 	at android.app.ActivityThread.installProvider(ActivityThread.java:7106)
11-05 11:37:06.870  1999  1999 E EdXposed: 	at android.app.ActivityThread.installContentProviders(ActivityThread.java:6630)
11-05 11:37:06.870  1999  1999 E EdXposed: 	at android.app.ActivityThread.installSystemProviders(ActivityThread.java:7333)
11-05 11:37:06.870  1999  1999 E EdXposed: 	at com.android.server.am.ActivityManagerService.installSystemProviders(ActivityManagerService.java:7798)
11-05 11:37:06.870  1999  1999 E EdXposed: 	at com.android.server.SystemServer.startOtherServices(SystemServer.java:1008)
11-05 11:37:06.870  1999  1999 E EdXposed: 	at com.android.server.SystemServer.run(SystemServer.java:524)
11-05 11:37:06.870  1999  1999 E EdXposed: 	at com.android.server.SystemServer.main(SystemServer.java:361)
11-05 11:37:06.870  1999  1999 E EdXposed: 	at java.lang.reflect.Method.invoke(Native Method)
11-05 11:37:06.870  1999  1999 E EdXposed: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
11-05 11:37:06.870  1999  1999 E EdXposed: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:928)
--------- beginning of crash
11-05 11:37:18.038   983   983 E EdXposed-Bridge: Cannot load any modules because /data/user_de/0/org.meowcat.edxposed.manager/conf/modules.list was not found```

underlines avatar Nov 05 '19 04:11 underlines

Same for me too, but I found a temporary solution is to deoptimize apps. However, minutes later it happened again.

JohnGLFour avatar Nov 05 '19 11:11 JohnGLFour

v0.4.6.0_beta Notes: Since the above PR is not merged yet, to make those sepolicies present you have to use this build along with the customized Magisk build hosted here: https://github.com/solohsu/magisk_files.

Please use customized Magisk from the above link. It's working for me.

FlynnYork avatar Nov 07 '19 18:11 FlynnYork

Update Edxposed Manager to version 4.5.2.

Howard20181 avatar Nov 11 '19 06:11 Howard20181

Update Edxposed Manager to version 4.5.2.

thank you ,I updated Edxposed Manager & restart android ,but the issue is still appearing ,and the same log as before looks "cannot load any modules because modules.list not found" bug is not be fixed for my device

GOUKI9999 avatar Nov 11 '19 06:11 GOUKI9999

For Edxposed 4471 and above you should use customized Magisk from https://github.com/solohsu/magisk_files You can install 4477 from https://ci.appveyor.com/project/ElderDrivers/edxposed/build/artifacts Disable “Instant module mode" and try again.

Howard20181 avatar Nov 11 '19 06:11 Howard20181

The above solution works!

robbyoconnor avatar Nov 11 '19 08:11 robbyoconnor

updated yahfa 4477 with manger 4.5.2 disable instant module mode (actually it never be enabled), not work unfortunately

GOUKI9999 avatar Nov 11 '19 08:11 GOUKI9999

updated yahfa 4477 with manger 4.5.2 disable instant module mode (actually it never be enabled), not work unfortunately

Try this build source code

Howard20181 avatar Nov 11 '19 12:11 Howard20181

It works for me now, thx a lot, this issue bothered me for several weeks

GOUKI9999 avatar Nov 11 '19 16:11 GOUKI9999

updated yahfa 4477 with manger 4.5.2 disable instant module mode (actually it never be enabled), not work unfortunately

Try this build https://drive.google.com/open?id=1aTqAqEYVnO9WSe0bw8BFGf6LPxNQnm2G

@Howard20181 Where did you acquire this build?

robbyoconnor avatar Nov 11 '19 19:11 robbyoconnor

@Howard20181 Where did you acquire this build?

I just add the sepolicy what was removed before to post-fs-data.sh.

Howard20181 avatar Nov 11 '19 23:11 Howard20181

@Howard20181 https://github.com/Howard20181 I rolled the dice that you didn't do anything malicious but I wasn't sure

robbyoconnor avatar Nov 12 '19 02:11 robbyoconnor

@Howard20181 https://github.com/Howard20181 I rolled the dice that you didn't do anything malicious but I wasn't sure

emm... I found another solution, use official Edxposed and Magisk and a module from here https://github.com/RikkaApps/magisk-custom-sepolicy-installer/releases

Howard20181 avatar Nov 12 '19 02:11 Howard20181

@ Howard20181 https://github.com/Howard20181我擲骰子說你沒有做任何惡意的事情,但我不確定

嗯... 我找到了另一個解決方案,使用官方的Edxposed和Magisk以及來自此處的模塊https://github.com/RikkaApps/magisk-custom-sepolicy-installer/releases

Hello I have 2 modules installed for this conversation But still unable to execute smoothly> < But install you above updated yahfa 4477 with manger 4.5.2 disable instant module mode (actually it never be enabled), not work unfortunately

Try this build source code Does work smoothly, thank you Also want to ask Is the custom magisk installation as long as the app in the compressed file is installed? Still need to flash in through TWRP? Because my ASUS 5Z upgrade after 10 TWRP 10 is not yet supported It seems that you can't brush in the compressed file through magisk. But thank you for your reply

Although successful, Safetynet2 certification has failed

k2913064 avatar Dec 01 '19 03:12 k2913064

Using custom magisk from Solohsu has resolved your issue I believe. Can you please mark this opened issue as resolved. That'd help newcomers also.

usamaiqbal1177 avatar Dec 11 '19 15:12 usamaiqbal1177

Does it resolve it indefinitely?  In my experience, it actually fails and passes randomly

On 12/11/19 10:40 AM, usamaiqbal1177 wrote:

Using custom magisk from Solohsu has resolved your issue I believe. Can you please mark this opened issue as resolved. That'd help newcomers also.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ElderDrivers/EdXposed/issues/385?email_source=notifications&email_token=AAAFUMHKZMVYY4E7U6X5D23QYECWPA5CNFSM4JI5FFFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGTSIZY#issuecomment-564601959, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAFUMBYMYGUWZYZCO6YBTLQYECWPANCNFSM4JI5FFFA.

robbyoconnor avatar Dec 11 '19 19:12 robbyoconnor

Does it resolve it indefinitely?  In my experience, it actually fails and passes randomly … On 12/11/19 10:40 AM, usamaiqbal1177 wrote: Using custom magisk from Solohsu has resolved your issue I believe. Can you please mark this opened issue as resolved. That'd help newcomers also. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#385?email_source=notifications&email_token=AAAFUMHKZMVYY4E7U6X5D23QYECWPA5CNFSM4JI5FFFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGTSIZY#issuecomment-564601959>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAFUMBYMYGUWZYZCO6YBTLQYECWPANCNFSM4JI5FFFA.

Bro, try with custom magisk and "canary edxposed". And see the modules log. In my one phone it works with normal magisk and normal EdXposed. But in my other device it works with custom magisk and canary edxposed. Try different combinations and sed

usamaiqbal1177 avatar Dec 12 '19 07:12 usamaiqbal1177

s9+ android 10 patched solohsu magisk = no root custom sepolicy by rikkaapps, bootloop, system unable to rw, need reflash entire rom and reset custom sepolicy patched by howard, bootloop, system unable to rw, need reflash entire rom and reset normal magisk 20.2, root works, edxposed works, no modules now what

Iria-D avatar Dec 21 '19 10:12 Iria-D

s9+ android 10 patched solohsu magisk = no root custom sepolicy by rikkaapps, bootloop, system unable to rw, need reflash entire rom and reset custom sepolicy patched by howard, bootloop, system unable to rw, need reflash entire rom and reset normal magisk 20.2, root works, edxposed works, no modules now what

Don't use EdXposed installer. Use EdXposed manager. Install manager apk first. Completely uninstall magisk from uninstaller zip Download and flash this solohsu magisk (https://github.com/topjohnwu/Magisk/releases) And open manager app and navigate to EdXposed canary tab. Download the canary EdXposed from there. It's name should be "magisk-EdXposed-YAHFA-v0.4.6.0_beta(4478)-release.zip" notice the bracket in the name! Use this canary EdXposed with that custom magisk 20.1 and manager apk. Try this and tell

usamaiqbal1177 avatar Dec 21 '19 15:12 usamaiqbal1177