1c4e51aec504f16a6ca5ec8067f6a0106f3faa92
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.
Languages
Kotlin
67.1%
C
20%
Rust
11.1%
Shell
0.9%
Makefile
0.4%
Other
0.4%