yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] 사박호경:
Hi @yesimxev. I want to express my appreciation for all your efforts regarding Nethunter.

I recently installed Nethunter 2023.2 on my Nexus 6P device (LOS 17.1), and everything seems to be working fine, including the monitor mode and packet injection of the internal WLAN interface.

However, I encountered an issue with the monitor mode not functioning properly due to the channel -1 problem when I installed the libraries from https://www.androidfilehost.com/?fid=8889791610682951480. Fortunately, the channel -1 issue was resolved after I switched to a different library from https://github.com/dracode/libnexmonkali/blob/libnl-support/Nexus6P_Oreo/libnexmonkali.so.

Unfortunately, when I attempt to capture an 802.11 handshake (EAPOL), Wireshark indicates that the packet is malformed, and aircrack also confirms the absence of a handshake in the packet. I recall seeing a similar issue in another post. Is there another version of the library available that addresses the handshake problem?
[Nexus 6P Android Development] yesimxev:
You're very welcome. Unfortunately EAPOL is the only TODO, however someone confirmed it works on Oreo. I hardly doubt, I'll revise the nexmon firmware later this year, see if it helps. In the meantime, can you share what can be seen in wireshark? Modify your AP MAC before pasting here. Unfortunately I don't have that device anymore, but I'll get one
[Nexus 6P Android Development] 사박호경:
Thank you for your fast response, @yesimxev. Anyway, is an ordinary situation that captured EAPOL packets are abnormal isn't it?

I have attached a pcap file that I recently captured. The file contains Deauth and EAPOL packets.

In the current status, should I move Oreo to capture EAPOL packets? Will it work if I reinstall Nethunter following the instructions provided at https://xdaforums.com/t/rom-official-kali-nethunter-for-the-huawei-nexus-6p-android-8-1.4080807/?
[Nexus 6P Android Development] Qazianwar222:
I got my python3 package broken and most of my data is in the phone and I am far away from my PC so can I flash the nethunter zip again in the twrp

Will it fix the issue ?
[Nexus 6P Android Development] yesimxev:
apt-get purge python3
apt-get install python3

Should solve. But yes reflashing nethunter zip would also solve it.
[Nexus 6P Android Development] Qazianwar222:
Solved by flashing nethunter thanks 🙂

But The nethunter package doesn't include the mitmf initially so we have to install it manually

But the requirements don't come to be very well working

Like I can't install or build wheel for pycrypto and the MITM framework doesn't work anymore I guess

When I apt-get install it

It says unable to locate the package mitmf

Any solution?
[Nexus 6P Android Development] yesimxev:
I'll add to the app/repo manually. It's deprecated so it won't be easy. For now, you can try https://github.com/byt3bl33d3r/MITMf
[Nexus 6P Android Development] Qazianwar222:
I cloned the GitHub repo but can't install it as I said above the pip requirements are not satisfied to make it work as it's a way old project so any other ideas to make it work?
[Nexus 6P Android Development] Qazianwar222:
I followed all the steps when installing it but the problem is that the pip requirements are not satisfied and it's an old project not being updated for years

So I can't make it able to work on newer versions of pip

And options?

It doesn't comes with the nethunter zip preinstalled
[Nexus 6P Android Development] steso90:
I Have same problem as you
[Nexus 6P Android Development] steso90:
found this mana but get errors when trying to install but its maybe fixable errors?

GitHub - sensepost/mana: *DEPRECATED* mana toolkit for wifi rogue AP attacks and MitM

*DEPRECATED* mana toolkit for wifi rogue AP attacks and MitM - sensepost/mana

github.com
[Nexus 6P Android Development] Qazianwar222:
Yes downgrade the iptables using the commands from the official thread and paste these commands to make it work & you're good to go

apt-get update

apt-get --yes install build-essential pkg-config git libnl-genl-3-dev libssl-dev

cd /tmp

git clone https://github.com/sensepost/hostapd-mana

cd hostapd-mana

make -C hostapd

mv /tmp/hostapd-mana/hostapd/ /usr/lib/mana-toolkit

cd /usr/share/

git clone --depth 1 https://github.com/sensepost/mana.git

mv mana mana-toolkit

mkdir /etc/mana-toolkit/

