forked fromtiann/KernelSU
- Notifications
You must be signed in to change notification settings - Fork27
KernelSU with MagicMount, support GKI and Non-GKI. Updates:https://t.me/rsukrnlsu
License
NotificationsYou must be signed in to change notification settings
rsuntk/KernelSU
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Note
Official KernelSU support for Non-GKI kernels has been ended.
This is unofficial forks, all rights reserved to@tiann
curl -LSs "https://raw.githubusercontent.com/rsuntk/KernelSU/main/kernel/setup.sh" | bash -s main
- KPROBES hook:
- Only support GKI (5.10 - 6.x) Kernels in this fork. All non-GKI kernels must use manual hook.
- Used for Loadable Kernel Module (LKM)
- Default hook method on GKI kernels.
- Need
CONFIG_KPROBES=y
- Manual hook:
- For GKI (5.10 - 6.x) Kernels, add
CONFIG_KSU_MANUAL_HOOK=y
to kernel defconfig make sure to use#ifdef CONFIG_KSU_MANUAL_HOOK
instead of#ifdef CONFIG_KSU
to guard KernelSU hook. - Standard KernelSU hook:https://kernelsu.org/guide/how-to-integrate-for-non-gki.html#manually-modify-the-kernel-source
- backslashxx's syscall manual hook:backslashxx#5
- For GKI (5.10 - 6.x) Kernels, add
- Kernel-based
su
and root access management. - Module system based on5ec1cff's Magic Mount API on KernelSU
- App Profile: Lock up the root power in a cage.
- Bringing back non-GKI/GKI 1.0 support
KernelSU (before v1.0.0) officially supports Android GKI 2.0 devices (kernel 5.10+). Older kernels (4.14+) are also compatible, but the kernel will have to be built manually.
With this, WSA, ChromeOS, and container-based Android are all supported.
Currently, onlyarm64-v8a
are supported.
- Official KernelSU Telegram:@KernelSU
For information on reporting security vulnerabilities in KernelSU, seeSECURITY.md.
- Files under the
kernel
directory areGPL-2.0-only. - All other parts except the
kernel
directory areGPL-3.0-or-later.
- kernel-assisted-superuser: the KernelSU idea.
- Magisk: the powerful root tool.
- genuine: apk v2 signature validation.
- Diamorphine: some rootkit skills.
- 5ec1cff: magic mount api implementation.
About
KernelSU with MagicMount, support GKI and Non-GKI. Updates:https://t.me/rsukrnlsu
Topics
Resources
License
Security policy
Stars
Watchers
Forks
Packages0
No packages published
Languages
- Kotlin43.8%
- C22.5%
- Rust19.1%
- Java6.3%
- TypeScript2.7%
- Shell2.2%
- Other3.4%