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!
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.
| 🏷️ 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
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 |
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.
Our unique battery suite targets three critical areas to maximize OnePlus performance:
- Wakelock Hard-Caps: Automatic 10s safety timeout for aggressive drivers (
wlan,IPA). - Scheduling Efficiency: Tuned
schedutildamping and EAS bias toward "Little" cores (80% util). - Memory Optimization: Strategic kswapd dampening and dynamic MGLRU enablement.
- Log Silencing: Compile-level silencing of debug noise to reduce CPU/IO churn.
🛠️ View Prerequisites
- Unlocked bootloader
- A backup of your current boot image
- Any root solution already installed (Magisk / KernelSU / APatch)
- 📥 Download the AnyKernel3 ZIP for your device from the Releases page
- ⚡ Flash using Kernel Flasher or Horizon Kernel Flasher
- 🔄 Reboot
- 📱 Install KernelSU-Next Manager → Releases
- 🧩 Install SUSFS Module from within the manager → sidex15/ksu_module_susfs
📖 For GKI installation details: kernelsu.org/guide/installation
These amazing people help make this project possible! ❤️
| 🔧 Project/Role | 👨💻 Developer | 🔗 Link |
|---|---|---|
| Original Repository | fatalcoder524 | |
| KernelSU-Next | rifsxd | |
| SUSFS | simonpunk | |
| SUSFS Module | sidex15 | |
| Droidspaces | ravindu644 |
If you have contributed and are not listed here, please remind me! 🙏
If you encounter any issues or need help, feel free to:
- 🐛 Open an issue in this repository
- 💬 Reach out to me directly