Root via KernelSU - yashaswee-exe/AndroidGuides GitHub Wiki

Prerequisites

  • Make sure your bootloader is unlocked.
  • If you are facing issues while executing adb/fastboot commands, try updating the respective drivers.

Let's start

  • 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 😎

To fix integrity and/or fix root detection follow this guide.

⚠️ **GitHub.com Fallback** ⚠️