yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] riomenx:
I did the step like this:

reboot into recovery

download and unpack the fstab.zip archive into the phone's memory

in recovery, press Mount - select system, go back to the recovery menu

click advanced - file manager select the sdcard folder, find the fstab.angler file there, select it, click copy file, select the system root folder, and click the folder icon in the lower right corner.

return to the menu, select wipe - format data, wait for formatting, reboot into the system with the reboot button

wait for the system to load
[Nexus 6P Android Development] riomenx:
No one will help? Could this mean that the nexus has hardware problems (blod)
[Nexus 6P Android Development] riomenx:
The fastboot -w command helped
[Nexus 6P Android Development] riomenx:
Everything works perfectly. Everything worked out
[Nexus 6P Android Development] riomenx:
The instructions need to be revised. For a beginner, it will be very difficult to repeat the steps. Some steps are incorrectly described. For example, copying files. Everything can be done much easier.
[Nexus 6P Android Development] yesimxev:
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 Android Development] riomenx:
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.
[Nexus 6P Android Development] yesimxev:
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 one
[Nexus 6P Android Development] xer0her0:
any 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.
[Nexus 6P Android Development] yesimxev:
Yeah that TWRP version doesn't flash firmware files from the nh zip it seems
[Nexus 6P Android Development] U2tzJTNE:
When 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)
[Nexus 6P Android Development] yesimxev:
Just use the NH app custom command to put wlan1 to mon mode, it loves that way
[Nexus 6P Android Development] U2tzJTNE:
Yes, it does work, but wifite still doesn't work.

When I execute wifite, it will stay here consistently.

Thanks for your work.
[Nexus 6P Android Development] steso90:
i had that error with wifite also and i fixed it with typing

wifite -i wlan1

or any other commands you want to add
[Nexus 6P Android Development] U2tzJTNE:
Thanks, it does work.
[Nexus 6P Android Development] yesimxev:
You can also try the latest wifite, recently upgraded https://github.com/kimocoder/wifite2
[Nexus 6P Android Development] steso90:
Is it possible to combine everything in one zip like nethunter 8.1 version?

its really hard for me to understand where everything must be transferd.

Thank you!
[Nexus 6P Android Development] yesimxev:
That wifite is not in the kali packages yet so can't be included. git clone that repo and run wifite.py
[Nexus 6P Android Development] steso90:
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://xdaforums.com/t/rom-official-kali-nethunter-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
[Nexus 6P Android Development] yesimxev:
The only major difference should be the flashing vendor.squashfs. Anyway, i'll update oreo kernel at some point. What fails on LOS17.1?
[Nexus 6P Android Development] steso90:
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!
[Nexus 6P Android Development] yesimxev:
You're welcome! Yes rename to fw_bcmdhd.bin and place to /vendor/firmware (check if I'm wrong)
[Nexus 6P Android Development] steso90:
i transferd this firmware https://gitlab.com/kalilinux/nethun...r-devices/-/tree/master/oreo/angler/nexmon-fw

but it still wont capture handshakes.

It is good too monitor and deauth but wont capture handshakes.

If i go into kismet i can download handshakes but wifite wont capture
[Nexus 6P Android Development] steso90:
this kernel has USB OTG (w/ACA) but its only for android 7-8 so nexus 6p has capability for it but maybe its hard to implement to lineage kernel @yesimxev

https://xdaforums.com/t/kernel-nethunter-cypher-v3-0.4023075/
[Nexus 6P Android Development] anonveni:
Hi I'm new here at XDA platform,

The link provide for vendor image is not working and when I want to donwload file from Android File Host it shows an error stating "OOPS! no mirrors found." If someone please give me the link to "vendor.squashfs.zip".

My twrp shows fialed to mount '/Vendor'. Many Thanks in advance

