Skip to content

fynks/awesome-kernelsu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KernelSU Logo

Awesome KernelSU

A comprehensive curated list of KernelSU resources, tools, modules, and documentation

Awesome GitHub stars Browse Kernels License


Intro   •   Prebuilt Kernels   •   Docs   •   Community


What is KernelSU?

KernelSU is a kernel-based root solution for Android that delivers superior security and reliability compared to traditional rooting methods. By operating at the kernel level, it provides enhanced security isolation, maintains system integrity, and offers powerful module management with flexible mounting systems.

Important

KernelSU 3.0+ Major Changes: From version 3.0 onwards, KernelSU has removed built-in module mounting. Fresh installations now require a metamodule for modules to function. See Understanding Metamodules for details.

Key Features

  • Zero System Modification: Maintains system integrity and OTA compatibility by operating entirely within kernel space
  • Advanced Permission Control: Granular app-level root access management with customizable profiles
  • Enhanced Security Model: Kernel-level isolation prevents root detection and tampering
  • Flexible Module System: Metamodule architecture supporting multiple mounting strategies (OverlayFS, Magic Mount, Hybrid)
  • LKM Mode Support: Load KernelSU as a kernel module without replacing your kernel (preserves manufacturer optimizations)
  • App Profile System: Customizable groups, capabilities, and SELinux rules for fine-grained root privilege control

Learn More: Comprehensive KernelSU Guide | Official Documentation

Table of Contents

Getting Started

Prerequisites

Before installing KernelSU, ensure you have:

  • Unlocked bootloader (required for all installation methods)
  • Complete data backup (always backup before modifying your device)
  • ADB and Fastboot tools installed on your computer
  • Compatible device (check compatibility below)

Tip

New to bootloader unlocking? Check out the comprehensive guide at Awesome-Android-Root

New to KernelSU?

  1. Check Compatibility

    • Kernel 5.10+ for official KernelSU (Android 12+)
    • Kernel 4.4-6.6 for KernelSU-Next (Android 9+)
    • Kernel 3.4-5.4+ for SuKiSu-Ultra (Android 7+)
  2. Choose Installation Mode

    • GKI Mode: Replaces device kernel (universal compatibility, works on Samsung Knox)
    • LKM Mode: Loads as kernel module (preserves optimizations, easy updates)
    • See Installation Modes for detailed comparison
  3. Download Manager

  4. Install KernelSU

  5. Install Metamodule

  6. Verify Installation

    • Open KernelSU Manager and confirm root status

Device Selection Guide

Device Age Kernel Version Recommended Variant Primary Benefits
2021+ 5.10+ (GKI 2.0) KernelSU Official Maximum stability, official support
2018-2021 4.4-6.6 KernelSU-Next Enhanced features, broad compatibility
Pre-2018 3.4-5.4+ SuKiSu-Ultra Legacy support, advanced hiding

Essential First Steps

After successful installation:

  1. Install Metamodule: Choose and install a metamodule (meta-overlayfs recommended for most users)
  2. Configure App Profiles: Set up App Profiles for granular root permission management
  3. Install Module Manager: Use MMRL for easier module management
  4. Setup Root Hiding: Install SuSFS module for banking/payment app compatibility
  5. Join Community: Connect with Telegram community for support and updates
  6. Create Backup: Make a backup of your patched boot image for recovery

Installation Modes

KernelSU supports two installation modes on GKI-compatible devices, each with distinct advantages.

GKI Mode

How it works: Replaces device's original kernel with KernelSU Generic Kernel Image.

Advantages:

  • ✅ Universal GKI device compatibility
  • ✅ Works on Samsung Knox devices
  • ✅ Independent of firmware updates
  • ✅ Better for heavily modified devices
  • ✅ More stable on custom ROMs

Disadvantages:

  • ❌ Loses manufacturer kernel optimizations
  • ❌ Requires manual fastboot flashing
  • ❌ Must reflash after major updates

Best for: Samsung devices, emulators, WSA, custom ROMs, devices without official firmware


LKM Mode (Loadable Kernel Module)

How it works: Loads KernelSU as a kernel module without replacing the kernel.

Advantages:

  • ✅ Preserves original kernel and optimizations
  • ✅ Easy in-app updates
  • ✅ OTA-friendly (install to inactive slot)
  • ✅ No AVB/dm-verity issues
  • ✅ Can disable without reboot
  • ✅ Better performance (keeps manufacturer tuning)

Disadvantages:

  • ❌ Requires official firmware
  • ❌ May not work on all devices
  • ❌ Less compatible with modified firmwares

Best for: Most modern phones with stock/near-stock firmware


Which Mode to Choose?

Scenario Recommended Mode Reason
Stock firmware phones LKM Preserves optimizations, easy updates
Samsung devices GKI Knox compatibility
Custom ROMs GKI Better modified firmware support
Emulators/WSA GKI Universal compatibility
Heavily modified GKI More reliable

Detailed Guide: See the complete installation modes comparison for more information.


Understanding Metamodules

Important

CRITICAL CHANGE IN KERNELSU 3.0+: KernelSU no longer has built-in module mounting. Fresh installations REQUIRE a metamodule for modules to function. Without a metamodule, modules will be installed but NOT mounted.

What is a Metamodule?

A metamodule is a special type of KernelSU module that provides core infrastructure for the module system. Unlike regular modules that modify system files, metamodules control how regular modules are installed and mounted.

Why Metamodules?

The metamodule architecture provides several key benefits:

  • 🛡️ Reduced Detection Surface: KernelSU itself doesn't perform mounts, reducing detection vectors for banking apps
  • 🔧 Flexibility: Users can choose mounting implementation (OverlayFS, Magic Mount, hybrid)
  • 💪 Stability: Core KernelSU remains stable while mounting implementations can evolve independently
  • 🚀 Innovation: Community can develop alternative mounting strategies

Single Metamodule Constraint

Warning

Only ONE metamodule can be installed at a time. To switch metamodules:

  1. Uninstall all regular modules
  2. Uninstall current metamodule
  3. Reboot device
  4. Install new metamodule
  5. Reinstall regular modules

Available Metamodules

Metamodule Description Best For
meta-overlayfs Official reference implementation using OverlayFS Most users, standard setup, recommended starting point
mountify OverlayFS with tmpfs/ext4 sparse support, cross-platform (APatch/Magisk) Reduced detection, multi-root support, advanced users
meta-magic_mount Magic Mount implementation (C-based) Magisk-style mounting compatibility
meta-magic_mount-rs Magic Mount implementation (Rust-based) with WebUI Magisk-style mounting with web interface
meta-hybrid_mount Hybrid OverlayFS + Magic Mount with auto-fallback Maximum compatibility, stealth mode

