Skip to content

Latest commit

 

History

History
99 lines (73 loc) · 4 KB

README.md

File metadata and controls

99 lines (73 loc) · 4 KB

XiaoMi8 Nethunter Project

Getting Started

中文版本: Hero

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!

The kernel uses Google common kernel to merge CAF production, suitable for MIUI12 and other ROMs

Support all functions on Nethunter official website

Here is the kernel source code: Kernel Source

Here are all the Patch files used: Patch

Join Telegram: t.me/TsingKernel

Kernel Function

Support Nethunter Function

  • WIFI Injection IEEE80211 and support 2.4GHZ & 5GHZ
  • Support otg MTKMT7601U rt28xx/307x ar9170 rtl8187/8 ZD1201USB.....
  • Support rtl88xxau
  • 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 CP210X)
  • 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)

Release Kernel Characteristic

  • Upstream latest Linux version (4.9.232)
  • Merge CAF tag 'LA.UM.8.3.r1-08100-sdm845.0'
  • Compiled with Clang 12
  • Vibration Control
  • KCAL (Colour control)
  • Sound Control
  • Minimum Brightness Control
  • CPU Governors: Schedutil
  • Schedutil updated with patches from newer Linux versions
  • Using PELT scheduler mechanism
  • CPU idle improvements by kerneltoast
  • Add CPU input boost and Dynamic Stune Boost
  • NTFS and F2FS file systems supported
  • f2fs Rapid GC
  • Westwood set as default TCP algorithm and Enable TTL
  • Wireguard support
  • VDSO for better performance in 32 bit apps
  • Unused Drivers And Logging removed for a smaller image
  • GPU minimum frequency reduced to 180Mhz
  • GPU maximum frequency overclocked to 810Mhz
  • Increase Adreno boost, closed by default
  • Add SchedTune and CPUSet
  • Upstream update lz4 algorithm and set it as zram default algorithm

How to install or use it

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.

How to open the HID keyboard? Enter setprop sys.usb.config win,hid as the root user, in the terminal, and you can open the HID keyboard

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

Known Issues

Please tell me

Thank you list (ranked without distinction)

Thanks ACK for kernel source

Thanks CAF-SDM845 for kernel tree

Thanks Twisted Prime for any help

Thanks palaych for any help

Thanks kimocoder for rtl88xxau driver and any help

Thanks kimocoder Enable Qcom WiFi monitor mode and

Thanks johanlike for any help

Thanks simonpunk for HID patch

Thanks h1jacker for any help

Thanks SDTLB for any help

Thanks osm0sis for busybox and anykernel3