FORUMS
Remove All Ads from XDA

[KERNEL][G930F]Nethunter for S7 LineageOS 14.1

183 posts
Thanks Meter: 132
 
By Svirusx, Senior Member on 10th January 2019, 11:35 PM
Post Reply Email Thread
Nethunter
Nethunter Kernel for Samsung Galaxy S7 (SM-G930F/FD) LineageOS 14.1
Code:
I am not responsible for bricked devices. 
If you going to flash it, you accepted it.
Of course your warranty is void after flashing LineageOS 14.1
This kernel is only for herolte . If you have Edge go here

FEATURES:
  • HID gadget keyboard/mouse
  • DriveDroid
  • USB WiFi, mac80211 (Monitor mode, packet capture, packet injection) [Compatibility List]
  • Ethernet
  • F2FS
  • Bluetooth HCI USB support
  • RTL-SDR DVB support
  • Nexmon firmware bcm4359 monitor mode + packet injection, packet capture(partially)
  • Nexmon firmware bcm4359 native monitor mode, no packet injection, buggy


Download:
Latest version G930F here.

Installation:
Here isn't AiO package yet...
1. TWRP Backup your ROM
2. Flash G930F_NethunterKernel_LineageOS14.1_*.img
3. Flash latest Magisk (Recommend 18.1+ version, 18.0 could make frezzes)
4. Install busybox can be one from Magisk repository
5. Install Magisk Nethunter module from repository
6. Install kalifs-armhf-*.tar.xz by Nethunter manager
7. Extract Nethunter_Binaries.7z and binaries to folders:
Firmwares: system/etc/firmware and give permissions to every file rw-r--r--
hid-keyboard binary: system/xbin/ and give permissions to it rwxr-xr-x
8. Reboot
Now you have Nethunter on your LineageOS 14.1.

EXTRA:
1. If you want to try monitor mode with your bcm4359 FIRST MAKE BACKUP your firmware in /system/etc/wifi/bcmdhd_sta.bin_c0 than you can install Nexmon_Binaries.7z like Nethunter_Binaries.7z. Modded firmware have troubles to connect to wifi network so use it only when you want monitor mode.
2.In Utilities.7z are wifi testing tools binaries like aircrack-ng compiled from source of nexmon

Screens:

Nethunter LineageOS 14.1 IMG 2Nethunter LineageOS 14.1 IMG 2Nethunter LineageOS 14.1 IMG 3Nethunter LineageOS 14.1 IMG 4Nethunter LineageOS 14.1 IMG 5



XDA:DevDB Information
[KERNEL] [G930F] Nethunter for LineageOS 14.1, Kernel for the Samsung Galaxy S7

Contributors
Wirusx
Source Code: https://github.com/Svirusx/NetHunter...-LineageOS14.1

Kernel Special Features:

Version Information
Status: Beta

Created 2019-01-11
Last Updated 2019-02-24
The Following 5 Users Say Thank You to Svirusx For This Useful Post: [ View ] Gift Svirusx Ad-Free
 
 
10th January 2019, 11:36 PM |#2  
Svirusx's Avatar
OP Senior Member
Thanks Meter: 132
 
Donate to Me
More
CHANGELOG

2019-02-25 - v1.4
Added missing drivers like SUNRPC, NFS v4 etc.
Removed unnecessary drivers.


2019-01-15 - v1.3
Added support G935F

2019-01-12 - v1.2
Added some Nethunter drivers:
  • System V IPC
  • Netfilter
  • TCP Cubic
  • Bridge
  • CD-ROM/DVD Filesystems

2019-01-11 - v1.1
Added:
  • F2FS partition support
  • Bluetooth HCI USB support
  • RTL-SDR DVB support

2019-01-10 - v1.0
Initial release
Added:
  • HID gadget keyboard/mouse support
  • DriveDroid support
  • USB WiFi, mac80211 (Monitor mode + packet injection)
  • partially working nexmon firmware
10th January 2019, 11:39 PM |#3  
Svirusx's Avatar
OP Senior Member
Thanks Meter: 132
 