Installing Your First Metamodule

Step-by-Step Installation:

  1. Download metamodule ZIP from GitHub releases (meta-overlayfs recommended)
  2. Open KernelSU Manager > Modules
  3. Tap "Install from storage" (➕ button)
  4. Select the metamodule ZIP file
  5. Reboot device

The active metamodule will be displayed in your module list with a special designation.

Metamodule Compatibility

With a metamodule installed:

  • ✅ Most Magisk modules work (when using compatible metamodule)
  • ⚠️ Zygisk modules require ZygiskNext
  • ✅ Growing native KernelSU module support
  • ✅ Module metadata stored in /data/adb/modules/
  • ✅ Module content stored in /data/adb/metamodule/mnt/ (with meta-overlayfs)

Complete Guide: For detailed metamodule information, mounting strategies, and troubleshooting, visit the KernelSU Managing Modules Guide


KernelSU Variants

Official KernelSU

GitHub Documentation Release Telegram

The original and most stable KernelSU implementation for modern Android devices with GKI support.

📋 View Details

Best For: Modern flagship devices (2021+) prioritizing stability and official support

✨ Key Features:

  • Official GKI 2.0 support (kernel 5.10+)
  • Battle-tested stability
  • Regular security updates & maintenance
  • Comprehensive official documentation
  • Wide device compatibility for modern phones
  • Active development by original author

Technical Specs:

  • Kernel Support: 5.10+ (GKI 2.0), 4.14+ with manual compilation
  • Android Version: 12+ (official), 10+ (community builds)
  • Architecture: arm64-v8a, x86_64
  • Special Support: WSA, ChromeOS, container-based Android

🔗 Resources:


KernelSU-Next

GitHub Documentation Release Telegram

Enhanced fork with extended compatibility, modern UI, and innovative features.

📋 View Details

Best For: Power users wanting cutting-edge features and broader device compatibility

✨ Enhanced Features:

  • Extended kernel support (4.4-6.6, GKI & non-GKI)
  • Dual module system (Magic Mount + OverlayFS with seamless toggle)
  • Beautiful Material You UI with dynamic theming
  • Advanced module management (backup/restore, bulk ops, dependencies)
  • Automatic update system with rollback capability
  • WebUI X framework for advanced module interfaces
  • Built-in developer tools (logcat, performance monitor)
  • Configurable OverlayFS options

Technical Specs:

  • Kernel Support: 4.4 - 6.6 (Non-GKI & GKI)
  • Android Version: 9+
  • Architecture: arm64-v8a, armeabi-v7a, x86_64
  • Update Frequency: Very active development with frequent updates

🔗 Resources:


SuKiSu-Ultra

GitHub Documentation Release Telegram

Specialized fork for legacy devices with advanced root hiding and broad compatibility.

📋 View Details

Best For: Legacy devices and users requiring advanced root hiding for banking apps

✨ Unique Features:

  • Broad legacy kernel compatibility (3.4-5.4+) with extensive backports
  • Built on Magic Mount technology for enhanced stability
  • KPM (Kernel Patch Module) integration
  • SuSFS built-in for superior root hiding
  • Multi-architecture including 32-bit ARM support
  • Enhanced manager with SuSFS management panel
  • Legacy device optimizations
  • Community-maintained device database

Technical Specs:

  • Kernel Support: 3.4 - 5.4+ (Non-GKI focused)
  • Android Version: 7+
  • Architecture: arm64-v8a, armeabi-v7a, x86_64
  • Update Frequency: Active community-driven development

🔗 Resources:



Compatibility Matrix

Feature Official KernelSU KernelSU-Next SuKiSu-Ultra
Kernel Support 5.10+ (GKI 2.0) 4.4 - 6.6 3.4 - 5.4+
Android Version 12+ 9+ 7+
Architecture arm64, x86_64 arm64, arm, x86_64 arm64, arm, x86_64
Installation Modes GKI / LKM GKI / LKM GKI
Module System Metamodule (3.0+) Dual (Magic Mount + OverlayFS) Magic Mount + OverlayFS
Auto Updates ⚠️ LKM only
Root Hiding Metamodule-based Advanced SuSFS Built-in
UI/UX Standard Material You Enhanced
Legacy Support ⚠️ Limited ✅ Extensive
Update Frequency Regular Very Active Community Active
Best For Modern devices Power users Legacy devices

Which Variant Should You Choose?

Choose Official KernelSU if:

✅ Modern device (2021+)
✅ GKI 2.0 support
✅ Want maximum stability
✅ Prefer official support
✅ OTA compatibility priority

Choose KernelSU-Next if:

✅ Kernel 4.4-6.6
✅ Want latest features
✅ Prefer modern UI
✅ Auto-updates desired
✅ Advanced module mgmt

Choose SuKiSu-Ultra if:

✅ Legacy device
✅ Kernel 3.x-5.4
✅ Banking app hiding
✅ Need KPM support
✅ 32-bit ARM device


Comparison

KernelSU vs Alternative Root Solutions

Feature KernelSU KernelSU-Next SuKiSu-Ultra Magisk APatch
Architecture Kernel-level Kernel-level Kernel-level Userspace Kernel-level
Module System Metamodule-based (OverlayFS/Magic Mount) OverlayFS + Magic Mount Magic Mount + OverlayFS Magic Mount OverlayFS
Installation Mode GKI / LKM GKI / LKM GKI Boot Patch Boot Patch
Kernel Support 5.10+ (GKI 2.0) 4.4-6.6 3.4-5.4+ Any 3.18-6.1
Architecture arm64, x86_64 arm64, arm, x86_64 arm64, arm, x86_64 Universal arm64
Security Model App Profile App Profile App Profile Root Toggle SuperKey
Hide Capability Metamodule-based (Advanced) Advanced SuSFS Integrated Deprecated Kernel-level
Update Method Manual / LKM Auto-update / LKM Manual OTA Manual
System Modification Zero Zero Zero Minimal Zero
OTA Compatibility Excellent Excellent Good Good Excellent
Module Mounting Requires Metamodule (3.0+) Built-in Built-in Built-in Built-in
Development Status Active Very Active Active Active Active
Learning Curve Medium Medium Hard Easy Hard
Community Size Growing Medium Small Large Small

Advantages of KernelSU Ecosystem

✨ Click to expand: Detailed Advantages & Benefits

Security Benefits

  1. Kernel-Level Isolation: Root access operates in kernel space, preventing userspace tampering
  2. App Profile System: Granular per-application permission control with temporal restrictions
  3. Hardware-Level Protection: Utilizes ARM TrustZone and hardware security features
  4. Verified Boot Compatible: Maintains system integrity verification where possible
  5. Advanced Hiding: Kernel-level hiding harder to detect than userspace methods

