waydroid_script icon indicating copy to clipboard operation
waydroid_script copied to clipboard

Magisk Modules don't work

Open powellnorma opened this issue 1 year ago • 1 comments

When I install a module, it wants to reboot. However, when I use waydroid session stop + use waydroid show-full-ui, they are still not installed (/data/adb/modules_update/ files are not applied).

And even when I "merge" them manually, it seems like /data/adb/modules/trustusercerts/post-fs-data.sh is not executed correctly (It's from https://github.com/NVISOsecurity/MagiskTrustUserCerts)

In /cache/magisk.log I see Invalid init selinux context: [kernel]:

09-24 11:49:31.125    60    60 I : Magisk 0fe46c5a-delta(26301) daemon started
09-24 11:49:31.126    60    60 I : * Device API level: 30
09-24 11:49:31.126    60    60 I : * CPU ABI 64-bit: x86_64,arm64-v8a
09-24 11:49:31.126    60    60 I : * CPU ABI 32-bit: x86,armeabi-v7a,armeabi
09-24 11:49:31.135    60    60 W : Invalid init selinux context: [kernel]
09-24 11:49:31.135    60    62 I : ** post-fs-data mode running
09-24 11:49:31.154    60    62 I : * Unlock device blocks
09-24 11:49:31.154    60    62 I : * Mounting mirrors
09-24 11:49:31.155    60    62 I : PATH=[/product/bin:/apex/com.android.runtime/bin:/apex/com.android.art/bin:/system_ext/bin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin]
09-24 11:49:31.155    60    62 I : * Initializing Magisk environment
09-24 11:49:31.158    60    62 I : * Loading modules

I ended up using the mitm command (thank you for this!), but I wonder why the magisk module didn't work.

powellnorma avatar Sep 24 '24 12:09 powellnorma

what should i do

solitudealma avatar Oct 18 '24 11:10 solitudealma