Files
SukiSU-Ultra/website/docs/guide/installation.md
2023-01-20 21:02:55 +08:00

1.4 KiB

Installation

Check if your device is supported

Download the KernelSU manager app from github releases or github actions, and then install the app to device and open the app:

  • If the app shows Unsupported, it means You should compile the kernel yourself, KernelSU won't and never provide a boot image for you to flash.
  • If the app shows Not installed, then your devices is officially supported by KernelSU.

Find proper boot.img

KernelSU provides a general boot.img for GKI devices, you should flash the boot.img to the boot partition of your device.

You can download the boot.img from github actions for kernel, Please be aware that your should use the right version of boot.img. For example, if your device show that the kernel is 5.10.101, then you need to download the 5.10.101-xxxx.boot.xxx.

And also, please check your stock boot.img's format, you should use the right format, such as lz4gz.

Flash the boot.img to device

Connect your device with adb and then execute adb reboot bootloader to enter fastboot mode, and then use this command to flash KernelSU:

fastboot flash boot boot.img

Reboot

When flashed, you should reboot your device:

fastboot reboot