- vendor image with patched fw for nexmon - https://www.androidfilehost.com/?fid=8889791610682949885
[Nexus 6P Android Development] yesimxev:
You can capture handshakes if the correct kalilibnexmon.so from this thread is exported when you launch a new kali terminal, as explained in the post. Note that EAPOL data may still be messed up
[Nexus 6P Android Development] yesimxev:
My kernel also supports OTG, or do you mean Y cable support? I checked a cheap usb-c hub, that accepts charge and works with adapter in the same time with another phone, same kernel version
[Nexus 6P Android Development] steso90:
i only have a kalilibnexmon from this thread and i export it or else i cant deauth or monitor so i dont know whats wrong
[Nexus 6P Android Development] steso90:
i tried two diffrent that only can do one at a time. I can start my wifi adapter but if i begin to charge it can only be seen in lsusb but not with iwconfig

EDIT

I tried same otg adapter with my sony 1 III and it works.

I dont have kali on that phone so i tried with a usb stick
[Nexus 6P Android Development] motbot:
yesimxev​

The squasfs mirror is down.

Do you mind uploading it please?
[Nexus 6P Android Development] yesimxev:
@motbot @steso90 @anonveni Got the mirror link/dir from my other file and replaced filename, voila https://mva2.androidfilehost.com/dl...8547/10620683726822056918/vendor.squashfs.zip
[Nexus 6P Android Development] anonveni:
@yesimxev Thanks Man🙏
[Nexus 6P Android Development] anonveni:
@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.
[Nexus 6P Android Development] yesimxev:
Ah yes. Ignore, I'll get it soon
[Nexus 6P Android Development] tiagojpavan:
Im 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
[Nexus 6P Android Development] yesimxev:
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.zip

@motbot @steso90 @anonveni
[Nexus 6P Android Development] tutumant:
crashing in duckhunter hid

what have I done wrong?
[Nexus 6P Android Development] anonveni:
@yesimxev Thanks alot!
[Nexus 6P Android Development] yesimxev:
Reinstall/update NH app through store and reboot should help
[Nexus 6P Android Development] anonveni:
@yesimxev There is an error in TWRP "Fialed to mount '/vendor''(No such device)"

I have just installed vendor sqashfs from fast boot. Is it ok to proceed with nethunter installation with this error?

And then after installing i will reinstall vendor.squashfs?
[Nexus 6P Android Development] yesimxev:
That's fine, btw you use FBE version TWRP right? Does it boot?
[Nexus 6P Android Development] anonveni:
Good Catch! You notice my mistake. Actually I'm using the newer version of twrp which doesn't support FBE, Now I reinstall twrp and repeating the whole process again. But it is now showing 2 vendor folders at mounting option. But it is now working and I'm reinstalling lineage and nethunter
[Nexus 6P Android Development] Qazianwar222:
Hey there 👋

Can you please check the broken links with no mirror found issue

I am unable to download some files 😔
[Nexus 6P Android Development] yesimxev:
Yes, ignore that please. I'm not sure why is it but it's ok
[Nexus 6P Android Development] anonveni:
@yesimxev After installation, updating and upgrading the nethunter and followed all steps to copy the nexmon files available in the correct location. There are no signs of wifi monitoring and bluetooth attack as both wlan0 and hci0 not detected. I'm not sure it is problem with kernel or what. Secondly Hid attacks are not available and i think that hid has some connection with monitor mode. 3rd thing is USB Arsenal option is not present from where i could enable the hid. If i have to install some other kernel kindly guide me briefly or if there is an other issue just point it. Many thanks!
[Nexus 6P Android Development] yesimxev:
See the link above https://github.com/yesimxev/nethunter_files/raw/main/angler/vendor.squashfs.zip
[Nexus 6P Android Development] yesimxev:
The kernel was not flashed properly. Did you flash nexus 6p zip or generic (lite)? So you did scroll down to nexus 6p on kali website?

Should be https://kali.download/nethunter-images/kali-2023.2/nethunter-2023.2-angler-los-ten-kalifs-full.zip

