Results 1 to 2 of 2

Thread: Source build way smaller than pre-build?

  1. #1

    Source build way smaller than pre-build?

    I built NetHunter kernel and fs from https://github.com/offensive-securit...er/tree/master for my Nexus 7 2013 wifi LP v5 (Razor).

    The result was two files, 1. the kernel, which installed and shows in my about phone.
    2. was update-kali.zip

    The update.zip I built was 46MB in size and the chroot doesn't work.

    i used the ./androidmenu.sh to build and it did everything for me.

    Could anyone help me figure out why my flashable file is way smaller(46MB) than the pre-built ones(800MB) available for download?
    And where did I go wrong that broke chroot?


    EDIT:
    Probably found out what caused this.

    My virtual disk was "mounted with noexec"

    I found out I could change it by doing "mount -o remount,exec,dev /media/root/VirtualDisk2"
    Where VirtualDisk2 was the virtual drive I had the repos cloned on and was trying to execute the sh to build.
    Last edited by xNotta; 2015-11-07 at 23:47.

  2. #2
    Join Date
    2016-Oct
    Location
    South Texas
    Posts
    20
    In the nethunter-installer directory look at the readme file for build instructions. Nethunter already has a kernel built for the nexus 7, so no need to build a new one. Follow the directions for the build.py for your device and add the --rootfs full to the end. This will add the chroot to the build.
    That is the difference for the file size, the chroot will add the 600 mb+ to your build.

Similar Threads

  1. New build
    By gizmo666 in forum General Archive
    Replies: 0
    Last Post: 2020-02-05, 20:01
  2. Custom, smaller build weight more than official, bigger
    By Bolec in forum Building Archive
    Replies: 3
    Last Post: 2017-05-24, 04:08
  3. How to know if a new build is available
    By jonathanxx1 in forum NetHunter General Questions
    Replies: 8
    Last Post: 2014-10-28, 14:03

Posting Permissions

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