[Kernel] [7.1.2] [HID Attacks] Nethunter - ONE Android Development

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.

Related

[TOOL] [SYSTEM] Debdroid V5 Linux Sub-System KALI Linux

Debdroid V4
Linux Chroot Daemon for Android
Supports Android 2.3 through 5.0​
Debdroid is a tool for the Android platform which runs a full Linux distribution as a daemon.
Any rooted device can run fully supported ARM distributions such as Kali, Debian, Ubuntu, etc.
Debdroid has been successfully tested on Android 2.3 and up to 5.0. Confirmed working on the N9.
How To Install:
1. Download the git repo
2. Place ARM image at /sdcard/linux.img
3. Flash the zip file in twrp
How To Use:
1. debshell "any command goes here" - run any command under linux
2. debshell "passwd" - change root pass
3. debshell "/etc/init.d/ssh restart" - starts ssh
4. debshell bash - full access to a bash chroot
Downloads:
https://github.com/dasmoover/debdroid
KALI ARM Images:
http://cdimage.kali.org/
Donations:
If you find this tool useful send a coffee my way
DONATE TO THE DEBDROID PROJECT
There is a project that is doing this too made by Offensive Security (The guys who make Kali). It's still in beta, but there's some pretty cool stuff! There is a custom kernel that adds other features as well.
Site: http://nethunter.com/
Github: https://github.com/offensive-security/kali-nethunter
I know, I'm part of the project!
I've worked on BT5 ARM a few years ago.
From my understanding the Nexus 9 builds of nethunter aren't fully functional yet.
This can also be used with a barebones debian system for apt, etc.
What status is the N9 with Nethunter?
dasmoover said:
I've worked on BT5 ARM a few years ago.
From my understanding the Nexus 9 builds of nethunter aren't fully functional yet.
This can also be used with a barebones debian system for apt, etc.
What status is the N9 with Nethunter?
Click to expand...
Click to collapse
Mostly working. Everything except the external wifi is running fine (from what I understand. Someone else makes the kernels.). NetHunter itself is running fine, but the custom android kernel is where the good stuff is!
Supposedly the N9 supports monitor mode with its built in chipset. We'll have to try that later though.
Awesome, going to try and contribute to that.
This lightweight install is multi-purpose and can be used for much more than just booting Kali
dasmoover said:
Awesome, going to try and contribute to that.
This lightweight install is multi-purpose and can be used for much more than just booting Kali
Click to expand...
Click to collapse
I think it's actually pretty cool! I'm looking around for some good ARM Linux images to try it out!
I may contribute to your project a bit. It has some awesome potential!
Does nethunter support custom kernels on the n9 yet?
I'm trying to get that installed.
dasmoover said:
Does nethunter support custom kernels on the n9 yet?
I'm trying to get that installed.
Click to expand...
Click to collapse
Yes and no. NetHunter itself will work without the kernel, but you won't get many of the added features that the (still incomplete) kernel provides.
Armhf or armhl?
Does an 64bit .img work?
USBhost said:
Does an 64bit .img work?
Click to expand...
Click to collapse
It has to be ARM based. So either armhl or armhf. Preferably armhf.
Can someone here who knows how to configure Debdroid on nexus 9 and give us thoroughly easy, step by step instructions as possible?

[ROM][26May][GNU/Linux] Sailfish OS 2.0.1.11 (community port)