Technical Advantages

  1. Zero System Modification: No changes to system partitions, preserving OTA capabilities
  2. OverlayFS Efficiency: More efficient than bind mounting with better performance
  3. Future-Proof Design: Built for modern Android security models and requirements
  4. Developer-Friendly: Clean APIs and comprehensive documentation
  5. Modular Architecture: Easy to extend and customize

Ecosystem Maturity

  1. Multiple Derivatives: Options for different use cases and device compatibility
  2. Active Development: Regular updates and feature additions across all variants
  3. Growing Module Repository: Expanding collection of high-quality modules
  4. Community Support: Knowledgeable community with expert developers
  5. Documentation: Comprehensive guides in multiple languages

Migration Considerations

🔄 Click to expand: Migration from Magisk or Legacy Solutions

From Magisk to KernelSU

Advantages:

  • Enhanced security and hiding capabilities
  • Better performance with OverlayFS
  • Future-proof architecture for modern Android
  • Maintained OTA compatibility

Considerations:

  • Module compatibility may require updates
  • Different app profile management approach
  • Learning curve for new concepts
  • Some Magisk-specific features unavailable

Migration Steps:

  1. Backup all data and current setup
  2. Document installed modules and configurations
  3. Uninstall Magisk completely
  4. Flash stock boot image
  5. Install KernelSU using preferred method
  6. Reinstall compatible modules
  7. Configure app profiles

From SuperSU/Legacy Solutions

Essential Steps:

  • Complete system restoration recommended
  • Fresh start with modern practices
  • Understanding of new security model
  • Backup and data migration planning

Benefits:

  • Dramatically improved security
  • Modern Android compatibility
  • Systemless approach
  • Active development and support


Prebuilt Kernels

Pre-built kernels save you from manual compilation and come optimized for specific devices. Browse by device manufacturer to find your perfect match.

Important

Safety First: Always verify kernel compatibility with your exact device model and Android version before flashing. Wrong kernels can cause bootloops or device damage.

Tip

Pro Tip: Check each kernel's release page for device-specific builds, changelogs, and installation instructions. Many provide AnyKernel3 flashable zips for hassle-free installation.

Quick Navigation

Jump to your device manufacturer:


🏆 Official GKI Builds

Official kernels from KernelSU project maintainers.

KernelSU Official GKI

Kernel Android

Official GKI builds for modern devices with GKI 2.0 support

📥 Download: KernelSU Releases

KernelSU-Next Enhanced

Kernel Android

Enhanced builds with extended kernel support and extra features

📥 Download: KernelSU-Next Releases


WildKernels (Multi-Device)

Premium quality kernels with KernelSU and SUSFS integration for multiple device families.

Kernel Series Target Devices Features Repository
GKI Series Modern GKI Devices KernelSU + SUSFS + GKI 2.0 GitHub
Sultan Series Google Pixel Devices KernelSU + SUSFS + Pixel Optimizations GitHub
OnePlus Series OnePlus Devices KernelSU + SUSFS + OxygenOS Tuned GitHub

Xiaomi Devices

🔽 Click to expand Xiaomi device kernels

Redmi Series

Device Model Codename Kernel Features Links
Redmi 9 lancelot 4.14 KernelSU Next, SukiSU Ultra, SUSFS, MT6768 GitHub
Redmi Note 12 4G topaz/tapas 5.15 Smooth optimization, Custom ROM support GitHub
Redmi Note 13 4G sapphire/sapphiren 5.15 Smooth optimization, Custom ROM support GitHub
Redmi Note 12/13 4G topaz/sapphire 5.15 SukiSU Ultra v3.2.0, KPM, SUSFS v1.5.11, Baseband-guard GitHub
Redmi Note 12/13 4G topaz/sapphire 5.15 SukiSU Ultra, KPM, SUSFS, LTO GitHub
Redmi Pad SE xun 5.15 SukiSU Ultra, KPM, SUSFS, LTO GitHub
Redmi 15 / POCO M7 4G creek 5.15 SukiSU Ultra, KPM, SUSFS, LTO GitHub
Redmi 4X santoni 4.9 KernelSU, AOSP Compatible GitHub
Redmi Note 12 5G / POCO X5 stone 5.4 KernelSU, APatch compatible GitHub

Samsung Devices

🔽 Click to expand Samsung device kernels

Galaxy S Series

Device Model Codename Kernel Features Links
Galaxy S25 S93XX (sm8750) 6.6 KernelSU, MKSU, SukiSU-Ultra, LKM mode GitHub
Galaxy S25 S93XX (sm8750) 6.6 KernelSU LKM compatible GitHub
Galaxy S24 S92XX (sm8650) 6.1 KernelSU, MKSU, SukiSU-Ultra, LKM mode GitHub
Galaxy S23 S91XX (sm8550) 5.15 KernelSU, MKSU, SukiSU-Ultra, LKM mode GitHub
Galaxy S20 x1q/y2q/z3q (sm8250) 4.19 KernelSU-Next, SuSFS v1.5.9 GitHub
Galaxy S10 / Note 10 Exynos 9820 4.14 KernelSU-Next, SuSFS v1.5.11, Ramdisk support GitHub

Galaxy A Series

Device Model Codename Kernel Features Links
Galaxy A15 4G SM-A155F 5.10 KernelSU-Next 1.0.9, SuSFS 1.5.9 GitHub
Galaxy A12 SM-A127F 4.14 KernelSU-Next, SUSFS v1.5.7, Wireguard, SELinux toggle XDA

Galaxy M Series & Tablets

Device Model Codename Kernel Features Links
Galaxy Tab S10 Series SM-X82XX/X92XX (mt6989) 6.1 KernelSU, MKSU, SukiSU-Ultra, LKM variants GitHub XDA
Galaxy M30s M307F 4.9 KernelSU 0.9.5 (Non-GKI) GitHub

OnePlus Devices

🔽 Click to expand OnePlus device kernels
Device Model Codename Kernel Features ROM Support Links
OnePlus 13 Latest KernelSU-Next, SUSFS OxygenOS GitHub
OnePlus 12 Latest KernelSU LKM mode OxygenOS GitHub
OnePlus 7 Pro guacamole Latest KernelSU v0.9.5, Full system flash required LineageOS 21 GitHub
OnePlus Nord N200 5G dre 5.4 SukiSU Ultra LineageOS 22+ XDA

Motorola Devices

