yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] UsPdSr:
[MENTION=8262629]yesimxev[/MENTION]

Is it important?

My old setup (Nougat) even supported the second revision of one of the silver Alfa.

But I applaud your enthusiasm. :good:

---------- Post added at 08:50 PM ---------- Previous post was at 08:36 PM ----------

Sry for Ot, but [MENTION=8262629]yesimxev[/MENTION]

Did you guys noticed the issues with Nexmon and Hammerhead.Neither with stock nor custom rom, does it work by default.

A bit feather-headed to remove all the kernel builds at once.. :/
[Nexus 6P Android Development] DrupadSachania:
Hey, this is great work. But the Oreo Download link seems to be down.
[Nexus 6P Android Development] Trapdroid:
Broken download. Is this available anywhere else?

The download fails after about 20 secs or 1 gb download. Does anyone have a copy to spare? Or perhaps a mirror. I even tried the torrent file but it stalled immediately.

Thanks for the work, I freed up a 6p especially for this.
[Nexus 6P Android Development] UsPdSr:
I uploaded the official Angler-Los ten image from Offensive Security to mega.nz

Here you go >>

https://mega.nz/file/NIJERCBI#2IF0iO5EkhylUr7pNxzLrkBO035JI8uFXSI7SKqk_4w

Have fun

Edit

I downloaded from the supposedly unstable links one time via P2P and twice via the direct link over the day(s) .No issues whatsoever... Maybe the recent releases of Kali have overcrowded the section for the time being and it came to some transfer issues.

I will upload the Oreo image as well.

Just a precaution.

If some Nethunter devs or other project member not want the links in the thread, will I remove them of course instantly.

Here the Official Image for Android 8.1 Stock by Offensive

https://mega.nz/file/sMxX2LBQ#jZ5t_G3RJOZUbnnNPYGMVLV9b9yRwb06Tn2AiEn0SO8

I encountered 0 problems by obtaining the images so far.

;)
[Nexus 6P Android Development] yesimxev:
For all those who suffered because of my booboo. To install fstab.angler, do:

adb push fstab.angler /sdcard/
adb shell "twrp mount /system_root && twrp remountrw /system_root && cp /sdcard/fstab.angler /system_root/"

Then continue with the step format /data

I'll revise the instructions soon
[Nexus 6P Android Development] UsPdSr:
After getting a new device, I deceided against my likeness, to try Lineage and noticed that updates over the Nethunter store didn't go through.

Did I format at the wrong point or skipped a step in the installation process, or is this a known issue amongst other users as well..?
[Nexus 6P Android Development] hakimarx:
help cannot detect busybox and cannot update/ add metapackage

[IMG="bussy box"]https://i.postimg.cc/vTPnW1s9/Screenshot-20200817-231235-Net-Hunter.png[/IMG]

[IMG="cannot update add metapackage"]https://i.postimg.cc/yd1WvVnT/Screenshot-20200814-103346-Net-Hunter-Terminal.png[/IMG]

help.. My nethunter cannot detect busybox, i was install manually, but in system information nor show bussybox. and i cannot update/ add metapackage?

How to solve it
[Nexus 6P Android Development] yesimxev:
Do you have the phone unencrypted? Also, have you installed the store from the web, then installed the apps?
[Nexus 6P Android Development] yesimxev:
If you have flashed in the correct way, busybox should show up. Have you updated to the latest NH app from the NH store?

As for the upgrade, do

apt-get update
apt-get install -f
apt-get dist-upgrade

That kalifs has the libgcc9-dev comflict as it was in the kali repository, it's solved since
[Nexus 6P Android Development] hakimarx:
1. Yes, im install from NH Store. I install all apps, manually. Because after flash nethunter-2020.2-pre3-angler-los-ten-kalifs-full.zip, no apps NH show in my home. So i decide to install bussybox and other apps manual. But bussy box not showing in menu nethunter. How to solve it?

