Tanzanite Archive/Guides/Root via Magisk / KernelSU

Root via Magisk / KernelSU

root5-10measy/4 steps

Patch boot / init_boot then flash via fastboot

Use KernelSU if you need SUSFS. Avoid SUSFS custom kernel if hotspot breaks.
1
Get stock boot.img
Extract from HyperOS fastboot ROM or payload.bin of current AOSP ROM.
2
Patch in Manager
Install Magisk / KSU Manager → Install → Select and Patch a File → pick boot.img → get magisk_patched.img
3
Flash patched img
Boot to fastboot, flash to boot or init_boot partition as required.
fastboot flash boot magisk_patched.img
4
Verify root
Reboot system, open Manager check Ramdisk Yes + modules. Test via root checker.
adb shell su -c id