Skip to content

Instantly share code, notes, and snippets.

@thyrlian
Last active April 19, 2026 03:19
Show Gist options
  • Select an option

  • Save thyrlian/3955ec313d3eada992a5cd656ad2de53 to your computer and use it in GitHub Desktop.

Select an option

Save thyrlian/3955ec313d3eada992a5cd656ad2de53 to your computer and use it in GitHub Desktop.
How to build & install Kali NetHunter on Nexus9 from macOS

Prerequisites

  • Enable USB debugging (and allow RSA key fingerprint from connected computer)
  • Allow OEM unlocking
  • Have Android SDK installed on computer

Build

  • Clone kali-nethunter repository
  • Pull a Python Docker image python:2.7.14-jessie (even my local fresh macOS has problem of building)
  • Run Python Docker container: docker run -it -v [your-cloned-kali-nethunter-repo]:/root/kali-nethunter python:2.7.14-jessie bash
  • Build: python /root/kali-nethunter/nethunter-installer/build.py -d flounder --nougat --rootfs full (you have to build the Nougat version on your own, because the latest official version is only for Marshmallow)
  • The built NetHunter zip image will be located in kali-nethunter/nethunter-installer/

Install

  • Clone nethunter-LRT repository
  • Download the correct factory image for Nexus9 (there is a difference between LTE version and Wi-Fi version), and place it into nethunter-LRT/stockImage
  • Download the TWRP image and place it into nethunter-LRT/twrpImage
  • Download SuperSu and place it into nethunter-LRT/superSu
  • Put previously built NetHunter zip image into nethunter-LRT/kaliNethunter
  • Flash everything by running: nethunter-LRT/twrpFlash.sh
@LuFFeTz
Copy link
Copy Markdown

LuFFeTz commented Apr 19, 2026

1000138546 Working builtin brm chipset

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment