yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] dr4g0n3r$:
I see interesting. Thank you so much for your help, I'll try that :)
[Nexus 6P Android Development] Qazianwar222:
No prob 😉
[Nexus 6P Android Development] Slicc98:
I saw that this can also be put on LineageOS 17.1. I thought I should do that since 17.1 was on Android 10, but I ran into problems.

What would be better...to continue trying to get in on the lineage OS or flash back to stock 8.1?

Also, the initial directions say to put NH and Magisk on a USB drive. Will TWRP read an external device?

EDIT: I went ahead and flashed back to stock. I didn't put Nethunter and Magisk on an external drive I put Nethunter on the root memory after I set up everything. I already had magisk installed. I'm guessing this is why after flashing Nethunter through TWRP it restarts right into recovery.
[Nexus 6P Android Development] Slicc98:
Where is the older zip? If not, where are the terminal and Nethunter apts located?
[Nexus 6P Android Development] Qazianwar222:
Lineage is is better I hope

The stock os force reboots when you plug an external WiFi adapter to it think

Or I saw some people quoting this issue don't know if its fixed for now but I recommend using Los 17.1 over the stock

Yes you can use external drive and mount usb then you can install the specific files

Follow the steps from the start you should have push the zip to phone's /sdcard not /root
[Nexus 6P Android Development] Qazianwar222:
check here https://kali.download/ and if you didn't find the zip

Just extract the zip to an empty folder and delete the nethunter terminal and nethunter apk in /data/app
[Nexus 6P Android Development] Slicc98:
I assume you've gotten L.OS 17.1 to work with NH? Because I tried that and still got nothing. Ive reflashed the stock ron about 10 times and it's always a new problem. First the phone wouldn't download apps, then android services kept crashing during setup. I finally got those done and I get the ROM set up, then to back to TWRP for magisk. Then I flash the NetHunter zip and restart..then restart...right back to bootloader. Over and over. I'm not sure what has happened.

If you have it with LOS, can you walk me through EXACTLY how you did it? I'm about sick of this.
[Nexus 6P Android Development] Qazianwar222:
Bro did you did all steps as mentioned in the Los thread?
[Nexus 6P Android Development] Slicc98:
Most definitely. That's what I started with.
[Nexus 6P Android Development] Slicc98:
I'm assuming Kali 2023b?
[Nexus 6P Android Development] yesimxev:
Yes it's up now, all the images have working apps
[Nexus 6P Android Development] akili999:
hello,yesimxev！

When I upgraded with the latest nethunter2023.3 version, metaspolit version 6.3.31, but when I entered msfconsole, it stuck there and the battery kept heating and draining power. bluebinder for new versions of Bluetooth does not start. This version is terrible. The msfconsole issue also happened with my OnePlus 7pro，hope you can solved it
[Nexus 6P Android Development] Qazianwar222:
Yes try it 🤧
[Nexus 6P Android Development] Qazianwar222:
Hey did you managed to make bluebinder to work on nexus 6p?

I tried a hundred times but no progress

Still the nethunter app can't recognize the internal radio as hci0

IDK where I'm wrong but this is the only thing I am unable to make it work?

The output of ls -al /dev/binderfs is 0 total and nothing inside it also /dev/binder in Kali chroot is also empty?

@yesimxev a little help would be helpful enough 😞
[Nexus 6P Android Development] akili999:
Yes, I tried to use built-in Bluetooth or external Bluetooth on nexus6p, but both failed, encountered the same problem as you, I think the official should update this bug, there must be something wrong. Can your metasploit log in normally? My phone will heat up when I log in after the upgrade
[Nexus 6P Android Development] Qazianwar222:
I am not on the 2023.3b update yet

Will upgrade today 🤧
[Nexus 6P Android Development] akili999:
After a series of installations, there are still errors, whats wrong?
[Nexus 6P Android Development] akili999:
Is there an error when you try metasploit,msfconsle after update?just tell me please
[Nexus 6P Android Development] Qazianwar222:
OK I'll update you
[Nexus 6P Android Development] akili999:
I used the Factory Images for Nexus 6p!

8.1.0 (OPM7.181205.001, Dec 2018)
[Nexus 6P Android Development] Qazianwar222:
Do you have the chroot fs zip of previous nethunter zips for angler?
[Nexus 6P Android Development] akili999:
yes,i have.if you do it ,tell me piease
[Nexus 6P Android Development] Qazianwar222:
Replace the new zip with the previous zip file present in the nethunter angler Los zip naming kalifs-arm64-full.tar.xz and let me know what happened
[Nexus 6P Android Development] yesimxev:
Show me your kernel version please. I've recently made a new kernel version to include bluebinder support for oreo. And do you have no errors when running msfconsole?
[Nexus 6P Android Development] akili999:
the kernel incloud in 2023.3b，3.10.108，make march 23 2023
[Nexus 6P Android Development] yesimxev:
What happens when you enter bluebinder into kali terminal?
[Nexus 6P Android Development] sahin310:
Hello,

