Skip to content

sakfi/OP_KSUN_FS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

716 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔥 OP_KSUN_FS 🔥

Build Kernel GitHub Release Forks Stars

Typing SVG

KernelSU-Next Wild KSU KernelSU SUSFS

Forked from WildKernels/OnePlus_KernelSU_SUSFS


⚠️ Disclaimer

🚨 Your warranty is no longer valid!

Flashing this kernel will not void your warranty, but there is always a risk of bricking your device. Please make sure to:

  • 💾 Back up your data

  • 🧠 Understand the risks before proceeding

  • I am not responsible for bricked devices, damaged hardware, or any issues that arise from using this kernel.

  • Please do thorough research and fully understand the features added in this kernel before flashing it!

  • By flashing this kernel, YOU are choosing to make these modifications. If something goes wrong, do not blame me!


⚠️ Verify compatibility of your device and OxygenOS version before flashing.

Proceed at your own risk!


🚀 What This Does

This repository provides a fully automated GitHub Actions workflow that:

  • 📥 Clones the OnePlus GKI kernel source via repo sync
  • 🛡️ Integrates KernelSU-Next (KSUN) or KernelSU (KSU)
  • ⚔️ Applies SUSFS patches (Dynamically updated via GitLab API)
  • 🔋 Integrates a comprehensive Battery Optimization Suite
  • 🚀 Applies a curated set of performance & optimization patches
  • 📦 Builds and packages a flashable AnyKernel3 ZIP
  • 📱 Supports all major OnePlus OxygenOS versions (OOS14, OOS15, OOS16)
  • 🔄 Fully Synchronized Workflow: Automatic dependency resolution via GitHub GraphQL and GitLab APIs.


✨ Features


🏷️ Feature 📝 Description
🔐 KernelSU-Next Next-generation kernel-level root solution
🛡️ SUSFS v2.1.0+ Advanced root hiding with Magic Mount support (Auto-synced)
🔋 Battery Optimization Modular suite: Wakelock hard-caps, Schedutil tuning, MGLRU, and Log Silencing
🛠️ Manual Hooks scope_min_manual_hooks_v1.4 for better app compatibility
🖧 BBR Improved TCP congestion control
🛡️ BBG LSM-based Baseband Guard security
🌐 TTL Target Support Network packet manipulation
🧱 IP Set Support Advanced firewall capabilities
🔄 NTSync Universal NT synchronization primitives for gaming
🛂 WireGuard Fast, modern, and secure kernel-level VPN
🏗️ HMBIRD SCX Scheduler extensions for SM8750 devices
LTO Link Time Optimization (thin/full/none configurable)
⚡️ TMPFS XATTR Extended attributes for Mountify and Meta support
🚀 Optimization patches Memory, I/O, CPU scheduler, network tuning
</> Unicode Bypass Fix Prevent path traversal using non-printable Unicode codepoints
🖥️ Droidspaces Support Support for Portable Linux containers


👀 View SUSFS Hide Capabilities
  • ✅ SUS_PATH · SUS_MOUNT · SUS_KSTAT · SUS_MAP
  • ✅ SPOOF_UNAME · SPOOF_CMDLINE · OPEN_REDIRECT · AVC_SPOOF

📱 Supported Devices

Device configs are located in configs/. Internal patches are centralized in configs/kernel_patches/.

OOS Version Kernel Example Devices
OOS14 5.10 / 5.15 / 6.1 OP10 Pro, OP11, OP12, OP-ACE series
OOS15 5.15 / 6.1 / 6.6 OP12, OP13, OP13S, OP-ACE-5, OP-NORD series
OOS16 6.1 / 6.6 / 6.12 OP13, OP-ACE-5 series, OP-PAD series

🛠️ Internal Patches

All local kernel enhancements are organized under one roof for easier maintenance:

  • Battery patches: The core battery optimization suite.
  • NTSync patches: Emulation synchronization backports for 6.1/6.6/6.12.
  • WireGuard patches: Secure kernel-level VPN implementation.


🔋 Battery Optimization Suite

Our unique battery suite targets three critical areas to maximize OnePlus performance:

  1. Wakelock Hard-Caps: Automatic 10s safety timeout for aggressive drivers (wlan, IPA).
  2. Scheduling Efficiency: Tuned schedutil damping and EAS bias toward "Little" cores (80% util).
  3. Memory Optimization: Strategic kswapd dampening and dynamic MGLRU enablement.
  4. Log Silencing: Compile-level silencing of debug noise to reduce CPU/IO churn.


📋 Installation Instructions

🛠️ View Prerequisites
  • Unlocked bootloader
  • A backup of your current boot image
  • Any root solution already installed (Magisk / KernelSU / APatch)

Steps

  1. 📥 Download the AnyKernel3 ZIP for your device from the Releases page
  2. ⚡ Flash using Kernel Flasher or Horizon Kernel Flasher
  3. 🔄 Reboot
  4. 📱 Install KernelSU-Next ManagerReleases
  5. 🧩 Install SUSFS Module from within the manager → sidex15/ksu_module_susfs

📖 For GKI installation details: kernelsu.org/guide/installation



🌟 Special Thanks

These amazing people help make this project possible! ❤️

🔧 Project/Role 👨‍💻 Developer 🔗 Link
Original Repository fatalcoder524 GitHub
KernelSU-Next rifsxd GitHub
SUSFS simonpunk GitLab
SUSFS Module sidex15 GitHub
Droidspaces ravindu644 GitHub

If you have contributed and are not listed here, please remind me! 🙏



💬 Support

If you encounter any issues or need help, feel free to:


  • 🐛 Open an issue in this repository
  • 💬 Reach out to me directly


📱 Connect With Me


Telegram GitHub

sakfi

About

OP_KSUN_FS is a toolkit for managing and deploying KSUN firmware components on OnePlus devices, enabling system-level customization and SUSFS functionality while maintaining compatibility with OxygenOS.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors