Magisk Modules don't work #192

Open
opened 2024-09-24 08:37:25 -04:00 by powellnorma · 1 comment
powellnorma commented 2024-09-24 08:37:25 -04:00 (Migrated from github.com)

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.

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.
solitudealma commented 2024-10-18 07:00:21 -04:00 (Migrated from github.com)

what should i do

what should i do
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wbruno/waydroid_script#192