KernelSU grants and manages superuser access from inside the Linux kernel on Android. It limits which apps can use su and supports pluggable systemless modules.
Overview
KernelSU is a rooting approach for Android that implements superuser handling in the kernel rather than only in userspace. Running there gives it broader visibility and control over which applications can obtain or even detect root privileges.
Permitted apps can receive customized su identities, including uid, gid, supplementary groups, capabilities, and SELinux rules. Other apps are kept unaware that root exists, which supports tighter privilege boundaries than a typical global su binary.
The metamodule system provides pluggable infrastructure for systemless changes, including modifications that would normally touch /system. Modules can extend behavior without permanently repartitioning the device image.
App Profile constrains how root power is exposed to individual applications. Official support targets Android GKI 2.0 devices with kernel 5.10 or newer, with additional builds possible for older 4.14+ kernels when built manually.
Arm64-v8a and x86_64 are supported, including WSA, ChromeOS, and container-based Android variants.
Key features
- Kernel-level su and root management
- Metamodule system for systemless changes
- App Profile root power constraints
- Per-app su visibility and access control
- Customizable su uid, gid, and SELinux rules
- Android GKI 2.0 and older kernel builds
- Arm64 and x86_64 device support
Use cases
- Controlled rooting on GKI Android phones
- Systemless /system-style module installs
- Hardened per-app superuser policies
- Root on WSA or ChromeOS Android layers