Stability-focused GKI 6.6 kernel for OnePlus 13 (SM8750) with SukiSU Ultra
| Property | Value |
|---|---|
| Version | 6.6.138 (upstreamed from 6.6.89) |
| Chipset | SM8750 | Snapdragon 8 Elite | sun |
| Kernel Version | Linux 6.6 (GKI Android 15) |
| Android Version | 15 VanillaIceCream (compatible with later versions) |
| ROM Compatibility | OxygenOS / ColorOS (CN & Global) |
| Root Solution | SukiSU Ultra / KSU Next (Multi-Manager) |
| Build System | GitHub Actions CI/CD (optimized for ~5-6min builds) |
- ✅ 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
- ✅ Fengchi / HMBIRD – Advanced CPU scheduler optimizations for SM8750
- ✅ ADIOS IO Scheduler – Improved read/write performance
- ✅ SchedUtil Optimizations – Better CPU governor responsiveness (optional)
- ✅ Oryon CPU Tuning –
-mcpu=oryon-1flags for SM8750
- ✅ TCP BBR + Brutal – Modern congestion control algorithms
- ✅ 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 v59 – Better entropy for crypto/gaming (optional)
- ✅ Wakelock Blocker – Reduce idle battery drain
- ✅ Re-Kernel Support – Enhanced app freezing via NoActive/Freezer (optional)
- ✅ KPM Support – Kernel Patch Module for SukiSU Ultra / ReSukiSU (optional)
- ✅ Multi-Manager – Compatible with multiple KSU variants
25 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 |
force_tcp_nodelay.patch |
Reduce TCP latency for gaming/streaming |
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)
- Linker: LLD 19 with ThinLTO cache in RAM (
/dev/shm) - CCache: ECS-enhanced ccache with 10GB cache + aggressive sloppiness
-O2 # Balanced optimization level
-mcpu=oryon-1 # Target Snapdragon 8 Elite cores
-fno-strict-aliasing # Safer pointer aliasing
-fno-delete-null-pointer-checks # Extra null safety
-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
- Click "SukiSU Ultra OP13 Build" → "Run workflow"
- Configure options:
- ✅ SuSFS (recommended for hiding)
- ✅ Fengchi (performance scheduler)
- ✅ Memory Opt Patches (25 optimizations)
- 🔘 LTO Type:
thin(balanced) /none(fastest compile) /full(max optimization) - 🔘 Optional features: KPM, LZ4KD, NTSync, IPv6 NAT, etc.
- Click "Run workflow" → Wait ~4-5 minutes
- Download
AnyKernel3_*.zipfrom artifacts or Telegram
This CI pipeline includes:
- 🚀 Parallel patch application for 20+ WildKernels patches
- 💾 RAM-based LTO cache (
/dev/shm) 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.
| Device | Codename | Status |
|---|---|---|
| OnePlus 13 | PJZ110 (CN) / OP13 (Global) |
✅ Fully Supported |
| OnePlus 13T | OP13T |
Requires unlocked bootloader + custom recovery (TWRP / KernelFlasher)
- Download the latest
AnyKernel3_*.zipfrom Releases or Actions artifacts - Boot to custom recovery (TWRP / OrangeFox / KernelFlasher)
- Flash the ZIP file
- (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 | SuSFS, ccache-ECS, Baseband Guard, public ccache |
| vc-teahouse | SukiSU Ultra core & KPM framework |
| Numbersf | Fengchi / HMBIRD scheduler patches |
| WildKernels | 25 memory/scheduler optimization patches & workflow optimization |
| ShirkNeko | LZ4KD & ZRAM patches |
| ZyCromerZ | Oryon-optimized Clang 19 toolchain |
| TheWildJames | Unicode fix & additional kernel patches |
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.138-palaziks-ShiftPorts