Results 1 to 10 of 10

Thread: How to get Nethunter Kernel Builder?

  1. #1
    Join Date
    2017-Apr
    Posts
    2

    Question How to get Nethunter Kernel Builder?

    I've been trying to develop a nethunter kernel for my mobile phone according to the guides given in the Kali Documentation.In patching the kernel section, the documentation guides using Nethunter Kernel Builder but there is no instructions on how to get the kernel builder,Can anyone tell me how to get the nethunter kernel builder?

  2. #2
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    445
    Sorry for that. I'm working on that part of the documentation at this very moment :-)

    cd into your kernel source directory and execute:

    Code:
    git clone https://gitlab.com/kalilinux/nethunter/build-scripts/kali-nethunter-kernel
    cd kali-nethunter-kernel
    ./build.sh
    the "config" file has the default configuration. Look but don't touch ;-) To change any of those settings, create a file called "local.config" and overwrite any of those parameters.
    Best to pick one of those "local.config.example" files that comes the closest to your requirements and copy that across to "local.config".

    Just give it a crack and come back here if you have any questions.

  3. #3
    Join Date
    2017-Apr
    Posts
    2
    bro
    But my kernel version is not available in nethunter kernel patches .My kernel version is 4.9. So how do i patch the patches?
    If manually,Then How?
    Thanks fro replying

  4. #4
    Join Date
    2019-Nov
    Posts
    169
    Hello @Re4son,
    I'm having trouble with build.sh . Most of the menu selections result in an error:
    Code:
    /build.sh: line 369: cd: ~/android_kernel_oppo_msm8974/arch/arm64/configs: No such file or directory
    This is then followed by 88 options.

    I have checked for that path, and sure enough, there is no arm64 folder inside arch.

    I am trying to compile for a OnePlus 1 under LineageOS 16.0.

    Any clues as to shat to do?

  5. #5
    Join Date
    2019-Nov
    Posts
    169
    Disreagrd, I figured it out. Archetecture is set by the $ARCH variable in local.config . I didn't have that defined, so it used the default from the main config file.

    It is fixed now.

  6. #6
    Join Date
    2020-May
    Posts
    2
    im trying to build for sdm 660 device but i get

    make[1]: Entering directory '/home/ubuntu/Downloads/kali-nethunter-kernel/out'
    arch/arm64/Makefile:27: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum
    arch/arm64/Makefile:77: *** /root/android/toolchains/armhf-4.9/bin/arm-linux-androideabi-gcc not found, check CROSS_COMPILE_ARM32. Stop.
    make[1]: Leaving directory '/home/ubuntu/Downloads/kali-nethunter-kernel/out'
    make: *** [Makefile:152: sub-make] Error 2
    make: Leaving directory '/home/ubuntu/Downloads/kali-nethunter-kernel/android_kernel_samsung_sdm670-10.0-luis-los'

    real 0m0.034s
    user 0m0.028s
    sys 0m0.003s
    make: Entering directory '/home/ubuntu/Downloads/kali-nethunter-kernel/android_kernel_samsung_sdm670-10.0-luis-los'
    make[1]: Entering directory '/home/ubuntu/Downloads/kali-nethunter-kernel/out'
    arch/arm64/Makefile:27: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum
    arch/arm64/Makefile:77: *** /root/android/toolchains/armhf-4.9/bin/arm-linux-androideabi-gcc not found, check CROSS_COMPILE_ARM32. Stop.
    make[1]: Leaving directory '/home/ubuntu/Downloads/kali-nethunter-kernel/out'
    make: *** [Makefile:152: sub-make] Error 2
    make: Leaving directory '/home/ubuntu/Downloads/kali-nethunter-kernel/android_kernel_samsung_sdm670-10.0-luis-los'

    real 0m0.042s
    user 0m0.028s
    sys 0m0.008s
    [ SUCCESS ] Kernel build completed
    [ QUESTION ] Save .config as nethunter_defconfig? [y/n]

  7. #7
    what should we do after building our kernel?

  8. #8
    hello, i too have visited the page https://www.kali.org/news/kali-nethunter-updates/ , to find the "linux kernel builder' but there were no links . Also this section "On the topic of documentation; the documentation for the kernel builder is yet to be completed but we plan to finish that within 7 days of this blog post going up."

    Shouldn't it be up by now? i would really like to try to learn and build linux kernel for nethunter. Please help.. thanks.

  9. #9
    Join Date
    2019-Nov
    Posts
    169

  10. #10
    Join Date
    2022-Jul
    Location
    ?*?????
    Posts
    1

    -

    can anyone make a website for hb with php things? please cuz i dont know **** about making sites, i can only do freewebs but i only know how to do the basic

Similar Threads

  1. Help: Nethunter Kernel Builder
    By morty luthier in forum Building NetHunter
    Replies: 5
    Last Post: 2021-12-23, 06:14
  2. NetHunter Kernel Builder
    By morty luthier in forum Building NetHunter
    Replies: 1
    Last Post: 2020-07-31, 00:16
  3. 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
  4. Kernel builder Idea ?
    By elrapid0 in forum Building NetHunter
    Replies: 2
    Last Post: 2020-04-25, 17:41
  5. Something seems wonky with NetHunter Kernel builder
    By aaronouthier in forum NetHunter Development
    Replies: 12
    Last Post: 2020-04-18, 23:49

Tags for this Thread

Posting Permissions

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