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?
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.
We no longer have any custom kernel for redmi k20 pro ( Raphael/Raphaelin ) ,only advanced stock so im asking here:
If you are a dev and know how to compile a kernel - please try to make nethunter compatible kernal.
There must be someone with enough skill to add some features to kernel,mayby our redmi k20pro ( Raphael/Raphaelin) community could get together and add some bounty for that.
xiaomi released the sources already:
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/raphael-p-oss
If you know how to compile but scared to test on your own phone,then im up for testing on my redmi k20 pro .
swapnilj210f said:
We no longer have any custom kernel for redmi k20 pro ( Raphael/Raphaelin ) ,only advanced stock so im asking here:
If you are a dev and know how to compile a kernel - please try to make nethunter compatible kernal.
There must be someone with enough skill to add some features to kernel,mayby our redmi k20pro ( Raphael/Raphaelin) community could get together and add some bounty for that.
xiaomi released the sources already:
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/raphael-p-oss
If you know how to compile but scared to test on your own phone,then im up for testing on my redmi k20 pro .
Click to expand...
Click to collapse
I fully agree with you...
I'm also available for testing!
Here is the thread I created for nethunter installation: https://forum.xda-developers.com/k20-pro/how-to/guide-how-to-install-kali-nethunter-t3998623
Your nethunter installation gide is pretty good bt without proper kernal support you cannot perform wireless attacks , HID attacks mins without nethunter compatible kernal this gide is incomplete i am trying find someone who can make proper nethunter compatible kernal can you help me plz
swapnilj210f said:
Your nethunter installation gide is pretty good bt without proper kernal support you cannot perform wireless attacks , HID attacks mins without nethunter compatible kernal this gide is incomplete i am trying find someone who can make proper nethunter compatible kernal can you help me plz
Click to expand...
Click to collapse
Unfortunately i'm not aware of compiling a kernel...
I can only provide support to this thread as I cannot create a second one for the same purpose...
I wish we will be heard...
Ok don't warry i learning about linux kernal compiling so after some days i can buil my own kernal bt without proper practice i can't make advance kernal thise is why i am trying to find someone to make thise kernal
Greetings. I have this unit. I want to install Kali linux on it. But I don’t understand how to do it. On 4pda it is not at all very clear, it seems like there is an instruction, but there is no nethunter himself. Everything is clear, under the smartphone, they said, "put havoc os 3.0, magisk, and the android q 10 kernel rosy_nh_boot.img". Everything became, except for the kernel. Maybe they can help me here? Oh yes . I almost forgot to say, the root of the rights from the magician was issued.
Hello!
So, recently I've been getting very involved in cyber security, specifically pen testing. I had seen somewhere that one could install a type of kali linux on their rooted phone? Now, I'm familiar with the rootless nethunter install with termux. I was wondering if there is a custom rom avaiable for the N200 5g? Any info would be appreciated.
i successfully installed kali nethunter on my rooted n200 look on ebay and type in subject line item # 284845689370
No results found on ebay
garth788 said:
No results found on ebay
Click to expand...
Click to collapse
hey man dont go paying money for something tou can get for free. all you have to do is root your phone put lineage on it if you want. then go to the kali website and download the nethunter stuff. i everything is explained on the website on what to do.