1. adb push has to be done from PCForgive me for the ridiculous questions.
- Reboot into TWRP
- Copy fstab to /system_root/
Code:
adb push fstab.angler /sdcard/
adb shell "twrp mount /system_root && twrp remountrw /system_root && cp /sdcard/fstab.angler /system_root/"
1)Are these commands executed in TWRP?
- copy Nexmon libs over to /system/lib64/ from the nexmon.zip (not in TWRP):
Code:
adb push libnexmon* /sdcard/ && adb push nexutil /sdcard/
- and copy using androidsu terminal:
Code:
mount -o rw,remount / && cp /sdcard/libnexmonkali.so /system/lib64/kalilibnexmon.so && cp /sdcard/libnexmon.so /system/lib64/ && cp /sdcard/nexutil /system/xbin/ && chmod a+x /system/xbin/nexutil
2)How should I do the copying via android su if Nethunter is not installed yet?
For devices which have no space left on system: you need to copy those files before flashing NetHunter. I didn't have this problem, maybe due to GApps pico. Then use the following commands in TWRP:
Code:
twrp mount /system_root && twrp remountrw /system_root && cp /sdcard/libnexmonkali.so /system_root/system/lib64/kalilibnexmon.so && cp /sdcard/libnexmon.so /system_root/system/lib64/ && cp /sdcard/nexutil /system_root/system/xbin/ && chmod a+x /system_root/system/xbin/nexutil
3)This code is executed for those who have no space left?
4)We take the last Nethunter image from here https://www .kali.org/get-kali/#kali-mobile?
5)What is this Bootanimation TWRP flashes file for - https://www.androidfilehost.com /?fid=10763459528675571003. I didn't see this file used in the instructions
6)What this code gives us:
echo LD_PRELOAD=/system/lib64/kalilibnexmon.so
Do I need to enter the code in the kali terminal?
Thanks for answers. Well, I'll still switch to 8.1 android. The system itself is more stable. Nethanter worked fine on android 8.1 in terms of attacking wi-fi. What phone are you currently using for NH and have you had to modify the kernel. I'm leaning towards buying a raspberry pi but haven't decided yet.1. adb push has to be done from PC
2. Copying nexutil (after you pushed to the phoen) has to be done when android is running (at this point ROM, gapps and magisk is already installed so androidsu can be accessed with adb shell)
3. For people with no space left, everything is the same, except NetHunter will be flashed last.
4. Yes, latest version is uploaded to kali site
5. I think bootanimation flashes automatically or not?
6. export LD_PRELOAD has to be done once, when you open nh (kali) terminal, after you ran nexutil -m2 in androidsu, so the wlan0 will be in monitor mode.
I'll revise, I don't have that phone anymore, I couldn't test since 2 years
Nexus 6P is perfect, I have a slightly smaller Mi A3. I'm thinking about patching oreo in next month as you're not the first oneThanks for answers. Well, I'll still switch to 8.1 android. The system itself is more stable. Nethanter worked fine on android 8.1 in terms of attacking wi-fi. What phone are you currently using for NH and have you had to modify the kernel. I'm leaning towards buying a raspberry pi but haven't decided yet.
Yeah that TWRP version doesn't flash firmware files from the nh zip it seemsany support for RTL8188EUS (TL-WN725N) for this? it shows in lsusb but doesnt show as wlan1.
Edit: there's a kernel around the pages 8-10 for 8188eus, my lazy ass didn't bother looking twice.
Edit2: it still doesn't show up even after flashing with 8188eus kernel, am I doing smth wrong? Tried apt update upgrade full upgrade no changes.
Edit3: got it working, had to install Fox's MMM and then install wireless firmware for nethunter using that, now it works perfectly.
Just use the NH app custom command to put wlan1 to mon mode, it loves that wayWhen I use "airmon-ng start wlan1", the following prompt will appear
"found phy0 with no interfaces assigned, would you like to assign one to it?"
This also caused wifite to be unusable
how can i solve this problem?
(I tested nethunter-2022.4-angler-oreo-kalifs-full and nethunter-2023.1-angler-los-ten-kalifs-full)
Yes, it does work, but wifite still doesn't work.Just use the NH app custom command to put wlan1 to mon mode, it loves that way
i had that error with wifite also and i fixed it with typingYes, it does work, but wifite still doesn't work.
When I execute wifite, it will stay here consistently.
Thanks for your work.
Thanks, it does work.i had that error with wifite also and i fixed it with typing
wifite -i wlan1
or any other commands you want to add
Is it possible to combine everything in one zip like nethunter 8.1 version?You can also try the latest wifite, recently upgraded https://github.com/kimocoder/wifite2
sorry i was thinking about nethunter and everything in this thread so everything is as easy like in nethunter for 8.1 like this https://forum.xda-developers.com/t/...-for-the-huawei-nexus-6p-android-8-1.4080807/That wifite is not in the kali packages yet so can't be included. git clone that repo and run wifite.py
The only major difference should be the flashing vendor.squashfs. Anyway, i'll update oreo kernel at some point. What fails on LOS17.1?sorry i was thinking about nethunter and everything in this thread so everything is as easy like in nethunter for 8.1 like this https://forum.xda-developers.com/t/...-for-the-huawei-nexus-6p-android-8-1.4080807/
EDIT:
ive reflashed los 17.1 and your step like 20 times and its always something that gets wrong.. im not so good at this
Only user error and a lack of understanding at my part.The only major difference should be the flashing vendor.squashfs. Anyway, i'll update oreo kernel at some point. What fails on LOS17.1?
You're welcome! Yes rename to fw_bcmdhd.bin and place to /vendor/firmware (check if I'm wrong)Only user error and a lack of understanding at my part.
Got everything working exept capturing handshakes on wlan0.
It seems like deauth dont work like it should and kismet says some deauth error when i try to capture handshake.
I have setup diffrent hotspots that other devices i have can directly capture handshake without problem so somthing with wlan0, i read about som firmware for wlan0 (fw_bcmdhd.bin.nexmon) do this file also need to be transferd?
Thank you for your work!
i transferd this firmware https://gitlab.com/kalilinux/nethun...r-devices/-/tree/master/oreo/angler/nexmon-fwYou're welcome! Yes rename to fw_bcmdhd.bin and place to /vendor/firmware (check if I'm wrong)
Ah yes. Ignore, I'll get it soon@yesimxev Size of original vendor file posted before has size of 88.7MB but now the new file downloaded size is only 18.5 MB, i think this not the original file and only its name is replaced as vendor.squashfs.zip and one more thing I also try to replaced the file id and name in above link and try to download it with wget, but it throw 403 forbidden.
I've got it. Yes you could, it's for the nexmon firmware only. https://github.com/yesimxev/nethunter_files/raw/main/angler/vendor.squashfs.zipIm waiting too... LOL
EDIT: Its possible to install everything and leave this squasfs file to install later? I have my phone on TWRP screen for almost two days now waiting while im trying to find this squashfs flie. XDDD
fastboot flash vendor vendor.squashfs
adb push fstab.angler /sdcard/
adb shell "twrp mount /system_root && twrp remountrw /system_root && cp /sdcard/fstab.angler /system_root/"
twrp mount /system_root && twrp remountrw /system_root && cp /sdcard/libnexmonkali.so /system_root/system/lib64/kalilibnexmon.so && cp /sdcard/libnexmon.so /system_root/system/lib64/ && cp /sdcard/nexutil /system_root/system/xbin/ && chmod a+x /system_root/system/xbin/nexutil
adb push libnexmon* /sdcard/ && adb push nexutil /sdcard/
mount -o rw,remount / && cp /sdcard/libnexmonkali.so /system/lib64/kalilibnexmon.so && cp /sdcard/libnexmon.so /system/lib64/ && cp /sdcard/nexutil /system/xbin/ && chmod a+x /system/xbin/nexutil
twrp mount /system_root && twrp remountrw /system_root && cp /sdcard/libnexmonkali.so /system_root/system/lib64/kalilibnexmon.so && cp /sdcard/libnexmon.so /system_root/system/lib64/ && cp /sdcard/nexutil /system_root/system/xbin/ && chmod a+x /system_root/system/xbin/nexutil
nexutil -m2
export LD_PRELOAD=/system/lib64/kalilibnexmon.so
wget http://old.kali.org/kali/pool/main/i/iptables/iptables_1.6.2-1.1_arm64.deb
wget http://old.kali.org/kali/pool/main/i/iptables/libip4tc0_1.6.2-1.1_arm64.deb
wget http://old.kali.org/kali/pool/main/i/iptables/libip6tc0_1.6.2-1.1_arm64.deb
wget http://old.kali.org/kali/pool/main/i/iptables/libiptc0_1.6.2-1.1_arm64.deb
wget http://old.kali.org/kali/pool/main/i/iptables/libxtables12_1.6.2-1.1_arm64.deb
dpkg -i *.deb
apt-mark hold iptables
apt-mark hold libip4tc0
apt-mark hold libip6tc0
apt-mark hold libiptc0
apt-mark hold libxtables12
Ah yes. Ignore, I'll get it soon@yesimxev Size of original vendor file posted before has size of 88.7MB but now the new file downloaded size is only 18.5 MB, i think this not the original file and only its name is replaced as vendor.squashfs.zip and one more thing I also try to replaced the file id and name in above link and try to download it with wget, but it throw 403 forbidden.
adb push fstab.angler /sdcard/
adb shell "twrp mount /system_root && twrp remountrw /system_root && cp /sdcard/fstab.angler /system_root/"
I've got it. Yes you could, it's for the nexmon firmware only. https://github.com/yesimxev/nethunter_files/raw/main/angler/vendor.squashfs.zipIm waiting too... LOL
EDIT: Its possible to install everything and leave this squasfs file to install later? I have my phone on TWRP screen for almost two days now waiting while im trying to find this squashfs flie. XDDD