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.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 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. โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
-
๐ 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 patchinit_bootorboot. - In-tree
simonpunk/susfs4ksusource patches are intentionally skipped ("susfs": false), ensuring the kernel source is never destabilized by upstream sub-level rebase mismatches (such as6.12.23/38vs6.12.92) and eliminating.rejbuild failures and GitLab 403 rate limits.
- KernelSU-Next is compiled directly into the kernel image (
-
๐ก๏ธ 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โ
ksudautomatically loads<kmi>_susfs_guard_lkm.koat boot!
- Compiled with full GKI loadable module and Kprobes symbol support (
-
๐จ 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-OPkernelunamebranding.
-
๐ 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.
- Wakelock Caps: 10-second hard safety timeout for noisy background driver wakelocks (
-
๐ฎ 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.
| 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 artifactsSUS_MOUNT- Mask overlayfs, tmpfs, and root injection mountsSUS_KSTAT- Spoof file attributes, modification timestamps, and stat infoSUS_MAP- Hide loaded library maps and executable memory regionsSPOOF_UNAME- Custom branded uname identification (SakFi-OP)SPOOF_CMDLINE- Conceal boot parameters and root indicatorsOPEN_REDIRECT- Intercept and redirect file descriptor accessAVC_SPOOF- Suppress SELinux audit vector logs
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 |
- 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.imgstored safely.
-
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 -
Flash via Kernel Flasher or Custom Recovery:
- Open Kernel Flasher (or boot into TWRP / OrangeFox).
- Select the downloaded
SKF_*.zipfile and flash it.
-
Reboot:
- Reboot your device normally. Built-in KernelSU-Next will be active immediately on boot.
-
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!
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.
Heartfelt gratitude to the outstanding developers and projects whose open-source work made this kernel possible:
Have questions, suggestions, or encountered a bug?
- ๐ Issue Tracker: Open an issue on GitHub Issues
- ๐ฌ Telegram Channel: Join the discussion on t.me/SakFi