You can flash this kernel zip if you don't want to reflash the full zip https://www.androidfilehost.com/?fid=4279422670115730196
[Nexus 6P Android Development] Qazianwar222:
The radio, vendor and bootloader bro

I need those zip files or I will be needing to download the full stock rom I think?
[Nexus 6P Android Development] Qazianwar222:
These are the files which I need bro 😕
[Nexus 6P Android Development] yesimxev:
Looks like afh is dying 😅 yes unpack from full stock zip https://dl.google.com/dl/android/aosp/angler-opm7.181205.001-factory-b75ce068.zip
[Nexus 6P Android Development] Qazianwar222:
I am having a problem

When I try to execute wifite it gets stuck
[Nexus 6P Android Development] Qazianwar222:
I am on nexus 6p and another issue I am having is that I can't locate the con_mode file

The module directory doesn't have a folder naming wlan
[Nexus 6P Android Development] yesimxev:
Use monitor mode as I mention in the post. No need for custom command in NH app, that's for qcacld phones, this is nexmon bcm.

Also, when you enable nexutil, the exported in new terminal, use like wifite -i wlan0
[Nexus 6P Android Development] Qazianwar222:
Yup I got wifite working on wlan0

But this is what I am getting as an output

Is it working the way normal or I have bugs?
[Nexus 6P Android Development] Qazianwar222:
This is what I get when I try to airmon-ng start wlan0

Sorry for my bad English but is the nexus 6p capable of enabling monitor mode from its internal chipset?
[Nexus 6P Android Development] yesimxev:
No need for airmon-ng. See bottom of my post guide. It says how to start nexmon and do scripts
[Nexus 6P Android Development] anonveni:
@yesimxev

Considering your expertise and previous work in this field, I would be extremely grateful if you could create and upload a detailed video tutorial explaining the step-by-step process of how to play with monitor mode on nexus 6p and how to crack wifi in nexus 6p after installing all prerequisites and also for using Wifite in Nethunter on the Nexus 6P. This would greatly benefit not only myself but also many others who are eager to learn about this topic.

If possible, could you please cover all the necessary prerequisites, installation instructions, configuration settings, and demonstrate the actual usage of wifi tools and how to enable them in nethunter, hijacker, and Wifite in Nethunter on the Nexus 6P? Including any tips, tricks, or potential pitfalls to watch out for would be highly appreciated as well.

I have no doubt that a video tutorial from you would be immensely valuable and widely appreciated within the hacking and cybersecurity community.

Thank you in advance for considering my request. I eagerly await your response and, if possible, the creation of the video tutorial. Keep up the fantastic work!
[Nexus 6P Android Development] yesimxev:
I'd be very happy to do so. First things first, I have to finish my course, then port nexmon to another phone. As I sold the 6P. Then do a video with that
[Nexus 6P Android Development] Qazianwar222:
Thanks I reinstalled full nethunter img step by step and followed all instructions :) It worked for me. And injection is also working on wlan0

One last issue I am having is that the OTG of my OS is not working and the error I get is that "Charging connected device via USB" . I also can't switch the control from USB to my Device

It says "Can't switch"

I can see HID interface working but can't get the connection to do so

When I connect my phone to PC it works fine but When I use OTG its stuck on charging

I also checked my OTG on other phones it works

Maybe a Software Bug I think?
[Nexus 6P Android Development] Qazianwar222:
Thanks Thank you soooo soooo much for the Monitor Mode nexmon scripts

working :)
[Nexus 6P Android Development] yesimxev:
You're welcome! What's not working, I don't get it. OTG means adapter for external wifi/bt etc. HID is always enabled, so you can try duckhunter with a simple STRING hello (when eg. notepad is running). It should work out of the box. No need to switch android usb mode
[Nexus 6P Android Development] Qazianwar222:
My Bad HID is surely working Sorry for my Bad english

The problem is that every time when I try to use a OTG connector to get my USB or External wifi Adapter

It just charges the USB or External wifi adapter but not executes it

