[Shield Tablet Android Development] jcadduono:
​

Welcome to the thread on Kali NetHunter for the nVidia SHIELD tablet and SHIELD tablet K1.

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. When it comes to security, I'm more of a Paul Blart.

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

Find much more information here: https://github.com/offensive-security/kali-nethunter/wiki

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

The installer zip will add a few files (including busybox) 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.

These Kali NetHunter builds are designed and tested for nVidia's Marshmallow release & CyanogenMod 13.0.

In theory, they should work fine on -all- Marshmallow SHIELD ROMs.

DOWNLOAD

Current version: 3.15.2 (testing, 2016-10-13)

Download here: https://build.nethunter.com/nightly

Your device is: shieldtablet

Recommended install method: Use TWRP 3.0.2-2 or newer for shieldtablet

Install kernel-nethunter-shieldtablet and nethunter-generic-armhf-kalifs-full-rolling zips in any order.

Kernel only installers are in the kernel-only directory inside each build directory. It might be a better idea to try and install that first and see if you can boot before flashing the entire NetHunter.

You can actually only install the kernel if you want to take advantage of its features without having to install the rest of NetHunter!

BEFORE INSTALLING

Do not flash the NetHunter update zip with a fresh data partition!

Most ROMs will wipe it clean on the first boot if you haven't completed the Android Setup Wizard yet, there's no need to wipe your ROM or data to try it out. I do advise backing up your data partition before flashing the zip though.

(this should no longer be possible now with added installation checks)

Please make sure your phone boots fine and runs fine before flashing NetHunter. It's confusing when people report bugs that exist in CyanogenMod by itself.

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 INSTALL STEPS

Boot into TWRP

Flash kernel-only/kernel-nethunter-shieldtablet and chroot-full/nethunter-generic-armhf-kalifs-full-rolling zips in any order.

Reboot into device

Open the NetHunter app

Let the NetHunter app finish setting everything up

You're done!

UPDATING TO A NEWER BUILD

Going from 3.0.0 and up, all you have to do is flash the new build in recovery. On some ROMs you may need to

wipe dalvik cache

.

UPDATING YOUR ROM

To get all your NetHunter and SuperSU functions back after flashing a new ROM, just flash the new ~60 MB nethunter-generic-armhf zip and kernel-nethunter-shieldtablet zip in TWRP.

RUNNING WIFI PENETRATION TESTS

The internal WiFi chipset of the SHIELD tablet is not capable of running services which use monitor mode such as Wifite. For this, you will need to use a monitor mode capable WiFi adapter through a microUSB OTG adapter.

As for compatible adapters, I highly recommend the Alfa Networks AWUS036NEH (eBay) which uses the Ralink RT3070 chipset. There are currently no monitor mode supported Wireless-AC adapters available.

Once plugged in, you can run the command from Kali terminal to turn on your adapter:

root@kali:~# ip link set wlan1 up

RAN INTO AN ISSUE OR BUG?

In order for me to help you, you have to at minimum reply with:

The link to the exact zip you downloaded

Your device model (it better be shieldtablet)

The name of the ROM you're flashing it on

The version and build date of the ROM you're flashing it on

A complete description of your problem

Optional: An audio recording of you reading this entire post

If your issue is with a specific app, it might be better to contact the developer of that app.

If your issue is during the installation (ex. flashing the NetHunter zip), then please collect a TWRP recovery.log for me.

If you found a problem and were able to fix it, and no one's mentioned it in the thread already, it would be kind to state the issue and your fix for others to make use of as well.

You can join me and the other NetHunter developers on IRC at the #nethunter room on freenode to more handily diagnose problems together.

I apologize, but I can't do house calls at this time.

KNOWN ISSUES

USB Keyboard & VNC - Google Keyboard, AOSP Keyboard, CM Keyboard do not work due to a depth bug, use Hacker's Keyboard as a workaround.

Terminal App - Full screen programs like nano or vi are unusable unless you use the resize command. (always type resize when opening a new terminal window)

THE KERNEL

The NetHunter kernel for the nVidia SHIELD tablet is based on nVidia's rel-24-sb-r1-2 kernel sources.

It has the following changes:

F2FS added using Jaeguek Kim's latest kernel.org:f2fs-stable sources (available on data partition)

Cortex-A15 & Neon-VFPv4 + -O2 compiler optimizations

NEON-asm kernel & SHA/AES NEON support

Compiled with Linaro's branch of GCC 4.9 (2016.02)

Simple IO (SIO) scheduler as default IO scheduler (updated)

USB HID Gadget keyboard support

mac80211 packet injection support

Updated mac80211 and USB WiFi drivers

TCP congestion control updates and fixes

Westwood, HTCP, or Cubic (default) TCP congestion algorithms

DriveDroid compatibility

Steel01's KEXEC hardboot support for Multi-ROM

Additional drivers built in for the full Kali NetHunter experience

SCREENSHOTS

DEVELOPMENT

For the kernel included in NetHunter for the nVidia SHIELD tablet, you can find the sources here: https://github.com/jcadduono/android_kernel_nvidia_shield

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

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.

NOT SO MUCH AS SEEN ON MR. ROBOT, BUT PROBABLY EVEN BETTER

XDA:DevDB Information

Kali NetHunter for the nVidia SHIELD Tablet, Device Specific App for the Nvidia Shield Tablet

Contributors

jcadduono, The Kali NetHunter team

Source Code: https://github.com/offensive-security/kali-nethunter

Version Information

Status: Stable

Current Stable Version: 3.15.2

Stable Release Date: 2016-10-13

Created 2016-04-11

Last Updated 2016-10-14