Skip to content

About

A curated list of KernelSU & its forks, tools, modules, and documentation

Topics

Resources

Contributing

Stars

129 stars

Watchers

4 watching

Forks

Latest commit

 

History

51 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KernelSU Logo

Awesome KernelSU

A curated list of KernelSU resources: official documentation, variants, metamodules, tools, and device kernels.

Awesome GitHub stars License

Contents


What is KernelSU?

KernelSU is a kernel-based root solution for Android. The su binary, the root allowlist, and the permission checks live in the Linux kernel, so nothing in the system partition has to be modified to grant root.

Key Features

  • Root access control: root is granted per UID/package. Apps without a grant never see su.
  • Kernel-level isolation: the manager talks to the kernel over a small IOCTL interface, so a userspace app cannot rewrite the rules it is judged by.
  • Metamodule system: module mounting is delegated to a pluggable metamodule instead of living in the core.
  • App Profile: per-app UID, GID, supplementary groups, Linux capabilities, SELinux domain, and mount namespace.
  • Module configuration store: modules read and write persistent or per-boot key-value settings through ksud module config.
  • Late-load mode: the kernel module can be loaded after boot instead of at init, for use cases that need the stock boot path.
  • Native module blacklist: other kernel modules can be blocked at boot from the Manager.
  • ADB root: an optional adb root shell, optionally restricted to live adb sessions with shell_su_adb_only.
  • SELinux hide: optional kernel-side hiding of the SELinux mode and attribute state.
  • Magica jailbreak mode: root escalation on a boot that comes up with permissive SELinux.
  • x86_64 support: LKM builds for x86_64 cover emulators, WSA, Waydroid, and ChromeOS containers.

Note

Official KernelSU targets Android GKI 2.0 devices (kernel 5.10+). Compatibility ultimately depends on the device's KMI, not just the kernel version. See the installation guide.


Read next: KernelSU rooting guide · Official documentation · Official module registry

Getting Started

Prerequisites

  • Unlocked bootloader: required for every installation method.
  • Stock boot image backup: your only way out of a bootloop.
  • ADB and fastboot on your computer.
  • A compatible device: check with the Manager before anything else.

Tip

Bootloader unlocking is device-specific and often gated. Awesome Android Root walks through the process.

Steps

  1. Check compatibility. Install the KernelSU Manager and open it:
  2. Choose an installation mode: LKM or GKI.
  3. Install KernelSU following the installation guide.
  4. Install a metamodule if you use modules that ship a system/ directory. See Metamodules.
  5. Verify that the Manager reports an installed kernel with a matching version.

Installation Modes

Two installation modes are documented. The official recommendation: LKM for phones, GKI for emulators, WSA, and Waydroid.

LKM (Loadable Kernel Module)

Loads KernelSU as a kernel module instead of replacing the kernel.

  • Keeps the stock kernel and vendor tuning.
  • Upgrades in the Manager, including "install to inactive slot" after an OTA.
  • Patches the ramdisk, not the boot image, so AVB is not tripped.
  • Can be removed temporarily and re-enabled on the next reboot.
  • On Android 13+ the patched partition is init_boot, not boot.

GKI (Generic Kernel Image)

Replaces the device kernel with a generic image.

  • Works on any device with a matching KMI, with or without official firmware.
  • The option for Knox-locked Samsung devices, where LKM cannot run.

Note

Since the 3.0 line, official KernelSU no longer publishes GKI images. The build guide is archival and Ylarod/ddk is the recommended way to produce an LKM. Forks (KernelSU-Next, SukiSU Nova, BakaSU) and community builders still ship GKI images.

Quick comparison
GKI mode LKM mode
Universal GKI compatibility Preserves the original kernel and tuning
Works on Knox-locked devices In-app updates, OTA-friendly
Independent of firmware updates No AVB or dm-verity issues
Better on heavily modified devices Can be disabled without a reboot
Loses manufacturer kernel tuning Needs matching official firmware
Requires manual fastboot flashing May not work on modified firmware
Must be reflashed after major updates

Tip

Full instructions, KMI matching, and security-patch-level rules: official installation guide.

Metamodules

A metamodule provides the module mounting infrastructure. Since the 3.0 line, official KernelSU does not mount modules itself. It runs the active metamodule's metamount.sh and lets the metamodule decide how a module's system/ directory reaches the filesystem.

Important

A metamodule is required only for modules that ship a system/ directory. Script-only, sepolicy.rule, and system.prop modules work without one. Only one metamodule can be active at a time.

The metamodule hooks are shared: official KernelSU, KernelSU-Next, SukiSU Nova (formerly SukiSU Ultra), BakaSU, YukiSU, and FinaSU all run the same metainstall.sh / metamount.sh / metauninstall.sh scripts, so a metamodule ZIP is largely portable between them. The difference is what the fork adds on top. SukiSU Nova and FinaSU bundle a mount engine of their own, while KernelSU-Next stays metamodule-first and adds SUSFS loading and preinit around it.

A module's system directory is read by the metamodule at boot, which routes it to OverlayFS, Magic Mount, or VFS injection, then applies it to the live filesystem

How a module's system/ directory reaches the live filesystem.

Available metamodules

