Skip to content

About

Automated CI/CD suite building high-performance Hybrid LKM kernels for OnePlus devices on OxygenOS 14/15/16. Features modular KernelSU-Next, automated on-device ramdisk patching, SUSFS v2.4.0+ stealth root hiding, battery tuning, and NTSync gaming enhancements.

Resources

Stars

33 stars

Watchers

3 watching

Forks

ย 
ย 

Latest commit

ย 

History

928 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ”ฅ OP_KSUN_FS ๐Ÿ”ฅ

High-Performance Built-in KernelSU-Next & SUSFS LKM Kernels for OnePlus Devices

Build Kernel GitHub Release AnyKernel3.1 Forks Stars

Typing SVG

KernelSU-Next SUSFS Brand Downloads

Divider

๐Ÿ“– Overview

OP_KSUN_FS is a modern, enterprise-grade automated CI/CD pipeline engineered to compile, optimize, and package customized Android kernels for OnePlus devices running OxygenOS 14, 15, and 16 (Kernels 5.10, 5.15, 6.1, 6.6, and 6.12).

Built around an In-Tree KernelSU-Next (CONFIG_KSU=y) + Modular SUSFS LKM (susfs_guard_lkm.ko) architecture, OP_KSUN_FS delivers out-of-the-box root privileges upon flashingโ€”with zero init_boot or boot ramdisk patching requiredโ€”while offloading SUSFS root hiding to KernelSU-Next's native LKM loader. This keeps the core GKI fs/ and mm/ trees 100% free of fragile in-tree SUSFS source patches, while packing all custom performance, networking, battery, and gaming features directly into the kernel.


โšก What Makes OP_KSUN_FS Different?

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                        OP_KSUN_FS ARCHITECTURE                         โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ 1. Core Kernel (Image)         โ”‚ Clean GKI with Built-in KSUN, BBRv3,  โ”‚
โ”‚                                โ”‚ HMBird, NTSync, BBG & Battery suite.  โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ 2. Built-in KernelSU-Next      โ”‚ Compiled in-tree (CONFIG_KSU=y) โ€”     โ”‚
โ”‚                                โ”‚ works immediately after flashing ZIP. โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ 3. SUSFS Guard LKM             โ”‚ Enabled directly in KSUN Manager      โ”‚
โ”‚                                โ”‚ settings (susfs_guard_lkm.ko).        โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ 4. SakFi AnyKernel3.1          โ”‚ Custom recovery & flasher installer   โ”‚
โ”‚                                โ”‚ with native SakFi ASCII branding.     โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
  1. ๐Ÿš€ Built-in KernelSU-Next + Clean GKI Core:

    • KernelSU-Next is compiled directly into the kernel image (CONFIG_KSU=y), so root works immediately after flashing the AnyKernel3 ZIP without needing to patch init_boot or boot.
    • In-tree simonpunk/susfs4ksu source patches are intentionally skipped ("susfs": false), ensuring the kernel source is never destabilized by upstream sub-level rebase mismatches (such as 6.12.23/38 vs 6.12.92) and eliminating .rej build failures and GitLab 403 rate limits.
  2. ๐Ÿ›ก๏ธ Native SUSFS LKM Support (One-Click in KSUN Manager):

    • Compiled with full GKI loadable module and Kprobes symbol support (CONFIG_MODULES=y, CONFIG_MODVERSIONS=y, CONFIG_KALLSYMS_ALL=y, CONFIG_KPROBES=y) and whitelisted against vendor module debloating.
    • After flashing the kernel and rebooting, simply open the KernelSU-Next Manager app, go to Settings, and toggle SUSFS onโ€”ksud automatically loads <kmi>_susfs_guard_lkm.ko at boot!
  3. ๐ŸŽจ Customized AnyKernel3.1 Packaging:

    • Powered by our dedicated fork: sakfi/AnyKernel3.1.
    • Custom SakFi ASCII banner displayed natively in recovery consoles (TWRP, OrangeFox) and kernel flashing tools.
    • Real-time cinematic flash logging and SakFi-OP kernel uname branding.
  4. ๐Ÿ”‹ Battery Optimization & Performance Suite:

    • Wakelock Caps: 10-second hard safety timeout for noisy background driver wakelocks (wlan, IPA).
    • Schedutil & EAS Tuning: Little-core scheduling preference (80% utilization bias) for cool, efficient daily use.
    • MGLRU & Memory Reclamation: Multi-Gen LRU enablement and kswapd dampening to eliminate micro-stutters.
    • Compile-Level Log Silencing: Eliminates debug spam, reducing CPU and flash I/O churn.
  5. ๐ŸŽฎ Gaming & Networking Enhancements:

    • NTSync: Backported universal NT synchronization driver for zero-overhead Windows gaming emulation via Winlator, Mobox, and Box64.
    • BBRv3: Google's BBRv3 TCP congestion control for minimum latency and maximum networking throughput.
    • WireGuard: Fast, modern, kernel-space VPN for private and efficient mobile connectivity.

Divider

โœจ Key Features Matrix