🔽 Click to expand Motorola device kernels
Device Model Codename Kernel Features ROM Support Links
Moto G20 java 4.14 KernelSU 0.9.5, KernelSU-Next, SukiSU Ultra Stock, AOSP XDA

Google Pixel Devices

🔽 Click to expand Google Pixel device kernels
Device Model Codename Kernel Features ROM Support Links
Pixel 8a GKI 6.1 KernelSU-Next, SuSFS, Hide patches Android 14 GitHub
Pixel 7 / 7 Pro gs201 5.10 KernelSU-Next, SuSFS v1.5.8, Additional patches Custom ROMs GitHub

Huawei Devices

🔽 Click to expand Huawei device kernels
Device Model Codename Kernel Features ROM Support Links
Huawei Nova 2 4.4 KernelSU LineageOS GitHub

LG Devices

🔽 Click to expand LG device kernels
Device Model Codename Kernel Features ROM Support Links
LG G7 judyln 4.9 KernelSU-Next, SuSFS LineageOS 22.1 GitHub

Kernel Selection Guide

Consider these factors when choosing a kernel:

Factor What to Check
Device Match Exact device model and variant (not just similar models)
Android Version Kernel must match your current Android version
Features KernelSU version, SUSFS support, additional optimizations
Maintenance Regular updates and active development
Community User feedback on XDA, GitHub issues, Telegram
Documentation Clear installation instructions and support

Warning

Before Flashing: Always backup your current boot image. Keep a copy of stock boot.img for emergency recovery. Test with fastboot boot kernel.img first if possible.

Need Help?


🔧 Installation

Multiple installation methods to suit your needs and technical comfort level.

✅ Pre-Installation Checklist

Before proceeding, ensure you have:

  • Unlocked bootloader (essential!)
  • Complete device backup
  • ADB & Fastboot installed (Download Platform Tools)
  • USB Debugging enabled (Settings → Developer Options)
  • Stock boot image backup (for emergency recovery)
  • Charged device (at least 50% battery)

Warning

Backup First! Installation errors can cause data loss or bootloops. Always have a recovery plan.

Tip

Need help unlocking your bootloader? Visit Awesome-Android-Root Guide


🚀 Installation Methods Overview

Method Difficulty Best For Requirements Time
GKI Mode Easy Modern devices (5.10+) Fastboot, unlocked bootloader 5-10 min
LKM Mode Easy Preserving stock kernel Root or custom recovery 5-10 min
Manager Patching Easy One-click solution Unlocked bootloader 10-15 min
Custom Kernel Medium Device-specific optimization TWRP or fastboot 10-20 min
Manual Building Hard Full customization Build environment, expertise 1-3 hours

Method 1: GKI Mode

Best for: Modern devices with GKI 2.0 support (kernel 5.10+)

📋 View Installation Steps

Advantages:

  • ✅ Strong universality for modern devices
  • ✅ Official support and regular updates
  • ✅ Clean installation with minimal configuration

Step-by-Step:

# 1. Download boot.img from releases
# Visit: https://github.com/tiann/KernelSU/releases/latest

# 2. Boot device to fastboot mode
adb reboot bootloader

# 3. Flash the kernel
fastboot flash boot boot.img

# 4. Reboot device
fastboot reboot

# 5. Install KernelSU Manager APK after boot

# 6. IMPORTANT: Install a metamodule for module support
# Download meta-overlayfs and install via KernelSU Manager

More Details: GKI Installation Guide


Method 2: LKM Mode

Best for: Users wanting to keep original kernel intact and get easy updates

📋 View Installation Steps

Advantages:

  • ✅ Preserves original kernel and manufacturer optimizations
  • ✅ Less intrusive modification
  • ✅ Easier to revert to stock
  • ✅ OTA-friendly (install to inactive slot)
  • ✅ Easy in-app updates
  • ✅ No AVB/dm-verity issues

Requirements:

  • Stock/official firmware
  • Compatible kernel version

Step-by-Step:

  1. Install KernelSU Manager APK on device
  2. Grant necessary permissions
  3. In Manager, select "Install" → "Select and Patch a File"
  4. Choose your stock boot.img file
  5. Manager will patch it with KernelSU (LKM mode)
  6. Flash patched boot via fastboot:
# Transfer patched boot to PC
adb pull /sdcard/Download/kernelsu_patched_xxxxx.img

# Boot to fastboot
adb reboot bootloader

# Flash patched image
fastboot flash boot kernelsu_patched_xxxxx.img

# Reboot
fastboot reboot
  1. Install metamodule after first boot for module support

Complete Guide: LKM Mode Installation


Method 3: Manager Patching

Best for: Users preferring one-click solutions with boot image patching

📋 View Installation Steps

Advantages:

  • ✅ User-friendly, minimal PC usage
  • ✅ Automatic patching process
  • ✅ Simplest for non-technical users
  • ✅ Supports both GKI and LKM modes

Step-by-Step:

  1. Extract boot.img from your device firmware
  2. Install KernelSU Manager APK on device
  3. Grant necessary permissions
  4. Select "Install" → "Select and Patch a File"
  5. Choose your boot.img file
  6. Manager patches boot image automatically
  7. Flash patched boot via fastboot or custom recovery
# Flash patched boot via fastboot
adb pull /sdcard/Download/kernelsu_patched_*.img
adb reboot bootloader
fastboot flash boot kernelsu_patched_*.img
fastboot reboot
  1. Install metamodule after first boot for module support

Detailed Tutorial: Manager Patching Guide


Method 4: Custom Kernels

Best for: Device-specific optimization and features

📋 View Installation Steps

Advantages:

  • ✅ Device-optimized performance
  • ✅ Pre-tested stability
  • ✅ Additional features (SUSFS, optimizations)
  • ✅ No compilation required

Step-by-Step:

  1. Find your device in Prebuilt Kernels section
  2. Download appropriate kernel zip
  3. Flash via TWRP or fastboot:

Via TWRP:

1. Boot to TWRP recovery
2. Install → Select kernel zip
3. Swipe to flash
4. Reboot system

Via Fastboot:

adb reboot bootloader
fastboot flash boot kernel.img
fastboot reboot
  1. Install KernelSU Manager APK
  2. Verify installation in Manager

Method 5: Manual Building

Best for: Developers and advanced users

📋 View Installation Steps

Advantages:

  • ✅ Full customization control
  • ✅ Latest features and patches
  • ✅ Learn kernel development

Requirements:

  • Linux build environment (Ubuntu 20.04+ recommended)
  • Kernel source code for your device
  • Cross-compiler toolchain
  • Build dependencies (see Building from Source)

Quick Overview:

  1. Setup Linux build environment
  2. Clone kernel source and KernelSU repository
  3. Apply KernelSU patches
  4. Configure kernel (enable CONFIG_KSU)
  5. Compile kernel
  6. Package with AnyKernel3
  7. Flash to device