mv mana-toolkit/run-mana/conf/*.conf /etc/mana-toolkit/
[Nexus 6P Android Development] yesimxev:
Yes I'll add the downgrade as a workaround for now to the nh app. Btw both scripts are deprecated for years, looking for a replacement
[Nexus 6P Android Development] Qazianwar222:
Thanks for the reply @yesimxev just give a shot on hijacker and the EAOPL packets issue and this device more than a miracle 🤧
[Nexus 6P Android Development] tiagojpavan:
A: See what I'm talking about, Son? Do a search and solve your problem without bother the others.

B: Ohhhh, I see dad. Thanks for the advice.

It´s just what I´m looking for. LOL

Thanks @yesimxev
[Nexus 6P Android Development] steso90:
can you add support for RTL8812BU?

@yesimxev
[Nexus 6P Android Development] yesimxev:
I don't have a patch for that yet
[Nexus 6P Android Development] Qazianwar222:
@yesimxev 👋

I ran into a issue again

There is no internal Bluetooth or hci0 not found in Bluetooth arsenal

So how can I make it work?
[Nexus 6P Android Development] Qazianwar222:
Hci0 also not showing any output in kali terminal
[Nexus 6P Android Development] yesimxev:
Can you start bluebinder? Also this is the kernel installed? https://www.androidfilehost.com/?fid=4279422670115730196
[Nexus 6P Android Development] Qazianwar222:
Yes I can start bluebinder and one more thing is that after flashing the kernel zip the android FS is unmountable to RW

I tried mount -o rw,remount / -w and still nothing

The firmware file is the one I manually copied before flashing nethunter in the /system/etc but all the folders and drivers contain permissions to 640 and I can't also change the permissions as the system is read only

So I have to go through the whole process again or is there any solution?
[Nexus 6P Android Development] yesimxev:
Ok so start bluebinder and refresh status in kali app. You will see hci0 then. Use androidsu for “mount -o rw,remount /“
[Nexus 6P Android Development] Qazianwar222:
I know I have to mount the system using Android su but still no luck

I started the dbus , Bluetooth service but I can't use bluebinder and can't select the hci0

No interfaces found?

And also I am using the kernel from androidfilehost released on 23rd of march
[Nexus 6P Android Development] Qazianwar222:
I can't really mount system to RW permissions

I think the Android 10 doesn't allow it?

I tried to use ADB but it also doesn't work

Lastly I tried in recovery mode using twrp mount but still in vain
[Nexus 6P Android Development] Qazianwar222:
Sorry my bad I also can't start bluebinder it was a mistake I thought it was the dbus service you're asking

I can start dbus and Bluetooth service but not bluebinder or the interface
[Nexus 6P Android Development] steso90:
Me to can't use internal Bluetooth and not start dbus

@yesimxev
[Nexus 6P Android Development] Qazianwar222:
Any options It's working in Oreo but not in LOS 17.1 ?

@yesimxev
[Nexus 6P Android Development] tiagojpavan:
@yesimxev Hey, how are you?

Look, I have the strange USB problem here, and Im pretty sure thats the problem isnt hardware, because I already bought all pieces of hardware for my phone, trying to rule out hardware issues one by one.

First I changed the USB conection board for a new one, thinking the problem maybe be the old and very used USB port, but no.

So I bought a new mainboard, which by the way I found a little rare version of 128gb, thinking that the problem could be in the original old mainboard, but I was wrong again.

Finally, I bought the flex cable that connects the USB connection board to the mainboard, following a tip from a post on a Russian forum, and guess what? It also didn't work...

I bought a new otg adapter also, but theres no way to make OTG works. Even the option that appears on the phone when you attach it to pc I cant change.

Already flashed and reflashed NH, LOS, Android, kernels, get back to Oreo, try again...

The strange is that the HID work's.

Dont know what happens here.
[Nexus 6P Android Development] yesimxev:
I'm ok, i missed something, what doesn't work for you?
[Nexus 6P Android Development] tiagojpavan:
Everything related to OTG and the USB connection between the phone and the PC, except HID, because the 'HID Attack' and 'DuckHunter HID' options in the NetHunter app are working.

Practically the same thing that is happening with @Qazianwar222, but here with me I am absolutely certain that it is not a hardware problem, because I have already changed practically all the hardware. LOL
[Nexus 6P Android Development] Qazianwar222:
Hey There 🙂

I knew someone would come up the same same problem as I did so can you tell me you're on custom rom or the stock one?
[Nexus 6P Android Development] Qazianwar222:
@tiagojpavan I fixed my issue by using this in Android Terminal (Lineage OS)

su

sm set-force-adoptable true

And you're good to go after a restart

But I haven't tried it on Oreo and never faced a USB otg unable to connect problem or charging the connected device problem in stock

How ever I hope it helps ❣️
[Nexus 6P Android Development] yesimxev:
I think I had this with usb root debugging enabled
[Nexus 6P Android Development] Qazianwar222:
A new release? 🧐
[Nexus 6P Android Development] Qazianwar222:
Bluetooth arsenal still doesn't work and the new nethunter terminal is the worst case scenario
[Nexus 6P Android Development] yesimxev:
Wait a few days, install images are being rebuilt so you can have a fresh install
[Nexus 6P Android Development] Qazianwar222:
Yup sure 😊

Another issue to quote is that when I used to install nethunter zip from TWRP recovery

In the install logs it says "copying firmware to /system/etc but after a successful Boot up no files present not even the firmware folder

IDK what else files are not extracted to their fortunate locations
[Nexus 6P Android Development] yesimxev:
That happens on nexus 6p but not sure why. Probably thanks to TWRP mount, fstab or so. Since that's the only FBE twrp, there's not much we can do. Install nethunter magisk firmware module or copy by hand from zip/boot-patcher/system/etc/firmware
[Nexus 6P Android Development] JamesAub:
Hi there. So i've just got 17.1 flashed onto my 6P and i'm trying to install Magisk from the github instructions here: https://topjohnwu.github.io/Magisk/install.html

But it isnt making sense to me as its talking about using the app to patch images we need to extract from our ROM, rather than something you flash through TWRP.

Am i missing something?
[Nexus 6P Android Development] Bender2403:
Hello

A question, I would like to see the rom here https://xdaforums.com/t/rom-10-0-angler-pixel-experience-aosp-2020-12-22.3970525/page-68

With kali nethunter use I have a Nexus 6p is that possible or is it better to use 17.1 find the instructions on the first page a bit confusing, especially if you read the thread further 😉😂 How do I make it the WiFi and Bluetooth work? And sorry because of my english I used a translator app
[Nexus 6P Android Development] Qazianwar222:
LOS 17.1 is better , I've tried it on PE but some errors took place and I reverted back to the ROM supported by the community

You can use a translator app and use the instructions above in the thread

Or can I ask what's confusing you?
[Nexus 6P Android Development] Bender2403:
Thanks for the quick answer, I'm confused about the kernel, which one do I take because there is a page of kali where there are kernels for the 6p and here in the thread there are also felt 1000 kernels which is the right one or the one with the most functions and runs stably. Off topic, why don't you create a rom where everything is in it, do you know that?
[Nexus 6P Android Development] Qazianwar222:
Kali nethunter is a ROM overlay so it can't be made paired with a custom ROM from its initials

Have you flashed the LOS 17.1 and also magisk?

The kernel is a part of the full LOS nethunter zip around 2 GB of size with a chroot full FS

You can download the zip here

https://kali.download/nethunter-images/kali-2023.3/nethunter-2023.3-angler-los-ten-kalifs-full.zip

Before flashing make sure you've rooted your phone with magisk and copied the firmware folder to /system/etc
[Nexus 6P Android Development] Bender2403:
Do I still need the stock stuff from the original image and the firmware, do you mean the vendor or the other or both sry because of all the questions I've flashed a rom a few times but never anything like that
[Nexus 6P Android Development] Qazianwar222:
You just need the latest bootloader vendor and radio images

Flash them then flash twrp and format everything there

Then by using adb push Los 17.1 zip and gapps to device memory and flash them

Then reboot and do setup

Then enable debugging from developers option and reboot to bootloader and flash squash.vendor

From the bootloader boot to twrp and there do the fstab commands

And format user data or factory reset using twrp

Next is to boot android and do setup, install magisk apk and boot into twrp recovery

Flash magisk latest zip

Reboot

Check root permissions if root available then connect to PC and do the nexmon commands using adb

Extract the nethunter zip and you'll find a folder naming "firmware" in /boot-patcher/system/etc/

Copy this folder to /system/etc/

And give permissions chmod a+x

Next boot to twrp and install the nethunter zip and after install update the nethunter app in nethunter store and you're good to go
[Nexus 6P Android Development] Bender2403:
Thank you for the great explanation
[Nexus 6P Android Development] Qazianwar222:
No prob brother ❣️
[Nexus 6P Android Development] Bender2403:
Moin so far it works but I'm just hanging on the Nexmon Commands Do they have to be fixed in the twrp?

I don't mean the commands of post 1 under Notes and Update
[Nexus 6P Android Development] Bender2403:
Has done it worked great thanks again for that
[Nexus 6P Android Development] Qazianwar222:
Type commands on your android os not in twrp

Type

adb push nexutil /sdcard

adb push libnexmonkali.so /sdcard

adb push libnexmon.so /sdcard

adb shell

su

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

No need to run commands in twrp and you have to do this step before installing nethunter zip
[Nexus 6P Android Development] Qazianwar222:
Oh glad to hear 🤧
[Nexus 6P Android Development] Bender2403:
I still have a question, after I set android for the first time, I boot into the bootloader to flash vendor, then into the recovery to remove the encryption, wouldn't it make more sense the other way around? And I flash magisk before the nethunter image, the nethunter image does not overwrite the boot image adapted by magisk and thus removes root, as I said, I have already done normal rom flashing, but this is new and mega interesting, so my questions

And another noob question, wouldn't it theoretically be possible to install the Nexus clean with nethunter, then make a backup of the system via twrp and distribute it?
[Nexus 6P Android Development] Bender2403:
In the terminal that is installed at go, I think, right?
[Nexus 6P Android Development] yesimxev:
Nexmon firmware still needs flashing with vendor squashfs
[Nexus 6P Android Development] Qazianwar222:
In adb on your computer not on mobile terminal application and before installing nethunter zip
[Nexus 6P Android Development] Qazianwar222:
The modified vendor includes the nexmon firmware to run monitor mode in your android

We can't rw to vendor partition because of the new android 10 architecture (having systemless root)

So its an easy way to make through the process

And IDK about the nexus full twrp backup and flash to the new phones

I think we can't backup some is files or partitions a clean flash would do just fine without bricking your android

So its kinda lengthy process but is valid by the case 😜
[Nexus 6P Android Development] Figeko:
Hi all!

I can complete the entire steps and start my Nexus 6P with Kali NetHunter, but after open the NetHunter app and Grant permissions request.

After that the app show me a messagge box that says the miss some permissions, i try the steps different time and check in the chat if there is something similar to my issue but i didn't find any information.

I see that chroot permission miss, so i try to execute

Nexmon is finally working with injection in Kali Chroot , although EAPOL data is still not (or malformed) in the captures.

But i don't understand how put nexmon into /system/lib64/ without use TWRP, the folder is in read-only mode with the system on.
[Nexus 6P Android Development] Qazianwar222:
The

The answer is to put nexmon using adb and also before flashing nethunter zip
[Nexus 6P Android Development] Figeko:
I have put nexmon before from adb, but i check the command in the " news & updates" section and i see that the command for the "no space" issue is the same that must be run before flash the nethunter zip in the standard steps.
[Nexus 6P Android Development] UsPdSr:
Have you tested if the external Wlan adapter are working?

So, you did not have to apply the fstab file in TWRP?
[Nexus 6P Android Development] yesimxev:
I can confirm PE10 TWRP with FBE works with both LOS17 & PE10
[Nexus 6P Android Development] yesimxev:
Have you flashed stock vendor before installing any ROM?
[Nexus 6P Android Development] Nick_Speed:
Yes, all of my external Adapters work out of the box.

And no, i dont use the fstab file.

But i dont installed LOS. With pixeldust and ExtendedUI OFFICIAL all went fine.

There is an AOSP Build also, but this one i havent tested yet.
[Nexus 6P Android Development] UsPdSr:
Even if he has, it is not that big of a deal otherwise.

The duplicated vendor is somehow kind of confusing.

I saw this by another user, who flashed Nethunter on his Nexus device as well.But I think he didn't report back with a solution unfortunately. :/

---------- Post added at 02:31 PM ---------- Previous post was at 02:29 PM ----------

Thanks for the answer.

I downloaded both roms and the necessary recovery.

Perhaps I give it tonight another try, when I have time.
[Nexus 6P Android Development] UsPdSr:
Anyway.

ExtendedUi works like a charme.

I had problems after flashing the Nethunter installer and afterward the kernel.

I lost root, but this is most likely caused by the FBE, or perhaps the rom.

It's a threat to see those kernel working so flawlessly.

Again huge compliments to the entire Nethunter team! :)

[MENTION=8262629]yesimxev[/MENTION] [MENTION=4207992]Re4son[/MENTION] [MENTION=3823682]kimocoder[/MENTION]
[Nexus 6P Android Development] UsPdSr:
I wanted to add 'Pixel Dust' to the compatible roms, which can be used with this kernel.

Though the same issue with the installation of the apps remains.

As well, as the additional installation of Magisk.

I have never used Kex and was wondering, like my previous speaker, how the old, but reliable vnc function can be used.

I didn't found it in the Nethunter app and as I use my own Vnc app, but had problems get it to work. :/

I tried to compile the Pixel Dust kernel for Nethunter, but I have problems with Re4son's kernel builder.

I am used to the build scripts and don't know how I should implement the patches.

Mainly the one for the Realtek ac chipsets.

Sorry, for Ot.
[Nexus 6P Android Development] Nick_Speed:
For the kex, you have to start it one time in the Manager, it asks you about a Password and then you can start it. Uncheck the local Button and also set in your chroot per terminal in the vnc.conf localhost Access to false so you can Connect with ultravnc Client Port 5901. IT works great!
[Nexus 6P Android Development] Shabbirkt:
can anyone please explain the installation process a bit precise. i'm getting into bootloop after trying for first boot. just Google comes up and again bootloader., Nothing else.
[Nexus 6P Android Development] Nick_Speed:
Just Look a little above,i described the Installation for some ten Roms. Did you do this steps? The Rom without nethunter boots fine?
[Nexus 6P Android Development] Shabbirkt:
Yes brother, lineage 17.1 is booting up perfect. And as far as your post is concerned about installing on Extended UI and PixelDust, I get to boot after installing Nethunter but apps not appearing and i cannot find any apps.
[Nexus 6P Android Development] Nick_Speed:
So you have your Rom with the nethunter ZIP flashed and running? Thats good. Like i wrote then you have to extract the apks manualy from the zip File.

---------- Post added at 08:06 PM ---------- Previous post was at 08:05 PM ----------

Bei Sure you have magisk Up and running
[Nexus 6P Android Development] Shabbirkt:
yes brother. but what about LOS ??? i'm facing issues with it.
[Nexus 6P Android Development] Nick_Speed:
What issues exactly?
[Nexus 6P Android Development] UsPdSr:
Beside the annoying forced encryption and the regarding usage of a compatible FBE recovery build of Twrp, which need endlessly to boot up by the way, couldn't I detect any major or even minor problems with the new release.

I am not a particular fan of LineageOS, never was, but [MENTION=4207992]Re4son[/MENTION] hit it with this kernel definitely one wide over the fence. *gg*

For future reference -

Statments like "facing issues'" aren't particular information sources.

I do normally not respond to such posts at all, but _if_ there are actually problems, you should provide logcats, dmesg or adb outputs.

Otherwise nobody can help you. ;)

Many heaps

edit.

I wanted to underline the above message.

I waited a long time and two Nexus 6P for these releases.

In the meantime did I try to help and supported several user all over the Nethunter related kernel releases on XDA over 3 years [no bragging, just fyi!].

It would be a shame to see this thread overrun with statments like above, or dumb talk in which degree whatever.

This phone is an old timer with huge hardware issues and the user who use it, didn't run into Blod/battery or complete meltdown failure yet, or are just Nexus addicts and massive fanbois ^^

With a reference to post from developer like [MENTION=8262629]yesimxev[/MENTION], [MENTION=4207992]Re4son[/MENTION] and [MENTION=3823682]kimocoder[/MENTION], who are undoubtedly pros in various areas (kernel development, wireless technology, network, pen-testing..), with limited resources like time, energy and the graciousness of giving a crap^^(scnr), does it go (hopefully) without saying that every user behaves, provides the very easy to obtain, above mentioned, log reports and don't start with such nonsense, if someone "could hack a(sic!) wifi", "my gf's facebook" or any other of these kind of dumb requests.

I hope we can try to treasure this amazing work for some time longer..

With best wishes

UsPdSr
[Nexus 6P Android Development] dubedollars:
Does monitor mode work? Couldn't get it running on the nh rom over los17.1 . When I type lsusb it shows my ralink wifi adapter but I get an error with ifconfig and it doesn't show up. Just did a fresh install of pe 10 (amazing rom from the 5 minutes I had setting it up) hoping I'll be able to get my adapter into monitor mode. Is there a repo for the ralink drivers or is the magisk module suffice?