yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] dirtyreturn:
Hey UsPdSr , yes the installer works fine. Unfortunately, the wireless USB adapter (TL-WN822N) no longer is supported or works. So I turned off my device. Today I turned it back on and I don't know what happened ... I think it got encrypted somehow????
[Nexus 6P Android Development] UsPdSr:
This couldn't have been a result of the installation.

Nethunter installs a specific script to avoid force encryption and dm-verity since awhile.

I on the other hand had no luck with the kernel

The dev has messed up the firmware, so the nexmon script which is bound to every terminal isn't working.

I tried 4 different Usb-c Otg-Adapter, even y-cable with a power bank attached and a dozen Wlan adapter.

Airmon-ng is influenced by the damaged nexmon print.

I compiled the kernel in different formats, but don't get it to to work.

The chroot, the apps, Magisk, busybox, the wlan & mobile connectivity, everything is working fine.

I am very annoyed with how much time I've invested in this..

I downgraded to Android 7.1.1 and installed a kernel from the server for testing purposes.

I got it to work after awhile.

You can't use Gboard, because the shortcut's aren't working and 1,2 other workarounds which I can't think of at the moment.

I am very disappointed. :(
[Nexus 6P Android Development] UsPdSr:
Greetings, folks . /

I am currently trying to combine binkybear's build for the 6p, "Nethunter OS"(*) , which is exclusively developed for the use of Nexmon, in a few words the usage of the built-in WI-FI chipset as m0n..

The same goes for the recently released version "2019.2", which has been released @ kali.org is in my opinion too 50 % useless and quite irritating as well as dismissive.It implies the same kernel that I have a compiled couple of weeks ago.. So, no external options.

Just look the Pie build for the Nexus 6 up..

-->

If you want to check gitlab and the available kernel then you can make your own opinion of those "releases"..

I don't get it, seriously.

Anyway, the current stand for our precious treasure is that you don't need a external adapter for Oreo.

I was suprised to see this kind of reception, altough Nexus 6p is beside Nexus 5 and Raspberry, the best supported device as Nexmon's little chart says.(*)

I, for my part am not that interested in a Nexmon support.Not that I wouldn't dismiss it, but there is no version that has both options - internal monitor mode and the usability of a external device.At least for Oreo.

As I mentioned a long paradoxically time ago, I had the idea to give Nethunter OS a shot.

The first barrier is the missing maintenance and development, of this awesomeness, even the fact that I am still very pi**ed by the so-called, working Oreo kernel.So I pseudo-philosophical wandered aimlessly trough dozen and dozen of github/gitlab commits, merge requests and so everything that I could find about our device.

That I fall back to this project is proof of my desperation to finally install a working version of Kali Nethunter, without Nougat's stock.

That the Oreo build(s) are not working is been proven by now.

I have absolutely no clue how the dev got it to work.

But there is no Pie kernel for the Shamu on the other hand, therefore absolutely nonsense..

As I proclaimed a couple of pages ago, Nethunter OS.

Okay.

I did my best to get it up to date, which implied the correct choice of the chroot, because the arm64 chroot seems to wreck the Nexmon functionality in general, obsolet pgp keys, of course the vendor which I had to find according to the release..

It's seni-fun, if I am being honest.

At the moment I am still in the process of getting it to work.

But I'm on the right path and am able to use nexutil and every single one of the dozens wlan adapter.. :P

Reason is that I don't want to use Stock Nougat, neither Pure Nexus, SuperExe or what stock related builds whatsoever.

If anyone is interested in my progress, is welcome to send a post here.

I had practically non-existent feedback, therefore I decided to post results or current status reports only on occasion if I feel like it.

:)

cheers!

Edit.

Grammar bomb.

Boyah. ^^
[Nexus 6P Android Development] UsPdSr:
A attempt of keep it a bit more specific in regard of the necessary files and the according flashing order.

If someone does have a interest in this matter, he/she is welcome to quote me here and I come back to the user as soon as I can. :)
[Nexus 6P Android Development] BettyNutsz:
what does this mean?

Rember to erase and flash cache in fastboot and _stay away_ from the userdata.img by god..!
[Nexus 6P Android Development] UsPdSr:
I think you refer to the warning of flashing the userdata.img and not to my misspell of the word 'remember'..

The factory image from google for this Android version contains a userdata.img, which should somebody always avoid if flashing those factory images
[Nexus 6P Android Development] BettyNutsz:
So if I've already flashed the Google user data can I wipe it from within twrp?

