8fbdd996de69abd107f147218881ae1aa72ef565
_selinux_state_ is backported to 4.9 kernel with the 4.9.212 release,
use it to fix the build.
many thanks to @reallysnow for figuring this out.
inspired by
d7c2c5f02a
English | 中文
KernelSU
A Kernel based root solution for Android devices.
Features
- Kernel-based
suand root access management. - Module system based on overlayfs.
Compatibility State
KernelSU officially supports Android GKI 2.0 devices(with kernel 5.10+), old kernels(4.14+) is also compatiable, but you need to build kernel yourself.
WSA and containter-based Android should also work with KernelSU integrated.
And the current supported ABIs are : arm64-v8a and x86_64
Usage
Build
Discussion
- Telegram: @KernelSU
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%