Page 1 of 2 12 LastLast
Results 1 to 50 of 86

Thread: [KERNEL] KaliNethunterLollipopKernel

  1. #1

    [KERNEL] ElementalX-N5-Nethunter Kernel

    -------------------------------------closed------------------------------
    Last edited by discipuloosho; 2016-03-01 at 18:32.

  2. #2
    Join Date
    2014-Sep
    Posts
    176
    Hey discipuloosho,

    Great work! Have you tried it out yet? Did you use franco's kernel (I saw you thanked him) as a base? I also made a Nexus 5 (L) kernel and was testing it out. I'm curious about your experience with your kernel.

  3. #3
    hi binky, i thank franciscoFranco because drivers/usb/otg/msm_otg.c file is his (with your y_cable patch). Everything else i think it works well. The problems are that kali-nethunter files ( bootkali, killkali, etc...) don't works, no chroot, /data/local/busybox permissions problem, blabla... then i can't probe my kernel with kali. What do you think? I do not know why the scripts does not have permissions to execute anything. Permissions fix in updater-script for lollipop compatibility?
    Last edited by discipuloosho; 2014-11-15 at 23:28.

  4. #4
    Join Date
    2014-Sep
    Posts
    176
    It's because selinux is set to enforcement.

    We can use the modified ramdisk from here: https://github.com/Android-L-Porting...rhead-L-Rebase

    to disable selinux. Init.rc has to be modified with:

    Code:
    setenforce 0
    We need to change the installer to either flash a boot.img or modify the ramdisk in its place. I've been having issues modifying init.rc but I need more time to play around with it.

    * edit *

    Just flashed the kernel with setenforce 0 and still getting enforcing issues. You can see them with logcat:


    W/sh ( 3008): type=1400 audit(0.0:35): avc: denied { execute } for name="busybox" dev="mmcblk0p28" ino=671748 scontext=u:r:install_recovery:s0 tcontext=ubject_r:system_data_file:s0 tclass=file

    * edit 2 *

    I take it back it is working (permissive). I can access chroot now but getting error:

    ERROR: ld.so: object '/system/lib/libsigchain.so' from LD_PRELOAD cannot be preloaded: ignored.
    Last edited by binkybear; 2014-11-15 at 14:14.

  5. #5
    In ramdisk init.environ.rc file appears this:

    Code:
    export LD_PRELOAD libsigchain.so
    Can this have something to do?

  6. #6
    Join Date
    2014-Sep
    Posts
    176
    Yep, I believe it does.

    I removed it and that get's rid of error msgs and I can now put phone in monitor mode.

    However, testing wifite just keeps scanning. I am going to reflash from the beginning and see if I can get different results. I was modifying the ramdisk a lot.

  7. #7
    Ok, wifite and chroot works well

    What role will this library , right?

    ***edit***

    In my github you have folder with all ramdisk and boot files for directly to flash, if you want use it
    Last edited by discipuloosho; 2014-11-15 at 23:52.

  8. #8
    Join Date
    2014-Sep
    Posts
    176
    https://github.com/offensive-securit...hunter/pull/98 <-- we can leave it in the ramdisk and unset it in bootkali/killkali

  9. #9
    Join Date
    2014-Nov
    Posts
    6
    hows it coming guys?? Any progress on the Lollipop release??

  10. #10
    Binkybear, Android 5.0 has problem with /dev/hidg* for hid-keyboard. Look out issue: https://github.com/pelya/android-key...dget/issues/16

  11. #11
    @s3v3nh4cks - once it's ready we will announce it, there's no point in bumping threads with "is it ready yet".

  12. #12
    Join Date
    2014-Nov
    Posts
    6
    Quote Originally Posted by muts View Post
    @s3v3nh4cks - once it's ready we will announce it, there's no point in bumping threads with "is it ready yet".
    @muts Sorry, wasn't my intention, was just asking how the progress was coming.

  13. #13
    Exist one problem with dev/hidg* (virtuals keyboard and mouse) when plug via usb nethunter device on windows, kernel crash and i can't find the solution.

    *************EDIT*********************

    @binkybear , setenforce 1 must be removed from killkali file, exist problems with su command after killkali is executed.

    ************EDIT 2 ********************

    For virtual keyboard and mouse ( /dev/hidg* ) work sucesfully must be turn on MTP or PTP transfers usb modes.
    Last edited by discipuloosho; 2014-12-16 at 15:27.

  14. #14
    Join Date
    2014-Sep
    Posts
    176
    discipulossho - I will remove the setenforce 1. Thanks.

  15. #15
    Join Date
    2014-Dec
    Posts
    2
    should I flash nethunter after flashing this kernel

  16. #16
    Join Date
    2014-Sep
    Posts
    176
    This kernel is for lollipop so unless you are a developer or are comfortable with building your own nethunter I would advise to wait.

  17. #17
    Hello again boys, I am very happy because we have the best kernel made for nexus 5: ElementalX-N5 kernel, and NOW for our Kali Nethunter Nexus 5. This kernel works 2956800Hz (3 Ghz) per core, futher performance improvements (battery saving, undervolting, stable on overclock, and more) ..... that is, the best hammerhead kernel. Links in the first post.
    Last edited by discipuloosho; 2014-12-29 at 13:07.

  18. #18
    May i ask how to flash the custom kernel together with nethunter because i'm not used to flash a kernel seperately (I use Nexus-Root-Toolkit usually). And also everything in the README on github just explains how to build and compile a new kernel. Would it be enough to just install the flashable with TWRP? And should i do that before or after the installation of Nethunter 1.0.2?
    Last edited by BreakTheMesh; 2014-12-28 at 10:54.

  19. #19
    *********UPDATED**************

    The flashable zip file and source links in first post.
    Last edited by discipuloosho; 2014-12-29 at 15:40.

  20. #20
    Ok, thanks. I assume that i have to flash the kernel after Nethunter because NH has its own kernel which is installed together with NH, right?

  21. #21
    Join Date
    2014-Dec
    Posts
    21
    Hello! And you can compile rom?

  22. #22
    Quote Originally Posted by BreakTheMesh View Post
    Ok, thanks. I assume that i have to flash the kernel after Nethunter because NH has its own kernel which is installed together with NH, right?
    Right, first NH, after this kernel.

  23. #23
    Quote Originally Posted by @nonymous View Post
    Hello! And you can compile rom?
    TWRP Flashable zip? Yes, I'm on it.

  24. #24
    *********** IMPORTANT*********

    This kernel require to be installed in flashable zip via TWRP.



    ***********KERNEL READY********

    Links in the first post
    Last edited by discipuloosho; 2014-12-29 at 12:53.

  25. #25
    OK, thanks for your work. I really appreciate what you and binkybear do and wait for the .zip!

  26. #26
    So it is ready?!

    I have now 5.0.1 on my nexus 5 now i can install in twrp
    first this: kali_linux_nethunter_nexus5.zip
    and after the new kernel for L --> http://d-h.st/k68X
    And done i have nethunter again on my nexus 5 with Android L?

    And if the answer is yes all things is working or the kernel have bugs?

  27. #27
    Quote Originally Posted by beloadjoker View Post
    So it is ready?!

    I have now 5.0.1 on my nexus 5 now i can install in twrp
    first this: kali_linux_nethunter_nexus5.zip
    and after the new kernel for L --> http://d-h.st/k68X
    And done i have nethunter again on my nexus 5 with Android L?
    That is the procedure, yes.

    And if the answer is yes all things is working or the kernel have bugs?
    No bugs for now....
    Last edited by discipuloosho; 2014-12-29 at 15:19.

  28. #28
    Oh nice! :-) I try it if i have a little free time :-)

    Thank you for hard and awesome work!! :-)

  29. #29
    Quote Originally Posted by beloadjoker View Post
    Oh nice! :-) I try it if i have a little free time :-)

    Thank you for hard and awesome work!! :-)
    nothing

  30. #30
    Thanks for the zip, i installed everything and so far all features seem to work. But everytime i open the terminal i get "ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD
    cannot be preloaded: ignored." This error occurs very often but does not seem to be important.

  31. #31
    I got error :/
    So my steps:
    Install 5.0.1
    root+twrp with NRT
    copy nethunter image and the new kernel to phone
    Reboot to twrp --> install nethunter image and install the new kernel -->reboot
    i opened Kali launcher and the first Launch Kali Shell in Terminal and the error what i got:
    "Loaded Kali shell
    ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD cannot
    be preloaded: ignored.
    ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD cannot
    be preloaded: ignored.
    ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD cannot
    be preloaded: ignored.
    root@kali:~#"

    what i made bad what is your good install steps?
    oh and when i installed ElementalX kernel i just uncheck the fast charge option all the other settings are default

  32. #32
    Quote Originally Posted by beloadjoker View Post
    I got error :/
    So my steps:
    Install 5.0.1
    root+twrp with NRT
    copy nethunter image and the new kernel to phone
    Reboot to twrp --> install nethunter image and install the new kernel -->reboot
    i opened Kali launcher and the first Launch Kali Shell in Terminal and the error what i got:
    "Loaded Kali shell
    ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD cannot
    be preloaded: ignored.
    ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD cannot
    be preloaded: ignored.
    ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD cannot
    be preloaded: ignored.
    root@kali:~#"

    what i made bad what is your good install steps?
    oh and when i installed ElementalX kernel i just uncheck the fast charge option all the other settings are default
    Ok, I'll check your issue

    ********EDIT*********

    This issue is because your NH version is old. You should check the latest version.
    Last edited by discipuloosho; 2014-12-30 at 13:19.

  33. #33
    I download from here the nexus 5 version yesterday : http://www.offensive-security.com/ka...nter-download/
    where can i find newer version?
    Last edited by beloadjoker; 2014-12-30 at 14:55.

  34. #34
    The last NH image must be downloaded from github project page via linux https://github.com/offensive-securit...-nethunter.git

  35. #35
    sry but how can i download it to my nexus 5? if i download the zip i got kali-nethunter-master.zip but i need just nethunter for my nexus 5 can you please write step by step what i need to do?

  36. #36
    Join Date
    2014-Dec
    Location
    Germany
    Posts
    7
    Quote Originally Posted by discipuloosho View Post
    Ok, I'll check your issue

    ********EDIT*********

    This issue is because your NH version is old. You should check the latest version.
    having the same error suddenly.
    worked with older version before. even after compiling new today im getting this error.
    any idea what could be causing this?

  37. #37
    Join Date
    2014-Sep
    Posts
    176
    If you are building from the development branch of github you shouldn't encounter this error.

  38. #38
    Join Date
    2014-Dec
    Location
    Germany
    Posts
    7
    Quote Originally Posted by binkybear View Post
    If you are building from the development branch of github you shouldn't encounter this error.
    ... i guess that could be the reason. totally forgot to check for other branches

  39. #39
    Join Date
    2014-Dec
    Posts
    21
    I recently received the same error..

  40. #40
    Join Date
    2014-Dec
    Location
    Germany
    Posts
    7
    big thx for the hint. after compiling the development branch everything seems to be working again.

  41. #41
    I built nethunter from sources and installed it and now i get no errors but wlan1 is not found /i connect my wn722n/ what is the problem? i write my steps:

    so i used my kali 64bit
    and i installed what i find on github:

    mkdir ~/arm-stuff
    cd ~/arm-stuff
    git clone https://github.com/offensive-securit...-gnueabihf-4.7
    export PATH=${PATH}:/root/arm-stuff/gcc-arm-linux-gnueabihf-4.7/bin
    git clone https://github.com/offensive-security/kali-nethunter
    cd ~/arm-stuff/kali-nethunter
    ./build-deps.sh
    ./androidmenu.sh

    after:

    work path: /root/arm-stuff/kali-nethunter/1
    choosed 1 Build for Nexus Devices

    choosed 5 --> Nexus 5

    choosed 3 Build All - Kali rootfs and Kernel (AOSP/STOCK) (Android 5)

    Generating sha1sum for kernelkali.zip
    Kernel can be flashed seperatley if needed using kernel-kali-1.zip
    Transfer file to device and flash in recovery

    If you plan to add to ROM please place zip file in:
    /root/arm-stuff/kali-nethunter/PLACE_ROM_HERE

    Would you like to attach Kali build to ROM? (y/n): n
    All done!
    y

    KALI NETHUNTER BUILDER FOR ANDROID DEVICES

    WORK PATH: /root/arm-stuff/kali-nethunter/1

    [1] Build for Nexus Devices

    [2] Build for Samsung Devices

    [77] Inject finished rootfs/kernel into ROM
    [88] Build a rootfs only - Basic kali chroot for any Android Device
    [99] Unmount and Clean Work Folders (file dir removal currently disabled)

    [q] Exit


    Choice: q


    and after i reflash the 5.0.1 rom to my nexus 5 with Nexus root toolkit + root + twrp
    copy 1.zip and ElementalX-Nethunter-Signed.zip to my phone
    reboot to twrp
    first install 1.zip
    and second the ElementalX kernel <-- all settings default except usb fast charge i uncheck it
    all done--> reboot
    i saw nethunter app, i tested SET in terminal but i connect my wn722n with otg cable and nothing, what i made bad?

  42. #42
    Join Date
    2014-Dec
    Location
    Germany
    Posts
    7
    Quote Originally Posted by beloadjoker View Post
    I built nethunter from sources and installed it and now i get no errors but wlan1 is not found /i connect my wn722n/ what is the problem? i write my steps:

    so i used my kali 64bit
    and i installed what i find on github:

    mkdir ~/arm-stuff
    cd ~/arm-stuff
    git clone https://github.com/offensive-securit...-gnueabihf-4.7
    export PATH=${PATH}:/root/arm-stuff/gcc-arm-linux-gnueabihf-4.7/bin
    git clone https://github.com/offensive-security/kali-nethunter
    cd ~/arm-stuff/kali-nethunter
    ./build-deps.sh
    ./androidmenu.sh
    ...
    might wanna try
    Code:
    git clone https://github.com/offensive-security/kali-nethunter -b development
    instead. that solved my wlan problems

  43. #43
    Join Date
    2014-Dec
    Posts
    21
    Today I compiled the kernel + ROM, but the size of the "rom" only ~50mb, so it should be?

    MEGA: https://mega.co.nz/#F!uUFCWTQL!8SLclVokpNW7SCtu8ZZMGQ
    Last edited by @nonymous; 2015-01-04 at 10:33.

  44. #44
    for me still not working :/

  45. #45
    Join Date
    2014-Dec
    Posts
    21
    I tried to re-assemble, but get errors... and can't even run Kali Menu / Shell

  46. #46
    Join Date
    2014-Dec
    Location
    Germany
    Posts
    7
    you could also check your building log for errors. check your terminal window after building by searching error.
    without more info its kinda impossible to tell what went wrong.
    try deleting everything and pulling the development branch again

  47. #47
    Join Date
    2014-Dec
    Posts
    21
    BDZC, I've tried everything to clear and start again, even with the LiveCD, but every time there is a lot of errors.
    Here is the compile part log with errors, sorry for Ru, Lang.:

    Code:
    03:09:48-root@anonymous:(~/arm-stuff/kali-nethunter)./build-deps.sh
    Чтение списков пакетов… Готово
    Построение дерева зависимостей       
    Чтение информации о состоянии… Готово
    E: Не удалось найти пакет pixz
    E: Не удалось найти пакет pixz
    Некоторые пакеты невозможно установить. Возможно, вы просите невозможного,
    или же используете нестабильную версию дистрибутива, где запрошенные вами
    пакеты ещё не созданы или были удалены из Incoming.
    Следующая информация, возможно, поможет вам:
    
    Пакеты, имеющие неудовлетворённые зависимости:
     ia32-libs : Зависит: ia32-libs-i386
    E: Невозможно исправить ошибки, у вас отложены (held) битые пакеты.
    Чтение списков пакетов… Готово
    Построение дерева зависимостей       
    Чтение информации о состоянии… Готово
    Уже установлена самая новая версия libncurses5:i386.
    обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 131 пакетов не обновлено.
    03:10:13-root@anonymous:(~/arm-stuff/kali-nethunter)./androidmenu.sh
    
    Checking for git updates in local folder...
    remote: Counting objects: 8, done.
    remote: Compressing objects: 100% (8/8), done.
    remote: Total 8 (delta 4), reused 4 (delta 0)
    Unpacking objects: 100% (8/8), done.
    From https://github.com/offensive-security/kali-nethunter
       f9a4e49..45dd939  nethunterbuild -> origin/nethunterbuild
    
    ...
    
    Previous rootfs build not found. Starting build.
    Found cross compiler - will continue
    ./androidmenu.sh: line 506: debootstrap: команда не найдена
    cp: не удалось выполнить stat для «/usr/bin/qemu-arm-static»: Нет такого файла или каталога
    chroot: cannot change root directory to kali-armhf: No such file or directory
    ./androidmenu.sh: line 514: kali-armhf/etc/apt/sources.list: Нет такого файла или каталога
    ./androidmenu.sh: line 521: kali-armhf/etc/hostname: Нет такого файла или каталога
    ./androidmenu.sh: line 526: kali-armhf/root/.bash_profile: Нет такого файла или каталога
    ./androidmenu.sh: line 544: kali-armhf/etc/hosts: Нет такого файла или каталога
    cp: указанная цель «kali-armhf/usr/bin/» не является каталогом
    cp: указанная цель «kali-armhf/usr/bin/» не является каталогом
    cp: указанная цель «kali-armhf/usr/bin/» не является каталогом
    ./androidmenu.sh: line 560: kali-armhf/etc/network/interfaces: Нет такого файла или каталога
    ./androidmenu.sh: line 565: kali-armhf/etc/resolv.conf: Нет такого файла или каталога
    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 584: kali-armhf/debconf.set: No such file or directory
    ./androidmenu.sh: line 589: 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
    cp: target `/root/arm-stuff/kali-nethunter/rootfs/kali-armhf/usr/bin/' is not a directory
    cp: cannot create regular file `/root/arm-stuff/kali-nethunter/rootfs/kali-armhf/usr/bin/': No such file or directory
    cp: target `/root/arm-stuff/kali-nethunter/rootfs/kali-armhf/usr/share/mana-toolkit/run-mana/' is not a directory
    dos2unix: /root/arm-stuff/kali-nethunter/rootfs/kali-armhf/usr/share/mana-toolkit/run-mana/*: No such file or directory
    dos2unix: Skipping /root/arm-stuff/kali-nethunter/rootfs/kali-armhf/usr/share/mana-toolkit/run-mana/*, not a regular file.
    dos2unix: /root/arm-stuff/kali-nethunter/rootfs/kali-armhf/etc/mana-toolkit/*: No such file or directory
    dos2unix: Skipping /root/arm-stuff/kali-nethunter/rootfs/kali-armhf/etc/mana-toolkit/*, not a regular file.
    chmod: cannot access `/root/arm-stuff/kali-nethunter/rootfs/kali-armhf/usr/share/mana-toolkit/run-mana/*': No such file or directory
    chmod: cannot access `/root/arm-stuff/kali-nethunter/rootfs/kali-armhf/usr/bin/*.sh': No such file or directory
    Cloning into '/root/arm-stuff/kali-nethunter/rootfs/kali-armhf/opt/rawr'...
    remote: Counting objects: 748, done.
    remote: Compressing objects: 100% (708/708), done.
    remote: Total 748 (delta 392), reused 168 (delta 36)
    Receiving objects: 100% (748/748), 975.44 KiB | 48 KiB/s, done.
    Resolving deltas: 100% (392/392), done.
    chroot: failed to run command `pip': No such file or directory
    Cloning into '/root/arm-stuff/kali-nethunter/rootfs/kali-armhf/opt/MITMf'...
    remote: Counting objects: 1023, done.
    remote: Total 1023 (delta 0), reused 0 (delta 0)
    Receiving objects: 100% (1023/1023), 439.65 KiB | 410 KiB/s, done.
    Resolving deltas: 100% (675/675), done.
    ./androidmenu.sh: line 641: /root/arm-stuff/kali-nethunter/rootfs/kali-armhf/tmp/mitmf.sh: No such file or directory
    chmod: cannot access `/root/arm-stuff/kali-nethunter/rootfs/kali-armhf/tmp/mitmf.sh': No such file or directory
    chroot: failed to run command `/tmp/mitmf.sh': No such file or directory
    89.txt
    /root/arm-stuff/kali-nethunter/rootfs/kali-armhf/usr/bin/pingen: No such file or directory
    chmod: cannot access `/root/arm-stuff/kali-nethunter/rootfs/kali-armhf/usr/bin/pingen': No such file or directory
    chroot: failed to run command `pip': No such file or directory
    --2015-01-06 03:13:06--  https://github.com/smicallef/spiderf...0-final.tar.gz
    Resolving github.com (github.com)... 192.30.252.131
    Connecting to github.com (github.com)|192.30.252.131|:443... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: https://codeload.github.com/smicalle...z/v2.2.0-final [following]
    --2015-01-06 03:13:07--  https://codeload.github.com/smicalle...z/v2.2.0-final
    Resolving codeload.github.com (codeload.github.com)... 192.30.252.147
    Connecting to codeload.github.com (codeload.github.com)|192.30.252.147|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 695294 (679K) [application/x-gzip]
    Saving to: `spiderfoot.tar.gz'
    
    ...
    
    sed: can't read /root/arm-stuff/kali-nethunter/rootfs/kali-armhf/etc/kismet/kismet.conf: No such file or directory
    cp: cannot create regular file `/root/arm-stuff/kali-nethunter/rootfs/kali-armhf/usr/bin/kalimenu': No such file or directory
    Cloning into 'google-nexus-tools'...
    remote: Counting objects: 95, done.
    remote: Compressing objects: 100% (88/88), done.
    remote: Total 95 (delta 45), reused 0 (delta 0)
    Receiving objects: 100% (95/95), 2.11 MiB | 499 KiB/s, done.
    Resolving deltas: 100% (45/45), done.
    cp: cannot create regular file `/root/arm-stuff/kali-nethunter/rootfs/kali-armhf/usr/bin/adb': No such file or directory
    cp: cannot create regular file `/root/arm-stuff/kali-nethunter/rootfs/kali-armhf/usr/bin/fastboot': No such file or directory
    chroot: failed to run command `chmod': No such file or directory
    chroot: failed to run command `chmod': No such file or directory
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100  5079  100  5079    0     0  15101      0 --:--:-- --:--:-- --:--:-- 18811
    cp: cannot create regular file `/root/arm-stuff/kali-nethunter/rootfs/kali-armhf/usr/bin/deadbolt': No such file or directory
    chroot: failed to run command `chmod': No such file or directory
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100  9269  100  9269    0     0  27754      0 --:--:-- --:--:-- --:--:-- 34715
    cp: cannot create regular file `/root/arm-stuff/kali-nethunter/rootfs/kali-armhf/usr/bin/apfucker.py': No such file or directory
    chroot: failed to run command `chmod': No such file or directory
    cp: cannot create regular file `/root/arm-stuff/kali-nethunter/rootfs/kali-armhf/usr/bin/hid-keyboard': No such file or directory
    cp: cannot create regular file `/root/arm-stuff/kali-nethunter/rootfs/kali-armhf/usr/bin/hid-dic': No such file or directory
    chroot: failed to run command `chmod': No such file or directory
    chroot: failed to run command `chmod': No such file or directory
    chroot: failed to run command `chmod': No such file or directory
    ./androidmenu.sh: line 708: kali-armhf/etc/dnsmasq.conf: No such file or directory
    ./androidmenu.sh: line 728: kali-armhf/etc/group: No such file or directory
    ./androidmenu.sh: line 729: kali-armhf/etc/group: No such file or directory
    chroot: failed to run command `/cleanup': No such file or directory
    umount: /root/arm-stuff/kali-nethunter/rootfs/kali-armhf/proc/sys/fs/binfmt_misc: not found
    umount: /root/arm-stuff/kali-nethunter/rootfs/kali-armhf/dev/pts: not found
    umount: /root/arm-stuff/kali-nethunter/rootfs/kali-armhf/dev/: not found
    umount: /root/arm-stuff/kali-nethunter/rootfs/kali-armhf/proc: not found
    I realized that errors occur in the file "kalifs.tar.bz2" as the file size does not match the original. And when you start a terminal, you receive the error " '/bin/bash': No such file or directory " and unpack the file "kalifs.tar.bz2" there's no many folders.
    Last edited by @nonymous; 2015-01-05 at 20:41.

  48. #48
    Join Date
    2014-Dec
    Location
    Germany
    Posts
    7
    looks like you dont even have the deps installed. without those i guess you will never build.
    make sure you have those tools listed in build-deps.sh installed.
    Code:
    apt-get install 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
    if some are not found id check my apt repo at /etc/apt/sources.list
    anyway it looks like your system is incomplete and also id recommend using installed Kali either on system or vmware.
    you can download prebuild vmware image

  49. #49
    Join Date
    2014-Dec
    Posts
    21
    BDZC, well, will check later, I use the original image of Kali Linux x64 1.0.9 as a main system on the 2nd laptop.

  50. #50
    Join Date
    2014-Dec
    Posts
    21
    I reinstalled the system and installed all the packages, but still have errors. could you compile and upload to the exchange? is it possible to compile from source in another unix-like system?

Similar Threads

  1. Dpkg error in kernel build says kernel not configured
    By SamaraMorgan in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2022-12-27, 22:08
  2. Im tring to build a kernel with kernel builder but im getting error
    By dylanmurz in forum NetHunter Development
    Replies: 0
    Last Post: 2020-05-28, 16:14
  3. Replies: 11
    Last Post: 2019-01-15, 14:47
  4. Replies: 12
    Last Post: 2017-03-05, 03:28
  5. Replies: 6
    Last Post: 2014-01-15, 21:00

Posting Permissions

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