- Process like installing Magisk: https://topjohnwu.github.io/Magisk/install.html
Just do like when you update Magisk!
- Install, open and then grant root acccess to Magisk Delta.
- In Magisk section, tap "Install" and then "Direct Install". If you don't see this, try close and open the app.
- Rename the extension
magisk.apk
tomagisk.zip
- Open Magisk app, click "Modules" tab -> "Install from storage" and choose
magisk.zip
Please only use this method on ROM with Permissive SELinux mode or Enforcing SELinux with permissive "u:r:su:s0" context in sepolicy rules such as userdebug ROM like LineageOS. You should have a backup of your ROM in case system can't boot and do not use broken Custom Recovery. Your ROM must be able to mount read-write and your kernel must support dynamic SeLinux rules patch. Process this method at your own risk!
For some reasons, you don't want to install Magisk in regular way (patch boot imge), you can install Magisk directly to /system
.
- Restore to stock boot image if you already have Magisk installed
- Boot to recovery, rename
magisk.apk
tosystemmagisk.zip
and flash it. - If you want to update Magisk, please use Direct Install into system partition instead of Direct Install
- Only Magisk Delta support Magisk installation into system partition.
- Although emulator has ramdisk image, patching ramdisk is not used because ramdisk is stored in seperate partition with very SMALL disk size that is not enough to store Magisk binaries.
- Latest Magisk Delta Canary has been adopted to support Bluestacks,
but need app_process wrapper to run Zygisk. - List of emulators have been tested: NoxPlayer, LDPlayer, MEmu.
- List of Android x86 project has been tested: BlissOS, PrimeOS
- Waydroid is supported on Canary build.
- Enable Root access in emulator settings
- Install and open Magisk Delta
- Grant root access to Magisk Delta, click "Install" under Magisk field and use "Direct Install into system partition" option instead of "Direct Install" option (If you don't see this option, close and re-open Magisk Delta app) Don't restart now!
Disable Root access in emulator settings.Backup built-insu
(/system/bin/su
and/system/xbin/su
) and delete them (in case you want to uninstall Magisk and restore to built-insu
), then reboot. Because emulators like LDPlayer will remove allsu
after disable ROOT from settings, DO NOT disable Root access in emulator settings.- Enjoy Magisk!
- Download Bluestacks Tweaker from here
- Use Bluestacks Tweaker and click "Unlock" to unlock Bluestacks instance and then launch it, overwise you can't install Magisk
- When the instance starts up successfully, click "Patch" to open root access, install Magisk Delta and execute "Direct Install into system partition" action
- When you are done, click "UnPatch" and then relanch the instance.
- Enjoy Magisk!
- You can use initrd-magisk or directly install Magisk into system partition like guide above.
- Please check https://github.com/nitanmarcel/waydroid-magisk or https://github.com/casualsnek/waydroid_script for more information.
MagiskHide is not emulator-detection bypass
Create a empty file named .disable_magisk
in these location: /cache
, /persist
or /metadata
The official Magisk modules repository is dead and no longer maintained. Due to that, add them back is meanless. However, Fox2Code has developed Magisk Modules Manager app which allows you to download Magisk modules online.
- It is not recommended, you should uninstall it. If not, don't complain me about crashing. MagiskHide should be enough.
- If you really want to use Shxxxxo, then uninstall Magisk Delta and use Official Magisk ¯_(ツ)_/¯
SuList means MagiskSU and modules are not mounted by default, only the those apps in the list will have Magisk mounted, so the functionality of the modules is not fully supported because most of them must be mounted in all apps, which is equivalent to be detected. More information about SuList, please read this