mirror of
https://github.com/tiann/KernelSU.git
synced 2025-08-27 23:46:34 +00:00
5053e20778c4631c729a59ae16a60d000b8a1244
From Kernel 5.11 it migrate to syscall_work instead of tif_*, so check for CONFIG_GENERIC_ENTRY and use syscall_work instead of TIF_SECCOMP https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg2382193.html
KernelSU
A Kernel based root solution for Android GKI.
Usage
- Flash a custom kernel with KernelSU, you can build it yourself or use prebuilt boot.img.
- Install Manager App and enjoy :)
Build
Build GKI Kernel
- 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.
Build the Manager App
Just open Android Studio and import the project.
License
Credits
Languages
Kotlin
44%
Rust
20.8%
C
20%
Java
6.3%
TypeScript
2.7%
Other
6%