Giter VIP home page Giter VIP logo

mi9-nethunter-project's Introduction

MI9-Nethunter-Project


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

Kernel function

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)

Release kernel Characteristic


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
.........

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.

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

Known Issues

Please tell me

Thanks (Randomly arranged)


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

mi9-nethunter-project's People

Contributors

shandongtlb avatar tsingpeng03 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mi9-nethunter-project's Issues

Alfa AWUS 036ACH Kali Nethunter

Hi! I have a device xiaomi mi 9. I can't configure nethunter to work with external wifi adapter alfa awus 036ach. The kernel has rtl8812 support but it is disabled by default, I can't add adapter drivers to the kernel. Please help with this. Please give me information how to do it.

RTL8812AU

你好。你为什么不在NetHunter的内核中做wifi rtl8812au支持?你写道,支持是存在的,但你必须自己激活它。我如何做到这一点,你能给我一个详细说明的链接吗?我试着做了一下,但我不能让它工作(请做一个启用rtl8812au的内核,这对你来说不是问题,因为你是一个专业人士。提前感谢您的帮助!

Patching the kernel with rtl8812au drivers

Good night, I successfully flashed and setup the latest iteration of this kernel, 4.14.193.
But I can't seem to be able to change/patch it for enabling rtl8812au support mentioned to be disabled in the default packages.

How can I patch this feature in my phone ? Cause I can't find the required "kernel source and Linux headers" for the current version (4.14.193).

Best regards, nanoR4K

Kernel tutorial

Hi, I wanted to ask how you collect nucleus, I want to do the core for Redmi Note 9 Pro

Bootloop stuck

Hello,
After flashing the last version of the kernel, the phone got stuck into a booting loop.
What am I supposed to do to solve this problem?
Thanks in advance.

Hi

你好。你为什么不在NetHunter的内核中做wifi rtl8812au支持?你写道,支持是存在的,但你必须自己激活它。我如何做到这一点,你能给我一个详细说明的链接吗?我试着做了一下,但我不能让它工作(请做一个启用rtl8812au的内核,这对你来说不是问题,因为你是一个专业人士。提前感谢您的帮助!

Monitormode

Hi
When i try to put my external wifi-card in monitormode it doesn't work
if i run airmon-ng start wlan1 it doesn't start if i run iwconfig wlan1 mode monitor it says
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan1 ; Operation not supported.
lsusb find my card Qualcomm Atheros Communications AR9271
What am i missing?
Thanks in advanced

Feedback. Screen is even worse than before

With last 3 updates the screen got worse and worse
Also on the last version I saw a spontaneous rebooting
But in general: God, bless those wonderful people, I wish them to have a lot of money, health, girls... Etc 😂
Thank you very much for your work ❤️

FOD doesnt work on MIUI 12 stable + power button bug

Hello, i tried your kernel but it had two bugs. First one is the fod dim doesnt work and wont lit up with finger put it on and when i turn on screen its too dim and wont recognize my fp. Second bug is with power button. When you hold power button and leave it the power menu will go off without touch any of those options in there like shut down or reboot. I must hold it and click the option and then leave it. Can you please fix these two? I wanna try this kernel but with these two annoying bugs its unusable 👎 Thanks.

rtl8821au

In README.md it's written that I have to build kernel on my own to enable rtl88xxau chipset support, and also apply patch to kernel to enable packet injection mode, but you didn't provide any instruction on how to do it.
I tried to do it on my own but after 2 days i'm still stuck.
So, please, can you make a small tutorial on how to build kernel for rtl8821au and patch it to enable packet injection?

HID ATTACK

I am using miui12 eu rom I have flashed latest release of nethunter kernel. Everything is fine except HID. I can use usb keyboard very well also duckhunter HID attacks. But I can't use cmd attack. It's not working. I can't find a solution. So I want to help me...
Thanks for kernel.
Please reply me :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.