Metamodule Mounting Requirements Notes
meta-hybrid_mount OverlayFS + Magic Mount OverlayFS-capable kernel; an ext4 staging partition is used Listed in the official registry. Picks the engine per module and per path, with automatic fallback.
mountify OverlayFS OverlayFS-capable kernel Global mount mode, works with Magisk and APatch too.
meta-magic_mount-rs Magic Mount None beyond a supported KernelSU build Rust rewrite of the Magic Mount metamodule, based on MKSU.
meta-magic_mount Magic Mount None beyond a supported KernelSU build Original Magic Mount metamodule, for modules that need Magisk-identical mounts.
NoMount VFS injection Kernel must allow inode-operation interception; the bundled LKM covers most GKI kernels without a custom kernel Mountless: paths are redirected in the VFS instead of mounted, so nothing reaches the mount table. Works with KernelSU and APatch, ships a WebUI and an nm CLI.
Meta-Overlayfsx OverlayFS OverlayFS-capable kernel; slow storage adds I/O overhead Continuation of the original meta-overlayfs with a WebUI and a live mount inspector.
MyOverlayFs OverlayFS OverlayFS-capable kernel; writes to an ext4 image, with a repair pass on boot Another continuation of the original meta-overlayfs.

Warning

NoMount and meta-hybrid_mount both hijack inode operations and register different key types, so they cannot coexist on one kernel: hybrid_mount refuses to install into a tree that already integrates NoMount. Pick one.

Tip

Unsure which engine you need? A mountless metamodule (NoMount) avoids the I/O overhead of OverlayFS entirely; Magic Mount is the safest match for modules ported from Magisk. When in doubt, meta-hybrid_mount routes per module and falls back automatically.

Installing a metamodule

  1. Download the metamodule ZIP from its GitHub releases.
  2. Open the Manager → Modules.
  3. Tap the plus button and pick the ZIP.
  4. Reboot.

The active metamodule is marked in the module list.

Tip

The full list of metamodules and modules: modules.kernelsu.org. Details on switching: metamodule guide.

KernelSU Variants

Warning

Everything below official KernelSU is a community fork. Features do not carry over between them, and a fork can add detection vectors or stop being maintained.

Picking a variant

Start from your situation:

Situation Pick
Stock-ish GKI phone, firmware updates matter Official KernelSU, LKM mode
Kernel outside 5.10–6.18, or you want SUSFS without rebuilding KernelSU-Next
You need KPM modules, or a kernel below 4.14 SukiSU Nova
You want the official Manager on a non-upstream kernel, or manual hooks down to 3.4 BakaSU
You want Zygisk bundled with the Manager SukiSU Nova, YukiSU, or FinaSU
You maintain kernels down to 3.x and need arm32 too RKSU or xxKSU
Knox-locked Samsung, or an emulator image GKI mode, from a fork or a community builder

Then compare the details:

Variant Kernel support Mounting KPM Multi-manager Manager highlights Best for
Official KernelSU GKI 2.0 (5.10+), LKM to Android 17 / 6.18 Metamodule No No App profiles, module config, adb root, Magica, SELinux hide, preinit runner Stability and OTA survival
KernelSU-Next Non-GKI 4.4–5.4, GKI 5.10+, LKM to 6.18 Metamodule No No Module/allowlist backup, prebuilt SUSFS LKM, module preinit, risk checks Wide kernel range without compiling
SukiSU Nova Non-GKI 4.14+ (3.x with backports), GKI 5.10+ Built-in Yes Yes, dynamic managers SUSFS controls, NyaZygisk, theme store, kernel extension center KPM and legacy devices
BakaSU GKI 2.0, 3.4+ manual Metamodule No Yes Minimal hooks, built-in SUSFS management Old kernels and a second Manager
YukiSU ARM64 GKI 2.0 only, LKM only Metamodule, with built-in Kagami and external backends No Yes, dynamic managers Built-in YukiZygisk, C++ userspace, SuperKey, Kasumi rules, UTS spoofing, Lua plugins A self-contained Zygisk
FinaSU GKI 5.10+, 4.14+ manual Built-in Folk-Mount, plus NoMount No No FolkZygisk, Sui (Shizuku API), theme store Customization
KOWSU GKI 2.0, 4.14+ manual Metamodule No Yes Material theming, many translations Upstream look with a different theme
RKSU 4.4–6.18; 3.x only through community backports Magic Mount No Yes Spoofed Manager builds, arm32 target Legacy non-GKI kernels
xxKSU 3.0–5.4+ upstream-compliant driver Metamodule No No arm64 and arm32, patch-focused staging branches Maintaining an old kernel tree
MKSU (5ec1cff) Follows the branch you build Magic Mount No No Where the Magic Mount API and the no-mount / no-tmpfs options came from Reference for mount-avoidance work
SakiSU GKI 2.0 LKM, vendor_boot cleanup Metamodule No Yes, dynamic manager Runtime vermagic adaptation, vendor_boot module removal vivo/iQOO devices
XECKernel Ultra GKI 5.10–6.18 per KMI KernelPatch route below 5.10 No No Built-in TEE engine, health score, module backup An all-in-one manager
Wild KSU Archived N/A N/A N/A N/A Historic reference only

Note

SUSFS is a separate kernel-side project (susfs4ksu), not part of KernelSU. "Built-in management" means the Manager can drive SUSFS on a SUSFS-capable kernel; the patches or the LKM loader are still required.

Note

