Warning: This kernel is intended for hacker technology learning and communication, not for illegal use, all behaviors and responsibilities have nothing to do with me! 简体中文
This kernel is modified based on CAF kernel source and is suitable for MIUI12. Basically, the nethunter official website supports all the functions of the mobile phone and has solved all known problems. You can download and use the kernel from release.
Now, this is my kernel source
This patch supports all Linux devices based on the 4.14.X kernel version Nethunter kernel patch
Click here to download Mi9-nethunter-kernel-release
The last version: V24 20200927 4.14.199 LTS
Nethunter function (You can use the patch I provided to implement WIFI inject and HID, and you also need to configure defconfig yourself patch)
WIFI Injection IEEE80211 and support 2.4GHZ & 5GHZ
Support otg MTKMT7601U rt28xx/307x ar9170 rtl8187/8 ZD1201USB.....
New rtl88xxau driver support form https://github.com/aircrack-ng/rtl8812au (default disable, you should build own)
HID attack and support DuckyHID
DriveDroid support
SYSVIPC (now you can run postgresql normally)
USB RNDIS
USB RTL8150/2/3 based ethernet device support
RFcomm tty support
USB/UART bluetooth device
RTL-SDR, AirSpy, Hackrf
USB serial (now it supports ch340 and pl2303)
Wireless extension compatible (now you can use iwconfig
and set monitor mode)
Enable Qualcomm WiFi monitor mode, now you can set your network card "wlan0" to monitor mode(No injection support)
Update to 4.14.199 LTS
Merge android-4.14-q from googlesource
Merge tag 'LA.UM.8.1.r1-15900-sm8150.0' for kernel tree, WLAN, data_rmnet
Add BBRv2 and set default
Add 750mhz gpu freq
Add klapse5.0
Add Audio control
Add zen iosched and zen is default
Add dynamic fsync
Set ddr 2133MHZ
Add and upstream simple LMK
Add CPU input boost
Unlock battery charge capacity
Enable MTP 900ma force fast charge
Set zram default 2GB (set CONFIG_ZRAM_SIZE_OVERRIDE option in defconfig)
Add exfat
Skip thermal throttling when charging (echo 1 > /sys/module/smb5_lib/parameters/skip_thermal)
Add pixel4 cpusets_assist
Add devfreq_boost
Enable Network File Systems
Use PELT
Qcom touch_boost
Add vdso32
Add some HID driver (include Steam Controller, Nintendo switch Controller and XBox gamepad)
Add Shadow Call Stack and disabled
All of them has built in kernel instead of in modules
Upgrade wireguard Network security tunnel
Optimize f2fs
Zram: use lz4 compression and set default
Enable target TTL
use power efficient workingqueues
LLD link and ThinLTO support
66 69 72 75 84HZ support
Compiled based on Qualcomm CAF kernel tree, using the latest driver, more fluent and power saving
.........
First on the premise of removing the mandatory encryption of data partition, back up your existing boot.img and dtbo.img and flash magisk, then swipe the kernel package into twrp and restart it.
Second enter your system, install kali chroot and reboot.
If you want to use HID,you should run setprop sys.usb.config win,hid
as root on the terminal.
Please see here to see how to turn wlan0 monitor mode on.
Due to the special nature of the newly added rtl8812au network card, it is not possible to directly use airmon-ng to directly start the monitoring mode, which can be run by the following command:
Xiaomi phone need set wlan2 instead of wlan1
ip link wlan2 down
iw dev wlan2 set type monitor
ip link wlan2 up
Please tell me
Thanks CAF-SM8150 for kernel tree
Thanks Android-linux-stable for kernel source
Thanks Googlesource kernel source
Thanks kimocoder for rtl88xxau driver and any help
Thanks johanlike for Enable Qcom WiFi monitor mode and any help
Thanks simonpunk for HID patch
Thanks Evirakernel for some help
Thanks acai66 for any help
Thanks h1jacker for any help
Thanks TsingPeng for any help
Thanks osm0sis for busybox and anykernel3