Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ####Root Android with Magisk####
- #http://filmsbykris.com
- #Assuming you have your bootload unlocked and TWRP avaliable
- #get Magisk https://github.com/topjohnwu/Magisk/releases
- wget "https://github.com/topjohnwu/Magisk/releases/download/v20.2/Magisk-v20.2.zip"
- ##load TWRP
- #backup current boot partition
- #on Desktop (assuming your boot partition is /dev/block/mmcblk0p37) [your may be different]
- adb pull /dev/block/mmcblk0p37 boot.img
- #in TWRP go to "Advanced -> ADB Sideload" and swipe to start
- #on computer
- adb sideload Magisk-v20.2.zip
- #reboot
- #wait for Magisk to load - you'll see the app appear in your app draw - might take a minute
- ########remove Magisk#########
- #Magisk has an uninstall package,
- #but if you made an image of your boot partition you can just flash it back
- #in fastboot
- fastboot flash boot boot.img
- #OR in TWRP
- adb push boot.img /dev/block/mmcblk0p37 boot.img
- ##(assuming your boot partition is /dev/block/mmcblk0p37) [your may be different]
- #if you backup your boot partition while Magisk is install your can make it a temp root
- adb pull /dev/block/mmcblk0p37 boot-magisk.img
- #NOW you can make it a temp root by booting boot-magisk.img
- #in bootloader [Fastboot]
- fastboot boot boot-magisk.img
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement