OnePlus 5 Kali Nethunter - OnePlus 5 Questions & Answers

Hello boys & girls!
I want to port the Kali Nethunter rom to the OnePlus 5.
Because it is my first time i need some people who can port it together with me.
Offensive Security has a nice tutorial on their website but its getting complicated when i come to the modify kernel part.
I really need some help with that.
More info:
offensive-security.com/kali-linux-nethunter-download
Porting info:
github.com/offensive-security/kali-nethunter/wiki/Porting-Nethunter
Sorry due the spam restrictions i cant post the links.
If you got some tips or advice on how to do it let me know! :good:
Greetings,
Stefjoe

Let me see...
EDIT: Ok. I can't help sorry

_MartyMan_ said:
Let me see...
EDIT: Ok. I can't help sorry
Click to expand...
Click to collapse
Damn.... too bad

Any luck with this? Having a hard time myself.

I've looked at it myself and it seems complicated to me because I've never done that before but maybe anyone here is able to do it...

stefjoe said:
Damn.... too bad
Click to expand...
Click to collapse
Any progress?

The only problem to port nethunter to the OP5 is to add HID and CDROM support to the kernel but in order to do so, those patches have to be ported to kernel version 4.4+ ...
Otherwise packet injection over usb works fine on OOS.
I'm trying to compile a kernel with packet injection for RR.

Tell me if you want the kernel ... I've modded Adin's kernel (OOS) and Lightning kernel (LOS).
You will then have to install the nethunter chroot zip and you're good to go.

Arka1n said:
The only problem to port nethunter to the OP5 is to add HID and CDROM support to the kernel but in order to do so, those patches have to be ported to kernel version 4.4+ ...
Otherwise packet injection over usb works fine on OOS.
I'm trying to compile a kernel with packet injection for RR.
Click to expand...
Click to collapse
I think you can find the patch for HID and CDROM support here:
https://forum.xda-developers.com/showthread.php?t=2196707
https://github.com/CyanogenMod/andr...mmit/46bd47757a9f34c1d95dd2620414893212fb0526
FYI I don't know anything about patching kernels so i might be wrong

Well this leads to the hid patch :
github.com/pelya/android-keyboard-gadget/blob/master/kernel-3.4.patch
And this to something about the CDROM patch for the OP3 :
github.com/binkybear/androiddevs_kernel_oneplus_msm8996/commit/fc6f4b6b5f70509fbc5d583e8315f88119acb3c2
Not yet allowed to post links...
Anyway i need some help from other devs to port those to 4.4 :silly:...

Arka1n,
Hey,
I saw the post regarding putting nethuntr on the 1+ 5.
Are you willing to give me the needed kernel too plz?
Thanks
Jazzzzz

Arka1n said:
Tell me if you want the kernel ... I've modded Adin's kernel (OOS) and Lightning kernel (LOS).
You will then have to install the nethunter chroot zip and you're good to go.
Click to expand...
Click to collapse
Most definitely would like it! Message me

Arka1n said:
Tell me if you want the kernel ... I've modded Adin's kernel (OOS) and Lightning kernel (LOS).
You will then have to install the nethunter chroot zip and you're good to go.
Click to expand...
Click to collapse
I definitely would like it too !!!

Crappy upload rate so it may take some time...

[WOOT]
Here : https://forum.xda-developers.com/oneplus-5/development/burgerhunter-t3638810 :victory:

OnePlus5
I just got mine and want to do the same. I currently have nethunter on the original oneplus one and it works great. I am hoping it's the same process. Has anyone done it on any of the oneplus phones before? I ask because it took me at least 3 weeks every day after work playing with it. I bricked it maybe 3 times and OnePlus team remotely fixed it and finally I got it working. It wasn't easy.
If somebody has, please share your experience. I will try to pull up all of the links I used and videos I watched before I finally got nethunter to boot.
I want to do this to the oneplus 5 so I can use it for nethunter then wipe the onplus one and use it as my phone. Any help/advice is greatly appreciated. I will come back and post the info I used for the oneplus one and anything I find for the oneplus 5.
cheers

Nethunter for OnePlus 5
I found a way to "port" but not the entire kernel.
I managed to create chroot and can run Kali shell after one failed trail.
IMPORTANT : I went into bootloop(only boots into twrp) once while trying to remount /system as rw. But then I figured out SElinux must be disabled. You know what to do if you went into a bootloop, but just take a backup (nandroid backup didn't work for me)
And I also lost all of my data after I flashed stock recovery.
Everything seems to be working fine. But there is a problem with the Nethunter 3.0.
The
Code:
apt-get
does not work.
However, I pinged google.com and I get replies.
So, we need to install metapackages manually. At least for now.
What I did :
1. Download OnePlus One nethunter 3.0 ROM
2. Locate the apks (<nethunter_extracted>/data/app)
3. Install in this order :
• Nhterminal
• VNC
• Nethunter app
4. Open the Nethunter app and install the chroot
( I selected full chroot, however, you may choose minimal chroot too instead )
5. From any root explorer, we need to copy the files that are under /data/data/com.offsec.nethunter/files/scripts/*
to
/system/bin
(If you don't find the .../files/scripts, open Nethunter app and try again)
6. After copying the files to /system/bin,
There are three important files :
•bootkali
•bootkali_bash
•bootkali_login
We need to symlink these ↑
Important : we need to make the system writable first.
Run from AndroidSU shell:
Code:
#setenforce 0
Code:
#mount -o rw,remount /system
Then, linking :
Code:
ln -s /data/data/com.offsec.nethunter/files/scripts/bootkali /system/bin/bootkali
Code:
ln -s /data/data/com.offsec.nethunter/files/scripts/bootkali_bash /system/bin/bootkali_bash
Code:
ln -s /data/data/com.offsec.nethunter/files/scripts/bootkali_login /system/bin/bootkali_login
You can remount /system to read-only if you wish to.
7. Next, install BusyBox to /system/bin
Usually, it is installed to /su/xbin.
But we need to install to /system/bin too.
This step is necessary.
8. Now, the Kali shell works fine.
Try running
Code:
#bootkali
in AndroidSU shell and you should be in the Kali shell
You can also open Nhterminal app and select Kali.
9. You may install the other apks now.
Enjoy ~ !!

Unable to start monitor mode error showing pls rply
Whats the problem
---------- Post added at 02:39 AM ---------- Previous post was at 02:16 AM ----------
I m using oneplus 5 naughat 7.1 rom and kali nethunter installed.
But problem in monitor mode
Error:Newly created monitor mode interface wlan0mon is *NOT* in monitor mode.
Removing non-monitor wlan0mon interface...
WARNING: unable to start monitor mode, please run "airmon-ng check kill"
I m trying this command 'airmon-ng check kill' but same problem

Related

[DEV][WIP][Linux] Easy GNU/Linux on our tablet

Hi all!
Many of us are dreaming of having a real native desktop operating system on Galaxy Note 10.1 as a second system. Of course, the software there is not touch-optimized, but you can attach keyboard and mouse via USB-OTG and Bluetooth and imagine it's a netbook
exception13 showed us that it's possible and shared his work on in a forum and repo. X-Stranger could use it and shared compiled images of ArchLinux. But what if you want to do something more specific for your own needs and you are not such a great developer as both of them are?
My project is for all of you who want to have native GNU/Linux, who want to participate but don't know how yet. It's a guide how to build it from scratch. The problem is - I am not a superdev too and I couldn't do many things. Frankly speaking, all the remaining things seem to be small but I don't know how to overcome them. Maybe it's because I'm studying economics but not programming
Link to the guide.
I need help from anyone who knows how to overcome any of the problems on every step! Everything I managed to do by myself is already written there and currently I have a compiled kernel which is booting a partition on external SD but it freezes there.
If you have any ideas - you can just make a pull request out of Github's webinterface, if you don't know how to edit this html but know something about building Linux - you are welcome to open an issue or write it here and I will include it in the guide.
Let's make our Galaxy Note 10.1 better together!
,I just got my Note 101.1 earlier today. I'll look into the missing information and add to the webpage. Is there anything that you think I should look into first?
I actually had a question.
Looks like you have the section "Harder Way - how to prepare binaries" split into Ubuntu and Arch. Instructions for compiling the kernel are the same.
I guess my question is why the choice to show the arch kernel being compiled under arch?
Might be easier to read the guide with all the kernel compiling done in Ubuntu.
**Edit**
What I didn't originally mention is that i really like it. Hoping to help contribute as well.
darksabre_x said:
I actually had a question.
Looks like you have the section "Harder Way - how to prepare binaries" split into Ubuntu and Arch. Instructions for compiling the kernel are the same.
I guess my question is why the choice to show the arch kernel being compiled under arch?
Might be easier to read the guide with all the kernel compiling done in Ubuntu.
**Edit**
What I didn't originally mention is that i really like it. Hoping to help contribute as well.
Click to expand...
Click to collapse
Good question. The reason for that are that despite how close Arch Linux and Ubuntu are, the environments are different. Ubuntu usually has some sort of bash completion enabled by default whereas Arch Linux doesn't and of course each of them requires diferent packages installed to perform the same functions. I believe thermatk did each distro separately as to make things simpler for the end user. Pick a distro and go as each distro's guide can be tuned independent of the others.
Soul_Est said:
Good question. The reason for that are that despite how close Arch Linux and Ubuntu are, the environments are different. Ubuntu usually has some sort of bash completion enabled by default whereas Arch Linux doesn't and of course each of them requires diferent packages installed to perform the same functions. I believe thermatk did each distro separately as to make things simpler for the end user. Pick a distro and go as each distro's guide can be tuned independent of the others.
Click to expand...
Click to collapse
Doesn't really answer my question considering the end kernel will be the same regardless of the distro being used. I think you took my question as "Why are there 2 options for kernel compilation?", which wasn't what I was asking.
Looks like thermatk actually addressed the question with a page update.
It now gives separate options depending on which distro you want to end up with on your Note 10.1, in addition to separate kernel compilation options.
What I was referring to was when it was Ubuntu only instructions from kernel compilation all the way to deployment on the tablet and Arch only instructions. The kernel and linux image instructions weren't independent of each other, as they currently are.
Update
I'm really happy to hear that someone else wants to use it and contribute! :victory:
darksabre_x, you are right I separated the guide into parts yesterday because the system where you compile kernel doesn't really affect anything on the tablet.
Soul_Est, thank you for helping with questions in the thread :good:
Now I understand that tabs are not the best way to do it, will start this day from trying to rewrite this to a navbar constantly on top which lets you choose options from a dropdown.
Also yesterday got the guide to the point when one path through can get ypu to a bootable distro! You can compile kernel wherever you want, you should be on stock based rom and choose to install Arch on separate partition which probably will be a partition on SD. What you have to add at the end is
Code:
pacman -S lxde
and copy xorg.conf from X-Stranger's post. Once rebooted, you will be able to enter android:changeme and
Code:
sudo lxdm
and the gui will start if you don't have USB-OTG and keyboard you won't be able to enter password but you can poweroff from the interface's right corner :good: Attention: if gui says that it has no permissions to write logs do
Code:
sudo mount -n -o remount, rw /
and retry but do not forget to write here about it!
What are the current problems:
Why exception13 and X-Stranger both hardcoded the whole cmdline for kernel and forced it not to be changeable from bootloaders. It's easy to fix in the config but there should have been some idea or i'm paranoic?
What's wrong with LinuxDeploy, separate partitions and CyanogenMod? hiruna filed a bug but meefik seems to be away for a week. If anyone else with CM has an idea on how to overcome this maybe with some special unmount commands CM is thinking that ext4 partition is th extSdCard and mounts it so that LinuxDeploy can't install anything there (seems that it's the problem) while stock can't mount ext4 as extsdcard and is not touching the partition.
How do we make Debian/Ubuntu to boot? Both ways - for separate partition and img are stuck one the problem that not any mkinitramfs or abootimg or their combinations could get to a better state than initramfs shell. Separate partition should be easier so focus should be on it for the start.
Adapt X-Stranger's guide about booting Arch from *.img. It's there and should be tested, rewritten and easied and some whitespaces should be filled. I know there are some as i have spent many hours in Arch with little dirty hacks like
Code:
ln -s /proc/self/fd /dev/fd
that are needed but no one ever wrote that they are.
What's wrong with basic video? While we get bootable Arch if you add lxdm and xorg.conf it should work with lightdm and boot there without console commands. If you try to install lightdm you will get nothing but a black screen if you start it with
Code:
sudo lightdm
... and it should boot automatically without touching console.
Oh and why is kernel from exception13 not building at all? XD
Redesign #2
Anyone dislikes the new design idea with navbar selectors instead of tabs?
I hope it's better.
Will soon update the guide with last steps to have Arch with LXDE bootable from separate partition.
That's fun as I started this project to get Ubuntu working... :angel:
If anyone can understand what should be done with mkinitramfs to make debian/ubuntu rootfs bootable - please do it.
First success!
If you choose any pc distro, arch on sgn with lxde on a seaprate partition you will now get a fully working guide that will give you a native bootable GNU/Linux =)
That's first success for me but still i hope to get help as i don't know things I asked two posts ago and it's difficult to move forward.
XFCE problems
XFCE is booting (not in the guide yet) but for working with fingers in XFCE one should probably disable multitouch S-pen works fine.
http://lists.x.org/pipermail/xorg/2012-July/054626.html
http://xfce.10915.n7.nabble.com/Xfwm-window-borders-do-not-respond-to-touch-screen-td17348.html
Will find a way to enable onscreen keyboard on LightDM and update the guide with XFCE. Still I was hoping to make it my primary DE and they are not supporting fingers moving windows upstream :crying:
I was hoping to contribute this weekend but unfortunately my only machine is down after mucking up the /lib folder when heimdall. To add insult to injury, I have no backups. Installing Arch Linux or Debian and configuring everything to my liking again will take a few hours.
Sent from my GT-N8010 using Tapatalk 2
How to setup WiFi using wpa_supplicant.conf
How to setup WiFi using wpa_supplicant.conf​
1. Copy the "wifi" folder to "/opt"
- You will need gedit to edit the nameservers.
- You also need two dependencies before installing gedit.
- The two dependencies are : gtksourceview3-3.6.1-1-armv7h.pkg.tar.xz and libpeas-1.6.1-1-armv7h.pkg.tar.xz
2. Download them and copy over to ArchLinux
3. Install the dependencies first then gedit:
Code:
sudo pacman -U gtksourceview3-3.6.1-1-armv7h.pkg.tar.xz
sudo pacman -U libpeas-1.6.1-1-armv7h.pkg.tar.xz
sudo pacman -U gedit-3.6.2-2-armv7h.pkg.tar.xz
4. insmod the drivers:
***NOTE*** " 3.0.31-gedcc915 " is my kernel name. Change it to your
kernel name if it is different.
Code:
sudo insmod /lib/modules/3.0.31-gedcc915/kernel/net/wireless/cfg80211.ko
sudo insmod /lib/modules/3.0.31-gedcc915/kernel/drivers/net/wireless/bcmdhd/dhd.ko op_mode=0 firmware_path=/opt/wifi/bcmdhd_sta.bin nvram_path=/opt/wifi/nvram_net.txt_murata
5. Enable the wlan0:
Code:
sudo ip link set wlan0 up
6. Setup wpa_supplicant and ip address:
Code:
sudo wpa_supplicant -B -i wlan0 -Dwext -c /etc/wpa_supplicant/wpa_supplicant.conf
sudo ip addr add 192.168.1.33/24 dev wlan0
sudo ip route add default via 192.168.1.1
7a. Add nameservers:
Code:
sudo gedit /etc/resolv.conf
7b. Go to the next available line and type:
Code:
nameserver 8.8.8.8
7c. Next line :
Code:
nameserver 8.8.4.4
7d. Save it
8. Go back to the terminal and edit the wpa_supplicant file:
Code:
sudo gedit /etc/wpa_supplicant/wpa_supplicant.conf
- wpa_supplicant.conf file should be like this:
Code:
ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
network={
ssid="NETWORKNAME"
scan_ssid=1
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
psk="NETWORKPASSWORD"
}
9. And finally, to connect to your network, run
Code:
sudo dhcpcd
Open up a web browser and enjoy!
:good: :good: :good:
WiFi
I am currently including WiFi in the main guide as it's something everyone needs :laugh:
Soul_Est said:
I was hoping to contribute this weekend but unfortunately my only machine is down after mucking up the /lib folder when heimdall. To add insult to injury, I have no backups. Installing Arch Linux or Debian and configuring everything to my liking again will take a few hours.
Sent from my GT-N8010 using Tapatalk 2
Click to expand...
Click to collapse
I will be happy if you join :good:
thermatk said:
I will be happy if you join :good:
Click to expand...
Click to collapse
I'll get right on the Arch Linux instructions once I get an Arch based OS installed. Hopefully that'll be tomorrow.
Written on my Galaxy Note 10.1
is this project dead ?
Equilibrio said:
is this project dead ?
Click to expand...
Click to collapse
Great job! This is awesome.
Anyone else having dependency conflicts with bluez and obexd-client?
cctoro said:
Great job! This is awesome.
Anyone else having dependency conflicts with bluez and obexd-client?
Click to expand...
Click to collapse
I did before but it really depends on what you have install at the time when you do the update.
Having a small issue
Ok, so I followed all the instructions and set the kernel up to boot from mmcblk1p2 (my ext4 partition on my sdcard I made for linux), and used dd to copy the prebuilt arch to the partition, and it boots and eveything seems to work but the wifi.... I repeated the process from the beginning all over and recompiled to make sure i didn't miss anything, but still no wifi... And since I'm using the prebuilt image copied to the sdcard for the distro, and everything works in it if i boot the .img from the internal storage and use the premade recovery, I'm assuming maybe there's something missing from compiling the kernel? In either case, if anyone has any ideas about this, please help, or if someone can make a properly compiled recovery.img that boots from mmcblk1p2, that would be super awesome.... I'm only mediocre in linux skill so any help would be appreciated!
K, so i was an idiot and forgot to copy the compiled kernel modules to /lib........ OOPS!
Arch linux distro booting from mmcblk1p2 with 1p3 as swap... all work awesome! Working on dri2 for the mali now.....
Sent from my GT-N8013 using xda app-developers app
Could you post a prepared .IMG, possibly? Thanks.
Sent from my GT-N8013 using xda app-developers app

[Updated 01/06/2015] Ported Nethunter for note 3 (Kali / Backtrack)

http://nethunter.com/
Here is the first version working on the Note 3.
Not sure if there is any interest in this.
Am sure we will soon see.
Screenshots running on Note 3 SN-9005
(This thread was originally a request)
dave7802 said:
http://nethunter.com/
Got very excited when i read up on this, Does anyone know of any working projects? Or is anyone willing to have a look. Out of my depth
Thanks
Click to expand...
Click to collapse
Only for Nexus devices
Spitwista said:
Only for Nexus devices
Click to expand...
Click to collapse
Honestly...... i never knew that, Considering its plastered all over there website and everything you read about.
Thats why i Requested a PORT.
dave7802 said:
Honestly...... i never knew that, Considering its plastered all over there website and everything you read about.
Thats why i Requested a PORT.
Click to expand...
Click to collapse
Not going to happen soon for Note 3
Spitwista said:
Not going to happen soon for Note 3
Click to expand...
Click to collapse
Are you for feel, Stop spamming this thread with crap that everyone knows about already, Ghheeeze!
This is a request for a Port.
Not a users opinion on Timescale, Nor what current devices are supported!!!
Wrong , I just patched a kernel for my HTC one and complied a CM11 kernel.
viperblood said:
Wrong , I just patched a kernel for my HTC one and complied a CM11 kernel.
Click to expand...
Click to collapse
So you have a bootable Nethunter version running?
Any instructions?
Updated OP if there is any interest in this.
I would be interested have you got a patched kernel and what rom did you use?
+1 im interested too
Sent from my hlte using XDA Free mobile app
im interested too!!
Plz post the steps you took and if you can the rom and kernel. Thx!
Excuse the delayed response here:
I will update the OP with instructions and files.
As a heads up, i wont be providing the kernel, nor will i be providing instructions on how to compile your kernel.
Why do you need a custom Kernel you may ask.
One or a few of the tools in Kethunter, will allow for packet injection.
You will need a comptable Wifi device for this to work, and for it to work, you need to compile the drivers into the kernel.
I wont support this for two reasons.
I cannot make a error / hassle free way to switch Wifi devices (You can only had one active Wifi device at a time, i switch from Command line, But not so easy for your none so savvy linux users)
I do not have time to compile nor support issues that crop up with the Kernel (My work life consumes to much of my personal time / hobbys)
What i will do, is provide a compiled Flashable Zip, that will include all the Nethunter files.
This includes the APK that drives all the commands
and all the System files required.
You should be able to update Chroot etc without any issues.
Just a few tools wont work, without correct wifi device to Sniff and inject.
The flashable file is near to 1Gb and i am in work, so will not be uploading it from here.
I will do it at home later this evening.
Have a look at this: github.com/offensive-security/kali-nethunter/wiki/Porting-Nethunter
The example talks about note 3 but its a little bit outdated..
Any news for Kali NetHunter port for Note 3?
Im trying porting in my N3 (N900T) based in fw for Nexus 5 with Lollipop. Im working in booting kali but, now works:
- Nethunter APK (always open but now show options, screenshots added!)
- Kali boot in terminal but now only this and works apt-get (only test this now)
- Im trying fix buttons because this dont works when i push this. Only show error in terminal and dont works but manually this load kali.
PD: (sorry for my english)
I use this in 5.0.1 here the About:
Edit:
If any need im working in this script that boot kali (in theory but executing directly dont works).
http://pastebin.com/uYRmEwcs
I run Kali in console manually running this: In Terminal Emulator first write "su" and press "Enter" and next write this:
Code:
unset LD_PRELOAD
chroot /data/local/kali-armhf /bin/bash -l
With this Kali load in console. Works apt-get and other commands but im testing this. If any want try the steps are:
First download zip image (originally is for flashing in recovery but in my phone dont works or maybe works but I DONT TRY because is for other model xD).
Second, extract zip in PC and copy respective files and folders to the phone. For example: data folder in zip have 3 subfolders, copy all this to [d]data[/b] folder in phone in /data/ and remain files and folders.
In data/app folder have apks, install this. Have NetHunter apk (showed in screenshots), VNC and others. I recommend install all apks.
Next, in folder data/local have "kalifs.tar.bz2" file, this is the kali system. Unzip this in same folder but in phone. Final destination is: /data/local/kali-armhf (inside have bin, boot, captures, and other subfolders).
Next i dont know because i testing
please can u add support for the note 3 n900

[GUIDE]Kali Nethunter 3.0 on Android 6.0.x ROMs - [kenzo]

OUTDATED
Rishabh1x said:
In this guide i will cover how to setup a successful install of kali nethunter 3.0 on Redmi Note 3(mine is 32gb) using the ported nethunter zip and the hammerhead image(nexus 5). This may or may NOT work on any other ROM because I havent tested it. I am running exodus ROM with stock kernel. Please make sure you know what you are doing before you proceed because i dont have time to answer questions like 'what is chroot and root for?'​
Requirements:
1. Unlocked bootloader
2. TWRP
3. ROOT
4. Some free space in /data partition(alot actually if you install ALL the tools)
5. Basic understanding about how linux works
Things you need to grab:
1. kali nethunter zip and modules zip for our device
2. hammerhead image zip
Steps:
1. BACKUP current ROM(system, data, boot->MOST IMP)
2. After you have a backup flash the nethunter.zip(72.8m) and once its done flash modules.zip(2.1mb)
3. Now you have to restore your boot partition from the backup you took earlier. > Goto restore and tick only Boot and restore it.
4. Reboot your phone now. You should see some new apps in your app drawer if all was successful. Also you will see the nethunter bootanim(awesome).
5. Now download kmod manager and enable the modules that can be enabled and ignore the rest.
6. Now extract the hammerhead zip file anywhere. Inside that you will have a /data/local folder. There is a file named kalifs-full.tar.xz. Copy it to /sdcard.
7. Now open Nethunter app from app drawer. From left panel goto - kali chroot manager. Click install chroot > use sdcard > Full chroot.
8. Now you will see a progress bar stating decompressing ~5-10 mins. Wait till it finishes. Then you will see a metapackages thing with options to tick. Ignore by pressing back button.
9. The console(green text) should print somewhere this line - "everything went fine" to tell you no errors were encountered.
10. Now chroot is ready, this means kali is installed and running inside android. To test it, do this - Open es explorer and goto /data/local/nhsystem/kali-armhf, there u should see some directories like bin/boot/ etc.
This means the filesystem is installed. Now you can open the nethunter terminal app and choose 'kali'. If it says [email protected] in red color, it means everything went fine and you are logged in as root.
Post install notes:
1. Hammerhead zip is pretty old. You will have to change the repo to kali-rolling to get the latest stable packages.
2. I have noticed very slow speed while downloading the packages, you can either add mirrors close to your location to avoid this or you can install aria and apt-fast(requires aria) packages.
3. Wifi injection and monitoring is not supported by the internal wifi card of our device, so you will have to refer to the port thread that has a compatible wifi card listed(amazon link) which supports packet injection.
Downloads:
1. nethunter zip and modules for RN3 -> Grab from original port thread
2. Hammerhead image zip -> Hammerhead image zip
Thanks to:
Baka Guy aka Cereal Killer - for port
Offensive Security - for Nethunter
Note- Any sensible questions, feel free to ask. Sorry if I missed something, if any confusion or mistakes found in steps pls inform me.
Click to expand...
Click to collapse
Hello, this is only for 6.0 roms? like which ? RR official?
Did you read the thread?
This is for MM roms however I have not tested on cm based ROM so you can give it a try by doing as per the steps and report back if it works.
Rishabh1x said:
Did you read the thread?
This is for MM roms however I have not tested on cm based ROM so you can give it a try by doing as per the steps and report back if it works.
Click to expand...
Click to collapse
do u have test to install it on cm rom? which cm
He said exodus... I will be testing it today on rr with radon 2.5.1
Sent from my Redmi Note 3 using Tapatalk
I have tried it and it works on Mokee. It boots and many of the functions do seem to work. How ever I'm still testing it and will review later again after some more testing.
Audacity4545 said:
I have tried it and it works on Mokee. It boots and many of the functions do seem to work. How ever I'm still testing it and will review later again after some more testing.
Click to expand...
Click to collapse
Ok thanks for informing...can you check if fruitywifi is working for you or not?
Btw Radon is compatible and should not cause any problem...I will update the guide later.
Rishabh1x said:
Ok thanks for informing...can you check if fruitywifi is working for you or not?
Btw Radon is compatible and should not cause any problem...I will update the guide later.
Click to expand...
Click to collapse
I have tried radon once at Radonv2.1 on mokee but it seemed to mess with the adaptable storage which I really need. So I dont use custom kernal on mokee. I will check fruitywifi possibly tomorrow or day after that when I get the time. Ill report my results when I'm done. Also you should show how to change repos. Many people dont know.
How to change repos- first the current repos are too old. they are for sana i.e. kali 2.0. now latest version is kali 2016 i.e. Kali rolling.
Guide to changing repos and increasing download speed for update.
*OP pls add this in main post if you want.
To change your repos go to (using es explorer) device/data/local/nhsystem/kali-armhf/etc/apt/sources.list
edit it using a text editor. Delete whatever is in it. then add these lines
deb http://http.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free
Then save it.What you just did was delete old sana repos and change them with updated rolling repos. Then go to nethunter terminal using kali shell. then run
apt-get update
then
apt-get upgrade
then
apt-get dist-upgrade
if you are getting slow speed then change http in sources to repo. i.e.
deb http://repo.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
# deb-src http://repo.kali.org/kali kali-rolling main contrib non-free
this will most likely get you better download speeda and lot easier than using aria.
This currently only contains nethunter packages, to get all packages
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install kali-linux-full -y
This installs all kali packages shown at http://tools.kali.org/tools-listing. It will require alteast 800 mb data. If you install all packages you will get mysql screen setup. So if you try to installl all check up a guide before doing it. I wont explain it all here. For any noobs this doesnt contain a GUI. Dont expect one. You will need to know atleast basic linux to use it. If you want to try I ask you to try Kali on pc as it contains Gui and easier for beginners.
Audacity4545 said:
I have tried radon once at Radonv2.1 on mokee but it seemed to mess with the adaptable storage which I really need. So I dont use custom kernal on mokee. I will check fruitywifi possibly tomorrow or day after that when I get the time. Ill report my results when I'm done. Also you should show how to change repos. Many people dont know.
How to change repos- first the current repos are too old. they are for sana i.e. kali 2.0. now latest version is kali 2016 i.e. Kali rolling.
Guide to changing repos and increasing download speed for update.
*OP pls add this in main post if you want.
To change your repos go to (using es explorer) device/data/local/nhsystem/kali-armhf/etc/apt/sources.list
edit it using a text editor. Delete whatever is in it. then add these lines
deb http://http.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free
Then save it.What you just did was delete old sana repos and change them with updated rolling repos. Then go to nethunter terminal using kali shell. then run
apt-get update
then
apt-get upgrade
then
apt-get dist-upgrade
if you are getting slow speed then change http in sources to repo. i.e.
deb http://repo.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
# deb-src http://repo.kali.org/kali kali-rolling main contrib non-free
this will most likely get you better download speeda and lot easier than using aria.
This currently only contains nethunter packages, to get all packages
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install kali-linux-full -y
This installs all kali packages shown at http://tools.kali.org/tools-listing. It will require alteast 800 mb data. If you install all packages you will get mysql screen setup. So if you try to installl all check up a guide before doing it. I wont explain it all here. For any noobs this doesnt contain a GUI. Dont expect one. You will need to know atleast basic linux to use it. If you want to try I ask you to try Kali on pc as it contains Gui and easier for beginners.
Click to expand...
Click to collapse
I will add the steps in the main thread to change the repos to rolling...although I found that changing from http to repo does not give any difference in speed. You should find a mirror close to your location to get better speed. I find nl mirrors to be far better than repo.
Also the vnc connections work without any tweaks so its not really a cui based installation bcz you can connect through vnc and use the gui too. Btw kali-full package requires 1gb download and more than 2gb space for install.
And you should avoid running dist-upgrade. It can cause problems with install and break the chroot environment.
i am on miui 8 stable global i installed and followed the guide above.. but then i opening the nethunter terminal and chose kali then the app closing auto.. why?how to fix this
feikacab said:
i am on miui 8 stable global i installed and followed the guide above.. but then i opening the nethunter terminal and chose kali then the app closing auto.. why?how to fix this
Click to expand...
Click to collapse
try clearing the app data and cache. if it still does not work do this:
1. Install terminal emulator or try nethunter terminal as root
2. open and type following command
-> su -c bootkali
Then provide feedback if it was successful or not.
Rishabh1x said:
try clearing the app data and cache. if it still does not work do this:
1. Install terminal emulator or try nethunter terminal as root
2. open and type following command
-> su -c bootkali
Then provide feedback if it was successful or not.
Click to expand...
Click to collapse
Missing a requiring folder. Something isn't right. Thatd telling me when I writing the above command and on nethunter emulator, same think on terminal emulator. And try to clear the cache and data both of apps.s sorry if I asking again, on which rom are u using nethunter? Which kernel? CAF KERNEL? On the first topic u dont say clearly which file we supposed to install. I didn't found any files on the link which named nethunter.zip and have 72 mb
feikacab said:
Missing a requiring folder. Something isn't right. Thatd telling me when I writing the above command and on nethunter emulator, same think on terminal emulator. And try to clear the cache and data both of apps.s sorry if I asking again, on which rom are u using nethunter? Which kernel? CAF KERNEL? On the first topic u dont say clearly which file we supposed to install. I didn't found any files on the link which named nethunter.zip and have 72 mb
Click to expand...
Click to collapse
Open the nethunter app and from left menu click Chroot manager and tell me what you see there.
Rishabh1x said:
Open the nethunter app and from left menu click Chroot manager and tell me what you see there.
Click to expand...
Click to collapse
i am now on exodus rom 6.0.1 last version.. i cant understand the intstructions from the first topic.. which file is nethunter.zip 72mb? i couldnt find it..U must update the first post and rename the zip folders because i cant understand which is zip folder named nethunter and have 72mb size... help me someone
feikacab said:
i am now on exodus rom 6.0.1 last version.. i cant understand the intstructions from the first topic.. which file is nethunter.zip 72mb? i couldnt find it..
Click to expand...
Click to collapse
http://en.miui.com/thread-301258-1-1.html
you will find 2 zips here the 72mb and one 2mb
Rishabh1x said:
http://en.miui.com/thread-301258-1-1.html
you will find 2 zips here the 72mb and one 2mb
Click to expand...
Click to collapse
yes but the zip file which have size 74 mb named update-nethunter-kenzo.. anyway i remove and install again the chroot, and now the console is fine, opening again perfect, but the problem is, when i type wifite my card doesnt shows up.. why? i bought it before 2 days ago.. and the otg cable too. my card is tl-wn722n
feikacab said:
yes but the zip file which have size 74 mb named update-nethunter-kenzo.. anyway i remove and install again the chroot, and now the console is fine, opening again perfect, but the problem is, when i type wifite my card doesnt shows up.. why? i bought it before 2 days ago.. and the otg cable too. my card is tl-wn722n
Click to expand...
Click to collapse
is the card itself working with otg? if there is an led light on card check if its blinking....and run lsusb command too
Rishabh1x said:
is the card itself working with otg? if there is an led light on card check if its blinking....and run lsusb command too
Click to expand...
Click to collapse
what do u mean by itself working with otg?
feikacab said:
what do u mean by itself working with otg?
Click to expand...
Click to collapse
I have heard that it requires a y cable to work because card doesn't draws enough power....so I said to check the led light or any other indication to know if card is powered properly
Rishabh1x said:
I have heard that it requires a y cable to work because card doesn't draws enough power....so I said to check the led light or any other indication to know if card is powered properly
Click to expand...
Click to collapse
dude the card working perfect and the cable too. the problem is, how do u know that nethunter isnt fake? upload screenshot from your phone while hacking wifi with wifite.

Kali Nethunter for OnePlus 6t (request)

Developers please build A Nethunter rom with custom kernel
+1
OnePlus 6 first, we have been waiting longer
BrianNovius said:
OnePlus 6 first, we have been waiting longer
Click to expand...
Click to collapse
They both would interchange with each other I believe, so yes by all means make a OnePlus 6 first
Is this sub forum from the request ???
Kali nethunter
Any chance someone knows how to get Kali nethunter up and running on oneplus 6t
have a look at - https://www.kali.org/docs/nethunter/nethunter-rootless/
i got it working on OxygenOS
Oneplus 6t nethunter
Anyone have installed fully working tedting kali nethunter On oneplus 6t???
Newrooter22 said:
Any chance someone knows how to get Kali nethunter up and running on oneplus 6t
Click to expand...
Click to collapse
Did you manage ro get everything up and running. not only is it possible but basically fully functional
Burot said:
Anyone have installed fully working tedting kali nethunter On oneplus 6t???
Click to expand...
Click to collapse
most definitely yes...
im even taking the time to answer each thread such as this one, under the https://forum.xda-developers.com/oneplus-6t/help section! Thats how tested, installed, and functioning nethunter is on the 6t!
Did you guys see the hard work someone put in to make this request fulfilled?? its out there for you's
Oneplus 6 and 6t are officially supported devices, you can use the nethunter installerto make your own kernel/installer zip for it. All credit goes to DJY-Johanlike, Kimocoder, and the nethunter team for making all of this happen.
Here's a kernel installer I just made with a minimal chroot built in. https://www.mediafire.com/file/80wqc5iotod4ayq/nethunter-oos6-minimal.zip/file
Jfoster1234 said:
Oneplus 6 and 6t are officially supported devices, you can use the nethunter installerto make your own kernel/installer zip for it. All credit goes to DJY-Johanlike, Kimocoder, and the nethunter team for making all of this happen.
Here's a kernel installer I just made with a minimal chroot built in. https://www.mediafire.com/file/80wqc5iotod4ayq/nethunter-oos6-minimal.zip/file
Click to expand...
Click to collapse
Thanks for sharing. If possible, may you please share one with full chroot. Not everyone knows how to build and if you don't mind sharing the steps to build as well, that would be great for the community.
I'll upload full chroot later. Here's directions, copy pasted from https://gitlab.com/kalilinux/nethun...ter-project/-/tree/master/nethunter-installer
To accomplish all of this your going to want to start by cloning into the repo
"git clone https://gitlab.com/kalilinux/nethunter/build-scripts/kali-nethunter-project.git"
And here's the installer with a full chroot included
https://www.mediafire.com/file/dkj2..._190515-oneplus6-oos-ten-kalifs-full.zip/file
Kali NetHunter Installer
The NetHunter Installer is basically just a zip file generated by build.py from the folder layout contained here.
Follow the instructions below to create the installer zip.
All you have to do is flash it through TWRP for a complete Kali NetHunter environment and chroot on your device.
The boot image patching script is based on LazyFlasher's kernel-flasher branch.
Instructions
Preparing the environment
Before building, you will need to initialize the devices repository.
As NetHunter devices have an immense binary history, you will probably want to use a shallow clone. (--depth 1)
To do this, run the command:
./bootstrap.sh
Build command examples
Example building for the Nexus 5 (hammerhead):
"python build.py -d hammerhead --marshmallow"
Building the kernel only (useful for testing if kernel works):
"python build.py -d hammerhead --marshmallow -k"
Building without the kernel (useful for just updating apps):
"python build.py -d hammerhead --marshmallow -nk
Building with adding a full chroot (add kalifs-full.tar.xz to rootfs/[arch]/kalifs-full.tar.xz):
"python build.py -d hammerhead --marshmallow --rootfs full"
Create a release version:
"python build.py -d hammerhead --marshmallow --rootfs full --release v3.0"
Force download all third party apps:
"python build.py --forcedown"
Building the uninstaller:
"python build.py --uninstaller"
Show help:
"python build.py - - help"
---------- Post added at 12:48 AM ---------- Previous post was at 12:43 AM ----------
So for the oneplus 6/6t, after you run the bootstrap.sh command, you'd run this for a basic kernel installer:
python build.py -d oneplus6-oos --ten
Also, people have found the installer works better if you disable AVB and force encrypt with Magisk before flashing the installer
which version of oos is everyone flashing this on?
crashnova said:
which version of oos is everyone flashing this on?
Click to expand...
Click to collapse
OOS 10.3.4 iirc. I have actually flashed it on crDroid and it was immaculate......I've also made a test kernel for RR Q that seemed to work great at first but shortly after ran into issue that just simply was a no go IMO. That RR Q just don't have the features that others normally have and it a bit thwarting, either way I'm currently redoing that and hopefully will have a installer up and going before long....I got a pretty free week this coming week.
xenomorph318 said:
OOS 10.3.4 iirc. I have actually flashed it on crDroid and it was immaculate......I've also made a test kernel for RR Q that seemed to work great at first but shortly after ran into issue that just simply was a no go IMO. That RR Q just don't have the features that others normally have and it a bit thwarting, either way I'm currently redoing that and hopefully will have a installer up and going before long....I got a pretty free week this coming week.
Click to expand...
Click to collapse
I'm using crDroid now. I used the command python3 build.py oneplus6-oos --ten and I got an error. It said
Hash mismatch! Error: There was a problem downloading the file "update/data/app/NetHunterTerminal.apk" and the terminal .apk does in fact download manually. Not sure if anyone else had this problem.
I'd be interested in how you got Nethunter running on crDroid if you don't mind giving details. Thanks!
You could always just build a kernel only zip, put a -k at the end of the build command.
"python build.py -d oneplus6-oos --ten -k"
I'll try that later. Thanks for the advice. I used the full chroot file you shared in this thread and I'm now running NetHunter!
Is there a checklist of working/non-working features for this device?
I know the Kali official site has a testing checklist. I'm going to run through that later. But it would be nice to see what others have tried already.
[Edit] I added the firmware download from Magisk and my external adapters both showed up. (Search "adapters" in Magisk under "downloads.")
I used a USB C to Standard USB plug and it worked. My other cables didn't for some reason.
TIP. There's a shorcut in the custom scripts section that will put you in monitor mode by just pressing run if you're too lazy to type out the command in the terminal.
I tried the Wardriving feature in Nethunter, but no networks popped up.
I'll keep trying and post the results.
Thus far the kernel supports all of my external wifi adapters without any modification necessary. Those adapters are :
88xxau, rt2800, and ath9k_htc. Also supports a Broadcom bluetooth dongle without any modifications

Waiting a nethunter kernel

I believe someone will build a nethunter kernel for 8 and 8 pro.
Actually I found one on github and I tried to build a kernel to flash , I can't boot my phone. MY system is H2OS 10.5.12, oos and h2os can use same kernel. Oh, if anyone try to make a kernel, dont for android 11, the system has so many limits and bad experients.
Wanted to ask the same. I want to buy a new phone that works with Kali nethunter and I can't decide to buy the OnePlus 7 or the 8. Since there is an official rom for the OnePlus 7, and for the 8 there is only a kernel on GitHub that no one is able to make it work. I'm afraid to buy the OnePlus 7 and when I buy it then they make a nethunter rom for OnePlus 8 :laugh:
Figured i would chime in on this as i was able to get it up and running on my OP8P
i downgraded to 10.5.12 by flashing via fastboot from here...
Guide: Restore OnePlus 8/8 Pro Back to Stock OxygenOS Software
Guide to restore OnePlus 8/8 Pro back to the stock OxygenOS software after rooting, installing custom ROMs, etc by flashing the factory image (fastboot ROM).
www.thecustomdroid.com
Then go through the setup and root the device with magisk
once it was back to a "stock" rooted android 10 OS i installed the generic arm kalifs image via TWRP
booted back up and installed the nethunter store app apk, then nethunter apk.
NetHunter | Kali NetHunter App Store - Android App Repository for Penetraton Testing and Forensics
© 2010-2019 Kali Linux, F-Droid, and Contributors
store.nethunter.com
go to nethunter store first and install the nethunter terminal. once installed go back to the store and check for updates.
after the check open nethunter and it should do some more updates and you should be able to start the chroot
I have hid (rucky) and monitor mode working for internal wireless
BUT!
i did the OTA update to android 11 and rucky disappeared and sudo apt-get update no longer worked
but i found this post here
Temporary failure resolving 'http.kali.org' · Issue #913 · offensive-security/kali-nethunter
Device: OnePlus+ OS version Lollipop Output of cat /proc/version in adb shell or NetHunter Terminal: [email protected]:~# cat /proc/version Linux version 3.4.67-cyanogenmod-g399b32b ([email protected]) (gcc versio...
github.com
and that fixed the apt-get update.
rucky is still non operational unfortunately
markmn123 said:
Figured i would chime in on this as i was able to get it up and running on my OP8P
i downgraded to 10.5.12 by flashing via fastboot from here...
Guide: Restore OnePlus 8/8 Pro Back to Stock OxygenOS Software
Guide to restore OnePlus 8/8 Pro back to the stock OxygenOS software after rooting, installing custom ROMs, etc by flashing the factory image (fastboot ROM).
www.thecustomdroid.com
Then go through the setup and root the device with magisk
once it was back to a "stock" rooted android 10 OS i installed the generic arm kalifs image via TWRP
booted back up and installed the nethunter store app apk, then nethunter apk.
NetHunter | Kali NetHunter App Store - Android App Repository for Penetraton Testing and Forensics
© 2010-2019 Kali Linux, F-Droid, and Contributors
store.nethunter.com
go to nethunter store first and install the nethunter terminal. once installed go back to the store and check for updates.
after the check open nethunter and it should do some more updates and you should be able to start the chroot
I have hid (rucky) and monitor mode working for internal wireless
BUT!
i did the OTA update to android 11 and rucky disappeared and sudo apt-get update no longer worked
but i found this post here
Temporary failure resolving 'http.kali.org' · Issue #913 · offensive-security/kali-nethunter
Device: OnePlus+ OS version Lollipop Output of cat /proc/version in adb shell or NetHunter Terminal: [email protected]:~# cat /proc/version Linux version 3.4.67-cyanogenmod-g399b32b ([email protected]) (gcc versio...
github.com
and that fixed the apt-get update.
rucky is still non operational unfortunately
Click to expand...
Click to collapse
Thank you for documenting your experience. I attempted to install the generic Kali kalifs but the HID interface was not detected. I assume due to lack of kernel
Are there any developments in kernels for oneplus 8 pro? The following link provides a kernel builder but it is unsuccessful:
GitHub - kimocoder/nethunter_kernel_oneplus8: NetHunter kernel for OnePlus 8 / 8 Pro
NetHunter kernel for OnePlus 8 / 8 Pro. Contribute to kimocoder/nethunter_kernel_oneplus8 development by creating an account on GitHub.
github.com
Go to the nethunter app in your phone
then click USB arsenal in the hamburger menu
Click the USB function drop down and select HID
Click ADB dropdown and select disable
Finally click the "set usb function" button down below
If it works you will get a "USB function set successfully" notification
now open rucky and type away
markmn123 said:
Figured i would chime in on this as i was able to get it up and running on my OP8P
i downgraded to 10.5.12 by flashing via fastboot from here...
Guide: Restore OnePlus 8/8 Pro Back to Stock OxygenOS Software
Guide to restore OnePlus 8/8 Pro back to the stock OxygenOS software after rooting, installing custom ROMs, etc by flashing the factory image (fastboot ROM).
www.thecustomdroid.com
Then go through the setup and root the device with magisk
once it was back to a "stock" rooted android 10 OS i installed the generic arm kalifs image via TWRP
booted back up and installed the nethunter store app apk, then nethunter apk.
NetHunter | Kali NetHunter App Store - Android App Repository for Penetraton Testing and Forensics
© 2010-2019 Kali Linux, F-Droid, and Contributors
store.nethunter.com
go to nethunter store first and install the nethunter terminal. once installed go back to the store and check for updates.
after the check open nethunter and it should do some more updates and you should be able to start the chroot
I have hid (rucky) and monitor mode working for internal wireless
BUT!
i did the OTA update to android 11 and rucky disappeared and sudo apt-get update no longer worked
but i found this post here
Temporary failure resolving 'http.kali.org' · Issue #913 · offensive-security/kali-nethunter
Device: OnePlus+ OS version Lollipop Output of cat /proc/version in adb shell or NetHunter Terminal: [email protected]:~# cat /proc/version Linux version 3.4.67-cyanogenmod-g399b32b ([email protected]) (gcc versio...
github.com
and that fixed the apt-get update.
rucky is still non operational unfortunately
Click to expand...
Click to collapse
going back to the top, have you tried to run your internal WIFI card on monitor mode and perform packets injection at the same time, did you get any results back as your wifi card supports injection mode..? do u have a custom kernel works for Nethunter embedded by enabling external Wifi cards, monitor mode support, packet injection tested).?
let me pls know if u go successfully thru this before, and what is ur best android OS you always prefer to use with Nethunter..?
Invincible-Man said:
going back to the top, have you tried to run your internal WIFI card on monitor mode and perform packets injection at the same time, did you get any results back as your wifi card supports injection mode..? do u have a custom kernel works for Nethunter embedded by enabling external Wifi cards, monitor mode support, packet injection tested).?
let me pls know if u go successfully thru this before, and what is ur best android OS you always prefer to use with
Click to expand...
Click to collapse
So i have monitor mode working. I have set it up as a custom command using the following
echo "4" > /sys/module/wlan/parameters/con_mode
the above is all that needs to be typed. i also have exec mode to run in background
now to stop monitor mode you need another custom command
ip link set wlan0 down && echo "0" > /sys/module/wlan/parameters/con_mode
wifi operations will return to normal however packet injection does not work. then again i have only tested on wifite. I have not tried aireplay-ng
also im reading that installing nexmon from the nethunter store may add injection but i am weary of flashing wifi firmware since i dont know how to back up the existing in case it does not work
markmn123 said:
So i have monitor mode working. I have set it up as a custom command using the following
echo "4" > /sys/module/wlan/parameters/con_mode
the above is all that needs to be typed. i also have exec mode to run in background
now to stop monitor mode you need another custom command
ip link set wlan0 down && echo "0" > /sys/module/wlan/parameters/con_mode
wifi operations will return to normal however packet injection does not work. then again i have only tested on wifite. I have not tried aireplay-ng
also im reading that installing nexmon from the nethunter store may add injection but i am weary of flashing wifi firmware since i dont know how to back up the existing in case it does not work
Click to expand...
Click to collapse
Thing like that needs some patches over the kernel build, unfortunately none of them available now to match with kernel vers 4.19, so the biggest wanted part still missing "injection packets" even the monitor mode is working by default or not.
However I did one for my OP8pro and I only was able to enable some external usb wireless which is I have"rt2800, mt7601uu" at least I can do airmon-ng and activate monitor mode to do wifi attacks successfully, but still probably we need something to be specially build for this marvelous device!!
How did you get the drivers for the rt2800 on there? ive been looking for a way to get rtl8812 & rtl8814 on mine but dont know how
markmn123 said:
How did you get the drivers for the rt2800 on there? ive been looking for a way to get rtl8812 & rtl8814 on mine but dont know how
Click to expand...
Click to collapse
They're all there by default, no big deal only you need to enable them one by one from menuconfig settings, then you ready to go with compiling kernel after!
Here's my NetHunter kernel for OnePlus 8 Pro OOS v.10 based on blu_spark kernel. You can compile it by yourself or just flash prepared archive from Releases.
GitHub - flypatriot/blu-spark_kernel_oneplus_sm8250: blu_spark NetHunter kernel for OnePlus 8/Pro
blu_spark NetHunter kernel for OnePlus 8/Pro. Contribute to flypatriot/blu-spark_kernel_oneplus_sm8250 development by creating an account on GitHub.
github.com
It is highly recommended to flash SystemRW_Script to have an ability to write to system_root.
After flashing the kernel you need to:
1. Copy 4.19.81-NetHunter folder from kernel archive (in modules/system_root/lib/modules) to android's /lib/modules.
2. Install NetHunter app and NetHunter Terminal from NetHunter Store.
3. Launch applications and give all needed permissions.
4. Install and start chroot.
5. Launch Android SU Terminal and enter commands:
mount -o remount,rw /
cp -sfr /data/data/com.offsec.nethunter/files/scripts/* /bin/
6. Copy folders from configs.zip to android's sdcard/nh_files.
7. Copy firmware files from firmware.zip to android's /etc/firmware/ and /vendor/firmware/
Hope you'll enjoy it.
flypatriot said:
Here's my NetHunter kernel for OnePlus 8 Pro OOS v.10 based on blu_spark kernel. You can compile it by yourself or just flash prepared archive from Releases.
https://github.com/flypatriot/blu-spark_kernel_oneplus_sm8250.
It is highly recommended to flash SystemRW_Script to have an ability to write to system_root.
After flashing the kernel you need to:
1. Copy 4.19.81-NetHunter folder from kernel archive (in modules/system_root/lib/modules) to android's /lib/modules.
2. Install NetHunter app and NetHunter Terminal from NetHunter Store.
3. Launch applications and give all needed permissions.
4. Install and start chroot.
5. Launch Android SU Terminal and enter commands:
mount -o remount,rw /
cp -sfr /data/data/com.offsec.nethunter/files/scripts/* /bin/
6. Copy folders from configs.zip to android's sdcard/nh_files.
7. Copy firmware files from firmware.zip to android's /etc/firmware/ and /vendor/firmware/
Hope you'll enjoy it.
Click to expand...
Click to collapse
it's better to include what features was added/enabled on this kernel..?
flypatriot said:
Here's my NetHunter kernel for OnePlus 8 Pro OOS v.10 based on blu_spark kernel. You can compile it by yourself or just flash prepared archive from Releases.
https://github.com/flypatriot/blu-spark_kernel_oneplus_sm8250.
It is highly recommended to flash SystemRW_Script to have an ability to write to system_root.
After flashing the kernel you need to:
1. Copy 4.19.81-NetHunter folder from kernel archive (in modules/system_root/lib/modules) to android's /lib/modules.
2. Install NetHunter app and NetHunter Terminal from NetHunter Store.
3. Launch applications and give all needed permissions.
4. Install and start chroot.
5. Launch Android SU Terminal and enter commands:
mount -o remount,rw /
cp -sfr /data/data/com.offsec.nethunter/files/scripts/* /bin/
6. Copy folders from configs.zip to android's sdcard/nh_files.
7. Copy firmware files from firmware.zip to android's /etc/firmware/ and /vendor/firmware/
Hope you'll enjoy it.
Click to expand...
Click to collapse
*EDIT*
Jumped ahead of myself before I found your repo. Excellent work! Cant wait to see what this thing is really capable of. Would love to mess around wit hbluetooth when it starts working
What features do you have working on the kernel?
The only thing i need to get working is Bluetooth (RFCOMM) and support for rtl8812au, rtl8188eus which work on this phone according to @kimocoder
I also have monitor mode on the internal wifi SoC but no injection. Is that possible?
flypatriot said:
Here's my NetHunter kernel for OnePlus 8 Pro OOS v.10 based on blu_spark kernel. You can compile it by yourself or just flash prepared archive from Releases.
https://github.com/flypatriot/blu-spark_kernel_oneplus_sm8250.
It is highly recommended to flash SystemRW_Script to have an ability to write to system_root.
After flashing the kernel you need to:
1. Copy 4.19.81-NetHunter folder from kernel archive (in modules/system_root/lib/modules) to android's /lib/modules.
2. Install NetHunter app and NetHunter Terminal from NetHunter Store.
3. Launch applications and give all needed permissions.
4. Install and start chroot.
5. Launch Android SU Terminal and enter commands:
mount -o remount,rw /
cp -sfr /data/data/com.offsec.nethunter/files/scripts/* /bin/
6. Copy folders from configs.zip to android's sdcard/nh_files.
7. Copy firmware files from firmware.zip to android's /etc/firmware/ and /vendor/firmware/
Hope you'll enjoy it.
Click to expand...
Click to collapse
Also source link isn't available
markmn123 said:
What features do you have working on the kernel?
The only thing i need to get working is Bluetooth (RFCOMM) and support for rtl8812au, rtl8188eus which work on this phone according to @kimocoder
I also have monitor mode on the internal wifi SoC but no injection. Is that possible?
Click to expand...
Click to collapse
Negative injection mode could not be presented on wlan0 since it's required some patches and I don't believe they're available for 4.19.81 kernel versions, however mon is already enabled by default and other features you add are enough to go ahead with nethunter.. Good job.. BTW the link for source you shared isn't available can you repost it again or you can drop the flashable.zip kernel itself let me test it on my phone first
Invincible-Man said:
it's better to include what features was added/enabled on this kernel..?
Click to expand...
Click to collapse
All features are listed in repo Readme.md
Invincible-Man said:
Also source link isn't available
Negative injection mode could not be presented on wlan0 since it's required some patches and I don't believe they're available for 4.19.81 kernel versions, however mon is already enabled by default and other features you add are enough to go ahead with nethunter.. Good job.. BTW the link for source you shared isn't available can you repost it again or you can drop the flashable.zip kernel itself let me test it on my phone first
Click to expand...
Click to collapse
Sorry for source links. It's really unavailable.
Plese try this one
GitHub - flypatriot/blu-spark_kernel_oneplus_sm8250: blu_spark NetHunter kernel for OnePlus 8/Pro
blu_spark NetHunter kernel for OnePlus 8/Pro. Contribute to flypatriot/blu-spark_kernel_oneplus_sm8250 development by creating an account on GitHub.
github.com
And you're quite right about internal wifi injection mode.
markmn123 said:
*EDIT*
Jumped ahead of myself before I found your repo. Excellent work! Cant wait to see what this thing is really capable of. Would love to mess around wit hbluetooth when it starts working
What features do you have working on the kernel?
The only thing i need to get working is Bluetooth (RFCOMM) and support for rtl8812au, rtl8188eus which work on this phone according to @kimocoder
I also have monitor mode on the internal wifi SoC but no injection. Is that possible?
Click to expand...
Click to collapse
Most of features were presented by @kimocoder. But unfortunately kernel from his repo didn't work for me. So I spent time to compile a new one.
flypatriot said:
Sorry for source links. It's really unavailable.
Plese try this one
GitHub - flypatriot/blu-spark_kernel_oneplus_sm8250: blu_spark NetHunter kernel for OnePlus 8/Pro
blu_spark NetHunter kernel for OnePlus 8/Pro. Contribute to flypatriot/blu-spark_kernel_oneplus_sm8250 development by creating an account on GitHub.
github.com
And you're quite right about internal wifi
Click to expand...
Click to collapse
flypatriot said:
btw I've done build my own nehunter kernel since last year almost based on elementalx kernel since this one has alot of good stuff in it ex. battery safer, gpu and cpu optimizations tho.. Can you also send me a flashable img or zip file to try this one as well..?
Click to expand...
Click to collapse
Check this one.
And can you share your kernel version just for testing.
flypatriot said:
Check this one.
And can you share your kernel version just for testing.
Click to expand...
Click to collapse
Currently im on OS10 kernel version 4.19.81
Invincible-Man said:
Currently im on OS10 kernel version 4.19.81
Click to expand...
Click to collapse
Mine is the same cause we don't have a normal working twrp for OOS 11.

Categories

Resources