magiskWaydroid
magiskWaydroid copied to clipboard
Magisk with Lsposed (Zygisk) not work on Waydroid on Pc with Ubuntu or Phone with Droidian
Hello,
Thanks a lot for your your great work, it is very useful apps and function.
I have a problem it seem that Zygisk not work correctly.
Like your screenshot it is enable on 26301.
Lsposed is launching and seem to work but isn't :(
I can see :
[ 2024-11-25T14:29:25.040 0: 56: 58 W/Magisk ] zygisk_lsposed: failed to apply [sepolicy.rule]
and
[ 2024-11-25T14:29:26.160 1000: 320: 320 I/LSPosed ] skipped system server
[ 2024-11-25T14:29:26.853 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:27.854 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:28.854 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:29.854 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:30.855 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:31.855 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:32.856 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:33.856 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:34.856 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:35.857 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:36.857 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:37.858 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:38.858 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:39.858 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:40.859 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:41.859 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:42.859 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:43.860 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:44.860 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:45.860 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:46.863 1000: 320: 380 I/LSPosed Bridge ] binder received
[ 2024-11-25T14:29:46.863 0: 170: 170 I/LSPosedService ] sent service to bridge
[ 2024-11-25T14:29:47.006 0: 170: 309 I/LSPosedService ] manager is not installed
Actually for example XprivacyLua say the module don't boot. I have active it in Lsposed and reboot (like I did on a phone, and it work well). On a phone it work well with Lsposed. So I think a service don't boot correctly
Do you have an idea ? Thanks in advance :)
The detailed log :
[ 2024-11-25T14:29:24.790 0: 56: 56 I/Magisk ] Magisk 0fe46c5a-delta(26301) daemon started
[ 2024-11-25T14:29:24.790 0: 56: 56 I/Magisk ] * Device API level: 30
[ 2024-11-25T14:29:24.790 0: 56: 56 I/Magisk ] * CPU ABI 64-bit: x86_64,arm64-v8a
[ 2024-11-25T14:29:24.790 0: 56: 56 I/Magisk ] * CPU ABI 32-bit: x86,armeabi-v7a,armeabi
[ 2024-11-25T14:29:24.800 0: 56: 58 I/Magisk ] ** post-fs-data mode running
[ 2024-11-25T14:29:24.814 0: 56: 58 I/Magisk ] * Unlock device blocks
[ 2024-11-25T14:29:24.814 0: 56: 58 I/Magisk ] * Mounting mirrors
[ 2024-11-25T14:29:24.815 0: 56: 58 I/Magisk ] 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]
[ 2024-11-25T14:29:24.815 0: 56: 58 I/Magisk ] * Initializing Magisk environment
[ 2024-11-25T14:29:25.025 0: 56: 58 I/Magisk ] * Running post-fs-data.d scripts
[ 2024-11-25T14:29:25.037 0: 56: 58 I/Magisk ] zygisk_lsposed: applying [sepolicy.rule]
[ 2024-11-25T14:29:25.040 0: 56: 58 W/Magisk ] zygisk_lsposed: failed to apply [sepolicy.rule]
[ 2024-11-25T14:29:25.040 0: 56: 58 I/Magisk ] zygisk_lsposed: refresh [sepolicy.rule]
[ 2024-11-25T14:29:25.040 0: 56: 58 I/Magisk ] * Running module post-fs-data scripts
[ 2024-11-25T14:29:25.041 0: 64: 64 I/Magisk ] zygisk_lsposed: exec [post-fs-data.sh]
[ 2024-11-25T14:29:25.048 0: 56: 58 I/Magisk ] * Loading modules
[ 2024-11-25T14:29:25.048 0: 56: 58 I/Magisk ] hosts: loading mount files
[ 2024-11-25T14:29:25.244 0: 56: 58 I/Magisk ] ** late_start service mode running
[ 2024-11-25T14:29:25.244 0: 56: 58 I/Magisk ] * Running service.d scripts
[ 2024-11-25T14:29:25.244 0: 56: 58 I/Magisk ] * Running module service scripts
[ 2024-11-25T14:29:25.244 0: 56: 58 I/Magisk ] zygisk_lsposed: exec [service.sh]
[ 2024-11-25T14:29:25.488 0: 170: 170 D/AndroidRuntime ] >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
[ 2024-11-25T14:29:25.493 0: 170: 170 I/AndroidRuntime ] Using default boot image
[ 2024-11-25T14:29:25.493 0: 170: 170 I/AndroidRuntime ] Leaving lock profiling enabled
[ 2024-11-25T14:29:25.500 0: 170: 170 I/lspd ] Core platform API reporting enabled, enforcing=false
[ 2024-11-25T14:29:25.630 0: 170: 170 D/lspd ] Time zone APEX ICU file found: /apex/com.android.tzdata/etc/icu/icu_tzdata.dat
[ 2024-11-25T14:29:25.632 0: 170: 170 D/lspd ] I18n APEX ICU file found: /apex/com.android.i18n/etc/icu/icudt66l.dat
[ 2024-11-25T14:29:25.651 0: 170: 170 W/lspd ] Unexpected CPU variant for X86 using defaults: x86_64
[ 2024-11-25T14:29:25.700 0: 86: 86 I/Magisk ] zygisk64: replaced com/android/internal/os/Zygote#nativeForkAndSpecialize
[ 2024-11-25T14:29:25.702 0: 170: 170 W/lspd ] JNI RegisterNativeMethods: attempt to register 0 native methods for android.media.AudioAttributes
[ 2024-11-25T14:29:25.707 0: 86: 86 I/Magisk ] zygisk64: replaced com/android/internal/os/Zygote#nativeForkSystemServer
[ 2024-11-25T14:29:25.707 0: 86: 86 I/Magisk ] zygisk64: replaced com/android/internal/os/Zygote#nativeSpecializeAppProcess
[ 2024-11-25T14:29:25.712 0: 170: 170 D/AndroidRuntime ] Calling main entry org.lsposed.lspd.Main
[ 2024-11-25T14:29:25.718 0: 170: 170 W/LSPosedService ] LSPosed daemon is not started properly. Try for a late start...
[ 2024-11-25T14:29:25.718 0: 170: 170 I/LSPosedService ] starting server...
[ 2024-11-25T14:29:25.718 0: 170: 170 I/LSPosedService ] version 1.9.2 (7024)
[ 2024-11-25T14:29:25.722 0: 170: 299 I/LSPosedLogcat ] start running
[ 2024-11-25T14:29:25.723 0: 170: 299 I/LSPosedLogcat ] New log file: /data/adb/lspd/log/verbose_2024-11-25T14:29:25.723.log
[ 2024-11-25T14:29:25.732 0: 170: 170 W/LSPosedDex2Oat ] Check mount failed for /apex/com.android.art/bin/dex2oat32
[ 2024-11-25T14:29:25.734 0: 304: 304 I/LSPosed ] Enable dex2oat wrapper
[ 2024-11-25T14:29:25.735 0: 170: 299 I/LSPosedLogcat ] New log file: /data/adb/lspd/log/modules_2024-11-25T14:29:25.735.log
[ 2024-11-25T14:29:25.739 0: 170: 307 I/LSPosedDex2Oat ] Dex2oat wrapper daemon start
[ 2024-11-25T14:29:25.741 0: 308: 308 I/LSPosed ] Disable dex2oat wrapper
[ 2024-11-25T14:29:25.748 0: 170: 170 W/SQLiteCompatibilityWalFlags ] Cannot read global setting sqlite_compatibility_wal_flags - Application state not available
[ 2024-11-25T14:29:25.853 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:26.136 0: 56: 58 I/Magisk ] hidelist: initializing internal data structures
[ 2024-11-25T14:29:26.148 0: 331: 331 I/Magisk ] * Launching zygiskd64
[ 2024-11-25T14:29:26.148 0: 331: 332 I/LSPosed ] ZygiskCompanion: welcome to LSPosed!
[ 2024-11-25T14:29:26.148 0: 331: 332 I/LSPosed ] ZygiskCompanion: version v1.9.2 (7024)
[ 2024-11-25T14:29:26.160 1000: 320: 320 I/LSPosed ] skipped system server
[ 2024-11-25T14:29:26.853 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:27.854 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:28.854 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:29.854 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:30.855 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:31.855 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:32.856 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:33.856 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:34.856 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:35.857 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:36.857 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:37.858 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:38.858 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:39.858 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:40.859 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:41.859 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:42.859 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:43.860 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:44.860 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:45.860 0: 170: 170 I/LSPosedService ] service package is not started, wait 1s.
[ 2024-11-25T14:29:46.863 1000: 320: 380 I/LSPosed Bridge ] binder received
[ 2024-11-25T14:29:46.863 0: 170: 170 I/LSPosedService ] sent service to bridge
[ 2024-11-25T14:29:47.006 0: 170: 309 I/LSPosedService ] manager is not installed
[ 2024-11-25T14:29:52.129 0: 56: 58 I/Magisk ] ** boot-complete triggered
Thank you!! I'm very glad, that you found it useful ;) Hi there, It's possible that the bundled modules might not work correctly on every system, If you have installed the bundled LSPosed in my script, I would propably suggest removing it and installing the LSPosed manually, it might help to wake it up.
Oh I didn't look, I see that you have an older version of LSPosed, which shouldn't propably be a problem, but you can try to install this version here: https://github.com/JingMatrix/LSPosed
Hi, Thanks, with lot of try I finish by take it working. I copy manually some file, I think it is the working solution for me. I will try your solution the next time :)