A curated list of KernelSU resources: official documentation, variants, metamodules, tools, and device kernels.
- What is KernelSU?
- Getting Started
- Installation Modes
- Metamodules
- KernelSU Variants
- Modules & Tools
- Device Kernels
- Building from Source
- Documentation
- Community
- Troubleshooting
- FAQs
- License
- Acknowledgments
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.
- 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 rootshell, optionally restricted to live adb sessions withshell_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
- 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.
- Check compatibility. Install the KernelSU Manager and open it:
Not installed→ the device is officially supported.Unsupported→ you need to build the kernel yourself. See Device Kernels and the non-GKI integration guide.
- Choose an installation mode: LKM or GKI.
- Install KernelSU following the installation guide.
- Install a metamodule if you use modules that ship a
system/directory. See Metamodules. - Verify that the Manager reports an installed kernel with a matching version.
Two installation modes are documented. The official recommendation: LKM for phones, GKI for emulators, WSA, and Waydroid.
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, notboot.
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.
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.
How a module's system/ directory reaches the live filesystem.
| 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.
- Download the metamodule ZIP from its GitHub releases.
- Open the Manager → Modules.
- Tap the plus button and pick the ZIP.
- 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.
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.
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.
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-v8aandx86_64LMKs;riscv64ksud/ksuinitartifacts, 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.conffiles from/metadatabefore SELinux policy loads, with a size cap and a bootloop guard.ksuinitalso 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-sidesulogview. - 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
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
.kofiles and the module preinit runner are what this fork adds at boot. - SUSFS: ships
susfs_guard_lkm.koper 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-v8aandx86_64. - Preinit: an opt-in runner executes a module's
preinit.conffrom/metadatabefore 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
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-UltraURLs redirect to the new repository.
Resources: Manager APK · Website · Installation guide · KPM patch source · 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
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=ykernels and keeps a narrow target. The Manager needs Android 12+. - Userspace:
ksud,ksuinit, andsuare 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
supaths, andunamespoofing done by editinguts_nsrather than rebuilding the kernel. - Extras: Lua plugins with their own configuration and repositories, module preinit and hot-install support,
init.rcinjection, 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
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/mountsstays clean without a separate metamodule or thenmbinary. - Hiding: mount hiding, SELinux hiding, AVC log spoofing, unmount policy, and SUSFS support gated on kernel capability and reported through the kernel ABI.
- Manager:
.fptthemes 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-v8afirst, withx86_64andriscv64hooks present.
Resources: Manager APK · 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.
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
5ec1cffAPI. - 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
-legacytags, 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
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-v8aandarmeabi-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_trackerdeadlocks, and the batched symbol resolver.
Resources: Manager APK · Test and debug toolkit
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, andsyscallhookbranches 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
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
ksuinitduringinit_module, instead of shipping one module per build. - vendor_boot handling: selecting a
vendor_bootimage runs a separate removal pass that walks every ramdisk fragment and deletes the pre-installedvr.ko/vklp.koreferences, 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
-sakisusuffix. 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
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.koper 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_updateso 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
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.
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 coverage moved to Root hiding and Play Integrity.
- 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
makeinstead 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.
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 | |
| WildKernels OnePlus | OnePlus | KernelSU + SUSFS | |
| WildKernels Samsung | Samsung | KernelSU + SUSFS | |
| WildKernels Sultan | Google Pixel | Sultan base + SUSFS | |
| Action-Build | OnePlus, QCOM and MTK | CI builds for SukiSU Nova, KernelSU, KernelSU-Next, BakaSU, and FinaSU | |
| NonGKI_Kernel_Build_2nd | Non-GKI devices | Non-GKI kernels with KSU and SUSFS | |
| GKID-Kernels | GKI 2.0 | KernelSU or BakaSU + SUSFS, with a baseband guard | |
| YuzakiKokuban | Galaxy S23 / S24 / S25, Tab S10, Xiaomi | Samsung kernel sources built from Samsung's open source, with KernelSU + hybrid mount + SUSFS | |
| 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 | |
| OnePlus_KernelSU_SUSFS | OnePlus | SukiSU Nova, BakaSU, and FinaSU variants with SUSFS | |
| 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 | |
| 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 | |
| KernelSU_LKM_For_Oneplus12 | OnePlus 12 | LKM for OxygenOS/ColorOS | |
| s10plus-snapdragon-droidspaces-kernel | Galaxy S10+ Snapdragon (SM-G9750) | Non-GKI 4.14 with KernelSU-Next built in (manual hooks) and Droidspaces container support | |
| 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 | |
| galaxy-s21-kernel-droidspaces | Galaxy S21 5G (SM-G9910) | Non-GKI 5.4 with KernelSU-Next (legacy branch) and Droidspaces container support |
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.
- Official KernelSU: build an LKM with Ylarod/ddk. The GKI and non-GKI build guides are archival: How to build · Integrate for non-GKI.
- Forks (KernelSU-Next, SukiSU Nova, BakaSU, RKSU, xxKSU) still support direct kernel integration. See each repository's
kernel/setup.sh. - Packaging and CI: AnyKernel3 · kernel_build_action · KernelSU_Action.
- Vendor kernel sources: Google · Xiaomi · OnePlus · Motorola · Samsung.
- Writing a module: Module guide · WebUI · configuration API · Difference with Magisk.
- What is KernelSU?
- Installation
- Metamodules
- Module guide · Module WebUI · Module configuration
- App Profile
- Difference with Magisk
- Unofficially supported devices
- FAQ · Rescue from bootloop
- KernelSU Modules developer docs
- Awesome Android Root guides: the sibling site's rooting guides, including KernelSU, SUSFS, and root framework comparison
Telegram
- @KernelSU: official announcements channel.
- @KernelSU_group: official community group.
- @Sukiksu: SukiSU Nova channel.
- @BAKASU_grp: BakaSU group (the former ReSukiSU group).
- @YukiSU: YukiSU contact channel.
- @ksunext: KernelSU-Next community group.
- @ksunext_ci: KernelSU-Next CI and build announcements channel.
- @rsukrnlsu: RKSU build feed, useful because its GitHub trunk goes quiet during rebases.
- @FinaSU: FinaSU group.
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
Note
Keep a stock boot image backup before you start. It is the only reliable way back from a bootloop.
| 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 |
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 rebootFrom 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>
rebootIf 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.
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"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
System feels slow
- Disable modules one at a time to find the culprit.
- Check thermal throttling and CPU frequency scaling.
- OverlayFS on slow storage adds I/O overhead; a mountless metamodule avoids it.
- Read
dmesgandlogcatfor kernel errors.
top -m 10
iostat -x 1 10
cat /sys/class/thermal/thermal_zone*/temp
dmesg | grep -i errorRandom reboots
- Read
dmesgand/proc/last_kmsg. - Look for the OOM killer in the logs.
- Stress-test the hardware without KernelSU loaded.
- Test with no modules installed.
Banking and gaming
Banking and payment apps
- Restrict root per app with app profiles.
- Install a hiding stack: SUSFS (LKM or patched kernel) plus Zygisk Assistant.
- Check the verdict with a Play Integrity tester rather than assuming.
- 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 testGames 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.
What to include in a report
- Device: model, Android version, kernel version.
- Variant and version: which fork, and which release.
- Installation method: LKM or GKI, and which partition was patched.
- Metamodule: which one is installed.
- Reproduction: exact steps.
- Logs:
dmesg,logcat, and module install logs. - 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"- kernelsu.org FAQ and the official docs.
- GitHub Discussions and the issue tracker of your variant.
- The Telegram group for your variant.
- XDA forums for device-specific threads.
- r/KernelSU for general questions.
- Awesome Android Root if the question is about rooting in general rather than KernelSU specifically.
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
- Download a metamodule ZIP:
meta-hybrid_mountis listed in the official registry, and the OverlayFS forks are linked above. - Install it from the Manager → Modules.
- 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.
What changed in the 3.0 line?
- Module mounting left the core: fresh installs need a metamodule, and existing installs have to reinstall their modules after upgrading.
- Official GKI image builds were dropped: build an LKM with Ylarod/ddk instead. The GKI build guide is archival; forks still publish GKI images.
- An official module registry: reviewed modules at modules.kernelsu.org, now backed by the KernelSU Modules API.
- Magica jailbreak mode: optional root escalation on a permissive-SELinux boot.
- More hiding: SELinux hiding, a native kernel-module blacklist, and
shell_su_adb_onlyfor ADB-only shell root.
How do I check whether my device is supported?
adb shell uname -rThen 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?
- A full TWRP backup, if your device has a recovery.
- The stock
boot.img(andinit_boot.imgon Android 13+). - The list of your current modules.
- App data, exported to local storage.
Where do I find modules?
- Official registry: reviewed, and the one the Manager reads.
- Awesome Android Root: apps and modules across the whole root scene.
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:
- Uninstall the regular modules.
- Uninstall the current metamodule.
- Reboot.
- Install the new metamodule.
- Reboot again.
- 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.
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 rebootThis is why the stock boot.img backup is not optional. Full procedures: Rescue from bootloop.
Banking apps do not work
- Install the hiding stack: SUSFS (LKM or patched kernel) and Zygisk Assistant.
- Deny root to the banking app in its app profile.
- Hide the Manager app.
- 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.
Contributions are welcome: new tools, maintained device kernels, and documentation fixes. See CONTRIBUTING.md.
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.
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.
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.
This project is licensed under the MIT License.
Special thanks to everyone who made KernelSU possible.
Project creators
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