I'm doing a full write up of the process for noobs like me. Will post it when it's done. Maybe it will help someone - it's a mine field of misinformation to get nethunter working on the 6p
[Nexus 6P Android Development] UsPdSr:
Not to my knowledge.

This particular image can resize your storage capacity.

I would seriously recommend that you read heisenberg's tutorial for beginner regarding the chapter about stock rom.

Some but not all is a good pointer.

I understand that you want to have this function on your phone, but in case you are not out of the game for some time, I would definitely recommend that you read into some topics, before you go ahead and hack the world or possibly brick your device. ;)

Just a friendly advice.

I'll keep checking the thread this evening as long as I am available, if you have any questions don't hesitate to ask.

gl!
[Nexus 6P Android Development] BettyNutsz:
its annoying the hell out of me. All the stuff on nethunter ive been able to in BT & Kali on my notebook for the last 10 years. Its this OCD thing that now ive bought the phone and 'seen' that it can be done i have to finish it or ive wasted all this time. Its a like a ridiculous jigsaw puzzle that im almost at the end of and someones hidden the last pieces all over the entire internet. wtf

---------- Post added at 11:01 PM ---------- Previous post was at 10:48 PM ----------

can you break down this part of the process please: 'Remember to erase and flash cache in fastboot and _stay away_ from the userdata.img by god..!'

Ive downgraded my 8.1.1 Nexus 6P to 7.1.1 (N4F26U) Using Fastboot (with CMD prompt in windows - with phone at bootloader) using the following commands:

a. fastboot flash bootloader bootloader-angler-angler-03.64.img

b. Fastboot reboot-bootloader

c. fastboot flash radio radio-angler-angler-03.78.img

d. fastboot flash boot boot.img

e. fastboot flash cache cache.img

f. fastboot flash system system.img

g. fastboot erase userdata

h. fastboot flash recovery recovery.img

i. fastboot flash vendor vendor.img

Have i done something wrong or can i install twrp?

if ive done something wrong - what was it and how do i fix?
[Nexus 6P Android Development] UsPdSr:
Hrhr, like looking in a mirror.

*Every 2 minutes(little OCD pun).

I don't have my PC running so I have to relay on my memory, which is pretty good, but I would rather consult heisenberg's tutorial(s) to be sure.

I have the habit to wipe/delete/erase everything in Twrp, before going into the bootloader, so I never used the command 'erase userdata.img'.

As long as you didn't flash this image from the factory file, you are good to go, from what I can tell.

:)

I would appreciate a feedback.

I am for the next hour not available, but I check later for sure.

godspeed
[Nexus 6P Android Development] BettyNutsz:
I flashed it with the files from your link: 7.1.1 (N4F26U, Apr 2017) https://dl.google.com/dl/android/aos...y-131d7b01.zip

