Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 925 Bytes

README.md

File metadata and controls

33 lines (26 loc) · 925 Bytes

NetHunter chroot builder

Build a basic NetHunter chroot

Docker support

docker build -t nethunter .
docker run --privileged --name nethunter_build -i -t nethunter 2>&1 | tee output.log
docker cp nethunter_build:/root/nethunter-fs/output .

Dependencies

This could be built on any debian based system but I recommend building on Kali.

apt-get install -y git-core gnupg flex bison gperf libesd0-dev build-essential \
zip curl libncurses5-dev zlib1g-dev libncurses5-dev gcc-multilib g++-multilib \
parted kpartx debootstrap pixz qemu-user-static abootimg cgpt vboot-kernel-utils \
vboot-utils bc lzma lzop xz-utils automake autoconf m4 dosfstools rsync u-boot-tools \
schedtool git e2fsprogs device-tree-compiler ccache dos2unix debootstrap

Running by itself

To create a full NetHunter system:

./build.sh -f

To create a minimal NetHunter filesystem:

./build.sh -m