[ROM][Official] Kali NetHunter for the Huawei Nexus 6P Android 8.1

Search This thread

Re4son

Senior Member
Aug 8, 2011
57
49
nethunter-git-logo.png

I present to you: Kali NetHunter for the Huawei Nexus 6P Android 8.1 Oreo

This is the recommended stable version for the Nexus 6P.

Kali NetHunter is an Android ROM overlay that turns an ordinary phone into the ultimate Mobile Penetration Testing Platform.
The overlay includes a custom kernel, a Kali Linux chroot, an accompanying Android application, which allows for easier interaction with various security tools and attacks, as well as a client to the Kali NetHunter App Store.
Beyond the penetration testing tools arsenal within Kali Linux and the Kali NetHunter App Store, NetHunter also supports several additional classes, such as HID Keyboard Attacks, BadUSB attacks, Evil AP MANA attacks, and much more. For more information about the moving parts that make up NetHunter, check out our NetHunter Components page.
NetHunter is an open-source project developed by Offensive Security and the community.

~ Prerequisites ~
- Android 8.1 - https://developers.google.com/android/images
- TWRP - https://twrp.me/
- Magisk – https://forum.xda-developers.com/apps/magisk

~~ Downloads ~~
- NetHunter: https://www.offensive-security.com/kali-linux-nethunter-download/

~~ How to Install ~~
- Update to / flash latest official Android release
- Install TWRP
- Copy Magisk and NetHunter image to USB drive
- Reboot into TWRP, insert USB drive.
- flash NetHunter image
- flash Magisk
- Reboot
- Run NetHunter app
- Reboot
~~~ Notes & Updates ~~~

Nexmon is included in the 2020.2 release.

Credits: The Offensive Security Team and the NetHunter community, huge thanks to yesimxev, & kimocoder.

Android Version: 8.1

XDA: DevDB Information
Kali Nethunter, Kernel & ROM for the Huawei Nexus 6P

Contributors
@Re4son, @kimocoder, @yesimxev

Source Code: https://gitlab.com/kalilinux/nethunter/
Kernel Source: https://github.com/Re4son/android_kernel_huawei_angler
 
Last edited:

UsPdSr

Senior Member
You are a man of your word.

Huge thanks to you and the entire Kali Nethunter team !

I don't how you did finally get rid of this pesky reboot bug by plugged in wlan adapter, but you delivered.

And don't disappoint.Like always. :cowboy:

I could go on complimenting, but as someone said to me once, back to the issue related subject on hand.

;)

There are none.

--

Even my to an oblivion gebranded Asus NIC is working very good (with Realtek 8812au).The same goes for 8811 and the other AC ones I have.

I hadn't the time to test every single one, but I am curios if the Realtek 8811eu(s) has made it, as well.

For many people this chipset has somekind of importance, because it was the second revision of the TP-LINK TL-WN722N model.

Like you wrote, has Nexmon are couple of problems.

I could use nexutil, but solely without results.

---

I would like to thank you in the name of the Nexus community, who has held on to this device series, for one or another reason.

I will try and look, that my next device a OnePlus 7 or maybe a Xiaomi Mi 9T is going to be.. :)

I wanted to ask if you could post a link to the most recent repository for this kernel.

I tried to build it of yours, about a week ago and couldn't pass the usb related bug.

I started to revisit the Oreo kernel for the Nvidia Shield K1 tablet, perhaps you saw the link to the posts on Twitter, over here at the shield sub-forum.

