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

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?

Related

[Q] running OS Ubuntu on Samsung Galaxy S Wifi 4.0 a.k.a Samsung YP-G1CW/XSE

Hello guys, before the question, i am sorry if i am little english. i look some website that running Ubuntu on Android Device.
I am sorry i am new user in this site, so i can't using outside links in this posting, but you will find if you search on google about this.
i have some question about this case:
1. i am using Samsung Galaxy S Wifi 4.0 a.k.a Samsung YP-G1CW/XSE what ubuntu can running on my device?
2. How with OS Windows? what windows can running on my Device? Windows XP may be, or Windows 7..
Please Help me, i need to running other OS on my Android Device.. Thank's Before for your answer
There are two ways to run another OS on your device: chroot and qemu. You can run Ubuntu (or any Linux distribution that supports ARM processors) with little effort using the chroot method. Look up "Ubuntu installer free" in the store and it will walk you through. It may not work on the stock kernel, so make sure you have the kernel from these forums that fits your device.
The only way to run an OS like Windows is by virtualization through qemu, because it doesn't natively support the chip in your Galaxy S Wifi. This method requires a version of qemu compiled for ARM and additional libraries, which I have not gotten to work successfully on this device. (Anyone else?)
So I'd suggest just trying to get Ubuntu running. It won't be very fast or easy to use on a device that small, but it will work.
Sent from my YP-G70
Mevordel said:
There are two ways to run another OS on your device: chroot and qemu. You can run Ubuntu (or any Linux distribution that supports ARM processors) with little effort using the chroot method. Look up "Ubuntu installer free" in the store and it will walk you through. It may not work on the stock kernel, so make sure you have the kernel from these forums that fits your device.
The only way to run an OS like Windows is by virtualization through qemu, because it doesn't natively support the chip in your Galaxy S Wifi. This method requires a version of qemu compiled for ARM and additional libraries, which I have not gotten to work successfully on this device. (Anyone else?)
So I'd suggest just trying to get Ubuntu running. It won't be very fast or easy to use on a device that small, but it will work.
Sent from my YP-G70
Click to expand...
Click to collapse
Thanks Very much for your solution, i will try search, qemu method or chroot methode.. hope i will can do it, because i am new for it. i am not a developer, or programmer. i just want to know more about gad-get
so thanks a lot.

How to configure and build the kernel for samsung galaxy s iii

hello all
i like to develop since 9 years old. Actually i am 24. I don't understand well the basics of Android and propietary devices. I used to install CM on all my family's devices, but always unofficial builds and not selfKANGs. Since 1 week ago, I am trying to build the the CM's 11.0 with no luck. Then i went to official google's developers site of android, and finally i got a system compiled and ready to install.
but now, before to push the flashing key, i am doubting about all... i mean, there'r a lot of steps I havent done:
1. obtain propietary binaries from my actual installation
2. not sure about if built the correct official version or compatible for samsung galaxy s iii (gt-9300)
3. i just wanted to add support for a S3C USB Host HUB for connecting my keyboard and mouse into my S3's micro-usb port.
so, now that i have obtained a lot of curiosity about that world, i want to learn more and more... but haven't anything clear at all.
then, can you please answer me the following questions?
1. why everyone is installing CM in S3? And not official android version?
2. how can I configure and add support to my USB host hub into the correct version of the kernel for the actual 4.4 KitKat software (CM-11.0) of my S3's?
3. can you explain me why can't I compile CM-11 or CM-10.2 with my Ubuntu Server 14.04 ? Lot of errors...
I would have more time to ask and ask, but I need to stop here.
Thanks to all for all the information in the posts I have read until now. And for the future's ones.
See ya,
Abel.

[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?

[Q] Installing bcm4330 drivers on kernel 3.0.31

Hello to everybody. First at all, I hope you can understand me because my english is not very well. Here is my problem. Im running Kali Linux on my Samsung S2 and the wifi board is not detecting for Kali. I read in another forum that Kali use the android kernel so I need to install the drivers on my android compiling the kernel, I dont have the minimal idea how it can do it so I need to somebody can help me with this. In another way I kave a usb wifi card with realtek 8191 chipset I found in realtek this drivers, I was reading and it can used in android but I dont know how I must installing, I was reading and maybe dont know I have to compile in a Linux system and after will create a file with extension .ko and I have to copy to specific folder in the android system. My android on my phone is the 4.1.2 version

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