To use bluebinder GLIB_UNIX_SIGNALS (g_unix_signal_add) GLib >= 2.32 is required. This version requires kernel >= 3.6.

To use the BT_UART_H5 driver for newer Bluetooth chips, a Linux kernel >= 3.7 is required

True or Sh** ?
[Nexus 6P Android Development] yesimxev:
That's an old kernel. I added the new kernel in June, there may be a mistake there either on my side or kali images build side. Can you check if this installs the correct version:

kernel-nethunter-20230605_083822-angler-oreo.zip | by yesimxev for Nexus 6P

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

www.androidfilehost.com
[Nexus 6P Android Development] Qazianwar222:
@yesimxev

I have used the kernel you quoted sir

Please it would be a favor if you help me get out from the Bluebinder issue

Here is what I'm getting
[Nexus 6P Android Development] yesimxev:
Show me your kernel version: uname -a

Show me what happens if you enter this to NH terminal: bluebinder
[Nexus 6P Android Development] Qazianwar222:
Yup sure

This is what I get
[Nexus 6P Android Development] yesimxev:
Ok it seems this happens on los17.1 too, we are trying to debug with @Midd741

I think Nexus 6P has a different path or bt service name
[Nexus 6P Android Development] klofisch:
Hi there,

After getting Nethunter not really working with Los17, I setup Oreo and installed Nethunter (2023.4) as mentioned in the first post. But even now nexutil can not be found. Hell...what I am doing wrong?
[Nexus 6P Android Development] w1f1shower:
Same

Followed all the instructions as mentioned, but whichever version I use, I cannot make nexmon to work. Waiting for the clearest instructions for one of them....
[Nexus 6P Android Development] w1f1shower:
Also got this problem with wifite as it's not loading

When I plug in external adapter, airodump and airmon is able to use it, but even with adapter wifite isn't loading
[Nexus 6P Android Development] klofisch:
You could try wifite -i wlan0 but I doubt that it will work
[Nexus 6P Android Development] klofisch:
nexutil is in place but doesn't really work
[Nexus 6P Android Development] w1f1shower:
Yeah, wifite -i wlan1 works, thanks!

However, wlan0 is not working even if I replace fw_bcmdhd.bin with fw_bcmdhd.bin.nexmon

Waitng for "user-friendly" installation tutorial😴
[Nexus 6P Android Development] wawaasd:
Could you send it againCould you send it again
[Nexus 6P Android Development] 808d0l3:
This DOES NOT work anymore. Do not follow this tutorial.
[Nexus 6P Android Development] 808d0l3:
Well great. I spoke to soon. I finally got it working then magisk prompted for an update and now i am stuck on the Kali boot screen (with the Logo and the fire)
[Nexus 6P Android Development] netmule:
I have the standard issue Nexus 6P with Oreo. I've flashed with the two following zips: nethunter-2023.4-angler-oreo-kalifs-full (1).zip and kernel-nethunter-20230605_083822-angler-oreo.zip. Neither one of these images that I've flashed seem to allow my NetHunter install to see the internal bluetooth device. Bluebinder does not start-- dbus and bluetooth service will start. Any new advice on this and how to fix? I'd like to test with the Bluetooth Arsenal kit. Regards
[Nexus 6P Android Development] w1f1shower:
Soooo, guys, I got nexmon to work today

It just needs to follow instructions correctly😅

(Thanks Yesimxev btw)

Here's the instructions for those like me:

1. Download zip file from here: https://github.com/yesimxev/nethunter_files/raw/main/nexmon_draco.zip

2. Extract all the files and send them to sdcard

Code:

adb push libnexmon.so /sdcard/ && adb push libnexmonkali.so /sdcard/ && adb push nexutil /sdcard/

3. Send them to /system/lib64/, chmod a+x to nexutil AND rename "libnexmonkali.so" -> "kalilibnexmon.so"

You could do it with (*chroot up, Kali shell*):

Code:

mount -o rw,remount /system && 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

(upd: tc method and root shell is not working, I forgot to mention)

4. Download fw_bcmdhd.bin.nexmon from here: https://gitlab.com/kalilinux/nethun...nexmon-fw/fw_bcmdhd.bin.nexmon?ref_type=heads

