- Your device must installed MagiskManager (any version)
- You must clear cache of MagiskManager before running this script
- You have to enable
USB debugging
on your device - You have Android platform tools installed (can execute
adb
on your computer)
- Grab specific version of Magisk archive, rename to
magisk.zip
and put in this directory - Connect your device with USB cable
- Open MagiskManager on your device
- go settings and change
Update Channel
to custom - set Custom Channel to
http://127.0.0.1:8080/
- BEFORE GOING BACK TO MAIN SCREEN, execute
install.bat
orinstall.sh
on your computer, wait until you see[*] Set custom channel to : http://127.0.0.1:8080/
- back to main screen and you should notice latest version of Magisk becomes 99999
- go settings and change
- Click Update and patch boot.img or install magisk
- When finished
- adb pull /sdcard/Download/magisk_patched.img
- fastboot flash boot magisk_patched.img or just reboot to apply when your device is already rooted.