Full guide: See Building from Source section


Compatibility Check

Check your kernel version:

# Via ADB
adb shell uname -r

# Or on device terminal
uname -r

Compatibility Matrix:

Kernel Version Official KernelSU KernelSU-Next SuKiSu-Ultra Recommended Method
5.10+ (GKI 2.0) ✅ Full Support ✅ Full Support ❌ Not Needed GKI Mode / Manager Patching
4.14 - 5.9 ⚠️ Manual Build Only ✅ Full Support ✅ Full Support Custom Kernel / LKM
4.4 - 4.13 ❌ Not Supported ✅ Full Support ✅ Full Support Custom Kernel
3.4 - 4.3 ❌ Not Supported ❌ Not Supported ✅ Full Support Custom Kernel

✨ Post-Installation Setup

Important

Complete these essential steps to ensure proper functionality and security.

1. Verify Installation

# Check KernelSU version
su -c "kernelsu --version"

# Verify root access
su -c "id"

# Check kernel version
cat /proc/version | grep KernelSU

# Check installation mode
# Look for LKM or GKI indicators in kernel version

2. Install Manager

  • Download appropriate Manager APK
  • Grant all required permissions
  • Confirm root access in app

3. Install Metamodule (CRITICAL for KernelSU 3.0+)

4. Configure App Profiles

  • Set restrictive defaults
  • Grant root only to trusted apps
  • Configure time-based restrictions

5. Install Essential Modules

  • Module manager (MMRL recommended)
  • SuSFS for root hiding (if needed)
  • Performance optimizations (optional)

Warning

Only install modules from trusted sources

6. Setup Safety Features

  • Backup patched boot image
  • Configure module backups
  • Test SafetyNet/Play Integrity
  • Document your setup

Complete Setup Guide: Post-Installation Setup


Verification Commands

# Comprehensive verification script
# Check if KernelSU is loaded
cat /proc/version | grep KernelSU

# Test root access
su -c "whoami"
su -c "id"

# Check module directory
ls -la /data/adb/modules/

# View KernelSU logs
dmesg | grep kernelsu

# Check SELinux status
getenforce

# Verify module mounting
mount | grep overlay

📚 Documentation

Comprehensive guides and resources to master KernelSU.

📖 Core Documentation

Getting Started

Advanced Topics

🔨 Integration & Building

📦 Module Development

🆘 Recovery & Troubleshooting


Modules and Tools

Essential modules and tools to enhance your KernelSU experience.

Important

KernelSU 3.0+ Requirement: You must first install a metamodule before regular modules will work. Fresh installations require this step!

Metamodules (Required for Module Support)

First-Time Users: Start with meta-overlayfs for the best balance of compatibility and ease of use.

Metamodule Purpose Download
meta-overlayfs Official OverlayFS implementation - recommended for most users Download
mountify Advanced OverlayFS with cross-platform support Download
meta-magic_mount Magisk-style Magic Mount (C-based) Download
meta-magic_mount-rs Magisk-style Magic Mount with WebUI (Rust-based) Download
meta-hybrid_mount Hybrid OverlayFS + Magic Mount with auto-fallback Download

Root Management & Hiding

Module Purpose Key Features
SuSFS4KSU Advanced root hiding Customizable profiles, filesystem manipulation, banking app support
Shamiko DenyList bypass Enhanced hiding, SafetyNet/Play Integrity bypass
Tricky Store Key attestation bypass Banking and payment app compatibility

System Optimization

Module Purpose Benefits
Universal GMS Doze Battery optimization Aggressive Google Play Services battery savings

Tip

Discover More Modules: Explore the extensive collection at Awesome Android Root - KernelSU Modules

Framework Modifications

Framework Purpose Features
LSPosed Xposed framework Module support via Zygisk integration
ZygiskNext Standalone Zygisk Independent Zygisk implementation
ReZygisk Transparent Zygisk Improved Zygisk implementation

📦 Module Managers

MMRL (Modern Module Manager)

The all-in-one solution for KernelSU module management.

🔽 View MMRL Features

✨ Key Features:

  • ✅ Built-in module repository with 100+ modules
  • ✅ Automatic module updates
  • ✅ Module backup/restore functionality
  • ✅ Dependency management
  • ✅ WebUI support for advanced modules
  • ✅ Material You design language
  • ✅ Dark/Light theme support
  • ✅ Detailed module information and changelogs

📥 Download: MMRL Latest Release


Management Apps

App Purpose Download
KernelSU Manager Official manager for KernelSU Download
SukiSU Manager Manager for SuKiSu-Ultra Download
Franco Kernel Manager Kernel tweaking & monitoring Play Store
SmartPack-Kernel Manager Open-source kernel management Download

🛠️ Development & Debugging

Tool Purpose Use Case
Root Checker Verify root status Confirm successful installation
Logcat Reader System log viewer Debugging and troubleshooting
Termux Terminal emulator Full Linux environment on Android

🛠️ Building from Source

Note

This section covers building KernelSU from source. For ready-to-use kernels, see the Premade Kernels section.

Kernel Source Repositories

Device-Specific Kernel Sources

Tip

Always use official kernel sources from your device manufacturer for best compatibility.

Building Tools & Scripts

Build Environment Setup

Click to expand: Detailed Build Instructions

[!IMPORTANT] Building kernels requires significant disk space (50GB+) and time. Ensure you have a proper Linux environment.

Linux Build Environment

# Install dependencies (Ubuntu/Debian)
sudo apt update
sudo apt install -y git build-essential kernel-package fakeroot libncurses5-dev \
  libssl-dev ccache bison flex libelf-dev bc python3

# Install cross-compiler
sudo apt install -y gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf

# Clone KernelSU
git clone https://github.com/tiann/KernelSU

[!TIP] Use ccache to speed up subsequent builds. Enable it with export USE_CCACHE=1 and export CCACHE_DIR=~/.ccache.

Building Process

# 1. Clone your device kernel source
git clone <kernel_source_url> kernel

# 2. Apply KernelSU patches
cd kernel
curl -LSs "https://raw.githubusercontent.com/tiann/KernelSU/main/kernel/setup.sh" | bash -

# 3. Configure kernel
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- <defconfig>

# 4. Enable KernelSU in config
./scripts/config --file .config -e CONFIG_KSU

# 5. Build kernel
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j$(nproc)

# 6. Package with AnyKernel3
# Copy Image.gz-dtb or Image to AnyKernel3 directory
# Zip and flash

[!WARNING] Building with wrong toolchain or configuration can produce non-bootable kernels. Always test on non-critical devices first.

