**Unofficial** Howto Kali Nethunter LG K20 Plus (MP260) [Modified Kernel] - LG K20 Plus Guides, News, & Discussion

Instructions on installing Kali NetHunter for the LG K20 Plus. (MP260)
This is a modified LineageOS 14.1 arm64 Kernel modified for use with the Nethunter although its should work for any ROM.
I am going to assume that your device is rooted and has TWRP installed. Also since this is an arm64 kernel, you will most likely need to have a custom ROM installed. I am using AICP "aicp_lv517_n-12.1-UNOFFICIAL-20180216". You can download it from this thread https://forum.xda-developers.com/note-4/snapdragon-dev/rom-aicp-12-1-t3592312.
Once you have that done, Make sure you download the nethunter-generic-arm64-kalifs-full-rolling-3.15.4-20170211-0304.zip and then download the kernel I compiled from my github.
https://github.com/robnew/NetHunter_K20plus_Kernel
Flash them both from TWRP and you should be good to go.
THE KERNEL
The NetHunter kernel for the LG K20 Plus is based on the LineageOS 14.1 [LV517] kernel sources.
•SELinux enforcing, switches to permissive when requested by NetHunter app
•Enabled USB (OTG) Atheros, Ralink, and Realtek WiFi drivers
•FIOPS IO scheduler as default IO scheduler, SIO available
•DriveDroid compatibility
•USB HID Gadget keyboard & mouse support (HID Attacks, Duckhunter HID Attacks)
•mac80211 packet injection support
•Additional drivers built in for the full Kali NetHunter experience
•Data partition encryption optional (may not be supported by custom kernels - encrypt at your own risk)
•Kernel module support, insert your own modules! (modprobe available in Kali chroot)
•CIFS, NFS available through included kernel modules
Enjoy.

