BadgerHunter is a high-performance, security-auditing, and penetration-testing kernel for the OnePlus 13 (Codename: dodge, Platform: sm8750 / Qualcomm Snapdragon 8 Elite).
Designed for power users, security researchers, and mobile penetration testers, BadgerHunter brings native KernelSU-Next, advanced SuSFS v2.3.0 stealth isolation, comprehensive Kali NetHunter wireless & SDR injection capabilities, and GPU gaming/battery optimizations into a unified, rock-solid kernel build.
- KernelSU-Next (v1.0.5 / 33239): Native, in-kernel su management with minimal footprint and maximum app compatibility.
- SuSFS v2.3.0 (Suspicious File System):
- Complete root hiding and mount namespace unsharing protection.
- Hides ksu loop devices, unshared mounts, and
kstatpath spoofing. TIF_PROC_UMOUNTEDprotection to hide root traces from aggressive root-detection banking and enterprise apps.- Strict compatibility fixes for Linux 6.6+ VFS.
- Internal Wi-Fi Packet Injection: Fully patched Qualcomm FastConnect 7900 (
qcacld-3.0/ peach) supporting native raw packet injection and monitor mode onwlan0. - External Wi-Fi Drivers: Comprehensive USB Wi-Fi dongle support with mac80211 monitor mode & packet injection:
- Realtek: RTL8812AU, RTL8821CU, RTL8822BU, RTL8822CU, RTL8187, RTL8xxxu
- MediaTek: MT7601U, MT7615, MT7663U, MT76x0U, MT76x2U, MT7921U
- Ralink: RT2800USB, RT2500USB, RT73USB, RT2X00
- Atheros: ATH9K-HTC, CARL9170
- Software Defined Radio (SDR): RTL-SDR, HackRF, and Airspy support.
- CAN Bus & Automotive Hacking: SocketCAN, slcan, vcan, mcp251x, gs_usb, peak_usb, c_can, m_can.
- Hardware & Serial Hacking: FTDI, CH341, CP210x, PL2303, USB CDC-ACM.
- Adreno GPU Boost: Dynamic frequency scaling responsiveness for extreme graphics benchmarks and high-refresh-rate gaming.
- Adreno Idler: Intelligently downclocks the Adreno GPU during static display content and low-workload tasks, drastically reducing idle power consumption and thermal throttling.
- Hi-Fi Audio: Full DAC/codec pass-through for studio-grade audio output.
- LHDC / LHDCv5: Advanced low-latency, high-definition Bluetooth audio codec support.
Tested and validated on:
- OnePlus 13 (
dodge/CPH2649,CPH2653,CPH2655) - OxygenOS 16/Android 16
Note
If building for specific custom ROMs with strict module verification or specific seccomp policies:
CONFIG_FHANDLEshould be set tonCONFIG_SYSVIPCshould be set tonCONFIG_MODULE_FORCE_UNLOADshould be set ton- When building the kernel with a custom ROM lineage based, PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS := false must
- be set in the device/sm8750-common/common.mk file to bypass the VF_Compatibility checks the build verifies against.
Choose any of the following flashing methods depending on your setup.
You can flash BadgerHunter on a running rooted device using BadgerKernelManager, Franco Kernel Manager (FKM), or KernelFlasher:
- Download the latest AnyKernel3 zip:
BadgerHunter-OP13-NetHunter.zip. - Open your preferred Kernel Manager:
- BadgerKernelManager: Go to Flasher -> Tap Select Zip -> Select
BadgerHunter-OP13-NetHunter.zip-> Tap Flash. - Franco Kernel Manager (FKM): Tap the Menu -> Flasher -> Manual Flasher -> Browse and select the zip file -> Tap Flash.
- KernelFlasher: Tap Flash -> Choose
BadgerHunter-OP13-NetHunter.zip-> Confirm flash.
- BadgerKernelManager: Go to Flasher -> Tap Select Zip -> Select
- Allow the installer to complete the AnyKernel3 ramdisk repack.
- Reboot the device.
- Download
BadgerHunter-OP13-NetHunter.zip. - Boot into Custom Recovery:
adb reboot recovery
- Flashing via Recovery GUI (TWRP / OrangeFox):
- Tap Install.
- Locate and select
BadgerHunter-OP13-NetHunter.zip. - Swipe to confirm flash.
- Tap Reboot System.
- Flashing via ADB Sideload (AOSP / EvolutionX Recovery):
- Select Apply update -> Apply from ADB.
- On your computer, run:
adb sideload BadgerHunter-OP13-NetHunter.zip
- Once finished, select Reboot system now.
If you prefer fastboot or are recovering from a bootloop:
- Download the prebuilt
boot.img. - Boot into Fastboot / Bootloader mode:
adb reboot bootloader
- Flash
boot.imgto your active boot slot:fastboot flash boot boot.img
- Reboot:
fastboot reboot
External Wi-Fi and CAN bus modules are provided in BadgerHunter-OP13-NetHunter-Modules-Pack-Stripped.zip.
- Extract the module pack to your device:
adb push modules /data/local/tmp/modules adb push moduleinstall.sh /data/local/tmp/
- Open a root shell on your phone:
adb shell su
- Load the modules using
moduleinstall.sh:sh /data/local/tmp/moduleinstall.sh /data/local/tmp/modules load
- Check status of loaded modules:
sh /data/local/tmp/moduleinstall.sh /data/local/tmp/modules status
- To safely unload:
sh /data/local/tmp/moduleinstall.sh /data/local/tmp/modules unload
- Linux environment (Ubuntu 22.04 / 24.04 or Debian)
- Clang Toolchain: Android Clang
clang-r510928 - Python 3.10+, Bazel / Kleaf, ccache, git
- Clone this repository into your kernel platform:
git clone -b nethunter https://github.com/MrBadger183/android_kernel_oneplus_sm8750.git kernel_platform/msm-kernel
- Run the build script:
./build.sh sun perf
- The build script will compile the kernel Image, vendor DTBs, and modules, depositing flashable artifacts into
dist/.
- Qualcomm & OnePlusOSS / For the kernel manifest that brought all this about with the base kernel sources.
- KernelSU-Next Project for modern, secure kernel-level su.
- simonsmh / SuSFS for the revolutionary stealth root filesystem.
- Offensive Security / Kali NetHunter for wireless injection patches.
- Open Source Community for all the hard work that is done in your free time and as your full-time jobs. Thank you.
- MrBadger183 - Lead maintainer & developer.