[One (M8) Android Development] son_91:
Welcome to the thread on Kali NetHunter for the HTC One M8.

If you don't know what Kali NetHunter is, well, it's the entire Kali Linux operating system in a chroot on your phone, plus a bunch of awesome apps for executing exploits, fixing things, doing cool things. It goes on, I suppose.

I'm gonna be honest guys, I'm not a security person.

What I do know though, is that there is apt-get, and apt-get is life.

Find much more information here.

The answer to all your questions, generally the answer is YES, IT CAN DO THAT.

The updater zip will add a few files to your /system partition, and install all of the NetHunter apps to your /data partition.

The chroot is located in /data/local, so you don't have to worry about your system partition being full. It's full read/write capable.

Understand that the zip will replace your current kernel with a completely different one.

This is necessary because most stock or custom kernels don't provide the drivers needed to operate most of Kali NetHunter's features.

DOWNLOAD

Lollipop:Current version: 3.1.0 (stable, 2016-04-29)

Marshmallow: Current version: 3.1.0 (stable, 2016-04-29)

Marshmallow with chroot to kali-rolling: http://www.mediafire.com/download/e6zoxhrn9zcv99h/nethunter-m8-marshmallow-kalifs-full-v3.1.zip

Kernel: http://www.htcdev.com/devcenter/downloads

BEFORE INSTALLING

Please make sure your phone boots fine and runs fine before flashing NetHunter.

The Kali chroot and apps are installed on your data partition (in /data/local for chroot). To initialize the chroot and install Kali Linux, you need to start the Kali NetHunter app.

The NetHunter installer will automatically install SuperSU in system mode, which I consider to be more stable. Since NetHunter already modifies your system partition, there is no need to use systemless SuperSU anyways.

FULL FRESH INSTALL STEPS

1. Flash Lollipop/Mashmallow Firmware

2. Make sure that you are on Lollipop/Mashmallow

3. Flash nethunter-m8whl-lollipop-kalifs-full-v3.0.zip/nethunter-m8-marshmallow-kalifs-full-v3.1.zip

4. Reboot

5. Enjoy

Change log:

06/14/2016: Version 1.0 for lollipop

06/15/2016: Version 1.5 for marshmallow

06/30/2016: updating chroot to kali-rolling (MM only)

[YOUTUBE]K6wmdtwZ3Gc[/YOUTUBE]

SCREENSHOT

DEVELOPMENT

For the kernel included in NetHunter for the HTC One M8, you can find the sources here: http://www.htcdev.com/devcenter/downloads

See the Kali NetHunter installer source here: https://github.com/offensive-security/kali-nethunter

See the Kali NetHunter app source here: https://github.com/offensive-security/nethunter-app

It is powered by idleKernel, however none of the idleKernel scripts (ikconfig, usb control, kernel tweaks) are available by default. I recommend installing idleKernel zip (non-NetHunter) from the idleKernel thread and then flashing the NetHunter updater or kernel installer over idleKernel. You will then have all of idleKernel and Kali NetHunter's features at your disposal.

DISCLAIMER

I am not affiliated with Offensive Security. They seem like cool guys though.

I'm not even a novice when it comes to security and penetration. I'm just a simple system administrator with a passion for breaking Android.

Please restrain yourselves from asking me security related questions.

XDA:DevDB Information

Kali NetHunter for the HTC One M8, Device Specific App for the HTC One M8

Contributors

ddos, the Kali NetHunter team

Source Code: https://github.com/FreelancePentester/kali-nethunter

Version Information

Status: Stable

Current Stable Version: 3.1.0

Stable Release Date: 2016-04-29

Created 2016-06-14

Last Updated 2016-06-30