Supported Architectures

  • arm64-v8a: Primary support (64-bit ARM) - most modern devices
  • x86_64: Intel/AMD 64-bit (emulators, some tablets)
  • armeabi-v7a: 32-bit ARM (legacy devices, SuKiSu-Ultra only)

Continuous Integration

name: Build Kernel
on:
  push:
    branches: [ main ]
  workflow_dispatch:
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Build Kernel with KernelSU
        uses: dabao1955/kernel_build_action@main
        with:
          kernel-url: <your_kernel_repo>
          branch: <branch_name>
          config: <defconfig_name>
          arch: arm64


💬 Community

Connect with thousands of KernelSU users worldwide for support, discussion, and latest updates.

Official Communities

Telegram

Channel Purpose Link
KernelSU Channel Official announcements Telegram
KernelSU Group Community support Telegram
KernelSU-Next Enhanced variant Telegram
SuKiSu Legacy devices Telegram

GitHub

Platform Purpose Link
Discussions Technical Q&A GitHub
Issues Bug reports GitHub
KSU-Next Discussions Enhanced fork GitHub

🌐 Forums & Platforms

Platform Description Members Link
XDA Developers Main discussion & device-specific threads 10,000+ XDA
Reddit r/KernelSU Community discussions & support Growing Reddit
4PDA Forum Russian-language community Active 4PDA

🔧 Troubleshooting

Note

Before troubleshooting, ensure you have a backup of your stock boot image. This is crucial for recovery.

Common Issues

Issue Possible Cause Solution
Bootloop Incompatible kernel/module Flash stock boot.img via fastboot, disable modules
App Crashes SELinux policy conflicts Check and adjust SELinux policies in app profiles
Module Not Working Incompatible module version Verify module compatibility, check installation logs
Root Not Detected Manager not installed properly Reinstall KernelSU Manager, verify kernel version
SafetyNet Failing Root detection Install Shamiko or SuSFS, configure hiding properly
Update Failed Insufficient storage/corrupt download Clear cache, re-download, ensure adequate storage
Banking Apps Not Working Root detection Configure app profiles, install hiding modules
System Unstable Conflicting modules Disable modules one by one to identify culprit

Emergency Recovery

Warning

If your device is in a bootloop, follow these steps immediately to restore functionality.

🚨 Click to expand: Bootloop Recovery & Emergency Procedures

Bootloop Recovery

Immediate Steps:

# 1. Enter fastboot mode (Power + Volume Down)
# 2. Connect device to PC
# 3. Flash stock boot image
fastboot flash boot stock_boot.img

# 4. If needed, clear cache
fastboot erase cache

# 5. Reboot
fastboot reboot

Alternative via Recovery:

  1. Boot into TWRP/custom recovery
  2. Flash stock boot image from recovery
  3. Wipe cache and dalvik cache
  4. Reboot system

Prevention:

  • Always keep stock boot image backup
  • Test kernels with temporary boot first: fastboot boot test_boot.img
  • Create TWRP backups before major changes
  • Keep emergency download mode access available

Module-Related Issues

Safe Mode Boot:

  1. Create file /data/adb/modules/.disable_modules before boot
  2. This disables all modules for troubleshooting
  3. Remove problematic modules
  4. Delete the disable file and reboot

Commands:

# Disable all modules
adb shell su -c "touch /data/adb/modules/.disable_modules"
adb reboot

# Remove specific module
adb shell su -c "rm -rf /data/adb/modules/[module_name]"
adb reboot

# View module logs
adb shell su -c "cat /data/adb/modules/[module_name]/install.log"

Debugging Commands

🔍 Click to expand: Debug Commands & Diagnostics
# Check KernelSU status
cat /proc/version | grep KernelSU
su -c "kernelsu --version"

# Kernel logs
dmesg > /sdcard/dmesg.log
cat /proc/last_kmsg > /sdcard/last_kmsg.log

# KernelSU specific logs
logcat -s "KernelSU" > /sdcard/kernelsu.log
logcat -b all > /sdcard/full_logcat.log

# Module installation logs
cat /data/adb/modules/*/install.log > /sdcard/module_logs.log

# Check SELinux status
getenforce
sestatus

# List loaded modules
ls -la /data/adb/modules/
cat /data/adb/modules/*/module.prop

# Check mount points
mount | grep overlay
mount | grep /system

# Verify root access
su -c "id"
su -c "whoami"

# Check kernel config
zcat /proc/config.gz | grep KSU

# Monitor system resources
top -n 1
free -h
df -h

Device-Specific Issues

📱 Click to expand: Device-Specific Troubleshooting

Samsung Devices

  • Knox Triggered: Some Samsung devices trip Knox warranty bit (irreversible)
  • Secure Boot: May need to disable secure boot verification in kernel
  • Encryption Issues: Some kernels incompatible with Samsung encryption
  • OEM Unlock: Ensure OEM unlocking is enabled in Developer Options

OnePlus Devices

  • Fastboot Commands: Use fastboot oem unlock for bootloader
  • Color OS Migration: Recent devices need special handling for OxygenOS vs ColorOS
  • Parallel Apps: OxygenOS parallel apps may conflict with root
  • Slot System: A/B partition devices need careful slot management

Xiaomi Devices

  • Anti-Rollback: Be careful with MIUI version downgrades (brick risk)
  • Bootloader Unlock: Xiaomi requires waiting period (up to 168 hours)
  • MIUI Optimizations: Some MIUI features conflict with KernelSU
  • Vendor Mismatch: Ensure kernel matches vendor version

Google Pixel Devices

  • Hardware Attestation: Strong SafetyNet enforcement on newer Pixels
  • Verified Boot: Orange state warning on boot (normal)
  • Titan M Security: Hardware security module affects root hiding
  • OTA Updates: Easy to re-root after OTAs with KernelSU

Performance Issues

⚡ Click to expand: Performance Troubleshooting

System Slowdown

Diagnosis:

  1. Identify problematic modules: Disable modules one by one
  2. Check CPU throttling: Monitor thermals and frequency scaling
  3. Review I/O performance: OverlayFS overhead on slow storage
  4. Analyze system logs: Look for kernel errors or warnings

Commands:

# Monitor CPU usage
top -m 10

# Check I/O stats
iostat -x 1 10

# View thermal zones
cat /sys/class/thermal/thermal_zone*/temp

# Check for errors
dmesg | grep -i error
logcat | grep -i error

Random Reboots

Troubleshooting:

  1. Check kernel logs: dmesg and /proc/last_kmsg
  2. Monitor memory usage: Look for OOM (Out Of Memory) killer activity
  3. Verify hardware stability: Stress test without KernelSU
  4. Test minimal config: Remove all modules temporarily

