Root via KernelSU - yashaswee-exe/AndroidGuides GitHub Wiki
- Make sure your bootloader is unlocked.
- If you are facing issues while executing adb/fastboot commands, try updating the respective drivers.
- Download & install KernelSU apk from here.
-
Get the boot.img of your current custom/stock ROM.
-
Patch the boot.img using KSU app by clicking on "Click to install".
- Move the patched boot.img from
Downloads
folder to PC and flash the patched it from fastboot, using the following commands:
fastboot flash boot boot.img
- To boot back to the system:
fastboot reboot
You should be rooted now 😎