5. Place it to the vendor/firmware/

6. Delete fw_bcmdhd.bin

7. Rename "fw_bcmdhd.bin.nexmon" -> "fw_bcmdhd.bin"

8. Reboot

9. *Chroot (upd: and WI-FI) must be turned on* In NetHunter Terminal app open Root Shell and type:

Code:

nexutil -m2

10. Then open Kali Shell and type:

Code:

export LD_PRELOAD=/system/lib64/kalilibnexmon.so

(I forgot to type "export", so that's why it wasnt working for me😅

😅)

then everything should work

You could use wifite wlan0 or airodump-ng wlan0 for example

(Yesimxev said: "Injection works, but captured handshake is not fully valid")
[Nexus 6P Android Development] 808d0l3:
Oddly enough the only thing that works for me is by going wifite - wlan0
[Nexus 6P Android Development] 808d0l3:
Could you explain how to do this the easiest of ways like explain to me like a child lol can I do this prior to re-flashing nethunter ? I tried with tte above way and either couldn't figure it out or I'm just dumb. I'll be honest, I don't really understand the directions provided for Nexmon to work I spent 4 hours on it yesterday. Can't I just modify these files prior to flashing Nethunter to simply things without all this none-sense? Or Can't they update the download on the Nethunter Site? I noticed recently i got the largest Kernel when i Reflashed it, but a few weeks ago I would get the older one from oSmosis and not Yesimvex.

I should note the only thing that got even external wifi to start working in wifite was wifite -i wlan0 with an Alfa AWUS036NHA with an AR0271 chip which we all know is pretty much compatible with anything linux related. Does Yesimvex recommend a certain firmware install for AR9271 chips i tried usually apt-get install atheros-firwmare and athk9 etc. I have tried so many wifi cards and know how to install them and it just doesn't take. Also an error related to phy0.

I still was unable to get airmon-ng to work nor Nexmon which is why I bough this phone. I read the documentation from Seemo and it doesnt appear as though Nexmon works past version 8 of Oreo meaning, 8.1 which is required for nethunter rom wouldn't allow Nexmon to work which explains why it crashes continuously if you launch it and why were having to go through rigamaroll to get it working which I do appreciate all the developers hardwork. I tested this theory by using only Oreo 8.0 and nexmon through the app worked.
[Nexus 6P Android Development] w1f1shower:
Sorry for not replying, my Nexus 6p got BLoD after I tried to restore from backup and erased EFS😓.

I meant about Nexmon working from terminal, not the app. I've also tried to make it work on Nexus 5 but nothing worked out.

Sorry, forgot to mention, that you need to turn WI-FI on before typing "nexutil -m2" in root shell😅
[Nexus 6P Android Development] Qazianwar222:
S

I don't know of trying it on Oreo

The most stable I got the phone was on LineageOS and I am still using it

Can I ask what's your problem now?

And sorry I cant help you with a BLOD phone
[Nexus 6P Android Development] Qazianwar222:
I am very much trying to get my hands on a nexus 5 but still I can't find the phone in my country with a good physical condition
[Nexus 6P Android Development] w1f1shower:
Allthough, Nexmon works great on Nexus 5 through terminal on LOS 14.1! But it says "segmentation fault" every time after I finish airodump-ng wlan0😅.
[Nexus 6P Android Development] w1f1shower:
I've already replaced motherboard and battery (because after I erased EFS, left the phone in recovery mode, plugged the charger and put under my pillow for 6 hours (don't do that guys😅😅) , it was almost exploaded)

Also got lucky after seller sent me 128gb motherboard instead of 64gb😁

I'd like to use the LOS version, but I cannot change MAC address on it. I know about MAC randomization option, but there's none in WI-FI settings☹️. I wrote about that with screenshots attached here: https://xdaforums.com/t/rom-officia...huawei-nexus-6p-los17-1.4079087/post-89306327

I also forgot how to place kalilibnexmon stuff to the system/lib64/ through root shell, it says "/system/lib64/kalilibnexmon.so Read-only file system". I've tried chmod them to 777, but the result is the same😕

upd: I remember, that I need to do it through kali terminal, now it's replaced successfully
[Nexus 6P Android Development] w1f1shower:
Also there must be a thread or something about nexus 5 nethunter stuff. All I saw about it, is to do it through Binkybear's NethunterOS, but the "traditional" way works better on LOS even with nexmon support and stuff (but not msfconsole and HeX:cry:)
[Nexus 6P Android Development] Qazianwar222:
Yup but the only issue I'm facing on my nexus 6p is that I am unable to use l2ping using internal HCI0 host and also can't initiate the rfcomm_scan

