# Wild Kernels for GKI2 Devices 5.10+ Release # **IMPORTANT DISCLAIMER** > [!CAUTION] > This software is provided for testing and educational purposes only. Use at your own risk. The developers are not responsible for any damage, data loss, or issues that may occur. Please ensure you have proper backups before installation. Join the telegram here: https://t.me/WildKernelsTG # Features - [KernelSU-Next](#kernelsu-next) - [SUSFS v2.2.0](#susfs-v220) - [Baseband Guard (BBG)](#baseband-guard-bbg) - [DroidSpaces-OSS](#droidspaces-oss) - [Networking Improvements](#networking) - [NTSync](#ntsync) - [Misc](#misc) ## [KernelSU-Next](https://github.com/pershoot/KernelSU-Next) A kernel-based root solution for Android devices. > [!WARNING] > This release uses the [pershoot/KernelSU-Next](https://github.com/pershoot/KernelSU-Next) fork. The fork maintainer has said it is not ready for production use, so treat it as use at your own risk. **Manager:** [build-manager run]({{KSU_MANAGER}}) — {{KSU_MANAGER_NOTE}} > [!IMPORTANT] > For best compatiblity ensure your Manager Version and Kernel Version match eg. 30100 = 30100. **Version** `{{KSU_VERSION}}` **Tag** `{{KSU_GIT_TAG}}` **Branch** `{{KSUN_BRANCH}}` **Commit** `{{KSUN_COMMIT}}` ## [SUSFS v2.2.0](https://gitlab.com/simonpunk/susfs4ksu) A KSU addon for hiding root using kernel patches and a userspace module! Reccomended Module: [susfs4ksu-module by sidex15](https://github.com/sidex15/susfs4ksu-module) - SUS_PATH - Hide suspicious paths: hides the user-defined path and all its sub-paths from various system calls. Use `add_sus_path_loop` instead of `add_sus_path` if the path is frequently modified. Caution: may cause performance loss and is vulnerable to side-channel attacks. Effective only on zygote-spawned user app processes with uid >= 10000 - SUS_MOUNT - Hide suspicious mounts (no CLI support): assigns fake mnt_id/mnt_group_id to mounts mounted by the ksu process until /sdcard is decrypted (evades mnt_id/mnt_group_id gap detections), and hides all sus mounts from `/proc/self/[mounts|mountinfo|mountstat]` for non-su processes - SUS_KSTAT - Spoof kernel statistics: spoofs the kstat of user-defined files/directories. Effective only on zygote-spawned user app processes with uid >= 10000 - SPOOF_UNAME - Kernel version spoofing: spoofs the string returned by the uname syscall to a user-defined string. Effective on all processes - ENABLE_LOG - Susfs kernel logging: logs susfs events to the kernel log; uncheck to completely disable all susfs log - HIDE_KSU_SUSFS_SYMBOLS - Hide ksu/susfs symbols: automatically hides ksu and susfs symbols from `/proc/kallsyms`. Effective on all processes - SPOOF_CMDLINE_OR_BOOTCONFIG - Boot parameter spoofing: spoofs the output of `/proc/bootconfig` (GKI) or `/proc/cmdline` (non-GKI) with a user-defined file. Effective on all processes - OPEN_REDIRECT - File access redirection: redirects a target path to be opened with another user-defined path (both paths must exist before they can be added). Does NOT bypass detections by itself; SELinux permissions for both paths are the user's responsibility. Effective only on processes with a pre-defined uid scheme - SUS_MAP - Memory mapping protection: hides mmapped real files from `/proc//[maps|smaps|smaps_rollup|map_files|mem|pagemap]`. No anon-memory support; does not hide inline/PLT hooks caused by the injected library itself; may not evade strong injection detection. Effective only on zygote-spawned unmounted user app processes with uid >= 10000 - AVC_SPOOF - Spoof procfs avc denial logs (enabled at runtime via the sidex15 module — not a build-time Kconfig option) {{SUSFS_BRANCHES}} ## [Baseband Guard (BBG)](https://github.com/vc-teahouse/Baseband-guard) A lightweight LSM (Linux Security Module) for the Android kernel, designed to block unauthorized writes to critical partitions/device nodes at the system level. ## [DroidSpaces-OSS](https://github.com/ravindu644/Droidspaces-OSS) A lightweight, LXC-inspired container runtime for Android and Linux. Run full Linux distributions natively with zero performance penalty. ## Networking - BBRv1 - Improved TCP congestion control - BBRv3 - Improved TCP congestion control — available for Android 12 (5.10) through Android 15 (6.6), Android 16 (6.12) coming soon - Wireguard - Built-in VPN support - IP Set & IPv6 NAT Support - Advanced firewall capabilities - TTL Target Support - Network packet manipulation - CAKE, fq, fq_codel - Traffic shaping and fair queuing for reduced lag and balanced bandwidth - connmark - Connection marking for packet classification - TCP congestion control - CUBIC, BIC, Westwood, and HTCP for optimized performance across different network conditions - CIFS - Network filesystem support (SMB/CIFS sharing) ## Other Features - TMPFS_XATTR - Extended attributes for tmpfs (Mountify support) - TMPFS_POSIX_ACL - POSIX ACLs for tmpfs ## [NTSync](#ntsync) Provide high-performance, low-latency synchronization primitives compatible with the Windows NT kernel API ## [Misc](#misc) - Ptrace Leak Fix: For kernels < 5.16 - Unicode Fix: Prevent path traversal and other detections using non-printable Unicode codepoints [Experimental] - BTF/eBPF Support: CONFIG_BTF, CONFIG_BPF_EVENTS, CONFIG_FUSE_BPF for debugging and eBPF tooling - TMPFS_XATTR: Extended attributes for tmpfs (Mountify support) - TMPFS_POSIX_ACL: POSIX ACLs for tmpfs ## Changelog ### This Release - Added BBRv3 — available for Android 12 (5.10) through Android 15 (6.6) - Added NTSync - Ptrace Leak Fix - For kernels < 5.16 - Unicode Fix - Prevent path traversal and other detections using non-printable Unicode codepoints [Experimental] ## Recommended Tools [Kernel Flasher](https://github.com/fatalcoder524/KernelFlasher) - Recommended flashing utility [PixelFlasher by badabing2005](https://github.com/badabing2005/PixelFlasher) - Pixel phone flashing GUI utility with features. ## Installation Instructions ### Prerequisites - Unlocked bootloader. - Backup your current boot image. - Have root access using Magisk / KernelSU / Apatch (Any forks). ### Via Kernel Flasher Download the correct AnyKernel3 ZIP for your device. If you previously used another root method, clean it up first: a. Magisk: perform a complete uninstall after flashing the AnyKernel3 ZIP. b. KSU LKM (boot/init_boot/vendor_boot‑patched): Flash back the stock boot/init_boot/vendor_boot depending on what you patched. c. KSU GKI: if you are 100% sure you already flashed stock init_boot/boot/vendor_boot, no action is needed; otherwise, follow the same steps as KSU LKM. d. APatch: remove /data/adb contents to avoid leftover root conflicts after flashing the AnyKernel3 ZIP. Flash the ZIP to the active slot using Kernel Flasher. Install the KernelSU‑Next Manager APK, same version as mentioned in the release notes. Open the KernelSU‑Next app. Reboot the device if you performed any cleanup in step 2 ## Force Load Kernel Modules (Bypass) — flashing with `Bypass-Image` > [!IMPORTANT] > Most users do not need this. This option does not help bypass root-detection systems — it only replaces the kernel image used during flashing for compatibility workarounds. **How to enable:** - Set `do.flash_bypass=1`, in the anykernel.sh file within the AnyKernel3.zip. **Behavior:** - If `do.flash_bypass=1` is set it will move `Bypass-Image` to replace the usual `Image` file prior to performing version checks and flashing. - If `do.flash_bypass=1` is set and `Bypass-Image` is not found, the installer will abort with an error to avoid accidental forced flashing of an unintended image. **Why / When to use:** - Use this only when a `Normal` flash fails to boot due to kernel module incompatibilities.