Skip to main content

What Is KernelSU

The logo mark, two white squares offset on a dark brown field
The logo mark, two white squares offset on a dark brown field

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 it as an open source, kernel based root solution, and its code and documentation live in the open under the GPL-3.0 license.

The name is literal: the su mechanism lives in the kernel. That placement gives KernelSU a kernel interface that userspace root solutions never had, including hardware breakpoints on processes, invisible access to process memory and interception of system calls in kernel space. The daily visible result is a manager app that grants root from a kernel level decision. KernelSU APK download

The Three Parts

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: install state, root grants, modules, App Profiles and updates. Each part has one job, and the separation is what keeps the design clean.

When an app asks for root, the kernel module checks the App Profile for that app. Only permitted apps can access or see su, and all other apps remain unaware of it. Permitted apps get root with the privileges their profile allows. LKM and GKI modes

What the Design Enables

  • Customisable root privileges per app: uid, gid, groups, capabilities and SELinux rules.
  • A metamodule system that delegates mounting logic to installable pieces.
  • Module WebUI pages, so modules ship real interfaces instead of bare scripts.
  • LKM loading into the stock kernel, with no kernel replacement in current releases.

Who It Is For

KernelSU suits people with a GKI device who want root with precise per app control and a module system that stays separate from the root mechanism. It is a poor fit for non GKI devices, which current releases do not support, and for anyone unwilling to unlock the bootloader and keep a stock boot image backup. The manager's state report settles the question fast.

Frequently Asked Questions

What does kernel based mean here?

The root mechanism runs inside the Linux kernel and grants root from kernel space, rather than patching the boot image from userspace.

Is the project open source?

Yes. The project is published under the GPL-3.0 license, with its code, documentation and releases in the open.

Do I need the manager app, or is it optional?

The manager app is the control panel for installs, grants, modules and profiles. The module and daemon do the work, but the manager is how they are controlled.