talira

KernelSU

Kernel-based root solution for Android, loaded as a kernel module, with app profiles and a module system

open sourceGPL-2.0-only AND GPL-3.0-or-laterfree

KernelSU is a kernel-based root solution for Android devices. It provides su and root access management from inside the kernel, a module system built on metamodules for systemless modifications, and App Profiles that confine what root can do for each app, all managed from the KernelSU manager app. Current releases install it as a Loadable Kernel Module (LKM) loaded into the device's existing kernel; since v3.0 ready-to-flash GKI kernel images are no longer distributed. It officially supports Android GKI 2.0 devices (kernel 5.10 and later), older kernels from 4.14 with a manual build, WSA, ChromeOS and container-based Android, on arm64-v8a and x86_64. Its kernel code is GPL-2.0-only and the rest GPL-3.0-or-later.

Problems it solves

  • I want root on my Android phone without replacing its kernel
  • I need root access management that limits what each app can do with root
  • I want a Magisk alternative that works at the kernel level

Features

  • Kernel-based su and root access management
  • Loaded as a kernel module into the existing kernel (LKM)
  • Metamodule-based module system for systemless changes
  • App Profiles that confine root per app
  • Manager app
  • Supports GKI 2.0 devices, WSA, ChromeOS and container Android

Limitations

  • Recent kernel versions break it on x86_64 and can cause a kernel panic, according to its own README.1
  • Officially supports Android GKI 2.0 devices (kernel 5.10 or newer); older kernels from 4.14 need a manually built kernel.1

Alternatives

The same job

These do what KernelSU does.

  1. Magisk The Magic Mask for Android: systemless root, modules and boot image tools
  2. Vector Xposed-compatible ART hooking framework for rooted Android, installed as a Zygisk module
  3. LSPosed Xposed-compatible hooking framework for rooted Android, installed as a Magisk module

Compare KernelSU with the top 3