mirror of
https://github.com/KernelSU-Next/KernelSU-Next.git
synced 2025-08-27 23:46:34 +00:00
632cf747673eda2ca16e3c7a270d0234c4f1c2a9
* 47f4f9e although fixed some typo, but since there is no include avc.h,
this will cause the build to fail
* Error:
/mnt/HDD/fish/aospa/kernel/msm-4.9/drivers/staging/ksu/selinux/selinux.c:60:2:
error: use of undeclared identifier 'selinux_enforcing'
selinux_enforcing = enforce;
^
/mnt/HDD/fish/aospa/kernel/msm-4.9/drivers/staging/ksu/selinux/selinux.c:81:9:
error: use of undeclared identifier 'selinux_enforcing'
return selinux_enforcing;
^
2 errors generated.
Change-Id: I4cc8917b2b73ca467873222e02d498da8718988e
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.