I am sending the Screenshots what I am having as an issue
[Nexus 6P Android Development] Qazianwar222:
My phone does not know whats connected to it. It just gets charged by my phone 😅
[Nexus 6P Android Development] yesimxev:
That's fine it will show that as your phone powers the adapter. Anyway, does iwconfig wlan1 doesn't show any devices?

Then show me results of

lsusb -t

and

ls -alh /system/etc/firmware
[Nexus 6P Android Development] Qazianwar222:
Ok sure
[Nexus 6P Android Development] Qazianwar222:
This is what i get when i type these commands
[Nexus 6P Android Development] Qazianwar222:
The oputup is same even if i connect a wireless adapter or usb to OTG

And if i unplug the adapter or USB and let the OTG remain their empty

Still I get the same output
[Nexus 6P Android Development] Qazianwar222:
If i dont connect OTG to my phone then I am having no output
[Nexus 6P Android Development] yesimxev:
I see the screenshot. No firmwares flashed. Some twrp version fails to do so. You can extract from your zip: copy boot-patcher/system/etc/firmware to /system/etc/

You may need to mount -o rw,remount / before copying

Also show me uname -a
[Nexus 6P Android Development] Qazianwar222:
From the Kali nethunter Zip or lineageOs?
[Nexus 6P Android Development] yesimxev:
The NH zip
[Nexus 6P Android Development] Qazianwar222:
OK and then reboot right?
[Nexus 6P Android Development] Qazianwar222:
I am unable to copy paste in root directories

I also tried giving full permisions to the folders i wanted to modify

But I just cant copy paste or modify anything

I also used adb shell but still in vain

Tried many root explorers done everything but no progress

I am using magisk as my root
[Nexus 6P Android Development] yesimxev:
So you got the firmware folder unpacked.

adb push firmware /sdcard/

adb shell

su

mount -o rw,remount /

cp -r /sdcard/firmware /system/etc/
[Nexus 6P Android Development] Qazianwar222:
I moved the firmware folder to the directory and reinstalled nethunter but still I am having the otg issue it just charges my phone
[Nexus 6P Android Development] motbot:
@yesimxev for some reason the nexmon_draco.zip mirror seems to be down.

​
[Nexus 6P Android Development] yesimxev:
I'll upload to github soon
[Nexus 6P Android Development] yesimxev:
Hmm. Try the following:

dmesg -c (ignore the output)

Plug in wireless adapter to otg, then otg to phone.

Show me the output of new dmesg command.

Which adapter is it btw?
[Nexus 6P Android Development] Qazianwar222:
tried everything the device is rooted with magisk but it does'nt allow me to write or modify the system files and folders to be honest

Can I replace LOS with PE and follow all the steps ? except for the fstab
[Nexus 6P Android Development] yesimxev:
Even fstab is needed i believe. Yes and kernel works with both. What's your error? Also, what adapter? You didn't show dmesg error. PE will have the same issue
[Nexus 6P Android Development] Qazianwar222:
My error is that I do all the steps but when I try to use external WiFi adapter it doesn't mount it even I f I plug a USB in the phone using a OTG adapter it doesn't show anything in the file manager

I have checked the OTG adapter on other type C supported phones it works but when I plug i t in nexus 6p I get nothing

Second when after doing everything as the thread speaks I got magisk but why can't I perform root operations

Like modify copy paste system files or files from sdcard to root directory

I did the fstab step and I got stuck on google screen 😅

One last thing In PE when I try to cp nexutil to system_root/system/xbin there is no xbin folder and it can't find the directory

I can't just directly create a folder
[Nexus 6P Android Development] yesimxev:
You need to mount -o rw,remount / or /system (depending on rom) in androidsu. Then you can modify system. No dmesg, I can't see what the phone sees of the adapter. Is it a supported adapter?
[Nexus 6P Android Development] Qazianwar222:
Sorry I am again flashing it back with all the steps mentioned as it got stuck on google screen