2. apt-get update and apt-get install -f running smooth. But when i run: apt-get dist-upgrade, it show error like this pict
[Nexus 6P Android Development] yesimxev:
1. No need to install busybox manually, that's not installed as an app. That's why NH can't detect after.

2. Try apt-get remove libgcc9-dev then dist-upgrade. When all is ready, you can install libgcc-9-dev back if I remember properly
[Nexus 6P Android Development] UsPdSr:
Of course,the device is unencrypted.

I extracted the apps from the installer and installed them one by one.

Afterwards did I try to update 1 or 2 over the Nethunter Store, which wasn't possible.

[MENTION=1988342]hakimarx[/MENTION]

Try

[MENTION=8262629]yesimxev[/MENTION]

If you remember, this problem appeared a couple of months ago before.

This was a temporary fix, but maybe you can use it for now.
[Nexus 6P Android Development] yesimxev:
Use the latest 2020.3 image, updating the thread soon https://images.kali.org/nethunter/nethunter-2020.3-angler-los-ten-kalifs-full.zip
[Nexus 6P Android Development] UsPdSr:
I encountered the same issue on the Nexus 5 as well.

I recently purchased a OnePlus 6, but hadn't time to fully set up Nethunter onto it..

What should I do in those cases?

Best regards
[Nexus 6P Android Development] yesimxev:
It shouldn't be an issue anymore, it was fixed the day after the Kali bug report was filed. The thing is, that 2020.2 image had the said fs already. Now since 2020.3 is out, or you can build a new kalifs and it won't appear
[Nexus 6P Android Development] UsPdSr:
I did.

With the installer from the repo.Just a few days ago..

On the 6p.
[Nexus 6P Android Development] UsPdSr:
To wrap it up..

I flashed the full chroot including the kernel onto my Nexus 6p and encountered the apt issue again.

I could solve it, with the following command
[Nexus 6P Android Development] yesimxev:
I might have missed something, I built a kalifs less than a month ago and flashed that, but I don't remember this issue. The thing is, after resolving the conflict with one of the above methods, reinstall of gcc-9-dev succeeds
[Nexus 6P Android Development] SaemNaem66:
Please help

I have an factory unlocked International nexus 6p model # H1512 it’s running nougut I literally just took it out the box today what do I need to do to get this thing up and running on this?
[Nexus 6P Android Development] yesimxev:
The best you can do, is to follow the instructions.

Unlock the bootloader (see the link below), then all the steps are provided in the post (above)