Prevention:

  • Avoid aggressive kernel tweaks
  • Monitor temperature during stress tests
  • Ensure adequate RAM for modules
  • Use stable kernel versions

App Compatibility

🏦 Click to expand: Banking & Gaming App Compatibility

Banking/Payment Apps

Solutions:

  1. Configure app profiles: Restrict root access for sensitive apps
  2. Enable advanced hiding: Install SuSFS or Shamiko modules
  3. Check SafetyNet: Use YASNAC or Play Integrity API tester
  4. Hardware attestation: Some devices use hardware-based detection (harder to bypass)

Recommended Setup:

# Install hiding modules
# 1. Install Shamiko module
# 2. Install SuSFS4KSU module
# 3. Configure DenyList in manager
# 4. Reboot device
# 5. Test with SafetyNet checker

Game Apps

Anti-cheat Detection:

  • Some games detect root and ban accounts
  • Use hiding modules carefully
  • Configure app profiles to deny root access
  • Consider using non-rooted profiles for gaming

Getting Help

💬 Click to expand: Support Resources & Log Collection

Information to Provide

When seeking help, include:

  1. Device Information: Model, Android version, kernel version
  2. KernelSU Variant: Official, Next, or SuKiSu-Ultra + version number
  3. Installation Method: How you installed KernelSU
  4. Reproduction Steps: Detailed steps to reproduce the issue
  5. Logs: Relevant log files (dmesg, logcat, module logs)
  6. Module List: All installed modules and versions

Log Collection Script

#!/system/bin/sh
# Collect comprehensive logs for troubleshooting

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

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

# KernelSU info
su -c "kernelsu --version" > "$LOGDIR/kernelsu_version.txt" 2>&1

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

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

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

echo "Logs collected in: $LOGDIR"

Support Priority

  1. Official Documentation: Check kernelsu.org FAQ
  2. GitHub Discussions: Search existing issues and discussions
  3. Telegram Groups: Ask in appropriate variant-specific group
  4. XDA Forums: Device-specific threads
  5. Reddit: r/KernelSU for general questions


❓ FAQ

Frequently asked questions about KernelSU - Quick answers to common queries.

General Questions

What is a Metamodule and why do I need one?

From KernelSU 3.0+, the built-in module mounting system was removed. A metamodule is now required to provide module mounting infrastructure.

Why this change?

  • Reduced detection: KernelSU itself doesn't mount modules, making it harder to detect
  • Flexibility: Choose your preferred mounting method (OverlayFS, Magic Mount, Hybrid)
  • Stability: Core KernelSU remains stable while mounting systems evolve

Quick Start:

  1. Download meta-overlayfs (recommended for beginners)
  2. Install via KernelSU Manager > Modules
  3. Reboot device
  4. Now you can install regular modules

See Understanding Metamodules for complete details.

What is KernelSU and how does it differ from Magisk?

KernelSU is a kernel-based root solution operating in kernel space, while Magisk operates in userspace.

Key Differences:

Aspect KernelSU Magisk
Architecture Kernel-level Userspace
Security Superior isolation Good but less isolated
Module System Metamodule-based (3.0+) Magic Mount (built-in)
Installation GKI / LKM modes Boot patching
Compatibility Requires compatible kernel Universal
Future-proof Built for modern Android Legacy support focus
Which installation mode should I use: GKI or LKM?

Choose based on your device and needs:

LKM Mode (Recommended for most):

  • ✅ Keeps manufacturer kernel optimizations
  • ✅ Easy updates via app
  • ✅ OTA-friendly
  • ✅ Works with stock firmware
  • ⚠️ Requires official firmware

GKI Mode:

  • ✅ Universal compatibility
  • ✅ Works on Samsung Knox devices
  • ✅ Better for custom ROMs
  • ⚠️ Loses manufacturer optimizations
  • ⚠️ Manual updates required

See Installation Modes for detailed comparison.

Which KernelSU variant should I use?

Quick Selection Guide:

  • Modern devices (Android 12+, kernel 5.10+) → Official KernelSU
  • Mid-range devices (Android 9-11, kernel 4.4-6.6) → KernelSU-Next
  • Legacy devices (Android 7-8, kernel 3.4-5.4) → SuKiSu-Ultra

See KernelSU Variants for detailed comparison.

Is KernelSU safer than Magisk?

Yes, in several ways:

  • ✅ Kernel-level operation prevents userspace attacks
  • ✅ App Profile system for granular permission control
  • ✅ Zero system modification maintains integrity
  • ✅ Hardware security integration (ARM TrustZone)
  • ✅ Metamodule architecture reduces detection surface

However, both are safe when properly configured.

Can I use Magisk modules with KernelSU?

Compatibility varies:

Module Type Compatibility
Simple modules ✅ Most work without changes (with metamodule)
Complex modules ⚠️ May need adaptation for metamodule system
Zygisk modules ⚠️ Require ZygiskNext or ReZygisk
Hardware-specific ✅ Usually compatible

Remember: You must install a metamodule first for any modules to work on KernelSU 3.0+.

Will KernelSU break OTA updates?

Generally no:

  • ✅ System partition remains unmodified
  • ⚠️ Boot partition may need re-patching after OTA
  • ✅ LKM mode has OTA survival features
  • ⚠️ Manual re-installation may be required for major updates

Always keep your patched boot image backup!


Installation & Setup

What changed in KernelSU 3.0 and how does it affect me?

Major Changes in KernelSU 3.0+:

  1. ⚠️ Module mounting removed from core: Fresh installations now require a metamodule for modules to work
  2. ✅ LKM mode improvements: Better stability and OTA support
  3. 🛡️ Reduced detection surface: Harder for banking apps to detect
  4. 🔧 Flexible mounting: Choose between OverlayFS, Magic Mount, or hybrid approaches

What you need to do:

  • Fresh installations: Must install a metamodule before modules will work
  • Existing installations: Continue to work normally (no action needed)
  • Upgrading: May need to install a metamodule if modules stop working

Recommended metamodule: meta-overlayfs for most users

See Understanding Metamodules for complete details.

How do I check if my device is compatible?

Check your kernel version:

# Via ADB
adb shell uname -r

# On device terminal
uname -r

Then refer to the Compatibility Matrix to find the right variant.

Do I need to uninstall Magisk before installing KernelSU?

Yes, strongly recommended:

  1. ✅ Uninstall all Magisk modules
  2. ✅ Uninstall Magisk completely
  3. ✅ Flash stock boot image
  4. ✅ Then install KernelSU

They will conflict if installed together.