I cant see in your guide where you're rooting the phone - are you using SuperSU or magisk? Im thinking that i'll copy over SuperSU (https://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133) to the phone before i install twrp?

Thanks for your help!
[Nexus 6P Android Development] UsPdSr:
Flash Twrp from within the bootloader(like you wrote earlier, which is correct), boot into Twrp via the hardware buttons, configure it according to your needs and then just flash Magisk.

From there boot up into the setup and let it 10-15 minutes 'sit' , update the apps you need/the ones which are necessary for some stuff like SystemView, enable developer options, installation from unknown sources etc, load the modules into Magisk(like the one I uploaded)..read the entry again(mine).

I tried to be as specific as I could.I wrote it after I setup ~4 new environments afterwards.

PS

I use in every rom Apps2SD, Titanium Backup and System App Remover beside a few more.

With the System App Remover you delete everything you want gone from this bloated stock roms(but be careful) and after the Kali Installer SuperSU.

And to be sure, Apps2SD removes everything to the last O from the storage..
[Nexus 6P Android Development] BettyNutsz:
when though the whole process and still no power to the TL-WN722N.

The only thing that i may have done incorrectly:

1. I installed the nethunter-angler-nougat-kalifs-full-3.20-20170719-1633.zip (from your guide) via twrp after installing Magisk-v19.2.zip via twrp. Maybe i needed to to install Nethunter via magisk manager app?

2. I used Magisk-v19.2.zip. Maybe i should have used magisk-permissive-script_v1.2.zip from your guide - i didnt know what magisk-permissive-script_v1.2.zip was?

As a side note:

1. When i open the Nethunter ap and select the Kali Chroot Manager from the side menu and it checks..the out put is: an existing kali chroot directory was found!

2. When i run ifconfig in NHTerminal the output is:

BUS 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

BUS 001 Device 002: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n

BUS 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Any ideas - v welcome
[Nexus 6P Android Development] UsPdSr:
Looks like the installation process was successful.

Good that you flashed Magisk before SuperSU.

I removed it simply with one of the Apps mentioned above.

The script is important because it sets SElinux to permissive, altough it's from kernel to kernel different and you can do it by using the terminal on occasion.

If you want you can use the latest nethunter.apk and term-nh.apk, but it sounds that that isn't the problem, if you can use them without problems.

The rest is just trial & error and looking those particular errors up. :/

PS

Beside Nali Kethunter, I am not such a fan from this module, but you are welcome to try.
[Nexus 6P Android Development] UsPdSr:
PS

At the point I describe the neverending "phy0.. interface setting", which is a outdated script and without result, therefore pointless.

Don't bother with ifconfig, just type

'airmon-ng'

altough as soon as you type 'airmon-ng check kill' you see if your device is being recognized as possible interface option.

The rest shouldn't be unheard-of for you.Simple

'airmon-ng start wlan1'

..hopefully.
[Nexus 6P Android Development] BettyNutsz:
is this the correct busybox?:

https://apkpure.com/busybox-for-android/com.jrummy.busybox.installer/download?from=details

....that i install after Magisk but before removing SuperSU app?
[Nexus 6P Android Development] UsPdSr:
hm?

You not necessarily have to install BusyBox as separate app, even if you install it via Magisk*.

For example, I have not even installed it with a kernel later in the chain and SuperSu, but if you decide to install SuperSu instead of Magisk, then is the recommendation by diverse Nethunter dev's and my personal experience as well, the one from a dev named Mfeek or anything similar.

Afair this one doesn't have a paid version, but I can look it up..

BusyBox by meefik.

I don't really understand what the purpose is, but I am happy to help.. :)

* I can think of a error in which Nethunter gives the error message of a missing SuperSU/Busybox, which is caused by a invalid su installation..this is from my experience with this.

Hope I could help.

Oh, and all the apps you need, did I name, correctly, but I can be mistaken.

Apps2SD (Pro) (little Android, blue)

System App Remover (red logo)

Titanium Backup (Pro) (the one and only, I hope, but sth. golden)

Send me a PM if you need the links, editing here etc
[Nexus 6P Android Development] BettyNutsz:
the only reason i asked about busybox was because you had said about installing it in your guide....:

If its not needed to get the wifi card working then i wont install it. Thanks

I'll rebuild my Nexus 6P to stock and go though the whole process again - see if i can get the wifi card to detect...
[Nexus 6P Android Development] UsPdSr:
Ah, I see.

Of course I did not know, that you aren't familiar with Magisk or the respective modules at all, sry.

Did you find the Nethunter-Magisk reference through the search?

I was under the impression that you have or had experience accordingly. :)

Why the conplete wipe?

But okay.

gl then!

Strike the removal of the Nethunter App & the according Terminal, therefore you can dismiss the installation/copy of a seperate termimal.

The Selinux Mode Changer isn't necessary if you use the script, which I uploaded.

I don't take any guarantees for the rest, as I have not the time to overlook it.In specific the steps you couldn't find in the postings before.

Again, gl
[Nexus 6P Android Development] BettyNutsz:
The process so far

edit ... for full process go to page 18 of this tread
[Nexus 6P Android Development] dirtyreturn:
Just interested in your progress. I'm hoping to use an external wifi adapter.. How did you update nethunterOS? And stuff?
[Nexus 6P Android Development] BettyNutsz:
i think this is what allowed me to update:

wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add (message should appear with 'OK' )

then:

apt-get update

apt-get upgrade

or apt-get update && apt-get upgrade (not sure if this works in NH its a bash command)
[Nexus 6P Android Development] UsPdSr:
You can orientate the installation on the tutorial/steps, which BettyNutsz and I posted before.

The setup of NethunterOS is a bit tricky and I wouldn't recommend it in regard of the missing updates.

I have succeeded to run it, even with the functionality of using a external WiFi adapter, by installing a seperate Kernel.

I have it currently running and tried several methods to customize it and foremost tweak the battery consumption, which is a b*tch.

I use Amplify and Greenify.The framework of Xposed doesn't mess with the kernel, but I have to say, that the rom is unfortunately outdated. :(