Unfortunately bricked the device a month after I finished compiling it while trying to port Linux Tegra (Ubuntu flavoured OS to the Shieldtablet..). :(

I kept the finished kernel.The best result did I link in the Nvidia forum at Xda and 5 other iterations are in my Afh-dev account.

I did a couple test runs yesterday, but had no luck so far.

Maybe you could take a look a the kernel and give me a hint when you have a bit free time, ..next summer?

Many heaps^

UsPdSr
 
Last edited:

Nightslade

Member
Dec 1, 2015
22
4
The nethunter page says the current download for 2020.2 is available. Does that mean nexmon is fully working ?
 

UsPdSr

Senior Member
Re4son changed the Nexmon files in Nethunter's repo ~2 weeks ago again.

https://gitlab.com/kalilinux/nethun...3e47c0368acbf5878cce/oreo/angler/system/lib64

After some issues* with my 6P during testing various compatible roms for the new kernel, which reminded me painful at the last days of my previous one, which bite the dust end of last year after kimocoder's try to 'enhance' a kernel respectively released a build for android stock, which already existed to the time, based primarily on jcadduono work, revised by Re4son and then as latest working release to the official repository added.After I tried to build one by myself, supported the community(especially for this device at the time) and made pressure to the whole botched so-called "working" releases for Oreo 2 years prior.

He put some bells and whistles on it, but the massive reboots after trying to set external wlan adapter into Monitor mode, didn't let the kernel unfortunately run properly.

I am looking for a new device, but am unsure what to buy.
Beside that the Nexus nostalgic will always be a great and important factor.
Too bad that the foremost specs and the faulty hardware behave not so harmonic are over time.

I can gladly upload installer which I build a couple of days ago with the changes from Nethunter's repo.

If the Xiaomi Mi 9T wouldn't be so "full of MIUI", bootloader restrictions and Anti-Rollback protection, could it be a spectacular device.
But Xiaomi's business strategy to release every week 3 "new(sic!)" devices are a bit too generic for me, without sounding pretentious.

OnePlus is obviously the chosen candidate - Google's Pixel aren't any different from Samsung Galaxy horror show and the ridiculous expensive and at the same time sh*tty performance mastering iPhone by now. :E

The price of the OnePlus are getting affordable, some provider finally starting to pick them up here and even not everything is honkey doorey with them (firm politics have changed rapidly as well) , so are they the best-bad choice.

Sorry, I digressed.

I am happy to upload the kernel or the complete installer if prefered for you to test.

Cheers

:)

---------- Post added at 10:25 AM ---------- Previous post was at 10:15 AM ----------

@Re4son

I noticed the thread title 'rom' contained.

If possible, would I like to ask to change it into 'Overlay' or kernel.

Just for user, who are unsure about the application, function, usability of Kali Nethunter.

*
I wanted to make it clear that the device issues are to 99,9 % result of the age or his famous hardware default(s), not of this awesome work and the entire project behind. :)
 
Last edited:

crashnova

Senior Member
Aug 17, 2010
310
124
Yonkers
Can't get the phone into monitor mode for the life of me.

Thanks for this very much. Im just starting to get my feet wet with this nethunter stuff. Any tips and tricks would be appreciated.
 

zszhere

New member
May 28, 2020
1
0
huge thanks for your work.
there is a problem: i have installed twrp,magsik,android oreo(angler-opm7.181205.001-factory-b75ce068.zip) and nethunter(nethunter-2020.2-angler-oreo-kalifs-full.zip). i could see a new HID KeyBoard Device in Win7 ,but the HID Attacks didn't work well . how can i fix this issue ?
 

Nightslade

Member
Dec 1, 2015
22
4
upon flashing the file and booting , i tried opening the nethunter app , but it says "New app build detected: Doing app files update.(init.d and filesDir) and then force closes. the device is connected to the internet . what am i doing wrong ? .os is nrdw's stock optimized
 

UsPdSr

Senior Member
Can't get the phone into monitor mode for the life of me.

Thanks for this very much. Im just starting to get my feet wet with this nethunter stuff. Any tips and tricks would be appreciated.

The complete lack of information is overwhelming.

Which chipset?External adapter or internal chip?

;/

---------- Post added at 07:30 PM ---------- Previous post was at 07:24 PM ----------

upon flashing the file and booting , i tried opening the nethunter app , but it says "New app build detected: Doing app files update.(init.d and filesDir) and then force closes. the device is connected to the internet . what am i doing wrong ? .os is nrdw's stock optimized

Wipe everything and start over.

Do you build your own installer, or flashed the official release?

I had a couple of problems with Nrdw's rom, if I remember correct.It is likely to work if you fire the last stock on it, or try ABC, they are all very stable.
 

