High-efficiency, lightweight, and battery-oriented custom GKI 2.0 kernel specifically built for Realme P3 5G (RMX5079, codename: dongfeng / SM6650).
| Attribute | Specification |
|---|---|
| Device | Realme P3 5G |
| Model | RMX5079 |
| Codename | dongfeng / volcano |
| SoC | Qualcomm Snapdragon 6 Gen 4 (SM6650, 4nm) |
| Kernel Version | Linux 6.1.y GKI 2.0 (android14-6.1) |
| Toolchain | Google AOSP Clang r487747c + ThinLTO |
| Target OS | Realme UI 5.0 / 6.0 (Android 14 / 15) & AOSP Custom ROMs |
| Format | AnyKernel3 Flashable ZIP (Custom ASCII Banner) |
- Power Efficiency: Tickless idle (
CONFIG_NO_HZ_IDLE=y) and tunedschedutilgovernor for optimal battery standby and deep sleep. - Zero-Overhead Memory: Default LZ4 ZRAM compression for rapid memory swapping with near-zero CPU overhead.
- KMI Safe (Hardware Protection): 100% GKI 2.0 ABI compliance. Wi-Fi (
qca_cld3_wlan.ko) and Audio (snd-soc-*.ko) OEM vendor modules load without CRC symbol mismatch. - Debloated Tracing: Stripped heavy debugging routines (
SLUB_DEBUG,DEBUG_INFO_BTF,DYNAMIC_DEBUG_CORE,PM_DEBUG) to minimize RAM footprint. - Network Performance: TCP BBR congestion control enabled by default for lower packet latency and stable throughput.
- ThinLTO: Link-Time Optimization enabled for optimized binary size and cache utilization.
- Modular Configuration: Battery and performance tweaks codified cleanly in
configs/zerobyte_battery.config.
Every build automatically generates flashable ZIP packages available under Releases:
| Variant | Purpose | Root Compatibility |
|---|---|---|
Original |
Clean GKI kernel for everyday stability | Play Integrity & Banking ready (Supports Magisk / APatch separately) |
KernelSU |
Integrated kernel-level root solution | Native KernelSU-Next driver built-in (Install KernelSU Manager app) |
Important
Always backup your stock boot partition in recovery before flashing any custom kernel!
- Download your preferred kernel variant (
OriginalorKernelSU) from Releases. - Boot into recovery (TWRP / OrangeFox).
- Select Install and choose the downloaded
.zipfile. - Swipe to confirm flash (AnyKernel3 will display the ZeroByte ASCII banner).
- Reboot System (Wipe cache/dalvik is optional).
Alternatively, you can flash the .zip directly using KernelSU Manager or Franco Kernel Manager.
You can compile ZeroByte Kernel locally on Linux / WSL with a single command:
# Clone the repository
git clone https://github.com/zacxyonly/zerobyte-kernel.git
cd zerobyte-kernel
# Build KernelSU-Next variant (automatically handles toolchain & kernel tree):
./build.sh --variant ksu
# Build Original (clean / non-root) variant:
./build.sh --variant original
# Build both variants:
./build.sh --variant allCompiled flashable .zip packages and SHA256 checksums will be generated in out/.
Builds are also fully automated via GitHub Actions:
- Navigate to Actions.
- Select Build ZeroByte Kernel for Realme P3 5G (RMX5079 / dongfeng).
- Click Run workflow (select variant and ThinLTO option).
- Flashable ZIP packages and SHA256 checksums will be published to Releases.
- Google Android Open Source Project (AOSP)
- Linux Kernel Organization
- Realme Kernel Open Source Team
- osm0sis for AnyKernel3
- KernelSU-Next