I am happy to write you the basic steps up to get it running, but I would recommend to go with the Nougat installation, because it's much speedier.

How is it, BettyNutsz ?

---------- Post added at 05:29 AM ---------- Previous post was at 05:26 AM ----------

Totally correct, buddy.

You are already in sudo, so it doesn't matter in that case.

(sudo) apt-get dist-upgrade,

is possible as well.

This particular command is important, so that the GPG key are getting validated.

It is a common solution for different Kali installation(Raspberry, Nethunter etc..)

---------- Post added at 05:58 AM ---------- Previous post was at 05:29 AM ----------

Even tough the main developer/maintainer botched the the kernel up, someone released a tool, which corrects the size of the bootanimation of nethunter, finally.

If you don't want to use it withit RootExplorer, it's simply installable via Twrp.

Hf :)

https://mega.nz/#!QVAySaqL!Y7t7E845ZvzbIDV7lpWi-H30ahUQwjDtPzhfgXZTpSg

PS

To be specific, the link above, is a functional nethunter bootanimation for our the device.I could correct the height and width of the animation with the new tool.

You don't have to endure the annoying edges.

dirtyreturn, if you want the the tutorial to get binkybear's rom to work, I can post you the regarding link/files..I just recommend the usage of the 7.1.1 stock installation.

Just send me a message here or via PM..

PPS

Coincidentally I came across a very interesting & informative thread or in this case a issue report on github.

I wiped my phone, because I didn't want the restrictions regarding speed eg. and the power consumption of some adapter made problems, so I am back to Aosip 8.1.

This is the most reliable and fastest rom, so far.

I post the link later..it's very interesting.

https://github.com/rithvikvibhu/nh-magisk-wifi-firmware/issues/11

'Informative' is perhaps the wrong word, in my eyes it is quite sad to read.

Is this user still active?
[Nexus 6P Android Development] UsPdSr:
So, yesterday I visited the local electronic market and found the Samsung Galaxy S4 tablet.

It cost only 550 $.But hey, i can always resort to my Gemini PDA for hilariously 650 $.

I was sure that the Nexus 6p isn't ideal for a chroot with such options, but that doesn't matter, because it is a hell of a device especially for this age.

Dual Boot doesn't work, as well.

I not so happy about the development of Nethunter.

At least did I know that ~70% of the kernel are unusable.

I decided a couple of weeks ago, that I buy a Nexus 5 or 5x solely for this purpose.

The point is that I use a kernel by a dev who has proofen that it works.Just look at the 5x dev forum..

I have no energy left to geht this thing running in Oreo and I wish that kimocoder would be so kind to explain how external adapter are suppose to work and wtf shamu Pie is.

peace out

PS

Excuse the grammar, but I am using a temporary rom, which isn't configured.
[Nexus 6P Android Development] BettyNutsz:
I'll hopefully get chance to run though the whole procedure (with the added NH/kali boot image) tomorrow. Will adjust the install guide as necessary.
[Nexus 6P Android Development] UsPdSr:
Post
[Nexus 6P Android Development] BettyNutsz:
Great stuff. Just what I needed. I will adjust with your notes - Thanks.
[Nexus 6P Android Development] UsPdSr:
Sry, if I screwed with your formatting, but this is so much... ^^

Don't let it bother you.

This is one of the most specific tutorials I've ever seen.

You have to install Twrp after the Stock rom, then manual booting in the recovery now and flash Magisk.After that you can boot up into the rom.

And don't mess with the bootloader..

I think this has accidentally been misplaced.
[Nexus 6P Android Development] UsPdSr:
PS

I installed the according files and noticed that you have to uninstall beside SuperSU(if you use Magisk), the nethunter app and the terminal as well.

Just use the files that I uploaded while installing resp. preparation.

The actual terminal didn't work.

No idea why.You can different it by the file size,the new one has over 600 kb.

If I come anything else across, which would be worth to mention, I'll edit this post or send a new one.
[Nexus 6P Android Development] UsPdSr:
After a feeled brain-anorisma and Wifite's mod swings, I came to a solution, which is nearly perfect.

I bought a Nexus 5x for 85 $ and have two Kernel from which I can choose, one better then the other.

It is a bit frustrating that the Angler has no development or functional modules, primary the speed, Display size and of course internal Monitor Mode ability, the last is not that exciting, maybe in a lecture as gag or if you want to own the dark army, no clue.It's a shame.

