To build and patch from source, please clone Official Magisk repository (https://github.com/topjohnwu/Magisk) and execute build.py avd_patch
More information at Official Magisk repository
- Install fish git adb unzip
- Clone this repository
- Copy ramdisk.img & advancedFeatures.ini here. (Usually they are in ~/Android/Sdk/system-images/android-api/type/abi)
- Download magisk.apk here
- Start avd
- Run
fish main.fish
- Shutdown avd
- Copy ramdisk.img & advancedFeatures.ini back
- Start avd again, and you can find magisk now
Of course same as Official Magisk
GPL-3