English | 中文
A Kernel based root solution for Android GKI.
Now KernelSU supports old kernel under 5.10, but THERE WILL NEVER be a CI for old kernels, because they are not generic. ANY ISSUES ABOUT HOW TO COMPILE A OLD KERNEL WILL NOT BE ANSWERED AND WILL BE CLOSED.
KernelSU is in a early development stage and you should not put it into production enviroment. KernelSU developers will not be responsible for any of your losses.
If you face any issue, feel free to open a issue and tell us about it!
Now KernelSU will work on these version of kernels without any modification:
5.15
5.10
5.4
4.19
If you confirm KernelSU works on other version, open a issue tell us about it!
- Flash a custom kernel with KernelSU, you can build it yourself or download it from CI.
- Install Manager App and enjoy :)
For old kernels under 5.10, you must build custom kernels by yourself.
- Download the GKI source first, you can refer the GKI build instruction
- cd
<GKI kernel source dir>
curl -LSs "https://raw.githubusercontent.com/tiann/KernelSU/main/kernel/setup.sh" | bash -
- Build the kernel.
Android Studio / Gradle
- kernel-assisted-superuser: the KernelSU idea.
- genuine: apk v2 signature validation.
- Diamorphine: some rootkit skills.
- Magisk: the sepolicy implementation.