mirror of
https://github.com/tiann/KernelSU.git
synced 2025-02-20 11:43:32 +08:00
misc: code format(use kernel code stype: https://www.kernel.org/doc/html/v6.1/process/coding-style.html
KernelSU
A Kernel based root solution for Android GKI.
Usage
- Flash a custom kernel with KernelSU, you can build it yourself or download it from CI.
- 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
Android Studio / Gradle
Discussion
License
Credits
- kernel-assisted-superuser: the KernelSU idea.
- genuine: apk v2 signature validation.
- Diamorphine: some rootkit skills.
- Magisk: the sepolicy implementation.
Languages
Kotlin
43.8%
Rust
21%
C
19.8%
Java
6.4%
TypeScript
2.7%
Other
6.1%