gjh000777 / KernelSU

A Kernel based root solution for Android GKI

Home Page:https://kernelsu.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

English | 中文

KernelSU

A Kernel based root solution for Android GKI.

Before Reading

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!

Compatibility State

Now KernelSU will work on these version of kernels without any modification:

  • 5.15
  • 5.10
  • 5.4
  • 4.19
  • 4.14

And the current supported ABIs are : arm64-v8a & x86_64

If you confirm KernelSU works on other version, open a issue tell us about it!

Usage

  1. Flash a custom kernel with KernelSU, you can build it yourself or download it from CI.
  2. Install Manager App and enjoy :)

For old kernels under 5.10, you must build custom kernels by yourself.

Build

Build GKI Kernel

  1. Download the GKI source first, you can refer the GKI build instruction
  2. cd <GKI kernel source dir>
  3. curl -LSs "https://raw.githubusercontent.com/tiann/KernelSU/main/kernel/setup.sh" | bash -
  4. Build the kernel.

Build the Manager App

Android Studio / Gradle

Discussion

@KernelSU

License

GPL-3

Credits

About

A Kernel based root solution for Android GKI

https://kernelsu.org

License:GNU General Public License v3.0


Languages

Language:C 31.5%Language:Kotlin 31.0%Language:Rust 13.3%Language:Java 12.7%Language:Shell 4.8%Language:TypeScript 3.2%Language:Python 1.5%Language:C++ 1.3%Language:Makefile 0.6%Language:CMake 0.2%