The "new" device is in perfect condition and I wanted to try the Sphinx Kernel since two years.The Zest kernel is very well maintained; the dev has also made the 'NaliKethunter' as well.Awesome possibilities, because they are compatible with Oreo/Pie Custom etc.

The Cpu is okay, USB-C etc., this is first and foremost a Hobby and kind of get my geekin'.

I use Raspberry's at work, because they are reliable and expandable.

The RPI 0 are great.Since Aloah (pwnpi) are the possibilitie s endless and it makes many things quite easy. :)

< - Only in legal ways..

Anyhow.

I still use the 6p, because my tech-budget is completely maxed out for the summer.Beside that,is it a sexy piece and with the right rom more then just ok.

So, that is my solution.

I will still help where I can.

Btw, the kalifs and a couple more Tools aren't working properly.I remember that Wifite functioned on the Nethunter OS the first days or so.

I am probably not the spokesperson of the so called '2019.2 release' and a couple more things, which would be too muc.

Key Word Gemini and 600 $ Tablet.Oh.

A 4 year old device,Oneplus 2, with the only Pie support.

But I can understand it on the other hand. Very gifted coder and developer, who wants to get Kali working.R4son's phone etc, but the rest is nonsense.The Tablet and the Pda aren't providing the availability from the price range(like Nexus)for the people.Not even those immens costs, but the Pda is very useless in my opinion tough.The entire project is very confusing maintained from all sides and that is the problem.Okay, I look forward to hopefully read somewhat positive by Betty.

Regards!
[Nexus 6P Android Development] kAh00t:
Hey folks!

I am also experiencing the same issue where I can see my Alfa AWUS036NHA as a device using lsusb but there is no wireless devices other than the phone itself showing in iwconfig/airmon-ng (I am pretty new to pen testing so I apologise if I am using any terms incorrectly). My Nexus 6p is running Orea 8.1 and my NH kernel is 3.10.73-angler-nethunter3.0. Much like others, I have tried a number of OTG cables but still no light showing on the device as normal with other kali linux installations.

I just want to say that I am so happy there are some people who know what they are doing working on some of these issues with Nethunter on the Nexus 6P. I am good with computers but kernels/roms have always been out of my comfort zone and I wouldn't even know where to start fixing this.

I do not which to ask anyone to repeat themselves but just to confirm - as of this moment no one is aware of particular kernel/rom combination for 6P that has the ability to use said wireless card for monitoring? I came across an article that stated that it was working previously but obviously something has changed :( Would anyone assume this is something their team may be working on or due to the phones age are we sh*t out of luck?

I am so frustrated as I have been eagerly awaiting the chance to resurrect my 6P after I retired it due to some battery and fingerprint sensor issues, as it is far and away the best phone I ever owned, and what cooler thing to do that turn it in to a beasting pen testing tool to aid my career! Else I will need to use my raspberry Pi kali linux portable machine moving forward but....it's no 6P.

Thanks for all your hard work guys, I stand on the shoulders of giants :P

Dave

---------- Post added at 11:12 PM ---------- Previous post was at 11:02 PM ----------

[IMG="HDMIPi"]https://pbs.twimg.com/media/D76ITA9WsAY5QDQ?format=jpg&name=4096x4096[/IMG]

[IMG="HDMIPi2"]https://pbs.twimg.com/media/D76ITA7XsAAzfX2?format=jpg&name=4096x4096[/IMG]

[IMG="HDMIPi3"]https://pbs.twimg.com/media/D76ITBcXoAUi2jY?format=jpg&name=4096x4096[/IMG]

Re: your use of rasp pi

I am pretty new to the game of rasp pi but I put together the above before (wrongfully) thinking I could use my Nexus 6P for use as a pentesting tool, other than some power issues it works great! happy to provide more details regarding it if requested....it is no Nexus 6P though.... :(
[Nexus 6P Android Development] UsPdSr:
The Pi 0 WH and the 3rd ones.Especially the Pwnpi Aloah now is a amazing piece of software.

I am annoyed by the speed now and then, but it's to be used as desktop environment in general.

Even wirh the right setup.Can you recommend a good display?Maximum 7", touchscreen doesn't matter.

Did you give the Nougat configuration a try?

I would be happy to give you a similiar setup of getting the famous Nethunter OS a go, if you want..?

Personally, I stay with my plans for the LG Nexus 5x, for now..

---------- Post added at 12:28 AM ---------- Previous post was at 12:14 AM ----------

----> https://github.com/mame82/P4wnP1_aloa

Just in case you didn't got a chance to give it a try.