https://xdaforums.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928/amp/
[Nexus 6P Android Development] crashnova:
i get the same error. have you found a solution?
[Nexus 6P Android Development] yesimxev:
[

Having some difficulties so forgot to edit the main post. Use command

adb push fstab.angler /sdcard/
adb shell "twrp mount /system_root && twrp remountrw /system_root && cp /sdcard/fstab.angler /system_root/"

As the destination is /
[Nexus 6P Android Development] UsPdSr:
I wanted to give you guys a heads up, that the issue is still on-going.

as well as

isn't doable either.

+

,

+

..again from the beginning until you have updated, upgraded and cleaned up the whole chroot installation.

I had my fair share of many attempts to help in Nethunter github/gitlab repository out and after countless attempts to register in kali's 80's chaos computer club like forum was nearly impossible, do I think that giving notice here fulfills my "due diligence"*.

Many heaps

PS

*Of course will I try to help on Xda out in the according Kali related threads and offer support.

Gladly via PM (as long as the person is polite and don't thinking of making the (very hilarious) mistake asking, if I could "h4xx0r somebody's gf's MySpace site", or such amusing question if I could help out in giving advice regarding carding" won't this change in the near future neither. ;)
[Nexus 6P Android Development] sinfulwayz831:
, Iu ,
[Nexus 6P Android Development] Vigorian:
For people who whant use it, its like, we flashed android 10 on Toaster, Toaster starts...

but does not heat up, for heating wee need a patch, maybe in the future, but we are not sure.

And now seriously, internal monitor not supported, Usb arsenal not working,installation extreamly bugged,and no patches,

this release destroy the whole point of using Nexus 6p, instead we can use it oneplus it support everyng except of packet injection.

it's not even alpha, it's something earlier than alpha.

Any way thanks to developers, but you should write at the beginning of the topic in red text that a lot of things don't work.

I spent a lot of time installing, and I didn't get what I want, and disappointed.

For users, don't waste your time installing it won't work fine.
[Nexus 6P Android Development] yesimxev:
I'm sorry to disappoint you. You are right that monitor mode is not mentioned in the first post. Altough it's been patched in the last few days by [MENTION=298251]draco42[/MENTION]. I'll upload that so you can have fun with it. Please note some stuff which is using different ioctl calls might still not work, but I can easily inject and capture a handshake! Other than that, your USB arsenal issue is an RTFM as kernels under 4.x does need patch which enables hidg0 hidg1 and uses DriveDroid for mass storage (all working on 6P). I'll update the whole thing in the following days to clarify the flashing process and monitor mode
[Nexus 6P Android Development] Vigorian:
HI [MENTION=8262629]yesimxev[/MENTION], i just installed you new update

https://dl.xda-cdn.com/5/1/0/9/4/0/5/Screenshot_2.jpg?key=f4oA4wfpHvjgnYfaF6uutg&ts=1601781137

but noticed some errors, if i run nexutil -m2 i get:

https://dl.xda-cdn.com/5/1/0/9/4/1/5/Screenshot_3.png?key=72wAiviEmqAAv5P7nzVJtg&ts=1601783036

also i looked in /system/lib64/ no kalilibnexmon.so visible.

i have only used external adapter on my oneplus, and have not much experience with nexmon, and i have question, should i manually install nexmon?

also my kali chroot not updated, and used how you provided.

i have looked in to vendor.squashfs, only fw_bcmdhd.bin changed, also no kalilibnexmon.so

Maybe i can use this one? https://gitlab.com/kalilinux/nethun...ices/-/tree/patch-yesimxev/oreo/angler/system

or need a new patched?

also i have noticed possible typo: fastboot flash vendor.squashfs should be: fastboot flash vendor vendor.squashfs right?

Thanks.
[Nexus 6P Android Development] yesimxev:
You're right about vendor missing from command. Can't see first pic so please paste text error here.

Oh forgot to mention that libnexmon has to be copied manually to /system/lib64. Use the ones in the zip, I haven't pushed them yet
[Nexus 6P Android Development] Vigorian:
Oops sorry, on first pic that busybox are from nethunter, and on second nexutil command not found.
[Nexus 6P Android Development] yesimxev:
Are you running nexutil in androidsu window? If yes, you need to manually copy nexmon too to /system/xbin/

Used to be copied there on Android 8.1 by NH installer.

I'll add the instructions tonight to make the tutorial complete. :)

I created a custom command for nexutil as it's only needed once, but export in Kali terminal needs to be ran in every newly opened window
[Nexus 6P Android Development] Vigorian:
i have a noob question, if i do adb shell "twrp mount /system_root && twrp remountrw /system_root && cp /sdcard/nexmon/kalilibfakeioctl.so /system_root/system/xbin/" i get output that not enough space on device, if i try sudo cp -v i get its read only partition, what do you think is the best copy method? :)

and I have a big request, I completely understand that we have 3.10 kernel, and if the kernel structure hasn't changed much to appy HID patch if its possible,

i love the Usb Arsenal, Some time i even reinstall windows-linux whith it, or use some scripts very comfortably. i know DriveDroid but if we have already built in nethunter app its nice.

Thanks.
[Nexus 6P Android Development] yesimxev:
lib files has to be copied to (system_root in twrp)/system/lib64 and only nexutil to system/xbin if it's not there by the installer