KPM came to KernelSU through SukiSU (now Nova). KPatch-Next ports it to Magisk and KernelSU, so a KPM module can be used on a plain KernelSU build.

Official KernelSU

GitHub Release Stars Docs Telegram

The original implementation, and the reference for everything else.

View details
  • Target: GKI 2.0 (kernel 5.10+), including WSA, ChromeOS, and container-based Android.
  • Architectures: arm64-v8a and x86_64 LMKs; riscv64 ksud/ksuinit artifacts, with riscv64 hook support under LKM.
  • Kernel coverage in releases: Android 12 / 5.10 through Android 17 / 6.18.
  • Mounting: metamodule-based.
  • Boot: a small preinit runner executes module preinit.conf files from /metadata before SELinux policy loads, with a size cap and a bootloop guard. ksuinit also tolerates a vermagic mismatch.
  • Manager: Material 3 and MIUI-style themes, app profiles, module config, adb root, Magica jailbreak mode, optional SELinux hiding, native module blacklist, late-load mode, boot-patch-v2, and a kernel-side sulog view.
  • Not supported: non-GKI kernels were dropped after the 1.0 line; the integration guide is archival.

Resources: Manager APK · Documentation · Module registry · Telegram channel · Issue tracker

KernelSU-Next

GitHub Release Stars Docs Telegram

Wide kernel coverage, module backup, and prebuilt SUSFS loaders.

View details
  • Kernel support: 4.4 in LTS mode, 4.19–5.4 with the driver built in, and GKI 5.10 upward; released LKM artifacts cover Android 12 / 5.10 through Android 17 / 6.18.
  • Mounting: metamodule-based, like upstream. The prebuilt SUSFS .ko files and the module preinit runner are what this fork adds at boot.
  • SUSFS: ships susfs_guard_lkm.ko per KMI, with KPROBES hiding controls in the Manager.
  • Manager: module backup and restore, SU allowlist backup, bulk install, auto-updates, hide-hosts via app-profile unmount, spoofed-package Manager builds, native kernel-module blocking, shell_su_adb_only.
  • Architectures: arm64-v8a and x86_64.
  • Preinit: an opt-in runner executes a module's preinit.conf from /metadata before SELinux policy loads, with a bootloop guard that gives up after repeated failures.
  • Device list: unofficially supported devices.

Resources: Manager APK · Website · Telegram group · CI channel · Issue tracker

SukiSU Nova

GitHub Release Stars Docs Telegram

Formerly SukiSU Ultra. Renamed by the same maintainers, with development continuing under the new name. The variant with KPM, a bundled mount engine, and the deepest legacy device coverage.

View details
  • Kernel support: non-GKI 4.14 and up (3.4–3.18 with extra backports), plus GKI 5.10 upward, through LKM, GKI, or built-in integration.
  • Mounting: its own mount engine; the metamodule hooks are still present, so a metamodule can be installed for what the built-in engine does not cover.
  • KPM: KernelPatch-derived kernel modules with inline and syscall-table hooks, gated on CONFIG_KPM=y.
  • Manager: SUSFS controls in a dedicated kernel extension centre, NyaZygisk built in, a theme store, Magica jailbreak mode, WebUI support, Miuix and Material 3 themes, and decentralised manager authorisation instead of a fixed package name.
  • Architectures: arm64-v8a, armeabi-v7a (bare), x86_64, riscv64.

[!NOTE] Pre-rename releases are no longer on GitHub, so a build older than the rename has to come from the project's own channels. The old SukiSU-Ultra URLs redirect to the new repository.

Resources: Manager APK · Website · Installation guide · KPM patch source · Telegram

BakaSU

GitHub Pre-release Stars Docs Telegram

Formerly ReSukiSU. A downstream of KernelSU through the SukiSU branch, with minimal hooks and multi-manager support.

View details
  • Mounting: metamodule-based.
  • Multi-manager: the official KernelSU Manager and the KOWSU Manager both work with a BakaSU kernel.
  • Hook modes: tracepoint syscall redirect (GKI 2.0), manual hook (Linux 3.4 to 6.18), and SUSFS inline hook.
  • Kernel support: GKI 2.0 (5.10+); older kernels down to 3.4 with a manual build.
  • SUSFS: built-in management, with the SUSFS backport limited to kernel 4.3+.
  • Architectures: arm64-v8a, armeabi-v7a, x86_64.
  • Releases: tagged as pre-releases, so watch the releases page rather than the "latest release" badge.

Resources: Manager APK · Website · Telegram group · Telegram channel

YukiSU

GitHub Release Stars Docs Telegram

A KernelSU fork with a rewritten C++ userspace, its own kernel-level Zygisk, and dynamic manager support.

View details
  • Scope: ARM64 GKI 2.0 in LKM mode only. The project deliberately dropped built-in CONFIG_KSU=y kernels and keeps a narrow target. The Manager needs Android 12+.
  • Userspace: ksud, ksuinit, and su are rewritten in C++ rather than wrapping upstream binaries, so behaviour can differ from other forks in ways worth reporting here first.
  • Zygisk: YukiZygisk is built in and managed from the Manager, and it also ships as a standalone module for other kernels.
  • Hiding: Kasumi hide rules with a documented userspace API, configurable su paths, and uname spoofing done by editing uts_ns rather than rebuilding the kernel.
  • Extras: Lua plugins with their own configuration and repositories, module preinit and hot-install support, init.rc injection, and an ImgPatch ramdisk editor.
  • Authentication: the Manager authenticates by signature, with an APatch-style SuperKey for private deployments; trusted managers can be added beyond the built-in package name.
  • Mounting: metamodule-based, with Kagami mounting built in and external metamodule backends selectable.

Resources: Manager APK · Website · Telegram

FinaSU

GitHub Release Stars Telegram

A KernelSU fork with a built-in Zygisk engine, a Shizuku backend, mountless module loading, and a theme store.

View details
  • Zygisk: the built-in FolkZygisk engine, with Manager controls; it steps aside automatically when an external Zygisk provider is installed.
  • Sui: the built-in Shizuku API backend, so apps that talk to Shizuku reach a managed service instead of a separate installation.
  • Mounting: Folk-Mount runs in auto, built-in, or metamodule mode, and a NoMount VFS backend is embedded per KMI. /proc/mounts stays clean without a separate metamodule or the nm binary.
  • Hiding: mount hiding, SELinux hiding, AVC log spoofing, unmount policy, and SUSFS support gated on kernel capability and reported through the kernel ABI.
  • Manager: .fpt themes with a theme store, multi-page wallpapers, module repository browsing, in-app language picker.
  • Kernel support: GKI 5.10+; 4.14+ with a manual build. Installation by LKM, patched boot image, or AnyKernel3.
  • Architectures: arm64-v8a first, with x86_64 and riscv64 hooks present.

Resources: Manager APK · Telegram

KOWSU

GitHub Last commit Stars Telegram

A personal upstream fork focused on Material theming and translation coverage.

No tagged releases. The Manager APK comes from the project's build channel. Kernel support follows upstream: GKI 2.0, with 4.14+ through manual integration. The channel also runs a discussion group.

RKSU

GitHub Release Stars

An upstream fork that keeps non-GKI and GKI 1.0 support alive, with arm32 targets and its own kernel patch set.

View details
  • Kernel support: 4.4 to 6.18. Kernels below 4.4 need the extra backports that downstream forks such as SakiSU carry, not the main tree.
  • Mounting: Magic Mount, following the 5ec1cff API.
  • Hook: scope-minimised hook with a manual-hook path for old kernels.
  • Manager: spoofed-package builds alongside the normal APK, and compatibility with several other managers' kernels.
  • Architectures: arm64-v8a, armeabi-v7a, x86_64.
  • Pace: releases use -legacy tags, and the trunk periodically freezes for rebases onto upstream. The manager build number in the release name is the reliable signal. Check the releases page and the Telegram feed rather than the default-branch commit date.
  • Extra: a companion kernel_patches repository with the recommended patches.

Resources: Manager APK · Update channel

xxKSU

GitHub Release Stars

An upstream-compliant driver for old kernels, run as a patch workshop on staging branches.