So I would love to try it on a BCM4339 chipset

Also the nougat architecture is supported with InternalBlue https://github.com/seemoo-lab/internalblue

So I think it is considered most stable device

Hope so _______🤧
[Nexus 6P Android Development] Qazianwar222:
Have you tried to replace the libs with the dracode version on nexus 5

There are prebuilt libs and you can export LD_PRELOAD to these ones and check them how they work?

GitHub - RoninNada/libnexmonkali

Contribute to RoninNada/libnexmonkali development by creating an account on GitHub.

github.com

Or if you're on a custom ROM you can make install them in the Kali terminal environment and then export them to check how they work
[Nexus 6P Android Development] Qazianwar222:
The nethunterOS is old and it doesn't contain newly patched drivers for external drivers

The only thing you can play with is HID attacks and wlan0mon
[Nexus 6P Android Development] w1f1shower:
Okay, thanks! I'll try it in a couple days

The other thing is I've tested nexmon from draco's zip and while I run airodump, It sometimes says nex.driver.io:error, but airodump keeps working. Same as I run aireplay, it sends some deauth packets and then says nex.driver.io:error, but keeps running. strange kinda🥴
[Nexus 6P Android Development] w1f1shower:
I've read the description, I think, it might be my problem with driver.io error, but I don't have any problems with handshakes and deauth on Nexus 5, and I've compared default and draco's nexmon files for Nexus 6P, so the draco's version has a delay between packets but there's still a problem with driver error😓
[Nexus 6P Android Development] Qazianwar222:
Yup 5 is better with handshakes but 6p has malformed data
[Nexus 6P Android Development] lappIand:
May I ask what the difference is between the Huawei Nexus 6P and the Google Nexus 6P if any.

Thank you!
[Nexus 6P Android Development] netsquirrel:
Nexus 6P - 'zip file is corrupt' when flashing Kali installation package - Need Help

Hi,

I'm having some trouble with my Nexus 6P and I hope someone here can help me out.