UsPdSr

Senior Member
My bad. Internal, for now.

Hm, Re4son changed the Nexmon files shortly after the pre-release and apparently fixed them.
I use it not that often and currently have I a seperate setup for work.

In any case, did I build a new installer with a freshly baked chroot, all the updates and upgrades, Apps and the currently recommended kernel for this device.
I uploaded it.

Wipe and format your device and flash afterwards the newest stock rom.
Flash Magisk and try it with the installer again.

If you encounter issues would I refer to the Kali Nethunter's gitlab presence and write a issue report.

The installer (full chroot, bootanimation, kernel..).

https://mega.nz/file/FJoAAI7A#CfAicSrguktZU8yH0X0u1BA-CH8AdWVrHlkbH13MaCk
 
Last edited:

Nightslade

Member
Dec 1, 2015
22
4
Wipe everything and start over.

Do you build your own installer, or flashed the official release?

I had a couple of problems with Nrdw's rom, if I remember correct.It is likely to work if you fire the last stock on it, or try ABC, they are all very stable.

I flashed the official release
Just after i posted this i tried with the latest stock clean install. even with no encryption and all i had the same error . Does the updating this happen for all devices ?

ill give the file you uploaded a try
 

UsPdSr

Senior Member
I flashed the official release
Just after i posted this i tried with the latest stock clean install. even with no encryption and all i had the same error . Does the updating this happen for all devices ?

ill give the file you uploaded a try

Do you mean with 'update' the one recently introduced by the Nethunter team?

I assure you that is not in correlation with such bug.

Since release didn't I have a problem with one single external adapter.
As written before, do I not use nexutil often.

Re4son changed the patched firmware ~2 weeks after pre-release.

I cloned the repo, devices and build you the installer with python3.

If you have further issues would I recommend that you issue a bug report on gitlab, or write Re4son, yesimxev or kimo here.. :)
 
Last edited:

Boahen