View details
  • Kernel support: an upstream-compliant driver for Linux 3.0 to 5.4+, which is why so many non-GKI kernel trees pull from it.
  • Architectures: arm64-v8a and armeabi-v7a.
  • Workflow: the maintainer develops on per-topic archive/* branches and merges what proves out, so the release tags are the stable surface and the branches are the lab.
  • Contribution upstream: several kernel fixes in official KernelSU came from here: syscall wiring, throne_tracker deadlocks, and the batched symbol resolver.

Resources: Manager APK · Test and debug toolkit

MKSU

GitHub Release Stars

The personal branch of a KernelSU maintainer, and the origin of the Magic Mount API that most forks build on.

View details
  • Significance: the mksu, magica, lkm, nomount, notmpfs, and syscallhook branches are where Magic Mount and the mount-avoidance options were worked out before landing elsewhere.
  • Mounting: Magic Mount, with options to skip tmpfs and skip mounts entirely for apps that inspect the mount table.
  • Release identity: the build number is a placeholder, not a version you can compare against other forks. Treat it as a research build: read the commits and the branch you are building, not the tag.
  • Pace: development pauses and resumes; the repository is a working branch, not a product line.

Resources: Releases · Commit history

SakiSU

GitHub Release Stars

An independent downstream of the ReSukiSU line, aimed at vivo/iQOO devices with vendor module complications.

View details
  • Vermagic handling: a single generic LKM is adapted at runtime by ksuinit during init_module, instead of shipping one module per build.
  • vendor_boot handling: selecting a vendor_boot image runs a separate removal pass that walks every ramdisk fragment and deletes the pre-installed vr.ko / vklp.ko references, with a SHA-1-named backup written to /data/adb/ksu/ first.
  • Signing: the production certificate is defined in one place and re-checked against the built APK, so a manager either authenticates or reports itself as unofficial.
  • Upstream: no promise of automatic sync. Changes from ReSukiSU are audited before being pulled in.
  • Upgrade path: releases carry a -sakisu suffix. Earlier CI-signed builds used a different certificate, so they cannot be upgraded in place. The Manager has to be reinstalled and re-trusted first.

Resources: Releases · Project site

XECKernel Ultra

GitHub Release

A KernelSU fork with its own manager, a bundled TEE engine, and a device-health score.

View details
  • Kernel support: GKI 5.10 through 6.18, one kernelsu.ko per KMI; below 5.10 it uses the KernelPatch route.
  • Manager: a "root / SELinux / SUSFS / TEE / daemon / LKM / UAPI" checklist condensed into one score with per-item evidence, a radial quick menu, colour and glass themes, and module backup to a tar that restores into modules_update so a bad restore is undone by not rebooting.
  • TEE: a built-in Tricky Store–style engine with one-tap keybox refresh.
  • Caveat: young project, small user base, and a Manager that departs from upstream. Read its issue tracker before trusting it with a daily driver.

Resources: Releases

Wild KSU (archived)

Note

Wild KSU is archived and no longer maintained as a root variant. The WildKernels organisation still publishes KernelSU and SUSFS device kernels. See Device Kernels.

Modules & Tools

Module and tool listings now live in Awesome Android Root, the sibling list that covers apps and modules for Magisk, KernelSU, APatch, and LSPosed by use case.

The official registry remains the source for reviewed KernelSU modules, and developers.kernelsu.org keeps the module development docs.

Root hiding and attestation

Root hiding and attestation coverage moved to Root hiding and Play Integrity.

Kernel-side tooling

  • KPatch-Next: standalone KPM implementation for Magisk and KernelSU, with an installer module in KPatch-Next-Module. This is what makes KPM usable outside SukiSU Nova.
  • KernelPatch: the patching and hooking layer underneath APatch and the KPM implementation SukiSU Nova carries.
  • KernelFlasher: the maintained fork of the archived Kernel Flasher app, for flashing, backing up, and restoring kernels on device.
  • KSUPatcher: on-device boot image patching for KernelSU and KernelSU-Next, including inactive-slot installs for OTA survival.
  • Ylarod/ddk: kernel driver development kit, the recommended way to build an LKM for a custom kernel.
  • AnyKernel3: packaging and flashing for kernel ZIPs.
  • kernel_build_action: GitHub Actions workflow that builds a kernel with KernelSU in CI.
  • KernelSU_Action: another CI action for integrating KernelSU into a kernel tree.
  • Kernel-Builder-GKI-Susfs: a GKI-only CI builder that resolves the manifest, pulls the latest root environment, and emits one kernel plus the matching Manager.
  • gki_ksu_workflow: a GKI builder that runs plain make instead of Kleaf/Bazel, with multi-variant KernelSU and SUSFS output.
  • nix-kernelsu-builder: Nix derivations that produce a boot image and an AnyKernel ZIP from a given kernel source tree.
  • KernelSU_General_porting_guide: Chinese-language guide to porting KernelSU to a non-GKI kernel.
  • kernelsu-coccinelle: automatic KernelSU patches for non-GKI kernels using Coccinelle.
  • KernelSU-Style-UI-Kit: UI templates extracted from the KernelSU Manager, for building a custom manager.

Device Kernels

Prebuilt kernels save you from compiling. Verify the exact model, Android version, kernel version, and security-patch level before flashing.

For anything not listed here, check the maintained community list of KernelSU-Next unofficially supported devices, the XDA KSU tag, or GitHub topic search.

Project Devices Notes Release
WildKernels GKI GKI 2.0 (5.10+) KernelSU + SUSFS Release
WildKernels OnePlus OnePlus KernelSU + SUSFS Release
WildKernels Samsung Samsung KernelSU + SUSFS Release
WildKernels Sultan Google Pixel Sultan base + SUSFS Release
Action-Build OnePlus, QCOM and MTK CI builds for SukiSU Nova, KernelSU, KernelSU-Next, BakaSU, and FinaSU Release
NonGKI_Kernel_Build_2nd Non-GKI devices Non-GKI kernels with KSU and SUSFS Release
GKID-Kernels GKI 2.0 KernelSU or BakaSU + SUSFS, with a baseband guard Release
YuzakiKokuban Galaxy S23 / S24 / S25, Tab S10, Xiaomi Samsung kernel sources built from Samsung's open source, with KernelSU + hybrid mount + SUSFS Last commit
OnePlus-Actions OnePlus, OPPO, realme (kernel 5.10–6.6) CI builds for KernelSU, KernelSU-Next, SukiSU Nova, and the ReSukiSU line, plus a rootless optimised option Last commit
OnePlus_KernelSU_SUSFS OnePlus SukiSU Nova, BakaSU, and FinaSU variants with SUSFS Release
KernelSU_on_Huawei Huawei (EMUI / HarmonyOS-era devices) KernelSU builds for Huawei, where unlocking and kernel access work differently from the rest of the scene Release
Kernel-Builder-GKI-Susfs Any GKI 2.0 device Build your own kernel with the root environment of your choice rather than waiting for a maintainer Last commit
KernelSU_LKM_For_Oneplus12 OnePlus 12 LKM for OxygenOS/ColorOS Release
s10plus-snapdragon-droidspaces-kernel Galaxy S10+ Snapdragon (SM-G9750) Non-GKI 4.14 with KernelSU-Next built in (manual hooks) and Droidspaces container support Release
saipan-droidspaces-kernel moto g(50) 5G (XT2149-1) Non-GKI 4.14 with KernelSU-Next (legacy branch), vendor-module CRC tolerance, and Droidspaces container support Release
galaxy-s21-kernel-droidspaces Galaxy S21 5G (SM-G9910) Non-GKI 5.4 with KernelSU-Next (legacy branch) and Droidspaces container support Last commit

Kernel selection checklist: exact device match · matching Android and kernel version · security-patch level (anti-rollback can brick on an older patch) · active maintenance · a copy of your stock boot.img for recovery.

Building from Source

Documentation

Community

Telegram

Note

KOWSU publishes through GitHub and its own build channel rather than a Telegram group. XDA threads are where device-specific kernel builds and KSU Next + SUSFS rooting walkthroughs usually appear first.

Other

Troubleshooting

Note

Keep a stock boot image backup before you start. It is the only reliable way back from a bootloop.

Common issues

Issue Likely cause Fix
Bootloop Incompatible kernel or module Flash the stock boot.img; disable modules through safe mode
App crashes SELinux policy conflict Adjust the app profile's SELinux rules
Module not working No metamodule installed on a 3.0+ install Install a metamodule and reboot
Root not detected Manager not installed, or version mismatch Reinstall the Manager, check the reported kernel version
Play Integrity failing Root detected SUSFS plus a hiding module, and verify the verdict with a tester
Update failed Storage space or a corrupt download Clear the cache and re-download
Banking app broken Root detected Tighten the app profile and configure hiding
System unstable Conflicting modules Disable modules one at a time

Emergency recovery

Warning

If the device is in a bootloop, restore it immediately.

Bootloop recovery
# 1. Enter fastboot (Power + Volume Down), then connect the device
# 2. Flash the stock boot image
fastboot flash boot stock_boot.img

# 3. If needed, clear the cache
fastboot erase cache

# 4. Reboot
fastboot reboot

From recovery: boot TWRP or another custom recovery, flash the stock boot image, wipe cache and Dalvik, reboot.

KernelSU's own safe mode: press Volume Down three times (press-release, press-release, press-release) after the first boot screen. All modules are disabled, and you can still uninstall them from the Manager.

From ADB, with a root shell:

ksud module list
ksud module disable <id>
ksud module uninstall <id>
reboot

If nothing boots: boot a recovery, mount data, remove /data/adb/ksud, and remove /metadata/ksu/modules.rc and /metadata/watchdog/ksu/modules.rc. KernelSU then loads no modules at all.

Prevention: always keep the stock boot image, test with fastboot boot test_boot.img first, and make a TWRP backup before large changes.

Debugging commands

Diagnostics
# KernelSU status
cat /proc/version | grep -i kernelsu
su -c "ksud --version"

# Kernel and SELinux
uname -r
getenforce
cat /proc/filesystems | grep overlay

# Module state
su -c "ksud module list"
ls -la /data/adb/modules/
cat /data/adb/modules/*/module.prop
cat /data/adb/modules/*/install.log

# Mount points
mount | grep overlay
mount | grep -E "/system|/product"

# Logs
dmesg > /sdcard/dmesg.log
logcat -s KernelSU > /sdcard/kernelsu.log
cat /proc/last_kmsg > /sdcard/last_kmsg.log

# Verify root
su -c "id"

Device-specific notes

Samsung
  • Unlocking the bootloader trips the Knox warranty bit permanently.
  • LKM cannot run on Knox-locked devices. GKI mode is the only route.
  • Some kernels are incompatible with Samsung's encryption; keep the stock image close.
  • OEM unlocking must be enabled in Developer Options.
OnePlus
  • Unlock with fastboot oem unlock.
  • OnePlus devices generally do not boot generic GKI images. Use a device-specific kernel.
  • Anti-rollback makes older security-patch kernels a brick risk.
  • A/B slot devices need deliberate slot handling, especially with OTA updates.
Xiaomi
  • Mi Unlock requires an account and a waiting period.
  • HyperOS/MIUI features sometimes conflict with KernelSU.
  • Downgrading MIUI versions risks a brick.
  • The vendor version must match the kernel you flash.
Google Pixel
  • Titan M and hardware attestation make root hiding harder on recent Pixels.
  • An orange verified-boot state after flashing is expected.
  • KernelSU re-roots cleanly after an OTA with LKM.

Performance and app compatibility

Performance

System feels slow

  1. Disable modules one at a time to find the culprit.
  2. Check thermal throttling and CPU frequency scaling.
  3. OverlayFS on slow storage adds I/O overhead; a mountless metamodule avoids it.
  4. Read dmesg and logcat for kernel errors.
top -m 10
iostat -x 1 10
cat /sys/class/thermal/thermal_zone*/temp
dmesg | grep -i error