Can I have both Magisk and KernelSU installed?

No. They modify the boot process differently and will conflict. Choose one solution for your device.

How do I backup before installing?

Essential backups:

  1. 💾 Full TWRP backup (if available)
  2. 💾 Backup stock boot.img (critical!)
  3. 📝 Document installed modules
  4. 💾 Export app data
  5. 💾 Save important files to external storage

Modules & Features

Where can I find KernelSU modules?

Top Sources:

  • MMRL - Modern module manager with repository
  • Awesome Android Root - Curated collection
  • GitHub - Search "kernelsu module"
  • Telegram - Community-shared modules
  • XDA Forums - Device-specific modules

⚠️ Remember: For KernelSU 3.0+ fresh installations, you must first install a metamodule before regular modules will work!

My modules aren't working after installing KernelSU 3.0+, why?

You need a metamodule!

KernelSU 3.0+ removed built-in module mounting. Fresh installations require a metamodule to provide mounting infrastructure.

Solution:

  1. Download meta-overlayfs (recommended)
  2. Install via KernelSU Manager > Modules
  3. Reboot device
  4. Now regular modules will work

See Understanding Metamodules for details and alternatives.

Can I switch between different metamodules?

Yes, but with caution:

⚠️ Only ONE metamodule can be active at a time.

To switch:

  1. Uninstall all regular modules
  2. Uninstall current metamodule
  3. Reboot device
  4. Install new metamodule
  5. Reboot again
  6. Reinstall regular modules

Popular choices:

  • meta-overlayfs: Official, recommended for most
  • mountify: Advanced, cross-platform support
  • meta-hybrid_mount: Maximum compatibility with auto-fallback
What are App Profiles and how do I use them?

App Profiles provide granular root permission control:

  • ⚙️ Custom UID/GID assignment
  • 🔒 Capability restrictions
  • 🛡️ SELinux context customization
  • ⏰ Time-based access control
  • 🔐 Namespace isolation

Configure in KernelSU Manager under each app's settings.

Learn more: App Profile System Guide


Troubleshooting

My device is in bootloop, what do I do?

Emergency recovery:

# 1. Enter fastboot mode (Power + Volume Down)
# 2. Connect to PC
# 3. Flash stock boot image
fastboot flash boot stock_boot.img

# 4. Reboot
fastboot reboot

This is why you ALWAYS keep a stock boot.img backup!

Banking apps aren't working, how do I fix this?

Root hiding setup:

  1. Install Shamiko or SuSFS module
  2. Configure DenyList in KernelSU Manager
  3. Add banking apps to DenyList
  4. Hide KernelSU Manager app
  5. Test with SafetyNet checker

See Troubleshooting for detailed steps.

How do I verify KernelSU is working?

Quick verification:

# Check kernel
cat /proc/version | grep KernelSU

# Test root
su -c "id"

# Or open KernelSU Manager and check status
Modules aren't loading, what's wrong?

Common causes:

  • No metamodule installed (KernelSU 3.0+)
  • ❌ Incompatible module version
  • ❌ Insufficient permissions
  • ❌ Module conflicts
  • ❌ Mounting system not supported

Solutions:

  1. Check if metamodule is installed (KernelSU 3.0+ requirement)

    • Open KernelSU Manager > Modules
    • Look for active metamodule (e.g., meta-overlayfs)
    • If missing, install one from Understanding Metamodules
  2. Check module logs: /data/adb/modules/[module]/install.log

  3. Verify module compatibility with your KernelSU version


Development

How do I build KernelSU for my device?

Quick steps:

  1. Setup Linux build environment
  2. Clone kernel source
  3. Apply KernelSU patches
  4. Configure kernel (enable CONFIG_KSU)
  5. Compile kernel
  6. Package with AnyKernel3

See Building from Source for detailed guide.

Can I contribute to KernelSU?

Absolutely! Contributions welcome:

  • 🐛 Report bugs on GitHub
  • 💻 Submit pull requests
  • 📦 Create and share modules
  • 📚 Improve documentation
  • 💬 Help in community support
  • 🧪 Test beta versions

💡 More Questions?


🤝 Contributing

Help make this the most comprehensive KernelSU resource! All contributions are welcome.

Quick Start

How to Contribute:

  1. Fork this repository
  2. Add or update resources
  3. Follow formatting standards
  4. Test all links
  5. Submit pull request

What We Need:

  • New tools & modules
  • Device-specific kernels
  • Documentation improvements
  • Translations
  • Bug fixes & updates
  • Tutorials & guides

📖 See CONTRIBUTING.md


Need Help?


Disclaimer

Important legal information - Please read carefully before proceeding.

Caution

Proceed at Your Own Risk: Rooting and kernel modification can void warranties, brick devices, and expose security vulnerabilities. Users assume all risks and responsibilities.


⚠️ Legal & Safety Information

Educational Purpose Only

This documentation is provided for educational and informational purposes only. Users are solely responsible for:

  • Understanding and complying with local laws
  • Following device warranty terms
  • Maintaining device security
  • Device modifications and consequences

No Warranty or Liability

Contributors and maintainers are NOT liable for:

  • ❌ Device damage or bricking
  • ❌ Data loss or corruption
  • ❌ Warranty violations
  • ❌ Legal consequences
  • ❌ Security vulnerabilities

✅ Safety Best Practices

🛡️ Click to expand: Essential Safety Guidelines

Always Do:

Action Why It Matters
Create complete backups Essential for recovery
Read documentation thoroughly Understand before acting
Test on non-critical devices Avoid daily driver risks
Keep stock firmware Emergency recovery option
Research device-specific issues Know your device limitations
Understand 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/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 entities.


License

MIT License

This project is licensed under the MIT License.


Acknowledgments

Special thanks to all contributors who made KernelSU possible.

Project Creators

  • tiann - Creator of KernelSU, visionary behind kernel-based root solutions
  • topjohnwu - Magisk creator, inspiration for systemless modifications

Derivative Maintainers

  • KernelSU-Next Team - Enhanced fork development and innovation
  • SuKiSu-Ultra Team - Legacy device support and compatibility

Community Contributors

  • Module developers creating useful tools
  • Documentation translators and writers
  • Community moderators and support staff
  • Everyone who shares knowledge

Special Recognition

  • All kernel developers maintaining device-specific builds
  • Community members providing support
  • Contributors to this awesome list

Star History Chart


Made with ❤️ by the KernelSU Community

Last Updated: December 2025 | Maintained by Fynks


⬆ Back to Top

About

A comprehensive curated list of KernelSU/ KernelSU-next/ SukiSU-Ultra resources, tools, modules, and documentation

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors 2

  •  
  •