OnePlus Kernels with KernelSU & SUSFS
Find a file
fatalcoder524 ae58d5e228
Fix task_struct KABI alignment 6.1.157 and above
Place
dmabuf_info : slot 2
sched_prop : slot 3
scx : slot 4

Something similar to:
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1555,14 +1555,14 @@ struct task_struct {
 #endif

 	ANDROID_KABI_USE(1, unsigned int saved_state);
+	ANDROID_KABI_USE(2, struct task_dma_buf_info *dmabuf_info);
 #ifdef CONFIG_SLIM_SCHED
-	ANDROID_KABI_USE(2, unsigned long sched_prop);
-	ANDROID_KABI_USE(3, struct sched_ext_entity *scx);
-	ANDROID_KABI_USE(4, struct task_dma_buf_info *dmabuf_info);
+	ANDROID_KABI_USE(3, unsigned long sched_prop);
+	ANDROID_KABI_USE(4, struct sched_ext_entity *scx);
 #else
-	ANDROID_KABI_USE(2, struct task_dma_buf_info *dmabuf_info);
 	ANDROID_KABI_RESERVE(3);
 	ANDROID_KABI_RESERVE(4);
 #endif
 	ANDROID_KABI_RESERVE(5);
 	ANDROID_KABI_RESERVE(6);
History 2026-11-09 17:24:48 +05:30
.github Fix bootloop caused by export test_task_ux 2026-11-09 17:24:48 +05:30
configs fix: configs/a16/OP-NORD-CE4-LITE-6.1.118.json 2026-10-31 19:58:55 +05:30
manifests Fix bootloop caused by export test_task_ux 2026-11-09 17:24:48 +05:30
scripts/kernel_fix_patches Fix task_struct KABI alignment 6.1.157 and above 2026-11-09 17:24:48 +05:30
.gitignore Update .gitignore 2026-04-16 12:18:34 +05:30
compatibility.md Remove old deprecated warning 2026-07-08 17:51:58 +05:30
README.md Add efisp explot partitions to BBG whitelist 2026-06-28 22:30:21 +05:30

🔥 Wild Kernels for OnePlus (Oppo/Realme)

KernelSU-Next KernelSU Wild KSU SUSFS OnePlusOSS Tracking Status


⚠️ Disclaimer

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!

🚨 Proceed at your own risk!


🔧 Available Kernels

Kernel Repository Status
🏗️ GKI GKI_KernelSU_SUSFS ✅ Active
👑 Sultan Sultan_KernelSU_SUSFS ✅ Active
📱 OnePlus/Oppo/Realme OnePlus_KernelSU_SUSFS ✅ Active
📱 Samsung Samsung_KernelSU_SUSFS ✅ Active

🔗 Additional Resources


📱 Device Compatibility


📱 OnePlusOSS Repositories Tracking


✨ Features

  • 🔐 KernelSU / KernelSU-Next: A root solution for Android GKI devices that works in kernel mode and grants root permission to userspace applications directly in kernel space
  • 🔥 WildKSU Manager Support: Support for the Root Manager developed by our team with lots of customisations
  • 🥷 SUSFS: An addon root hiding kernel patches and userspace module for KernelSU
  • 🛡️ BBG: LSM-based Baseband Guard security to protect critical device partitions. abl/efisp can be added to whitelist for efisp exploit devices.
  • 🛠️ HMBIRD SCX: Scheduler extensions for SM8750/MT6991 devices
  • 🖧 BBRv1: Improved TCP congestion control
  • 🖧 BBRv3: Improved TCP congestion control
  • 🚦 CAKE and PIE qdisc Support: Better Net Schedulers
  • ✅ LTO: Link Time Optimisation enabled
  • 🚀 Optimisation patches: Memory, I/O, CPU scheduler, network and other general tunings
  • 🌐 TTL Target Support: Network packet manipulation
  • 🧱 IP Set & IPv6 NAT Support: Advanced firewall capabilities and IPv6 NAT Support
  • ⚡️ TMPFS XATTR / POSIX ACL: Extended TMPFS support for meta modules and Mountify
  • </> Unicode Bypass Fix: Prevent path traversal and other detections using non-printable Unicode codepoints [Experimental]
  • 🖥️ Droidspaces Support: Support Portable Linux containers to run full Linux environments.
  • 🔃 NTSync: Provide high-performance, low-latency synchronization primitives compatible with the Windows NT kernel API

📋 Installation Instructions

For GKI installation, please follow the official guide:

📖 KernelSU Installation Guide

You can also find Installation instructions in the release notes.


🌟 Special Thanks

These amazing people help make this project possible! ❤️

🔧 Project 👨‍💻 Developer 🔗 Link
KernelSU tiann GitHub
KernelSU-Next rifsxd GitHub
Magic-KSU 5ec1cff GitHub
SUSFS simonpunk GitLab
SUSFS Module sidex15 GitHub
Sultan Kernels kerneltoast GitHub
Baseband Guard vc-teahouse 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 Us

Telegram Telegram Group


💝 Donations

Any and all donations are appreciated!

PayPal: paypal.me/fatalcoder524

DM on Telegram for UPI donations!