Random reboots

  1. Read dmesg and /proc/last_kmsg.
  2. Look for the OOM killer in the logs.
  3. Stress-test the hardware without KernelSU loaded.
  4. Test with no modules installed.
Banking and gaming

Banking and payment apps

  1. Restrict root per app with app profiles.
  2. Install a hiding stack: SUSFS (LKM or patched kernel) plus Zygisk Assistant.
  3. Check the verdict with a Play Integrity tester rather than assuming.
  4. Remember that hardware attestation cannot be spoofed by any module.
# 1. Install the hiding modules
# 2. Configure the app profile to deny root
# 3. Reboot and test

Games with anti-cheat

  • Some titles detect root and ban accounts.
  • Deny root to the game through its app profile, and keep the game out of any hiding exceptions.
  • Use a separate profile or a non-rooted device for competitive play.

Getting help

What to include in a report
  1. Device: model, Android version, kernel version.
  2. Variant and version: which fork, and which release.
  3. Installation method: LKM or GKI, and which partition was patched.
  4. Metamodule: which one is installed.
  5. Reproduction: exact steps.
  6. Logs: dmesg, logcat, and module install logs.
  7. Module list: every installed module with its version.
#!/system/bin/sh
# Collect logs for a bug report

LOGDIR="/sdcard/ksu_logs_$(date +%Y%m%d_%H%M%S)"
mkdir -p "$LOGDIR"

getprop > "$LOGDIR/system_props.txt"
uname -a > "$LOGDIR/kernel_info.txt"
cat /proc/version > "$LOGDIR/kernel_version.txt"

su -c "ksud --version" > "$LOGDIR/ksud_version.txt" 2>&1

dmesg > "$LOGDIR/dmesg.log"
logcat -d > "$LOGDIR/logcat.log"
cat /proc/last_kmsg > "$LOGDIR/last_kmsg.log" 2>/dev/null

ls -laR /data/adb/modules > "$LOGDIR/modules_list.txt"
cat /data/adb/modules/*/module.prop > "$LOGDIR/modules_props.txt" 2>/dev/null

mount > "$LOGDIR/mount_points.txt"
df -h > "$LOGDIR/disk_usage.txt"

echo "Logs collected in: $LOGDIR"

Where to ask

  1. kernelsu.org FAQ and the official docs.
  2. GitHub Discussions and the issue tracker of your variant.
  3. The Telegram group for your variant.
  4. XDA forums for device-specific threads.
  5. r/KernelSU for general questions.
  6. Awesome Android Root if the question is about rooting in general rather than KernelSU specifically.


FAQs

General

What is a metamodule and why do I need one?

Since the 3.0 line, the built-in module mounting system was removed and a metamodule provides the mounting infrastructure instead.

Why the change

  • Less to detect: KernelSU itself performs no mounts, so it exposes fewer signatures.
  • Choice: the mounting strategy becomes a module you can replace.
  • Stability: the core stays stable while mount implementations evolve.

Quick start

  1. Download a metamodule ZIP: meta-hybrid_mount is listed in the official registry, and the OverlayFS forks are linked above.
  2. Install it from the Manager → Modules.
  3. Reboot.

See Metamodules.

How does KernelSU differ from Magisk?
Aspect KernelSU Magisk
Architecture Kernel-level Userspace, ramdisk-based
Root control Per-app profiles with UID, GID, capabilities, SELinux domain DenyList
Module system Metamodule-based (3.0+) Built in
Installation LKM or GKI Boot image patching
Compatibility Needs a matching kernel Broad
Zygisk External implementation required Built in
LKM or GKI?

LKM: keeps the stock kernel, upgrades in the app, survives OTA, touches only the ramdisk. Use it on phones.

GKI: universal across GKI devices, works on Knox-locked Samsung, independent of firmware. Use it on emulators, WSA, and Waydroid, or when a device-specific GKI image exists.

Official releases no longer ship GKI images, so a GKI install comes from a fork or a community builder.

Which variant should I use?
  • GKI device, modern phone, stability first → official KernelSU
  • Kernel outside 5.10–6.18, or you want SUSFS without rebuilding → KernelSU-Next
  • KPM modules, or a very old kernel → SukiSU Nova
  • Manual hooks down to 3.4, or a second Manager → BakaSU
  • Kernel down to 3.x with arm32 targets → RKSU or xxKSU
  • Bundled Zygisk → SukiSU Nova, YukiSU, or FinaSU

See KernelSU Variants.

Is KernelSU safer than Magisk?

In several respects, yes:

  • Root checks run in the kernel, so a userspace app cannot rewrite them.
  • The app profile system grants partial root instead of all-or-nothing.
  • The system partition stays untouched.
  • seccomp and ioctl hooks shrink the detection surface.
  • The metamodule architecture keeps mounting out of the core.

Both are safe when configured properly. Neither is invisible to a determined detector.

Can I use Magisk modules with KernelSU?
Module type Compatibility
Simple modules Usually work unchanged, once a metamodule is installed
Complex modules May need adaptation for the metamodule system
Zygisk modules Need ZygiskNext, ReZygisk, or a similar implementation
Hardware-specific Usually work

KernelSU does not support Magisk's .replace mechanism. Delete a file with mknod filename c 0 0 instead, or use the REMOVE and REPLACE variables. The KSU=true environment variable distinguishes the two environments in module scripts.

Will KernelSU break OTA updates?

Usually not. The system partition is untouched, and in LKM mode the Manager can install to the inactive slot before you reboot. A major Android upgrade sometimes needs a re-patch. Keep a backup of the patched image.

Installation and setup

What changed in the 3.0 line?
  1. Module mounting left the core: fresh installs need a metamodule, and existing installs have to reinstall their modules after upgrading.
  2. Official GKI image builds were dropped: build an LKM with Ylarod/ddk instead. The GKI build guide is archival; forks still publish GKI images.
  3. An official module registry: reviewed modules at modules.kernelsu.org, now backed by the KernelSU Modules API.
  4. Magica jailbreak mode: optional root escalation on a permissive-SELinux boot.
  5. More hiding: SELinux hiding, a native kernel-module blacklist, and shell_su_adb_only for ADB-only shell root.
How do I check whether my device is supported?
adb shell uname -r

Then read the KMI out of the kernel string. 5.10.101-android12-9-... means KMI 5.10-android12-9; the sublevel is not part of the KMI. The Manager also tells you directly: Not installed means supported, Unsupported means you need to build the kernel.

Do I have to uninstall Magisk first?

Yes. Remove every Magisk module, uninstall Magisk, flash the stock boot image, then install KernelSU. The two patch the boot process differently and conflict.

What should I back up?
  1. A full TWRP backup, if your device has a recovery.
  2. The stock boot.img (and init_boot.img on Android 13+).
  3. The list of your current modules.
  4. App data, exported to local storage.

Modules and features

Where do I find modules?

Fresh 3.0+ installs need a metamodule before any of them mount.

My modules stopped working after updating to 3.0+

Install a metamodule. The 3.0 release notes call it out explicitly: after upgrading, modules have to be reinstalled once a metamodule is present. See Metamodules.

Can I switch metamodules?

Yes, one at a time:

  1. Uninstall the regular modules.
  2. Uninstall the current metamodule.
  3. Reboot.
  4. Install the new metamodule.
  5. Reboot again.
  6. Reinstall the regular modules.
What are app profiles?

App profiles define the root policy for a single app:

  • Custom UID and GID, and supplementary groups
  • Capability restrictions
  • SELinux context and rules
  • Mount namespace and unmount behaviour
  • Reusable templates

Configure them per app in the Manager. Full details: App Profile.

What is KPM?

KPM (Kernel Patch Module) runs code in kernel space with inline hooks and syscall-table hooks. It started in APatch and was ported to KernelSU by SukiSU, now Nova. It is no longer exclusive to that fork: KPatch-Next provides a standalone implementation for Magisk and KernelSU.

Do I need to keep the kernel and Manager versions in sync?

Yes. The kernel and the Manager share an interface version, and a mismatched pair produces warnings and unstable behaviour. The Manager in the official release page matches the kernel in the same release.

Troubleshooting

My device is in a bootloop
# 1. Enter fastboot (Power + Volume Down) and connect the device
# 2. Flash the stock boot image
fastboot flash boot stock_boot.img

# 3. Reboot
fastboot reboot

This is why the stock boot.img backup is not optional. Full procedures: Rescue from bootloop.

Banking apps do not work
  1. Install the hiding stack: SUSFS (LKM or patched kernel) and Zygisk Assistant.
  2. Deny root to the banking app in its app profile.
  3. Hide the Manager app.
  4. Verify with a Play Integrity tester.

No module guarantees a passing verdict on hardware-attested devices.

How do I confirm KernelSU is working?
# Check the kernel
cat /proc/version | grep -i kernelsu

# Test root
su -c "id"

The Manager should also report an installed kernel and a matching version.


Contributing

Contributions are welcome: new tools, maintained device kernels, and documentation fixes. See CONTRIBUTING.md.

Disclaimer

Rooting and kernel modification can void warranties, brick devices, and expose security vulnerabilities. This list is provided for educational and informational purposes only. You assume all risks.

KernelSU and its derivatives are independent, community-driven projects. They are not affiliated with or endorsed by Google, Android, or any device manufacturer.

Legal and safety information

Educational purpose only. Users are solely responsible for understanding and complying with local laws, following device warranty terms, maintaining device security, and understanding the consequences of modifying a device.

No warranty or liability. Contributors and maintainers are not liable for device damage or bricking, data loss or corruption, warranty violations, legal consequences, or security vulnerabilities.

Safety best practices

Guidelines

Always do

Action Why it matters
Create complete backups Essential for recovery
Read the documentation thoroughly Understand before acting
Test on a device you can replace Avoid daily-driver risk
Keep stock firmware Emergency recovery option
Check device-specific issues Know your device's limits
Understand the security implications Protect your data

Never do

Action Risk
Proceed without backups Irreversible data loss
Grant root to untrusted apps Security compromise
Install unknown modules Malware or instability
Ignore security warnings Serious vulnerabilities
Modify without understanding System damage

Important

KernelSU and its derivatives are independent, community-driven projects. They are not affiliated with, endorsed by, or connected to Google, Android, device manufacturers, or any other commercial entity.


License

MIT License

This project is licensed under the MIT License.


Acknowledgments

Special thanks to everyone who made KernelSU possible.

Project creators

  • tiann: creator of KernelSU.
  • topjohnwu: Magisk creator, whose systemless model KernelSU inherits.

Derivative maintainers

  • KernelSU-Next: wider kernel coverage, module backup, prebuilt SUSFS loaders.
  • SukiSU Nova: KPM integration, legacy device support, and the deepest Manager feature set.
  • RKSU, xxKSU, and MKSU: the non-GKI work and the Magic Mount API that the other forks build on.
  • BakaSU: minimal hooks and multi-manager support.
  • YukiSU and FinaSU: bundled Zygisk engines and a different Manager direction.
  • KOWSU: Material theming and translation coverage on top of upstream.
  • WildKernels: the device kernel projects that continue after Wild KSU was archived.

Community contributors

  • Module developers building the modules, metamodules, and hiding tools in the registry.
  • Kernel maintainers shipping device-specific builds.
  • Documentation translators and writers.
  • Community moderators and support staff.
  • Everyone who shares knowledge.

Maintained by Fynks


Back to Top

About

A curated list of KernelSU & its forks, tools, modules, and documentation

Topics

Resources

Contributing

Stars

129 stars

Watchers

4 watching

Forks

Used by

Contributors