Donate to Me
More
Reserved
The Following User Says Thank You to Svirusx For This Useful Post: [ View ] Gift Svirusx Ad-Free
14th January 2019, 07:07 AM |#4  
Junior Member
Thanks Meter: 1
 
More
THank you!
25th January 2019, 07:49 PM |#5  
Member
Thanks Meter: 7
 
More
Can you recommend rom for this kernel? With link.
25th January 2019, 07:56 PM |#6  
Svirusx's Avatar
OP Senior Member
Thanks Meter: 132
 
Donate to Me
More
Quote:
Originally Posted by _Danil_

Can you recommend rom for this kernel? With link.

I made this kernel from source of Official Nougat LineageOS 14.1 for Galaxy s7 so this ROM is the best.
Download from official website of LineageOS
The Following User Says Thank You to Svirusx For This Useful Post: [ View ] Gift Svirusx Ad-Free
22nd February 2019, 05:30 PM |#7  
AbayefD's Avatar
Member
Thanks Meter: 2
 
Donate to Me
More
How to use airmon-ng monitoring? I have error on s7edge

[email protected]:~# airmon-ng start wlan0
Found phy0 with no interfaces assigned, would you like to assign one to it? [y/n] y


ERROR adding monitor mode interface: command failed: Operation not supported (-95)

Found 1 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after a short period of time, you may want to run 'airmon-ng check kill'

PID Name
14654 wpa_supplicant

PHY Interface Driver Chipset

phy0 wlan0 ?????? non-mac80211 device? (report this!)
ERROR adding monitor mode interface: command failed: No such device (-19)
[email protected]:~#
22nd February 2019, 05:47 PM |#8  
Svirusx's Avatar
OP Senior Member
Thanks Meter: 132
 
Donate to Me
More
Quote:
Originally Posted by AbayefD

How to use airmon-ng monitoring? I have error on s7edge

[email protected]:~# airmon-ng start wlan0
Found phy0 with no interfaces assigned, would you like to assign one to it? [y/n] y


ERROR adding monitor mode interface: command failed: Operation not supported (-95)

Found 1 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after a short period of time, you may want to run 'airmon-ng check kill'

PID Name
14654 wpa_supplicant

PHY Interface Driver Chipset

phy0 wlan0 ?????? non-mac80211 device? (report this!)
ERROR adding monitor mode interface: command failed: No such device (-19)
[email protected]:~#

airmon-ng is working only for usb wifi adapters.
For wlan0 you need first have wifi off.
example commands:
ifconfig wlan0 up
nexutil -m2
LD_PRELOAD=libnexmon.so airodump-ng wlan0

For every commands you need to use LD_PRELOAD
(all in android terminal not in chroot)
Nexmon version of monitor mode cut every caputed packet... but packet injection works.

I implemented wlan0 monitor mode for test it's buggy. If you want normal monitor mode than you need usb wifi dongle and you can start with airmon-ng in chroot.
22nd February 2019, 06:07 PM |#9  
AbayefD's Avatar
Member
Thanks Meter: 2
 
Donate to Me
More
Quote:
Originally Posted by Svirusx

airmon-ng is working only for usb wifi adapters.
For wlan0 you need first have wifi off.
example commands:
ifconfig wlan0 up
nexutil -m2
.

nexutil command not found.
How to install metapackages in chroot manager? I have this in terminal (screenshot)
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20190222-210637.png
Views:	94
Size:	250.2 KB
ID:	4710520  
22nd February 2019, 06:30 PM |#10  
Svirusx's Avatar
OP Senior Member
Thanks Meter: 132
 
Donate to Me
More
Quote:
Originally Posted by AbayefD

nexutil command not found.
How to install metapackages in chroot manager? I have this in terminal (screenshot)

nexutil you need to copy to xbin in system.
First you need to apt-get update
metapackages: apt-get install kali-linux-all or another one.
22nd February 2019, 06:36 PM |#11  
AbayefD's Avatar
Member
Thanks Meter: 2
 
Donate to Me
More
Quote:
Originally Posted by Svirusx

nexutil you need to copy to xbin in system.
First you need to apt-get update
metapackages: apt-get install kali-linux-all or another one.

Where download nexutil?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes