Stability-focused OGKI (aka OKI) 6.6 kernel for OnePlus 13 (SM8750)
ReSukiSU & KernelSU Next & KernelSU & SukiSU Ultra
| Property | Value |
|---|---|
| Kernel Version | 6.6.144 (upstreamed from OGKI 6.6.89) |
| Chipset | SM8750 | Snapdragon 8 Elite | sun |
| Android Version | 15 VanillaIceCream (compatible with later versions) |
| ROM Compatibility | OxygenOS / ColorOS or AOSP — one build per ROM type (see below) |
| Root Solution | ReSukiSU / KSU Next / KSU / SukiSU Ultra |
| Build System | GitHub Actions CI/CD (optimized for ~5-6min builds) |
Important
A single build cannot cover both ColorOS/OxygenOS and AOSP — the toolchain decides the target ROM. Pick the workflow that matches the ROM you run, then choose your root manager with the KSU type option.
| Your ROM | Workflow to run | Toolchain |
|---|---|---|
| ColorOS / OxygenOS | OP13 Kernel Build (Build Kernel.yml) |
ZyCromerZ Clang |
| AOSP-based (LineageOS, crDroid, etc.) | OP13 Kernel AOSP Build (Build Kernel AOSP.yml) |
AOSP Clang |
- ZyCromerZ Clang builds → ColorOS / OxygenOS only.
- AOSP Clang builds → AOSP ROMs only.
- Flashing the wrong variant on your ROM will not boot.
Note
GitHub Releases only ship the ColorOS / OxygenOS (normal) builds. If you're on an AOSP ROM, there is no prebuilt release — fork the repo and run OP13 Kernel AOSP Build yourself under Actions, then grab the ZIP from the artifacts (or your Telegram bot).
- ✅ Upstream – Upstreaming the OnePlus's official kernel to the Google's newest A15 6.6 kernel
- ✅ SuSFS – Enhanced environment hiding (path/mount/kstat spoofing)
- ✅ Baseband Guard – Anti-brick modem protection
- ✅ Unicode Bypass Fix – Path traversal protection (always on)
- ✅ Fengchi / HMBIRD – Advanced CPU scheduler optimizations for SM8750 (turning it off also removes HMBIRD symbols that some OnePlus vendor modules may use)
- ✅ BORE Scheduler – Burst-Oriented Response Enhancer (EEVDF) for snappier interactivity (optional, off by default)
- ✅ ADIOS IO Scheduler – Improved read/write performance
- ✅ Oryon CPU Tuning –
-mcpu=oryon-1flags for SM8750
- ✅ TCP BBR + Brutal – Modern congestion control algorithms
- ✅ BBRv3 – Google's latest TCP congestion control, backported to 6.6
- ✅ WireGuard – Kernel-level VPN support
- ✅ Full Netfilter – Conntrack, NAT, hashlimit (optional)
- ✅ IP_SET + IPv6 NAT – Advanced firewall + IPv6 masquerade (optional)
- ✅ TTL/HL Target – Hide tethering from carrier detection (optional)
- ✅ LZ4 1.10.0 + ZSTD 1.5.7 – Faster compression for ZRAM
- ✅ LZ4KD – Kernel-level ZRAM optimization (optional)
- ✅ ZRAM Writeback – Better memory management (optional)
- ✅ F2FS Optimizations – Enhanced flash storage performance (optional)
- ✅ NTSync – Low-latency NT sync primitives (Wine/Proton gaming) (optional)
- ✅ Droidspaces – SYSVIPC + PID_NS + POSIX_MQUEUE for proot-distro
- ✅ LRNG v60 – Better entropy for crypto/gaming (optional)
- ✅ Wakelock Blocker – Reduce idle battery drain
- ✅ Re-Kernel Support – Enhanced app freezing via NoActive/Freezer (optional)
- ✅ Multi-Manager – Compatible with multiple KSU variants
24 low-level patches for reduced latency, better cache usage, and improved responsiveness.
| Patch | Purpose |
|---|---|
optimized_mem_operations.patch |
Optimized memcpy/memset for ARM64 |
file_struct_8bytes_align.patch |
Align file structures for better cache locality |
reduce_cache_pressure.patch |
Lower memory pressure during heavy workloads |
mem_opt_prefetch.patch |
Smart prefetching for sequential access patterns |
optimise_memcmp.patch |
Faster memory comparison routines |
minimise_wakeup_time.patch |
Reduce CPU wake latency for interactive tasks |
int_sqrt.patch |
Optimized integer square root for scheduler math |
reduce_gc_thread_sleep_time.patch |
Shorter GC thread sleeps for smoother UI |
add_timeout_wakelocks_globally.patch |
Prevent aggressive wakelock timeouts |
f2fs_reduce_congestion.patch |
Lower F2FS write contention |
reduce_freeze_timeout.patch |
Faster app freeze/unfreeze transitions |
clear_page_16bytes_align.patch |
16-byte aligned page clearing for NEON efficiency |
add_limitation_scaling_min_freq.patch |
Smarter min-frequency scaling limits |
re_write_limitation_scaling_min_freq.patch |
Refined frequency scaling behavior |
adjust_cpu_scan_order.patch |
Optimized CPU selection order for task placement |
avoid_extra_s2idle_wake_attempts.patch |
Reduce unnecessary suspend-to-idle wakes |
disable_cache_hot_buddy.patch |
Prevent cache thrashing in buddy allocator |
f2fs_enlarge_min_fsync_blocks.patch |
Larger fsync batches for F2FS efficiency |
increase_ext4_default_commit_age.patch |
Less frequent EXT4 journal commits |
increase_sk_mem_packets.patch |
Larger socket buffer for high-throughput networking |
reduce_pci_pme_wakeups.patch |
Fewer PCIe power management wakeups |
silence_irq_cpu_logspam.patch |
Reduce IRQ-related kernel log noise |
silence_system_logspam.patch |
Cleaner dmesg output |
use_unlikely_wrap_cpufreq.patch |
Branch prediction hints for cpufreq paths |
- Clang: ZyCromerZ Clang 19.0.0git, Oryon-optimized (ColorOS/OxygenOS) — or AOSP Clang
clang-r563880cfor AOSP builds - Linker: LLD 19 with ThinLTO cache in
$GITHUB_WORKSPACE - CCache: ECS-enhanced ccache with 10GB cache + aggressive sloppiness
-O2 # Balanced optimization level
-mcpu=oryon-1 # Target Snapdragon 8 Elite cores
-flto=thin # ThinLTO for link-time optimization (optional)
-ffile-prefix-map=... # Reproducible builds- Fork this repository (ensure all branches are copied)
- Go to Actions → Enable workflows
- Pick the workflow for your ROM (why two workflows?):
- ColorOS / OxygenOS → OP13 Kernel Build
- AOSP-based ROMs → OP13 Kernel AOSP Build
- Hit "Run workflow" and configure options:
- 🔘 KSU type:
ReSukiSU(default) /SukiSU Ultra/KernelSU/KernelSU Next - ✅ SuSFS (recommended for hiding)
- ✅ Fengchi (performance scheduler)
- ✅ Memory Opt Patches (24 optimizations)
- 🔘 LTO Type:
thin(balanced) /none(fastest compile) /full(max optimization) - 🔘 Optional features: LZ4KD, NTSync, IPv6 NAT, etc.
- 🔘 KSU type:
- Click "Run workflow" → Wait ~5-6 minutes
- The run shows up as " OP13 Build" (or " OP13 AOSP Build")
- Download
AnyKernel3_*.zipfrom artifacts or Telegram (if you configured TG bot)
This CI pipeline includes:
- 🚀 Parallel patch application for 20+ WildKernels patches
- 💾 RAM-based LTO cache (
$GITHUB_WORKSPACE) to avoid disk I/O bottlenecks - ⚡ ThinLTO job limiting (
--thinlto-jobs=$(nproc/2)) to prevent CPU thrashing - 🔄 Aggressive ccache with kernel-specific sloppiness for maximal cache hits
- 📦 Pre-downloaded toolchain via aria2c with 16 connections
- 🗑️ Background cleanup of unused GitHub runner packages
| Configuration | Estimated Time |
|---|---|
lto_type: none + minimal patches |
~3:20-3:50 |
lto_type: thin + all patches (default) |
~4:50-5:50 |
lto_type: full + all patches |
~7:00-9:00 |
💡 Tip: Use
lto_type: nonefor rapid testing,thinfor release builds.
Change KERNEL_FULL_VERSION in both Build Kernel.yml and Build Kernel AOSP.yml (and the version shown in this README). The kernel source branch, ccache keys, ZIP names, Telegram messages and releases all follow it.
| Device | Codename | Status |
|---|---|---|
| OnePlus 13 | PJZ110 (CN) / OP13 (Global) |
✅ Fully Supported |
| OnePlus 13T | PKX110 |
✅ Fully Supported |
| OnePlus 13s | CPH2723 |
✅ Fully Supported |
| OnePlus Ace 6 | PLQ110 |
✅ Fully Supported |
| OnePlus Ace 5 Pro | PKR110 |
✅ Fully Supported |
| OnePlus Pad 3 | OPD2415 |
✅ Fully Supported |
| OnePlus Pad 2 Pro | OPD2413 |
✅ Fully Supported |
Requires unlocked bootloader + custom recovery (TWRP / KernelFlasher)
- Download the latest
AnyKernel3_*.zip:- ColorOS / OxygenOS → Releases or Actions artifacts
- AOSP → Actions artifacts of your own OP13 Kernel AOSP Build run (Releases are COS/OOS only — see ROM Compatibility)
- Boot to custom recovery (TWRP / OrangeFox / KernelFlasher)
- Flash the AnyKernel3 ZIP
- (Required) Install a metamodule for KSU:
- Reboot and enjoy! 🎉
⚠️ Disclaimer: I am not responsible for bricked devices, data loss, or other issues. Flash at your own risk.
| Contributor | Contribution |
|---|---|
| mrcxlinux | The base workflow |
| xiaomichael | Some help & GKI infrastructure |
| cctv18 | Base of kernel source, ccache-ESC |
| Numbersf | Fengchi / HMBIRD scheduler patches |
| ShirkNeko | LZ4KD & ZRAM patches |
| ZyCromerZ | Oryon-optimized Clang 19 toolchain |
| linx3141 | AOSP support |
| TheWildJames | Unicode fix & additional kernel patches |
| FatalCoder524 | BBRv3, kernel optimization patches |
| brokestar233 | BORE scheduler integration for OnePlus SM8750 (source patch) |
| firelzrd | BORE (Burst-Oriented Response Enhancer) CPU scheduler |
If this kernel improves your daily driver, please consider:
⭐ Starring this repository – helps others discover it!
🐛 Reporting issues – helps me fix bugs faster
💡 Suggesting features – I read every issue!
🔁 Sharing your builds – tag me in your Telegram/Discord posts
Built with ❤️ by palaziks • Kernel version: 6.6.144-palaziks-ShiftPorts