mirror of
https://github.com/KernelSU-Next/KernelSU-Next.git
synced 2025-08-27 23:46:34 +00:00
01b6694f9a58c87fff61cb805274087cce167942
post-fs-data.sh run as daemon.
1. We should make the `post-fs-data.sh` use itself a process group, otherwise it will receive signal from other process and make it exit accidentally. 2. And we should also switch child process' cgroup out of parent process, otherwise it would be kill by cgroup.
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.
v1.0.8
Latest
Languages
Kotlin
44%
Rust
29.4%
C
16.5%
Java
4.4%
Shell
2.9%
Other
2.7%