Announcing Sailfish for the Sony Xperia Z3 Compact!
This is not Android!
This should be thought of as a development experiment. It may be useful if you are a developer and want to write/port apps the the Sailfish operating system. It is not an end-user product, however, if you wish to experiment and try something different then feel free!
Please do not contact Jolla Care or Jolla Developer Care, as this is not the Jolla phone.
Special thanks to:
rss351 and locusf for the collaborative effort in porting SailfishOS to the Z3 compact
Everyone from the SailfishOS team/community, sledges and mal- in particular.
All Cyanogenmod devs, since SailfishOS uses drivers from Cyanogenmod to talk with the phone's hardware
Known issues:
Bluetooth isn't turned on, cause i've put no effort in for that so far
Camera doesn't work, cause it's not hooked up to interface.
No recovery inside hybris bootimage (you need to flash manually to return to cm/use recovery)
Sensors dont work (auto-adjust brightness, etcetera)
The Jolla account/store functionality is not enabled. This is being worked on by Jolla. In the meantime: use openrepo's warehouse (see bottom of this post)
What works:
Booting, basic usage of the OS itself (browsing, etc)
Texting, calling, data over mobile network (2g and 3g tested, 4g should work but is untested)
Wifi (both 2,4 and 5 GHz)
Power management seems to work fine (not tested much though)
Looking around and getting a feel for SailfishOS
Using your phone to develop and debug SailfishOS apps.
Installation guide/checklist:
Insert default warranty void message here. Your warranty is now void
Make a backup (just to be sure)
Depending on what you need from your phone, this may not be a rom suitable for daily driving with. But installation is non-destructive to your existing rom, so if you're curious, give SailfishOS a try
I have not tested this on locked bootloaders, but since I needed to modify the kernel, I guess that you need an unlocked bootloader.
Note this is not an official Sailfish OS build, and the Xperia Z3c is not a Jolla phone, so please don't report bugs to Jolla. If you want to report a bug, this thread is perfectly fine for that.
BEWARE: this image is NOT optimized for security. The phone boots in development mode by default. There is a root shell on telnet port 2323. This is not secure and will give anyone who wants it remote access to your phone. When the port matures this will be fixed.
The Sailfish OS image does not provide recovery, and since the Xperia Z3c does not have a recovery partition, you need a bootimage with recovery on it to flash cm/stock/sailfishos upgrade. I highly recommend using Nut's Xperia files for this. Use the boot.img from your Cyanogenmod installation.
The Sailfish OS image is based on a recent version of Cyanogenmod 12.1, so update your Cyanogenmod installation while you are at it. Use cm-12.1-20160523-NIGHTLY-z3c.zip if you encounter issues with other versions. Using another rom is not guaranteed to work, even if this rom is based on Cyanogenmod.
You can find the required zip in this Mega folder: https://mega.nz/#F!ucoRnDjD!WAHNWgxLQX5SK1Vdu8MRWw
Use your favorite recovery (but not CM's recovery since that checks for signatures, which this image does not have) to flash the zip.
If you want to return to Cyanogenmod, extract boot.img from your cm-12 zip and flash that with fastboot. Alternatively you can restore a previous backup. There is no need to re-flash Cyanogenmod because it was not removed by installing SailfishOS. You can remove the /data/.stowaways/sailfishos/ folder afterwards to reclaim disk space.
FAQ
You can find a FAQ which mentions most common user questions for SailfishOS here: http://forum.xda-developers.com/jolla-sailfish/general/qa-sailfish-n4-thread-devices-t2727330 . It's mainly aimed to the Nexus 4 and 5, but it's fairly applicable for all other ports as well.
Contributing
If you think this is awesome, and want to help fix the issues currently open: come by in #sailfishos-porters on irc.freenode.net!
Sources
You can find all used source code (may not be up-to-date to the latest image, but all key components are there) here: https://github.com/xperiasailors/
Installing OpenRepos warehouse
OpenRepos warehouse is like what F-Droid is versus Google's Play store. An unofficial, community-driven repository of open source apps.
Go to settings->developer options and set a password. Then open a terminal or connect over ssh to your phone (ssh [email protected]_of_phone).
Download the latest version of the warehouse app from here: https://openrepos.net/content/basil/warehouse-sailfishos
When you are asked to terminate packagekit anywhere in the steps below, answer yes.
Code:
$ devel-su
# zypper rr adaptation0
# zypper in <location_of_rpm_you_downloaded>
After this Warehouse app will be in your app launcher.
Impressive work! :good:
Sent from my Sony Xperia Z3 Compact using XDA Labs
Just having a go now.
Edit: just stayed on sony screen. Would it be because I came from SLiMM 1.8 ROM and not from a CM based ROM?
mrrflagg said:
Just having a go now.
Edit: just stayed on sony screen. Would it be because I came from SLiMM 1.8 ROM and not from a CM based ROM?
Click to expand...
Click to collapse
Probably, yes.
SailfishOS uses libhybris for hardware communication, which in turn uses the existing Cyanogenmod installation for drivers and proprietary blobs. But hybris is compiled against a certain Cyanogenmod version, so using other roms as a base might fail.
I've updated the TS and put the exact CM version I used in there, that should work fine.
There are any news? The project is in development?
Alexander3273 said:
There are any news? The project is in development?
Click to expand...
Click to collapse
No news, I don't spend much time on this port, every now and then I fiddle around with it an evening.
I'm currently trying to get AOSP based Sailfish port because Cyanogenmod for Z3c seems unmaintained, but progress is very slow.
Thank you for the info. Do you know when a version (sailfish port) comes out?
Hello! Thanks for your work. May i know the progress ?
it would be great to see a real "european" OS coming out of the dust...
i hate the thought that any company from the other side of the atlantic are wheels in the monster of patriot act...
@maikoool Any news about new build or something?
Yes, look here:
https://nokius.net/SFOS/scorpion/PreAlpha/
But still no Cam, no BT, No Sensors and No video playback
AFAIK is the 'scorpion' the Z3 Tablet compact, so not the Z3 compact. The base images will probably be the same.
I've recently rolled a build using AOSP 5.1 from the Sony Xperia developer pages, but my Z3c has developed an issue where the top and bottom of the screen don't function, so I cannot test properly.
Aries is device name, right? What's scorpion ?
kskarthik said:
Aries is device name, right? What's scorpion ?
Click to expand...
Click to collapse
Aries = Z3 compact, Scorpion = Z3 Tablet compact
I'm waiting eagerly to see SFOS on aries Do you know anything about our device support on jolla's list ?

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?

[ROM/Kernel] LineageOS "Pro" 15.1 for the LeEco Le Max2 [05/05]

This thread may be under construction, watch out!
An introduction to my new Oreo sauce...
This is a modified LineageOS 15.1 ROM meant to fill my personal needs, including my minimalistic Lambda Kernel out-of-the-box and a few customizations to provide a different, privacy-focused, Android experience, just for you.
What are the very best features included?
~> Always latest vanilla LineageOS 15.1 codebase;
~> Root virginity preserved, unrooted;
~> SafetyNet bypass out-of-the-box;
~> Google PlayStore device certification;
~> Privacy oriented Bromite web browser;
~> Compiled with SDClang LLVM 4.0 toolchain;
~> Dex-preoptimization of boot image and system server;
~> Minimalistic Lambda Kernel, more information right down below.
What does this magical Kernel support?
~> Cleanly built on top of the latest QCOM reference Kernel for MSM8996;
~> Up-to-date camera_v2 driver stack according to Nougat (LA.UM.5.5) code base;
~> Proper OEM Kernel code adjusted per target (ZL1/X2) and adapted to the new base;
~> Adjusted headset detection framework to account for Type-C adapter;
~> Optimized and adjusted for the -O2 GCC compilation flag;
~> Minimal configuration with the bare minimum drivers needed;
~> Safe fast charging input, regulated per stock Kernel definitions;
~> A little bit faster panel wake up and touchscreen initialization;
~> Unlocked bootloader state bypass, reports green.
What are the known issues so far?
?> Ambient display feature makes the panel wake up a bit funky, you'll see it when compared to the disabled state, which doesn't have that funkiness.
?> Time registering is broken, the daemon doesn't write properly to the Kernel for some reason and ends up not having the correct time after a reboot with the internet turned off.
?> CDLA sometimes has some pops in the background when not listening to anything, pretty minor though.
Nice, where are the downloads?
The downloads are available in the dev release tag in my Github's lineage_releases repository, there you'll find the zip file for installation and the md5sum for checking the file's integrity.
#WelcomeToOurWorld
XDA:DevDB Information
LineageOS Pro for the Le Max2, ROM for the LeEco Le Max 2
Contributors
GalaticStryder, Sultanxda
Source Code: https://github.com/GalaticStryder/android_vendor_patcher
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.x
ROM Firmware Required: Chinese 26S
Based On: LineageOS
Version Information
Status: Beta
Beta Release Date: 2018-05-05
Created 2018-04-05
Last Updated 2018-05-05
Reserved
Mine.
Did anyone mention FAQ?
A series of questions, answers, and wonders about all the things she I said in case you didn't get it already.
&> Q. Why isn't this a new project instead of just a simple variant of LineageOS? There are already a ton of them...
&> A. I think there's already a ton of Android "projects" and I don't feel like nor have time to create yet another one that I probably wouldn't be able to maintain for long.
&> Q. How much time will this "variant" be supported?
&> A. Only future wilt tell us but most likely our brave "variant" will resist at least one Android cycle starting from now, all the way through P, even after LineageOS officially drops it we can still have some OEL support if other developers keep the game going.
&> Q. How does it diverge from official LineageOS builds?
&> A. This one aims at providing a snapshot-like experience - if you remember CyanogenMod gold era - which uses the non-debugging user flavor instead of userdebug as Google keeps pushing their draconian restrictions to have access to their apps and services, we need to fake it to avoid forfeiting.
&> Q. My device is "certified" on Google PlayStore, how?
&> A. The bootloader green check in Kernel and user flavor made it possible. I'm not sure how much longer will it take to Google before they go with something deeper to restrict the access of their services by custom ROMs unconditionally. This is a trick though, your device will never be certified with an unlocked bootloader and non-OEM ROM.
&> Q. Will you ever include root support out-of-the-box?
&> A. No, never. You can flash Magisk if you want it, the latest the better in this case. Not sure about the addonsu from LineageOS itself as I never used it.
&> Q. Will you include Dolby Atmos, ViperFX, $(insert_nice_name_here) out-of-the-box?
&> A. No, not at all.
Heeyo! Are you using official LineageOS trees for building your variant?
prajjwal.laad said:
Heeyo! Are you using official LineageOS trees for building your variant?
Click to expand...
Click to collapse
Synced today, no fools included
Well cause i liked your kernel i will try out this rom also!
Nice timing tbh. Just bricked my current rom rn.
True. I've been using his kernel since 24 hours and damn it is the best kernel for x2. My phone's battery temperature doesn't cross 42°C even though my country's normal temperature outdoors is around 38-40°C these days. I get around 20%/hour drain on medium usage which is awesome for my 15 month old battery. Will definitely flash your rom and give feedback.
Hey. Congratz for your work. Can you give more detail about this please: "Safe fast charging input, regulated per stock Kernel definitions;" So we still would able to charge fastly as up to 4000 mH? The quick charge on/off option is available for your kernel? That feature doesn't work properly on the Oreo ROMs..
This is Awesome! The legend is back!
I am so pumped right now! :d:d
@GalaticStryder
Hello, gapps are included inside the rom?
Works everything?
Thanks in advance
cloche;76136607 [user=6175749 said:
@GalaticStryder[/user]
Hello, gapps are included inside the rom?
Works everything?
Thanks in advance
Click to expand...
Click to collapse
First: Big THX @GalaticStryder for this awesome build.
Tested it for an hour now and everything seems perfect. Sound quality is excellent (through Headphones). Rom itself very smooth.
Will report battery Backup later.
Gapps are NOT included, Root is NOT included.
Heyyo, congrats on the release GalaticStryder! She sounds super promising!
A request
I am going to make a very dumb request, can you create an overclocked kernel for this build? Would it be possible?
Thanks so much
Has same bugs as official (eg slow motion video recording not working)?
Thank you for your work dude. I'm wondering if you would make a kernel with focus fix.
maylton said:
Thank you for your work dude. I'm wondering if you would make a kernel with focus fix.
Click to expand...
Click to collapse
He would end up better adding leeco prefs in settings with quick charge switch, maybe akt and focus switch.
Rom works really well. I didnt saw any bugs in it rn.
Tell me, how about Vulcan drivers? Are they present in yours build? If not, do you plan add them?
Thx 4 ur work
N-Gage4ever said:
Hey. Congratz for your work. Can you give more detail about this please: "Safe fast charging input, regulated per stock Kernel definitions;" So we still would able to charge fastly as up to 4000 mH? The quick charge on/off option is available for your kernel? That feature doesn't work properly on the Oreo ROMs..
Click to expand...
Click to collapse
why the **** you go on ranting on every roms about this, already GalaticStryder has explained u regarding this in his lambda kernel
I've been trying since last night, unfortunately I noticed freez and random reboots.
Fp is very very slowly.
TheMichalos said:
He would end up better adding leeco prefs in settings with quick charge switch, maybe akt and focus switch.
Rom works really well. I didnt saw any bugs in it rn.
Click to expand...
Click to collapse
Yes, that would be the best choice for everyone.

**Unofficial** Howto Kali Nethunter LG K20 Plus (MP260) [Modified Kernel]

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.

Categories

Resources