I copied the command with permission chmod a+x as written above but nexutil gave the error no xbin?
[Nexus 6P Android Development] Qazianwar222:
Wait I think something else is wrong

The USB doesn't gets mounted even in the TWRP?

Is this a hardware issue?

Cuz ADB is working perfectly I don't think so

Maybe I should change the OTG adapter
[Nexus 6P Android Development] Qazianwar222:
And thanks again thank you soon much @yesimxev thanks for replying to every problem I had
[Nexus 6P Android Development] yesimxev:
That may be the otg then. Is a simple usb drive not showing up in android with that otg?
[Nexus 6P Android Development] Qazianwar222:
Nothing not even the wireless adapter nor usb
[Nexus 6P Android Development] Qazianwar222:
The otg is not working but i'll give it one last shot and check it with another OTG
[Nexus 6P Android Development] yesimxev:
Yes that must be the problem. You can check usb drive with another phone or the 6p without NetHunter.
[Nexus 6P Android Development] Qazianwar222:
Yup I'll check and let you know ASAP
[Nexus 6P Android Development] motbot:
Thanks, let me know!
[Nexus 6P Android Development] motbot:
yesimxev​

hey, any update?
[Nexus 6P Android Development] Qazianwar222:
Yup It works with a wired OTG connection but I didn't used another OTG adapter but I guess the problem was the OTG
[Nexus 6P Android Development] Qazianwar222:
Another thing is that I downgraded the iptables for MANA wireless toolkit

Now I am unable to update packages seems that the hold on them is making me not able to get updates

I tried to use apt-get install update -f but still I needed to unhold them in order to make the repo work
[Nexus 6P Android Development] Qazianwar222:
And lastly I can I get your sources.list file I kinda bricked the file 🥲 only one repo is working and getting updated
[Nexus 6P Android Development] Qazianwar222:
Sorry for the late response

Was on a weeding ceremony of one of my friends 😅

Apologizes...
[Nexus 6P Android Development] flipChungus:
the vendor & radio images under prerequisites have mirrors that are down
[Nexus 6P Android Development] motbot:
what
[Nexus 6P Android Development] yesimxev:
If you hold iptables, the rest of the packages should be able to update, show me the error when doing apt upgrade / dist-upgrade / full-upgrade
[Nexus 6P Android Development] yesimxev:
I couldn't do that zip yet, however just realised you can find libnexmonkali here: https://github.com/dracode/libnexmonkali/blob/libnl-support/Nexus6P_Oreo/libnexmonkali.so <- this one has the channel -1 issue solved

libnexmon if you want to run airodump/hijacker

nexmon/builds/arm64-v8a/libnexmon.so at channel-select · dracode/nexmon

The C-based Firmware Patching Framework for Broadcom/Cypress WiFi Chips that enables Monitor Mode, Frame Injection and much more - dracode/nexmon

github.com

Nexutil can be downloaded from: https://gitlab.com/kalilinux/nethun...-/blob/master/oreo/angler/system/xbin/nexutil

Stock files:

https://dl.google.com/dl/android/aosp/angler-opm7.181205.001-factory-b75ce068.zip
[Nexus 6P Android Development] FreshGaro:
So it's been a while, is the EAPOL data in the monitor mode capture code still not working or did someone find a fix?

Also if I want to test the newer dracode libkalinexmon.so which locations on the phone do I have to overwrite the old version?
[Nexus 6P Android Development] yesimxev:
Nope, some say it works on Oreo 8.1, with the same files.. No evidence seen though. Just put wherever you'd like, usually I put in /lib64 or /system/lib64.

You'll export LD_PRELOAD in kali NH terminal so it just needs to be accessible. Hijacker uses his own libnexmon.so however it may fail, it would be great if you could test, as I don't have that device anymore. https://ava6.androidfilehost.com/dl...459528675578971/Hijacker-aarch64-yesimxev.apk

I'm planning to get a nexus 6p later this year, trying to learn porting nexmon now, then I could check if there was anything wrong in the original patch