Hello
Hey I am pretty root savvy but just got a phone able to have nethunter kernal I mainly want it for hid keyboard but I can figure out what build to download I can't find any that say lv517 they say Shamu and hammerhead etc. So I was wondering if you could help me find the kernal or a hid kernal I am using the LG mp260 I am on lineage 15.1 I have twrp. I downloaded master zip at GitHub but when I tried flashing it said md5 checksum error if I am leaving out any info I apologize any help would be greatly appreciated
---------- Post added at 11:41 AM ---------- Previous post was at 11:31 AM ----------
Sorry 14.1 I ment 7.1.2 is my version my model is LG k20 plus lineage version 14.1 lv517 20180114 (weird that's my bday lol) hope to here back

Bigjohnvancil said:
Hey I am pretty root savvy but just got a phone able to have nethunter kernal I mainly want it for hid keyboard but I can figure out what build to download I can't find any that say lv517 they say Shamu and hammerhead etc. So I was wondering if you could help me find the kernal or a hid kernal I am using the LG mp260 I am on lineage 15.1 I have twrp. I downloaded master zip at GitHub but when I tried flashing it said md5 checksum error if I am leaving out any info I apologize any help would be greatly appreciated
---------- Post added at 11:41 AM ---------- Previous post was at 11:31 AM ----------
Sorry 14.1 I ment 7.1.2 is my version my model is LG k20 plus lineage version 14.1 lv517 20180114 (weird that's my bday lol) hope to here back
Click to expand...
Click to collapse
Make sure you download the nethunter-generic-arm64-kalifs-full-rolling-3.15.4-20170211-0304.zip from the Nethunter Repository and then download the kernel I compiled from my github. github.com/robnew/NetHunter_K20plus_arm64_Kernel. Flash them both from TWRP and you should be good to go. Make sure you are running 64bit Rom. Good luck. Let me know if you have any issues.

Awesome work. I will have to give it a try.

Hey this kernel does not support postgresql in nethunter there is an error about memory segmentation fault. Is there a way to fix this?

Colt5775 said:
Hey this kernel does not support postgresql in nethunter there is an error about memory segmentation fault. Is there a way to fix this?
Click to expand...
Click to collapse
Postgresql works fine for me. I am running it as the back end for MetaSploit. What Rom are you running?

buggy kernel
I've managed to get nethunter pretty much all set up but it seemed like every time I flashed the kernel I would be stuck in a boot loop. anyone got anything on this?

64Bit
Make sure your using a 64bit ROM like RR or AICP. There are both 32 and 64 versions of these. I have uploaded a newer kernel to GITHUB with support for more wifi cards. Let me know if this helps you. Also what is the model number you are using?

robnew said:
make sure your using a 64bit rom like rr or aicp. There are both 32 and 64 versions of these. I have uploaded a newer kernel to github with support for more wifi cards. Let me know if this helps you. Also what is the model number you are using?
Click to expand...
Click to collapse
lg k20 tp260
64 bit pbrp , 64 bit lineageos 15.1

I just tried out the Unofficial LineageOS 15 and the Kernel is not working for me either. I know it works fine on all the 7.1 ROMS. I will work on a new kernel designed for Android 8.1. Not really sure what is different yet.

robnew said:
I just tried out the Unofficial LineageOS 15 and the Kernel is not working for me either. I know it works fine on all the 7.1 ROMS. I will work on a new kernel designed for Android 8.1. Not really sure what is different yet.
Click to expand...
Click to collapse
Thank you I look forward to trying it out asap

Wich zip file from GitHub do we download?

robnew said:
I just tried out the Unofficial LineageOS 15 and the Kernel is not working for me either. I know it works fine on all the 7.1 ROMS. I will work on a new kernel designed for Android 8.1. Not really sure what is different yet.
Click to expand...
Click to collapse
Base it on my 9.0 kernel on github

Thanks for the work I'm going to try noe

Hi thanks for continuous hard appreciated work.
Question did you get this working with the lineage Os 15.1 ROM the kernel part I mean?
Last question is the ROM you have posted here better than lineage one I'm using for this phone like in options or speed ,mods ,etc..
Please everyone do not take anything in wrong terms. All of everyone's work done I respect and appreciate and thank them all including XDA

USB storage device not mounting with this kernel... No devices detected. I've tried stickmount and still the same thing... Can anyone please help? I've already ordered the WiFi adapter and I hope its going to work...

GXDA3 said:
USB storage device not mounting with this kernel... No devices detected. I've tried stickmount and still the same thing... Can anyone please help? I've already ordered the WiFi adapter and I hope its going to work...
Click to expand...
Click to collapse
Does this kernel not support native usb otg? I can't get it to read my usb flash drive with an otg cable it wont even read it... no option to mount?

llib01 said:
Hi thanks for continuous hard appreciated work.
Question did you get this working with the lineage Os 15.1 ROM the kernel part I mean?
Last question is the ROM you have posted here better than lineage one I'm using for this phone like in options or speed ,mods ,etc..
Please everyone do not take anything in wrong terms. All of everyone's work done I respect and appreciate and thank them all including XDA
Click to expand...
Click to collapse
The kernel is a modified lineageOS 14.1 kernel. The only difference is that mine supports the nethunter tools like HID attacks and external USB WiFi cards.

No rtl88xxau kernel modules
robnew said:
Instructions on installing Kali NetHunter for the LG K20 Plus. (MP260)
This is a modified LineageOS 14.1 arm64 Kernel modified for use with the Nethunter although its should work for any ROM.
I am going to assume that your device is rooted and has TWRP installed. Also since this is an arm64 kernel, you will most likely need to have a custom ROM installed. I am using AICP "aicp_lv517_n-12.1-UNOFFICIAL-20180216". You can download it from this thread https://forum.xda-developers.com/note-4/snapdragon-dev/rom-aicp-12-1-t3592312.
Once you have that done, Make sure you download the nethunter-generic-arm64-kalifs-full-rolling-3.15.4-20170211-0304.zip and then download the kernel I compiled from my github.
https://github.com/robnew/NetHunter_K20plus_Kernel
Flash them both from TWRP and you should be good to go.
THE KERNEL
The NetHunter kernel for the LG K20 Plus is based on the LineageOS 14.1 [LV517] kernel sources.
•SELinux enforcing, switches to permissive when requested by NetHunter app
•Enabled USB (OTG) Atheros, Ralink, and Realtek WiFi drivers
•FIOPS IO scheduler as default IO scheduler, SIO available
•DriveDroid compatibility
•USB HID Gadget keyboard & mouse support (HID Attacks, Duckhunter HID Attacks)
•mac80211 packet injection support
•Additional drivers built in for the full Kali NetHunter experience
•Data partition encryption optional (may not be supported by custom kernels - encrypt at your own risk)
•Kernel module support, insert your own modules! (modprobe available in Kali chroot)
•CIFS, NFS available through included kernel modules
Enjoy.
Click to expand...
Click to collapse
I have used all the methods and yours was the last method and I am telling you it does not work for the rtl88xxau. I am trying to have this build within the kernel and I have done anything so far but not successful. The modules you have compiled are the ralink which you describe. I am having trouble building a kernel. I am trying to build a kernel with the drivers or rtl88xxau available but I am getting stuck at some point. Can you please tell me what version of linux os have you used to compile the kernel. I am trying to compile the kernel for the cm 14.1 with the rtl88xxau. thank you.

Small world.
​
robnew said:
Instructions on installing Kali NetHunter for the LG K20 Plus. (MP260)
This is a modified LineageOS 14.1 arm64 Kernel modified for use with the Nethunter although its should work for any ROM.
I am going to assume that your device is rooted and has TWRP installed. Also since this is an arm64 kernel, you will most likely need to have a custom ROM installed. I am using AICP "aicp_lv517_n-12.1-UNOFFICIAL-20180216". You can download it from this thread https://forum.xda-developers.com/note-4/snapdragon-dev/rom-aicp-12-1-t3592312.
Once you have that done, Make sure you download the nethunter-generic-arm64-kalifs-full-rolling-3.15.4-20170211-0304.zip and then download the kernel I compiled from my github.
https://github.com/robnew/NetHunter_K20plus_Kernel
Flash them both from TWRP and you should be good to go.
THE KERNEL
The NetHunter kernel for the LG K20 Plus is based on the LineageOS 14.1 [LV517] kernel sources.
•SELinux enforcing, switches to permissive when requested by NetHunter app
•Enabled USB (OTG) Atheros, Ralink, and Realtek WiFi drivers
•FIOPS IO scheduler as default IO scheduler, SIO available
•DriveDroid compatibility
•USB HID Gadget keyboard & mouse support (HID Attacks, Duckhunter HID Attacks)
•mac80211 packet injection support
•Additional drivers built in for the full Kali NetHunter experience
•Data partition encryption optional (may not be supported by custom kernels - encrypt at your own risk)
•Kernel module support, insert your own modules! (modprobe available in Kali chroot)
•CIFS, NFS available through included kernel modules
Enjoy.
Click to expand...
Click to collapse
Thanks so much for this. I was trying to figure out if I was gonna need to get to learn how to build a kernel, or if I was gonna need to try and edit one? I dunno what I'm doing, and even though I like the process of reversing that, I'm just a little tight on time right, now.

Related

how to run nethunter 3.0.4 or debian/gnu linux on your galaxy s4-the matrix way !

hey people .
i get a kali linux Nethunter 3.0.4 worked together with cyanogenmod 13 with 3.4.107 kernel on my samsung galaxy s4 .
the 3.4.107 have the right init scripts to get work the full functional debian/gnu linux distribution on your phone.
i get a official nexus 7 grouper nethunter kali zip image from official source and flash it on my rooted s4 with last cyanogenmod available. the nethunter work fine and all metasploit and ota updates worked. i dont see any problems.
my phone get double fast !!! im not a developer and dont know yet how it possible but i think the root folder of nexus 7 grouper have the same chroot and init scripts of kernel are the same as galaxy s4 !!
try to get work a rtl 8187 antena with otg cable but still have problems with nethunter, the pcap app recognize the glasky gs-27 wifi adapter!!!
The most seamless way extending your Android device with a full blown GNU/Linux such as Debian (or Ubuntu) is running the Android system in a chroot environment in the Debian file system. This way you can access the Android system from Debian without restrictions at the same time no modifications to the Android system itself are needed.
A new init procedure mounting a new root file system, transferring control to the Android init in a chroot environment is implemented as described here below. The pros compared to other methods are many.
good luck and i really sorry for my bad englisch!!! hope i can help you!!
cant post a link couse im new here just search in youtube :kali Nethunter 3.0.4 on galaxy s4 with cyanogenmod 6.0.1
people i need help!
my rtl8187 antena dont worked, i can see it on lsusb . but cant connect the right driver.
i get another wifi adapter ralink rt5370 and try to get work with rt2800usb driver .
for now i use a alucard v1.3v kernel and have to add a wifi driver. hope it will work.
in alucard tweaks you can put on USB HID device and get work your antena . good luck
turrut said:
hey people .
i get a kali linux Nethunter 3.0.4 worked together with cyanogenmod 13 with 3.4.107 kernel on my samsung galaxy s4 .
the 3.4.107 have the right init scripts to get work the full functional debian/gnu linux distribution on your phone.
i get a official nexus 7 grouper nethunter kali zip image from official source and flash it on my rooted s4 with last cyanogenmod available. the nethunter work fine and all metasploit and ota updates worked. i dont see any problems.
my phone get double fast !!! im not a developer and dont know yet how it possible but i think the root folder of nexus 7 grouper have the same chroot and init scripts of kernel are the same as galaxy s4 !!
try to get work a rtl 8187 antena with otg cable but still have problems with nethunter, the pcap app recognize the glasky gs-27 wifi adapter!!!
The most seamless way extending your Android device with a full blown GNU/Linux such as Debian (or Ubuntu) is running the Android system in a chroot environment in the Debian file system. This way you can access the Android system from Debian without restrictions at the same time no modifications to the Android system itself are needed.
A new init procedure mounting a new root file system, transferring control to the Android init in a chroot environment is implemented as described here below. The pros compared to other methods are many.
good luck and i really sorry for my bad englisch!!! hope i can help you!!
cant post a link couse im new here just search in youtube :kali Nethunter 3.0.4 on galaxy s4 with cyanogenmod 6.0.1
Click to expand...
Click to collapse
Same work but flash zip nexus 5 and work perfect in my s4 ROM JDM team Android 6.0.1 aosp and alucard kernel,but problemas with conection external WiFi USB,solution?
Is the nethunter terminal working?

kalinethunter for le max 2 marshmallow

kalinethunter for le max 2 marshmallow
The Kali Linux NetHunter Project is the First Open Source Android Penetration Testing Platform, created as a joint effort between the Kali community member “BinkyBear” and Offensive Security. NetHunter supports Wireless 802.11 frame injection, one-click MANA Evil Access Point setups, HID keyboard (Teensy like attacks), as well as BadUSB MITM attacks – and is built upon the sturdy shoulders of the Kali Linux distribution and toolsets. It is easy to Set up And it will be Running in no time at all.
Features
802.11 Wireless Injection and AP mode support with multiple supported USB wifi cards.
Capable of running USB HID Keyboard attacks, much like the Teensy device is able to do.
Supports BadUSB MITM attacks. Plug in your Nethunter to a victim PC, and have your traffic relayed though it.
Contains a full Kali Linux toolset, with many tools available via a simple menu system.
USB Y-cable support in the Nethunter kernel – use your OTG cable while still charging your Device!
Software Defined Radio support. Use Kali Nethunter with your HackRF to explore the wireless radio space.
:supported ROMs :
EUI and MIUI - may have some bugs.
All Marshmallow Lineage 13 Based Roms.
Download link :
https://drive.google.com/file/d/0B8qJtqF4yWbzNzlNTGhQcEU1U2c/view?usp=drivesdk
Video link
https://youtu.be/yxK48A2yBsA
.https://youtu.be/yxK48A2yBsA
during the installation process on x829 (rom small eui 023S) I receive an error "unsupported device". what's wrong?
voxx13 said:
during the installation process on x829 (rom small eui 023S) I receive an error "unsupported device". what's wrong?
Click to expand...
Click to collapse
Do u wipe cache after the installation.
Meeravali said:
Do u wipe cache after the installation.
Click to expand...
Click to collapse
yes. look at the picture.
Maybe install linage 13 rom ?
voxx13 said:
yes. look at the picture.
Maybe install linage 13 rom ?
Click to expand...
Click to collapse
This is because the fault in my kernel sorry it's not because of eui fault in my porting.
Meeravali said:
This is because the fault in my kernel sorry it's not because of eui fault in my porting.
Click to expand...
Click to collapse
how to fix this?
voxx13 said:
how to fix this?
Click to expand...
Click to collapse
It is ported so u getting this error some attacks but it works for maximum attacks .
Can I install this on resurrection remix android marshmallow??
Well that's the question can I do it ?? Thanks!
Hey, can you build a package for nougat? If not, can you direct me to a site that can give me a tutorial for making one? I'd be willing to make one but I don't have any experience working with kernels/building nethunter. Thank you.
Kali linux nethunter on Leeco le max 3 X850
Hello friends, can you help me? How to install kali linux nethunter on Leecoo le max 3 X850?

[kernel][oreo] EHCI patch for Nintendo switch hacking

so ive been running the Lineage rom for here
and got into modding my switch because virtual console pls.
anyways the G5 uses an EHCI usb driver which needs a kernel patch to load things right.
theres one of those here
so i took the kernel source from link 1 and added the patch from link2
and ended up with a nice kernel for this phone that can be used to hack a switch.
Kernel sources direct link : https://github.com/Sohamlad7/android...ineage-15.1-64
i guess Motorola released and official oreo kernel for this thing so i plan to do a build with that later, but for now, heres a thing:
You will need to upload your kernel sources else the mods will remove it
TheFixItMan said:
You will need to upload your kernel sources else the mods will remove it
Click to expand...
Click to collapse
i linked to the thread that had a link to the sources, i feel thats better..
but whatever, direct linked it anyways
PetNoire said:
so ive been running the Lineage rom for here
and got into modding my switch because virtual console pls.
anyways the G5 uses an EHCI usb driver which needs a kernel patch to load things right.
theres one of those here
so i took the kernel source from link 1 and added the patch from link2
and ended up with a nice kernel for this phone that can be used to hack a switch.
Kernel sources direct link : https://github.com/Sohamlad7/android...ineage-15.1-64
i guess Motorola released and official oreo kernel for this thing so i plan to do a build with that later, but for now, heres a thing:
Click to expand...
Click to collapse
wow, nice

[Kernel] [7.1.2] [HID Attacks] Nethunter

Kali Nethunter Kernel for Android Nougat (7.1.2)​
Disclaimer:
Use this kernel at your own risk. Flashing it may brick your device. I'm not responsible for any software/hardware damage.
I did not do any significant development or building of this kernel. (I was simply a guy looking for a kernel that supported HID attacks on Nougat for Kali Nethunter and such I dug through the interwebs gathering all information/software required) All serious development credit goes to RoatanDave and Binkybear on Github, I simply built with Linux using the Nethunter-installer.
Having said that there is nothing special about this Kernel with regards to battery life and performance, expect the same as stock Lineage OS 14.1, it's just stable and works with the added benefit of using external wifi cards for packet injection and monitoring as well as enabling the use of HID attacks using Duckhunter.
Tested on:
As of now, the kernel has been tested and is working fine on the following ROM(s). If you decide to try the kernel on a different ROM, let me know if it works and I will add it to the list.
TugaPower N63
Lineage OS 14.1 (2018-06-13)
I'm pretty sure it should work for other Nougat based roms, just create a backup before trying.
How to install
1. Create a backup
2. Clear all caches.
3. Flash the attached file.
4. Reboot
5. Pwn the world
Troubleshooting
You must enable Android Debugging in the Developer Settings and the USB mode must be set to MTP. If you don't enable these options the HID attacks won't work.
Thanks to:
Rotandave https://github.com/Roatandave
BinkyBear https://github.com/binkybear
Tuga Power Rom
LineageOS
Kernel Special Features:
Enables the use of HID attacks
I'm just beginning this journey so take it easy on me, I may not be able to help with adding features etc to the Kernel or going through source code but I'm willing to learn, I hope that I will be able to create a 8.1 Oreo version as well if it is possible. I am open to input and help from anyone who knows about the subject.
Created 2018-10-24
For the future
Maybe one more to be safe.
Thanks man, that's great work! Good to know that running a fully functional NetHunter on our bacon is an option!
Tplink wn722n working?
Бахрам Байрамза said:
Tplink wn722n working?
Click to expand...
Click to collapse
Yes, that is the adapter I am using, see the screenshot of it in monitor mode using airodump-ng.
amd-dude said:
Yes, that is the adapter I am using, see the screenshot of it in monitor mode using airodump-ng.
Click to expand...
Click to collapse
OH, thanks!
Friend, can you make the kernel work on LineageOS 14.1 Sultanxda firmware? The fact is that this is a CAF firmware (maybe you know).
I'll try, I'm currently setting up a new 12core workstation at home and loading up ubuntu with all the tools needed for proper kernel development and learning a bit more everyday.

Linux Kernel Version 4.9

Linux Kernel 4.9 for Moto G5s​
As you guys already know, our Moto G5s has an ancient linux kernel (3.18.x) which is now EOL (end of life) from support from actual Linux Foundation. It's pretty much stuck there with no probable updates to it (can use the android 3.18 for updates, but I think that's pretty much soon to be deprecated).
I have been working on this kernel since the past months and finally managed to boot it on our Montana!​
WARNING: THIS KERNEL IS STILL ALPHA AND SOME BUGS HAVE STILL NOT BEEN FIXED.​
I just wanted to share this kernel with the community!
What works:
Boots
Display
Touch
Storage
Charger
Battery Indication
USB
NFC
Sensors
Data transmission
WiFi
Bluetooth
Tethering
Fingerprint
Fast charging
Bugs:
Audio
Vibrations
Camera
Flashlight
Led diode
SDcard
Want to try for yourself?
lineage-16.0-20200330-UNOFFICIAL-montana_49.zip
Required clean flash. First boot hang at black screen for ~5 min. Later start to work normal.​
Huge Thanks to @m_vaisakh for helping me out with bugs and congratulations to him for booting 4.9 on Cedric
Leave a thanks if you like my work!
Buy me a Cup of Coffee or Beer here​
XDA:DevDB Information
Linux Kernel Version 4.9, Kernel for the Moto G5S
Contributors
wiktorek140, m_vaisakh
Source Code: https://github.com/wiktorek140/msm-4.9
Kernel Special Features: Linux 4.9 kernel
Version Information
Status: Alpha
Created 2020-03-30
Last Updated 2020-03-30
Reserved
Reserved to changelog
Link for testing rom is now avaiable
"kernel special features: 4.9 kernel"
Very creative, is this required?
Some random said:
"kernel special features: 4.9 kernel"
Very creative, is this required?
Click to expand...
Click to collapse
That kernel is embedded with the zip image provided.
The OS image is tied to the compiled modules of this rom.
So, yes, you need this kernel that is provided with the OS zip to make it work. Don't try to zip another kernel over this zip image.
jhonnyx said:
That kernel is embedded with the zip image provided.
The OS image is tied to the compiled modules of this rom.
So, yes, you need this kernel that is provided with the OS zip to make it work. Don't try to zip another kernel over this zip image.
Click to expand...
Click to collapse
Yes, kernel is tied to this specyfic build. Its caused some API changes in 4.9 that conflict with regular builds
jhonnyx said:
That kernel is embedded with the zip image provided.
The OS image is tied to the compiled modules of this rom.
So, yes, you need this kernel that is provided with the OS zip to make it work. Don't try to zip another kernel over this zip image.
Click to expand...
Click to collapse
Nah I meant in the description of the rom/custom kernel

Categories

Resources