• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[KERNEL][PHOENIX]Optimus-Drunk-NetHunter Kernel for Poco X2

Status
Not open for further replies.
Search This thread
Jul 23, 2018
17
0
Disclaimer:
Use this kernel at your own risk. Flashing it may brick your device. I'm not responsible for any software/hardware and any kind of damages/losses.​

Optimus-Drunk-NetHunter Kernel is based on Optimus-Drunk-Phoenix Kernel v11(4.14.202) and V10(4.14.200) for Poco X2 . .It has all the nethunter features along with all the tweaks of the orginal Kernel.

NOTE: A10 Kernel is For custom vendor and stock vendor AOSP rom and A11 Kernel is for stock vendor AOSP rom.

Features:
  • 802.11Wireless Injection and AP mode support with multiple supported USB wifi cards
  • Internal Monitor Mode Enabled.Use custom command to start and stop internal monitor (wlan0)
  • Capable of running USB HID Keyboard attacks.
  • Supports BadUSB MITM attacks.
  • Contains a full Kali Linux toolset.
  • USB Y-cable support in the Nethunter kernel – use your OTG cable while still charging.
  • Software Defined Radio support. Use Kali Nethunter with your HackRF to explore the wireless radio space.
  • USB Arsenal - Control the USB gadget configurations
  • RFCOMM enabled.You can use now Bluetooth Arsenal.
  • Rtl8188eus Driver included With Monitor Mode and Injection Support.Now you can use tplink tl-wn722n (v1,v2,v3).All are supported.

What is not working?
  • Wireless Packet Injection on Internal wifi
  • Modules are not present in /system.Anykernel3 is not adding modules to /lib/modules.Although they are included in the zip.if you see (/lib/modules/4.14.202-Optimus-Drunk-NetHunter) in your root system,Let me know

Fixes: rt2800,rt5370 usb wifi adapter injection may not work when you use the adapter first time. Fix: First enable monitor mode and test injection.you may see injection not working.Now run wifite and then check again the injection(aireplay-ng -9 wlan2). This time injection should work.

Some Tips: You will see most of the wifi adapter as wlan1 when you run airmon-ng in kali Terminal.Use this command instead of custom command to enable monitor mode and test injection.Screenshots are added for better understanding.
1.To enable Monitor Mode: airmon-ng start wlan1
2.To check injection: aireplay-ng -9 wlan1mon or aireplay-ng -9 wlan1

If you see an external adapter as wlan2,just replace the wlan1 with wlan2 in above commands.

Download:
FOR ANDROID-10: (CUSTOM and STOCK VENDOR)
Optimus-Drunk-NetHunter-Kernel-10.Zip
For ANDROID-11(ALSO SOME A10 DEVICES)(BOOTED ON MIUI EU 12.0.5)(STOCK VENDOR):
Optimus-Drunk-NetHunter-Kernel-11.Zip

How to flash:
- reboot into recovery(twrp/shrp/orangefox)
- make a backup of your original boot.img
- flash Optimus-Drunk-NetHunter.zip
- flash magisk if needed.
- wipe dalvik (mandatory!)
-flash dtbo via fastboot if you have bootloop

WORKING ROMS: this section will be updated as per user review.and share your rom name and vendor also

1.Corvus. A10 (Use android 10 version Kernel)
2.Miui Eu 12.0.5 A10 (Use Android 11 Version Kernel)
3.Crdroid A10, Custom Vendor (Use android 10 version Kernel)
4.Ressurection Remix A10, Custom Vendor (Use Android 10 version kernel)

Source:
1.Optimus_Drunk_Netahunter: Modifed for NetHunter[A11]
3.Optimus-Drunk-Phoenix Kernel Source
ORIGINAL Kernel in XDA:
Optimus Drunk Kernel v11.4

Thanks:
@GtrCraft for the source code
@Thiviyan for helping with rt2800 and his github commits

SCREENSHOTS:
99879458-4e18be80-2c37-11eb-956e-d3d672eb0401.jpg

99879043-f167d480-2c33-11eb-9c9e-cdcf542329f6.jpg

99879026-c4b3bd00-2c33-11eb-86a0-377b7587f471.jpg

99879041-e1e88b80-2c33-11eb-99aa-c03f1c6cc410.jpg
 
Last edited:
Status
Not open for further replies.