Member
Feb 27, 2016
25
1
it seems is not clear, is nexus 6p have a working monitor mode and injection working?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    nethunter-git-logo.png

    I present to you: Kali NetHunter for the Huawei Nexus 6P Android 8.1 Oreo

    This is the recommended stable version for the Nexus 6P.

    Kali NetHunter is an Android ROM overlay that turns an ordinary phone into the ultimate Mobile Penetration Testing Platform.
    The overlay includes a custom kernel, a Kali Linux chroot, an accompanying Android application, which allows for easier interaction with various security tools and attacks, as well as a client to the Kali NetHunter App Store.
    Beyond the penetration testing tools arsenal within Kali Linux and the Kali NetHunter App Store, NetHunter also supports several additional classes, such as HID Keyboard Attacks, BadUSB attacks, Evil AP MANA attacks, and much more. For more information about the moving parts that make up NetHunter, check out our NetHunter Components page.
    NetHunter is an open-source project developed by Offensive Security and the community.

    ~ Prerequisites ~
    - Android 8.1 - https://developers.google.com/android/images
    - TWRP - https://twrp.me/
    - Magisk – https://forum.xda-developers.com/apps/magisk

    ~~ Downloads ~~
    - NetHunter: https://www.offensive-security.com/kali-linux-nethunter-download/

    ~~ How to Install ~~
    - Update to / flash latest official Android release
    - Install TWRP
    - Copy Magisk and NetHunter image to USB drive
    - Reboot into TWRP, insert USB drive.
    - flash NetHunter image
    - flash Magisk
    - Reboot
    - Run NetHunter app
    - Reboot
    ~~~ Notes & Updates ~~~

    Nexmon is included in the 2020.2 release.

    Credits: The Offensive Security Team and the NetHunter community, huge thanks to yesimxev, & kimocoder.

    Android Version: 8.1

    XDA: DevDB Information
    Kali Nethunter, Kernel & ROM for the Huawei Nexus 6P

    Contributors
    @Re4son, @kimocoder, @yesimxev

    Source Code: https://gitlab.com/kalilinux/nethunter/
    Kernel Source: https://github.com/Re4son/android_kernel_huawei_angler
    3
    So, after finally gettting my hands on a OnePlus 6 I lost the focus on the topic for some time;although I even used the Nexus 6p still in tandem after getting the OnePlus..^^

    Android Ten is an incredible pain in the ass.
    In addition is the kernel compiling with clang somewhat of a secret in regard of tutorials and YouTube videos, which sucks enormously, after getting a quipped to using one toolchain...

    I compiled a new kernel for Android Ten successfully, with the source in this sub-forum here.*

    Of course, I didn't test it and forgot I had it, after I received the new phone.

    I am very neat with my backups, but I have a modified Chromebook which is currently running Ubuntu(yeah, I am not that keen either..) with just 64GB storage, which I use at the moment for some stuff.

    Because the storage is extremely sucky, I somehow deleted it. o/

    The good news is, I know that it worked, so if I have the time to compile it again I let you guys know.
    I think this is enough for my daily diary entry and back to topic it goes.

    I got the 6P with Nexmon finally working, but the system is practically unusable.

    I have never experienced this device so unstable and before something happend, I will wipe the system asap.

    If the dev's have no idea, eventually we have to get used to the thought that a stable usage of the chipset's internal monitor mode is only possible with Android 7.

    I hope you guys are well and your families of course and you behave..

    Greetings!

    UsPdSr

    Annotation

    *https://forum.xda-developers.com/nexus-6p/development/kernel-alpha-kernel-v2-0-t4114393
    3
    @yesimxev @Re4son @kimocoder

    It would be much appreciated if you guys could take a look at the Nexmon issues..!?

    I tried to solve your problem, I did this.
    @UsPdSr

    I used the Factory Images for Nexus 6p!
    8.1.0 (OPM7.181205.001, Dec 2018)
    https://developers.google.com/android/images#angler

    I used the platform-tools_r26.0.2-windows

    https://dl.google.com/android/repository/platform-tools_r26.0.2-windows.zip

    8.1.0 (OPM7.181205.001, Dec 2018)
    angler-opm7.181205.001-factory-b75ce068.zip

    1. Start flash-all.bat

    Restart

    2. Android 8.1 first start, the first standard settings are executed.
    Restart / Bootloader

    3. Install TWRP twrp-3.4.0-0-angler.img 16.5M 2020-06-21 21:31:58 EDT
    Fastboot flash recovery <filename>.img

    4. Start TWRP Recovery / Reboot into TWRP, insert USB drive.
    - Flash NetHunter image
    Nexus 6P Oreo 2020.2 1.3G 01bee92fde6f0afb5afaadcd001433730c1994145d92fb5691427e1c3f36bc5b
    https://images.offensive-security.com/nethunter/nethunter-2020.2-angler-oreo-kalifs-full.zip
    - nethunter-2020.2-angler-oreo-kalifs-full.zip

    4.1 Reboot / Start Android

    4.2 Restart / Reboot into TWRP, insert USB drive
    - Flash Magisk
    Magisk-v20.4.zip

    5. Reboot

    6. Run NetHunter App + Magisk Root rights!


    7. Reboot

    8. Run NetHunter Terminal / KALI select!


    9. Source monstart-nh

    It's not working!
    airodump-ng wlan0
    wifite -i wlan0
    aireplay-ng -9 wlan0

    10. Reboot TWRP Recovery

    Copy this file
    11. fw_bcmdhd.bin.nexmon --> https://gitlab.com/kalilinux/nethun...69/oreo/angler/nexmon-fw/fw_bcmdhd.bin.nexmon

    fw_bcmdhd.bin --> /vendor/firmware
    Replace!

    12. Reboot System

    13. Run NetHunter Terminal
    source monstart-nh
    airodump-ng wlan0 --> Works
    wifite -i wlan0 ----> Works
    aireplay-ng -9 wlan0 --> works


    Unfortunately the whole system is very unstable with Nethunter!
    I don't know why that is!
    2
    Little teaser of what more is to come :D

    kalilibnexmon.so-in-action.png
    1
    Many thanks for this release. Nethunter works like a Charme