Forget USB arsenal for 6P. That's been created because Hid patches are not necessary on kernels 4.x< but something is still needed to enable Hid along with mass_stotage. You can do it with drivedroid (only mounting an image is the question). Hid is enabled by default and rndis too if I'm not mistaken
[Nexus 6P Android Development] UsPdSr:
After several attempts and most importantly user reports, I got it working.

I don't know if it's just a slip of the pen on your side, or if you as developer just don't see it in different ways, because the installation tutorial are a mess, [MENTION=4207992]Re4son[/MENTION] [MENTION=8262629]yesimxev[/MENTION]..

I wanted to share a quick summary of steps you forgot to write down or are wrong, files that missing and what worked in the end..

As custom rom did I try as per recommendation Lineage OS, which didn't worked as well as Pixel Experience.

The solution here is to edit the files which are to be downloaded.Only after looking into Nethunter's issue(ticket) section, after finding a bug report about our device, did I finally got my hands on the Lineage OS build version, which yesimxev posted in said bug report.

I don't know if it is a common step, foremost the modified vendor file, but the archives, have to be unzipped while going to the instructions.

The Twrp Recovery, which is been linked in the OP is wrong and has to be replaced with the FBE, or BLOD one.

https://drive.google.com/file/d/1axm3GVbTKypUdQAuYubNknJX4wKRFIec/view

I don't know if I came across a more complex "tutorial", but let alone the section for the more important information, in this regard Nexmon, is utterly unclear and incredible annoying after the fourth attempt.

All four apk's had to be re-installed.

I saw the sub-clause in brackets about the adb shell commands in AndroidSU much later than I wished.

Nexutil had to be copied over as well, which I only figured out from reading gitlab's issue section.

I wanted to hold this brief, but before I forget to mention this - the iptables couldn't be downloaded for armhf - only arm64.

In the end I got Nexmon to work.

Unfortunately on Lineage OS, which I personally very dislike and then Android 10, which for this device at this state poisonous is.I hoped after the picture of a running Nexmon for Oreo in the other thread, that this would be a realistic accomplishment.Not for nothing has the Oreo kernel been released for a third or fourth(?) time in April now.

I thank the devs for their contribution, but in regard of the support or let me be clear, a understandable and doable tutorial is this a very, very hard deficit in my opinion.

I hope to see better support and of course much more in the near future.

Best regards,

UsPdSr
[Nexus 6P Android Development] yesimxev:
Sorry I dropped support for PE, it's just not managable in one thread especially with nexmon stuff. Although it's simple have nexmon fw on vendor partition even if it's squashfs. I don't have a 6P in hand for a while. So thank you for noticing the mistakes - patched the TWRP link, nexutil (although might still need chmod a+x), apps instructions
[Nexus 6P Android Development] null00005:
Sorry maybe I am asking a stupid question...but I don't really understand the following step:

May I know where can I find/get the "nexmon.zip"? I just can't find it anywhere on this thread.
[Nexus 6P Android Development] yesimxev:
In the downloads section (nexmon and libs)

https://www.androidfilehost.com/?fid=8889791610682951480
[Nexus 6P Android Development] null00005:
Thank you! However I got another problem, when I execute nexutil -m2 it failed. May I know what was going on? (I turned on wifi and not connected to any AP)

Here is the record:

:/ # mount -o rw,remount /
:/ # cp /sdcard/libnexmonkali.so /system/lib64/kalilibnexmon.so
:/ # cp /sdcard/libnexmon.so /system/lib64/
:/ # cp /sdcard/nexutil /system/xbin/
:/ # nexutil -m2
/system/bin/sh: nexutil: can't execute: Permission denied
126|:/ #
[Nexus 6P Android Development] yesimxev:
Also do a

chmod a+x /system/xbin/nexutil
[Nexus 6P Android Development] null00005:
It finally works thank you so much!
[Nexus 6P Android Development] arti2525:
Help