Category Feature Status Description
Root Solution KernelSU-Next (KSUN) โœ… Built-in In-tree kernel-level root (CONFIG_KSU=y) ready right after flash
Stealth SUSFS Guard LKM โœ… LKM Ready Enabled via KSUN Manager settings (susfs_guard_lkm.ko)
Core Stability Zero In-Tree SUSFS Patches โœ… Clean GKI Untouched fs/ & mm/ core for 100% KMI compatibility across all kernels
Installer SakFi AnyKernel3.1 โœ… Active Custom recovery installer with ASCII branding (SakFi-OP)
Scheduler HMBIRD SCX โœ… Active OnePlus scheduler extensions for supported Snapdragon/Dimensity devices
Emulation NTSync โœ… Active High-performance fast sync primitives for Windows game emulators
Networking BBRv3 โœ… Active Latest TCP congestion control for low-latency network traffic
Networking WireGuard โœ… Active In-kernel encrypted VPN subsystem
Networking TTL / IP Set โœ… Active Packet mangling and advanced firewall capabilities
Power Battery Optimization โœ… Active Schedutil tuning, wakelock hard-caps, and MGLRU dynamic memory
Hardening BBG Security โœ… Active LSM-based Baseband Guard security whitelist
Hardening Unicode Bypass Fix โœ… Active Prevents path traversal via non-printable Unicode codepoints
Containers Droidspaces โœ… Active Kernel support (SYSVIPC, USER_NS, MACVLAN) for Linux containers

๐Ÿ” Expand SUSFS LKM Stealth Capabilities
  • SUS_PATH - Hide files, directories, and sensitive system artifacts
  • SUS_MOUNT - Mask overlayfs, tmpfs, and root injection mounts
  • SUS_KSTAT - Spoof file attributes, modification timestamps, and stat info
  • SUS_MAP - Hide loaded library maps and executable memory regions
  • SPOOF_UNAME - Custom branded uname identification (SakFi-OP)
  • SPOOF_CMDLINE - Conceal boot parameters and root indicators
  • OPEN_REDIRECT - Intercept and redirect file descriptor access
  • AVC_SPOOF - Suppress SELinux audit vector logs

Divider

๐Ÿ“ฑ Supported Devices & OxygenOS Versions

Configurations are maintained under configs/. Build manifests support all modern OnePlus devices:

OxygenOS Version Linux Kernel Supported Platforms / Devices
OOS 14 5.10 / 5.15 / 6.1 OnePlus 10 Pro, 10R, 10T, 11, 11R, 12, 12R, Pad, Ace Series
OOS 15 5.10 / 5.15 / 6.1 / 6.6 OnePlus 11, 12, 12R, 13, 13R, 13T, Open, Ace 2/3/5 Series, Nord 3/4/5
OOS 16 5.15 / 6.1 / 6.6 / 6.12 OnePlus 11, 12, 13, 13R, 13S, 13T, 15, 15R, 15T, N6, N6X, Nord CE6, Turbo 6 Series, Ace 5/6 Series, Pad 2/3/4 Pro

Divider

๐Ÿ“ฅ Installation Instructions

๐Ÿ› ๏ธ Prerequisites

  • Unlocked bootloader on your OnePlus device.
  • Recommended flashing utility: Kernel Flasher, Horizon Kernel Flasher, or the built-in flasher in KernelSU-Next Manager.
  • A backup of your stock boot.img stored safely.

๐Ÿ“ฒ Flashing Procedure

  1. Download the Flashable ZIP: Grab the appropriate zip for your device model and OS version from GitHub Releases.

    Package Naming Convention:
    SKF_{MODEL}_{OS_VER}_{KERNEL_VER}_{KSU_TYPE}_{KSU_VER}.zip
    
  2. Flash via Kernel Flasher or Custom Recovery:

    • Open Kernel Flasher (or boot into TWRP / OrangeFox).
    • Select the downloaded SKF_*.zip file and flash it.
  3. Reboot:

    • Reboot your device normally. Built-in KernelSU-Next will be active immediately on boot.
  4. Enable SUSFS LKM in Manager:

    • Install or open the KernelSU-Next Manager APK from KernelSU-Next Releases.
    • Navigate to Settings inside the Manager app and enable SUSFS (LKM).
    • Enjoy built-in KernelSU-Next root with modular SUSFS stealth protection!

Divider

โš ๏ธ Disclaimer

Your warranty is now void. You are proceeding entirely at your own risk.
  • Modifying your Android kernel can cause bootloops, device bricks, or loss of data if flashed onto incompatible firmware.
  • Always ensure that your active OxygenOS version and kernel sub-version match the release package you download.
  • The authors and maintainers of this repository take no responsibility for damaged hardware, bootloops, or lost data.

Divider

๐ŸŒŸ Special Thanks & Credits

Heartfelt gratitude to the outstanding developers and projects whose open-source work made this kernel possible:

Project / Component Author / Maintainer Upstream Link
AnyKernel3 & Recovery Tools osm0sis XDA
Original OnePlus Pipeline fatalcoder524 GitHub
KernelSU-Next rifsxd GitHub
SUSFS (Root Hiding) simonpunk GitLab
SUSFS KSU Module sidex15 GitHub
Droidspaces ravindu644 GitHub

Divider

๐Ÿ’ฌ Community & Support

Have questions, suggestions, or encountered a bug?

  • ๐Ÿ› Issue Tracker: Open an issue on GitHub Issues
  • ๐Ÿ’ฌ Telegram Channel: Join the discussion on t.me/SakFi

Telegram GitHub


sakfi profile views

About

Automated CI/CD suite building high-performance Hybrid LKM kernels for OnePlus devices on OxygenOS 14/15/16. Features modular KernelSU-Next, automated on-device ramdisk patching, SUSFS v2.4.0+ stealth root hiding, battery tuning, and NTSync gaming enhancements.

Resources

Stars

33 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages