Kernel Based Root
Root decisions happen in kernel space, with only permitted apps able to access or see su. The control is structural, not a userspace gate that other apps can work around.
KernelSU is a kernel based root solution for Android GKI devices. It grants root from inside the Linux kernel, controlled by the manager app, with modules, App Profiles and a metamodule system on top.
Download APKFree and open source. The manager file details are listed below.
Root decisions happen in the kernel. The manager app and ksud exist to control the module, not to replace it.
| App Name | KernelSU |
|---|---|
| Version | 3.3.1 |
| Version Code | 32680 |
| Package Name | me.weishu.kernelsu |
| Developer | tiann |
| File Size | 13.0 MB |
| Requires Android | Android 12 or newer |
| Category | Tools |
| License | GPL-3.0 |
| Root Mode | LKM (loadable kernel module) |
| Price | Free |
KernelSU is a root solution for Android GKI devices. It works in kernel mode and grants root permission to userspace apps directly in kernel space. The project describes itself as an open source, kernel based root solution for Android, and its code, documentation and releases live in the open on GitHub under the GPL-3.0 license.
The kernel based design is the whole point. Running inside the kernel gives KernelSU a kernel interface that userspace root solutions never had: it can add hardware breakpoints to processes, access process memory invisibly and intercept system calls in kernel space. For daily use, the visible result is simpler: root that is granted and controlled from the kernel, with a small manager app on top.
KernelSU has three parts that work together. The kernel module provides the root mechanism inside the kernel. The ksud daemon runs in userspace and manages the module, including loading it and handling install operations. The manager app is the control panel: it shows the install state, grants root to apps, manages modules and App Profiles, and performs installs and updates.
When an app asks for root, the request reaches the kernel module, which checks the App Profile for that app. Only permitted apps can access or see su. All other apps remain unaware of it, which is the core of the access control model. Permitted apps get root with the privileges their profile allows, customised down to uid, gid, groups, capabilities and SELinux rules.
Modules sit on top of this through the metamodule system. Unlike traditional root solutions that bake mounting logic into their core, KernelSU delegates it to metamodules, so a metamodule like meta-overlayfs provides the systemless modifications to system partitions, and other metamodules can provide other mounting behaviour. The manager's module list, WebUI pages and scripts all build on that separation.
The three layers of KernelSU: the manager app talks to ksud, and ksud talks to the kernel module. Root decisions happen in the kernel.
KernelSU has historically supported two running modes on GKI devices. In LKM mode, a loadable kernel module is loaded into the device kernel without replacing the original kernel. In GKI mode, the original kernel was replaced with a Generic Kernel Image. Since the 3.0 release line, official support and release distribution for GKI image mode have been discontinued, and current releases provide LKM artifacts instead of ready to flash boot images.
LKM mode is the supported path for normal installs. It keeps the stock kernel, works with third party kernels, survives over the air updates through the inactive slot install, can be loaded with temporary root permissions in some scenarios, does not need to replace the boot partition, and can be uninstalled without flashing. The GKI instructions in the documentation remain only as legacy reference for users who build and maintain their own kernel image.
Root decisions happen in kernel space, with only permitted apps able to access or see su. The control is structural, not a userspace gate that other apps can work around.
Each app gets its own root profile: uid, gid, groups, capabilities and SELinux rules. Templates, including online templates shared by the community, apply ready made profiles without hand editing every field.
Modules extend the system with scripts, configuration and WebUI pages. The module format covers installation scripts, boot scripts and per module settings, all managed from the manager app.
A pluggable architecture for module management. Metamodules provide the mounting logic, so systemless modifications come from installable pieces like meta-overlayfs rather than from the root core itself.
Modules can ship HTML pages in a webroot folder, opened from the module list in the manager. A JavaScript library lets those pages interact with the system, so modules get real interfaces.
The ksud binary handles module loading, installs and late loading from a shell, including loading the module with temporary root permissions where the standard install path does not fit.
The manager app is the part most people touch. It shows the install state first: if it reports the device as unsupported, the project will not provide a boot image and the kernel must be compiled with KernelSU built in. If it reports not installed, the device is officially supported and the LKM install can proceed from the app.
Inside the app, the home screen shows the root state and the module state, the superuser list controls which apps hold root, the modules list installs and manages modules and their WebUI pages, and the install screen offers the LKM install options. The app also handles updates: installing a new manager and module release from the app itself, without manual flashing.
Installation starts before anything is flashed: back up the stock boot image, back up personal data, and confirm the device is a GKI device with a matching kernel version. The manager app is installed first, from the project releases, and its state report decides the next step. If the state is unsupported, stop and read the build documentation instead of forcing an install.
On a supported device, the LKM install runs from the manager. The options cover installing directly, patching a file, and installing to the inactive slot after an over the air update. After the install, reboot, open the manager to confirm the working state, and grant root to apps one at a time from the superuser list. If the phone bootloops, restore the stock factory boot image with fastboot, which is why the backup comes first.
LKM builds are published per KMI, the kernel module interface string that combines the Android release and the kernel version. The release artifacts for the current line cover the KMI values below, in both aarch64 and x86_64 builds. The device kernel version must match a published KMI, and the manager state report is the fastest check.
GKI devices show kernel versions in the form version, patch level, sublevel, Android release, KMI generation and suffix. If the kernel version does not follow that form, the device is probably not a GKI device, and current KernelSU releases will not support it. Non GKI kernels are covered by the 0.9.x line, which no longer receives new features.
android12-5.10 android13-5.10 android13-5.15 android14-5.15 android14-6.1 android15-6.6 android16-6.12 android17-6.18
KernelSU needs a GKI device, an unlocked bootloader and a backed up stock boot image. Unlocking the bootloader wipes the phone on most devices, so the backup must happen first. Root access changes the security posture of the phone: apps with root can read and change far more than normal apps, banking and payment apps may refuse to run, and a bad module can bootloop the device.
The honest way to run it is slowly: install, confirm the working state, grant root to one app, test, and only then add modules. Keep the stock boot image backup somewhere safe for the life of the install, since it is the way back from every failure mode the documentation describes.
The kernel is not a supported GKI kernel. The project will not provide a boot image. The path is compiling the kernel with KernelSU, or staying unrooted on that device.
Flash back the stock factory boot image with fastboot. That is the documented rescue, and it is why the backup comes before the install.
Check the App Profile for the app and confirm it is allowed. An app that cannot see su usually has no profile or a profile that denies it.
Check the module format, the install log in the manager, and whether the module needs a metamodule such as meta-overlayfs for mounting.
Install KernelSU to the inactive slot from the manager before rebooting after the update, so the updated slot carries the module.
Review the App Profile, the templates applied, and the modules installed. Detection depends on the app and the setup, and no single setting defeats every check.
Every file detail on this site is read from the release artifacts themselves: the file identity, the file size, the permissions and the minimum Android level come from the manager app file, and the KMI list comes from the release asset names. The install guidance follows the project documentation, including the states the manager reports and the rescue step of flashing back the stock boot image.
Treat root access as a security decision, not a feature toggle. Grant root only to apps that need it, keep modules to those whose source and behaviour are understood, and keep the stock boot image backup for as long as the install exists. If any step in the documentation is unclear, stop and read it again before flashing anything.
KernelSU is an open source, kernel based root solution for Android GKI devices. It runs inside the Linux kernel and grants root permission to userspace apps directly from kernel space. It consists of a kernel module, the ksud userspace daemon, and the KernelSU manager app.
Not in current releases. KernelSU loads as a loadable kernel module into the stock GKI kernel, so the original kernel stays in place. The older GKI mode, which replaced the kernel with a Generic Kernel Image, has been discontinued since the 3.0 release line, and current releases provide LKM artifacts instead of ready to flash boot images.
Android GKI devices: phones whose kernel follows the Generic Kernel Image format, with a kernel version and KMI that matches one of the released LKM builds. The manager app checks the device and reports whether it is supported. Non GKI kernels are not supported by current releases.
Yes. Installing KernelSU touches the boot chain, and unlocking the bootloader is a precondition. Unlocking wipes the phone, so a full backup comes first, and the stock boot image should be backed up before anything is installed.
In LKM mode, yes, with the right step. After an over the air update, install KernelSU to the inactive slot from the manager before rebooting, so root carries over to the updated slot. The manager handles this without manual flashing.
Yes. The LKM can be uninstalled from the manager without flashing partitions. Removing it disables root access, and a reboot restores it, since the module loads again at boot. A full return to stock also means flashing back the stock boot image.
No. Both grant root and both support modules, but the architecture differs: KernelSU runs in kernel mode and delegates mounting logic to metamodules, while Magisk patches the boot image and carries its own mounting logic. Module formats and hiding approaches differ as a result.
It controls which apps can see and use su, and App Profiles let each app's root privileges be customised, including uid, gid, groups, capabilities and SELinux rules. Whether a particular app detects root depends on the app, the profile and the modules installed, so no universal promise applies.
KernelSU is the kernel based answer to Android root on GKI devices: a small module in the kernel, a daemon to manage it, and a manager app that keeps the complexity behind a short list of screens. LKM mode makes it practical, App Profiles make it precise, and metamodules keep it extensible without bloating the core. For a supported GKI device, with a backup in hand and a slow, deliberate install, it is the most architecturally clean root solution available. For anything else, the manager's unsupported report is the answer, and it should be believed.