Hi, sorry for my bad English, but I have a problem

I can't do this step:

mount / vendor

mount -o rw, remount / vendor

cp /sdcard/fstab.angler / vendor / etc /

always error message, try different twrp and roms

error: that target is in read-only filesystem

via file manager in TWRP, a received error ERROR status code 1.

I have followed all the steps correctly, respecting roms, twrp, bootloader, vendor, radio ... etc

If anyone has a definitive guide I would appreciate it. Thank you very much
[Nexus 6P Android Development] yesimxev:
The definitive guide is already up :laugh:

Including

fastboot flash vendor vendor.squashfs

so you don't need those commands since nexmon fw and fstab is flashed through vendor image. Please use the steps provided in the post
[Nexus 6P Android Development] arti2525:
thanks!!!!!

Thanks for your answer, kali NetHunter 2020.4 is great, it could be installed without problems and the new tools like change boot image is great:laugh::laugh::laugh:

The query is if in monitor mode I am the only one who has a problem for deauthentication, I only tried it with wifite2 (kimocoder).

Just thank you for this work it is simply beautiful.

sorry for my bad English
[Nexus 6P Android Development] yesimxev:
You are right, I'll check latest wifite from [MENTION=3823682]kimocoder[/MENTION] see if it makes a difference.

Airodump way of capturing a handshake works out of the box, just make sure you do export LD_PRELOAD=/your_path_to_kalilibnexmon.so in both airodump and aireplay kali terminal windows.
[Nexus 6P Android Development] grajek05:
whether it is possible to install nethunter with pixel experience instead of LineageOS 17.1 because the vendor breaks down automatically.
[Nexus 6P Android Development] hostage_squid:
First of all, thank you to everyone for all the hard work put in to make this happen.

I have followed the instructions exactly, but I am having a problem capturing WPA handshakes.

I run

nexutil -m2

from an SU Android terminal, and then in the Kali chroot I'm running

sudo LD_PRELOAD=/system/lib64/kalilibnexmon.so airodump-ng -c 1 -w shell [SSID_NAME]

in one window, where [SSID_NAME] is the SSID of my access point, and

sudo LD_PRELOAD=/system/lib64/kalilibnexmon.so aireplay-ng -0 1 -a [MAC_ADDRESS] wlan0

in another window, where [MAC_ADDRESS] is the MAC address of my access point, and it works fine. The deauth packet is sent out (so packet injection seems to be working), and as soon as my other phone reconnects to the access point, the first window shows [WPA HANDSHAKE: ... ] in the top right corner of the screen. All looking good.

But when I try to open the CAP file in aircrack-ng it says no WPA handshakes are found, and when I open it in Wireshark it says the EAPOL packets are malformed. They seem to all be truncated to 86 bytes long. Anyone else experiencing this problem?

I can provide more in-depth logs if needed.
[Nexus 6P Android Development] arti2525:
Thanks, I'll try, I thought it was a channel problem
[Nexus 6P Android Development] hostage_squid:
?

Not sure if we got our wires crossed here? I wasn't answering your question, I was asking my own.

Monitor mode and packet injection work fine for me (including deauth packets) but it seems the EAPOL packets are truncated and I'm not able to capture the WPA handshake. At a cursory glance, the other packets seem to be OK, but there could be other problems I've yet to identify.

Anyone involved with the nexmon firmware have any insight on this?
[Nexus 6P Android Development] arti2525:
I thanked you for the commands, I could see that the same thing happens to me, I always thought it was a channel problem, I think the best thing is to ask yesimxev or Kimocoder to look at this error
[Nexus 6P Android Development] arti2525:
hi, someone could solve the problem with wps not working with internal wifi, in terminal and in wifite it does not work