Issue Description: I successfully unlocked the bootloader on my Nexus 6P and flashed TWRP recovery. Then, I downloaded the installation package from the official Kali website(https://kali.download/nethunter-images/kali-2024.1/nethunter-2024.1-angler-oreo-kalifs-full.zip), intending to flash it via TWRP. However, every time I attempt to flash the zip file, I receive the error message "zip file is corrupt."

What I've Tried So Far:

Re-downloaded the installation package: I have downloaded the installation package from the Kali website multiple times and verified the integrity of the files using MD5 and SHA256 checksum tools to ensure they are not corrupted.

Tried different transfer methods: I have used different USB cables and USB ports, and even tried transferring the file using adb sideload to my phone, but the issue persists.

Cleared storage: I used TWRP’s “Advanced Wipe” feature to clear Dalvik/ART Cache, Cache, and Data, but the problem still remains.

Updated TWRP: I downloaded and flashed the latest version of TWRP (twrp-3.7.0_9-0), but I still get the "zip file is corrupt" error.

Environment Information:

Device: Nexus 6P

Recovery Tool: TWRP (latest version)

Operating System: Currently a clean system with only TWRP flashed

Installation Package: Nexus 6P-specific installation package downloaded from the official Kali website

Request for Help: Has anyone encountered a similar issue? Do you have any other suggestions or solutions?

Thank you very much for your time and assistance!
[Nexus 6P Android Development] Qazianwar222:
Flash magisk and then flash nethunter zip in the module section
[Nexus 6P Android Development] CrazyBun67:
Try these commands in case you face a corrupted file. Even if the checksum is correct, sometimes the file is not formatted properly while downloading , so it can result in a corrupted with TRWP .

zip -F file.zip --out New.zip ( create new one and keep the orginal file unchanged)

zip -F file.zip or zip -FF file.zip
[Nexus 6P Android Development] bdr127:
Same thing. Huawei manufactured it with Google's branding.
[Nexus 6P Android Development] w1f1shower:
Hey, guys! Haven't been here for a while. Are there any updates about nexmon handshakes or bluebinder fix?

I also have troubles with deauthentication using nexmon. After ~15 seconds it starts to say "nex.driver.io error", but it continues to deauthenticate device.

For bluebinder I tried any combinations with airplane mod and bluetooth turned on/off, but nothing worked:(

It whould be nice to switch to LOS version, but it's so unstable, even camera app crashes from time to time and there's no MAC changing option in wifi settings, maybe because of it's not enabled in recommended build
[Nexus 6P Android Development] Qazianwar222:
@yesimxev any news reviving nexmon for nexus 6p
[Nexus 6P Android Development] Qazianwar222:
Also bluebinder is also faulty for nexus 6p (LOS) and the stock one doesn't work also IDK because of the missing android.hardware.bluetooth@1.0-service file I guess, the stock firmware also doesn't include it

Bluebinder is working but the attacks aren't

Like I can't use l2ping it just says permission denied

Same goes for rfcomm and can't get a successful connection to a Bluetooth device

@yesimxev @Midd741 any concerns might help us 😊
[Nexus 6P Android Development] yesimxev:
No time for nexmon on 6p yet. Bluebinder can work if you extract and older bluetooth.service file from earlier LOS17. Someone did it above
[Nexus 6P Android Development] Qazianwar222:
Bluebinder working but bluez tools don't work like l2ping and rfcomm

For nexmon can you give me a hint from where I start to make my own patch? Or debug the previous one?
[Nexus 6P Android Development] netsquirrel:
Following your advice to flash Magisk first and then flash the NetHunter zip in the module section worked perfectly! Thanks!
[Nexus 6P Android Development] sandbar759:
Hi community,

I have the exact same issue with the Nexus 6P, and installing the "nethunter-2024.2-angler-oreo-kalifs-full.zip" via Magisk module with newest Android Vanilla image works fine.

But is this the current best solution to install the full NetHunter? Or is this the method to install it "on top of Android", as described in the kali docs or is it then the "NetHunter Lite" installation?

Thank you very much!

EDIT:

As @CrazyBun67 has wrote, the "nethunter-2024.2-angler-oreo-kalifs-full.zip" from kali.org is not compatible with minzip in TWRP (3.7.0_9-0), so writing a new ZIP file worked!

Error is also written in recovery.log from TWRP, just for the record:
[Nexus 6P Android Development] Qazianwar222:
Ca

Can I have a screenshot so I can see the problem In a more detailed view to understand it better?
[Nexus 6P Android Development] sandbar759:
Hi @Qazianwar222 , sure, I hope it will help!

Check again the checksum, looks good:

Also ZIP integrity check looks OK:
[Nexus 6P Android Development] Qazianwar222:
Which TWRP version are you using and have you flashed magisk?
[Nexus 6P Android Development] Qazianwar222:
Flash install magisk and then install nethunter.zip as a module
[Nexus 6P Android Development] sandbar759:
Hi @Qazianwar222 , the newest version for Nexus 6P (twrp-3.7.0_9-0-angler.img).

Flashing magisk and install nethunter as module in Magisk works of course, but thats not the topic because the ZIP structure of the kali nethunter files are not correct, as seen in the screenshots.
[Nexus 6P Android Development] Qazianwar222:
Are you using LineageOs or Stock?
[Nexus 6P Android Development] Qazianwar222:
Stock Oreo would be stable for the latest TWRP on website available

But for LOS you have to use the FBE version
[Nexus 6P Android Development] botter1:
WHen i try downloading and installing it through twrp it states zip validation failed and is not installing nethunter. i checked the checksum and information through my search and everything matches.
[Nexus 6P Android Development] botter1:
This is the same problem I am facing as well. The Kali Linux Nethunter for oreo on nexus 6p looks corrupted
[Nexus 6P Android Development] botter1:
@Re4son
[Nexus 6P Android Development] rasanco:
I have tried unzipping it and recompressing it with zip and it works
[Nexus 6P Android Development] rasanco:
I leave you nethunter 2024.2 for Oreo 8.1 that works and does not give errors​
[Nexus 6P Android Development] rasanco:
I leave you nethunter 2024.2 for Oreo 8.1. It works for me. The problem I have is when I do an apt-get upgrade that error appears
[Nexus 6P Android Development] kAh00t:
Hello!

Remember me? I hope you are well!

A lot has happened since we spoke this time last year, I landed a security gig doing entry level auditing for a UK certification, and passed my CEH not long ago, with ECSA and OSCP to hopefully be completed by the end of this year :) I also host a podcast with pentest friend Andy Gill ^_^

I also took your suggestion of buying a DLINK DIR-615 to have around as a vulnerable router for my lab - this was good suggestion! I also use it for a home vulnerable lab ;)

You gave me loads of great advice on getting a working build with my 6P before, since then I have not used my Nethunter phone much as I had issues getting some wireless cards working - is this new build behaving nicer?

In Nexus6P news - i have a USB-C to MicroUsb adapter, a Y splitter microusb cable to power the wireless cards separate to using the phone battery, and 3 cards with chipsets that should work, I am looking forward to experimenting!

Good to see you are still helping this community out!

Fuzz_sh