Results 1 to 3 of 3

Thread: Question about building Nethunter with Kali 2.0

  1. #1

    Question about building Nethunter with Kali 2.0

    I installed kali 2.0 in virtualbox with the official kali 2.0 virtualbox ova, and I would like to know if its preconfigured correctly to build nethunter from source.
    Is there tools missing or is it all preconfigured?
    I am asking this because I followed the build guide here https://github.com/offensive-security/kali-nethunter and its giving me a not working well build.
    I mean, everything related to the kali launcher is not working.
    Also at the start of the build I get some errors.

    Edit:
    I restarted all over from scratch and when i run ./build-deps.sh thats the error output :

    Executing 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 uboot-mkimage bc lzma lzop automake autoconf m4 dosfstools rsync schedtool git e2fsprogs device-tree-compiler ccache dos2unix
    Reading package lists...
    Building dependency tree...
    Reading state information...
    Package uboot-mkimage is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    However the following packages replace it:
    u-boot-tools

    E: Package 'uboot-mkimage' has no installation candidate
    There are fatal issues during the installation, the rest packages cannot be installed until you solve the errors.
    Also if i go on and build i get that at the begining:

    Previous rootfs build not found. Starting build.
    Found cross compiler - will continue
    ./androidmenu.sh: line 572: debootstrap: command not found
    cp: cannot stat ‘/usr/bin/qemu-arm-static’: No such file or directory
    chroot: cannot change root directory to kali-armhf: No such file or directory
    ./androidmenu.sh: line 580: kali-armhf/etc/apt/sources.list: No such file or directory
    ./androidmenu.sh: line 587: kali-armhf/etc/hostname: No such file or directory
    ./androidmenu.sh: line 592: kali-armhf/root/.bash_profile: No such file or directory
    ./androidmenu.sh: line 610: kali-armhf/etc/hosts: No such file or directory
    cp: target ‘kali-armhf/usr/bin/’ is not a directory
    cp: target ‘kali-armhf/usr/bin/’ is not a directory
    cp: target ‘kali-armhf/usr/bin/’ is not a directory
    cp: target ‘/root/arm-stuff/kali-nethunter/rootfs/kali-armhf/usr/bin/’ is not a directory
    ./androidmenu.sh: line 631: kali-armhf/etc/network/interfaces: No such file or directory
    ./androidmenu.sh: line 636: kali-armhf/etc/resolv.conf: No such file or directory
    mount: mount point kali-armhf/proc does not exist
    mount: mount point kali-armhf/dev/ does not exist
    mount: mount point kali-armhf/dev/pts does not exist
    ./androidmenu.sh: line 655: kali-armhf/debconf.set: No such file or directory
    cp: cannot create regular file 'kali-armhf/usr/bin/safe-apt-get': No such file or directory
    ./androidmenu.sh: line 662: kali-armhf/third-stage: No such file or directory
    chmod: cannot access 'kali-armhf/third-stage': No such file or directory
    chroot: cannot change root directory to kali-armhf: No such file or directory
    sed: can't read /root/arm-stuff/kali-nethunter/rootfs/kali-armhf/etc/kismet/kismet.conf: No such file or directory
    sed: can't read /root/arm-stuff/kali-nethunter/rootfs/kali-armhf/etc/kismet/kismet.conf: No such file or directory
    sed: can't read /root/arm-stuff/kali-nethunter/rootfs/kali-armhf/etc/kismet/kismet.conf: No such file or directory
    Last edited by jonathanxx1; 2015-08-23 at 14:56.

  2. #2
    Join Date
    2015-Jul
    Location
    Seattle, WA
    Posts
    2
    I modified the script and changed uboot-mkimage to u-boot-tools and I haven't gotten any errors when installing the other dependencies I just completed a build last night for my Nexus 5 I'm testing it later today

  3. #3
    Join Date
    2015-Aug
    Posts
    3
    which version of toolchain you use with kali_linux 2.0?

Similar Threads

  1. Confused on building custom ISO's easy question?
    By SecOps334 in forum Building Archive
    Replies: 2
    Last Post: 2022-01-18, 18:17
  2. A question about building for google pixel
    By Jb791 in forum Building NetHunter
    Replies: 1
    Last Post: 2018-01-23, 23:57
  3. A question about building nethunter(vernee thor)
    By nickpaokgr in forum Building NetHunter
    Replies: 3
    Last Post: 2017-08-13, 14:13
  4. Building my own custom Nethunter Rom
    By haxsource in forum Building NetHunter
    Replies: 0
    Last Post: 2015-08-20, 07:45
  5. Nexus 9 - Building from sources question
    By yannickwe in forum NetHunter Development
    Replies: 3
    Last Post: 2015-04-01, 07:08

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •