c0066b68f54ce1704bbbb15c58c747bd94aafd00
Basic support for the case that init_task.mnt_ns != zygote.mnt_ns(WSA), just copy nsproxy and fs pointers for solve #276. Note the copy in `apk_sign.c` is not required but suggested for secure(ensure the checked mnt_ns is what ns android running, not created by user, although many distributions does not have user ns.). Tested with latest release on Win10 19045.3086(with WSAPatch). Further review required for: - [x] Security of this operation (without locking). - [x] The impact of these modifications on other Android distributions.
English | 简体中文 | 繁體中文 | 日本語 | Portuguese-Brazil | Türkçe
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 compatible, 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%