thx
[Nexus 6P Android Development] Zzior:
Can I only install the kernel and not the whole nethunter. You can link to the kernel please.
[Nexus 6P Android Development] retali8:
I just got my Nexus 6P and rooted and installed android 8.1 but I can't seem to get monitor mode to work on it. /system/xbin has the monstart-sh script but /system/xbin isn't apart of my $PATH environment var so it doesn't see nexutil that is also in the directory. Did I install it incorrectly? I tried to install BusyBox from F-Droid to see if that would add it for me but it didn't fix it. Not sure if I'm just following bad instructions for this but I want to use the internal wifi for monitor mode/packet injection. Should I downgrade from Android 8.1 to Lineage 17.1? What would be the better stable ROM with the most features? I've heard mixed things like some USB attacks possibly not working on 8.1
[Nexus 6P Android Development] yesimxev:
Have you tried bully for wps attacks?
[Nexus 6P Android Development] yesimxev:
Build a kernel flasher:

Clone the repo https://gitlab.com/kalilinux/nethunter/build-scripts/kali-nethunter-project

And do

cd nethunter-installer
./bootstrap.py
./build.py -q -k -d angler
[Nexus 6P Android Development] yesimxev:
For oreo, you should try to use the nexmon files from the zip from the 1st post

Only external wireless adapters are not supported on 8.1 so better to go for this installation
[Nexus 6P Android Development] UsPdSr:
The other way around..

Nexmon doesn't work well under Oreo, but external adapter (including the newer AC one's, implemented by kimocoder (rtl8812au/rtl8814au/rtl8811au), working just fine. ;)
[Nexus 6P Android Development] yesimxev:
Oh I see haven't tested that yet, thought it still needs wlan1 reboot patch
[Nexus 6P Android Development] chadwick_goddard:
Hi yesimxev,

Many thanks for making this guide.

i have tried 2 times now to follow and keep ending with device that gets stuck on kali boot animation.

So could you clarify some of the steps please and I will reflash LOS and try again later today.

Can I not just copy Magisk, NetHunter image, bootanimation zip, and fstab to internal storage?

I get that this command copies fstab.angler to /system_root/ but it does not "format data" so do you mean I have to issue command then format data partition?

will this not render LOS unbootable?

I can get to here fine android / Google setup completes OK.

but after

Phone will not boot and gets stuck at kali boot animation.
[Nexus 6P Android Development] yesimxev:
Yes you need to format data in wipe menu in TWRP after fstab is copied.

Strange, do you have latest stock flashed before started this tutorial?
[Nexus 6P Android Development] JaK3sT:
Hi @yesimxev

A newbie here

I have a bit of a hiccup with the Nexmon libs and Nexutil file.

Whenever i'm trying to use cp /sdcard/libnexmonkali.so /system/lib64/kalilibnexmon.so for example to attempt a copy to the /system partition i keep getting this errors:

1|kali:/ # mount -o rw,remount /
kali:/ # cp /sdcard/libnexmonkali.so /system/lib64/kalilibnexmon.so
cp: /system/lib64/kalilibnexmon.so: No space left on device
1|kali:/ # cp /sdcard/libnexmon.so /system/lib64/
cp: /system/lib64//libnexmon.so: No space left on device
1|kali:/ # cp /sdcard/nexutil /system/xbin/ && chmod a+x /system/xbin/nexutil
cp: /system/xbin//nexutil: No space left on device
1|kali:/ # cp /sdcard/nexutil /system/xbin/
cp: /system/xbin//nexutil: No space left on device
1|kali:/ # cp /sdcard/nexutil /system/xbin
cp: /system/xbin/nexutil: No space left on device
xmon.so /system/lib64/ && cp /sdcard/nexutil /system/xbin/ && chmod a+x /system/xbin/nexutil
cp: /system/lib64/kalilibnexmon.so: No space left on device

Any support will be much appreciated

Edit:

After a couple of hours and a bunch of coffee i finally made it work

I just copied the files to their respected place before installing the NH Rom, and didn't cause any problems