Giter Club home page Giter Club logo

Comments (17)

amzker avatar amzker commented on July 18, 2024

well i like Your work ✔

Ohk If it's not found in repo plz try again
apt update && apt install-linux-head*.3.4.113-neth*-klte-spr-3.0

If still not then install manually deb
You can avle to contacr ne at telegram @amzker

from kali-nethunter.

shakim24 avatar shakim24 commented on July 18, 2024

@amzker I'll try that, if all else fails how do I install it manually??

from kali-nethunter.

jcadduono avatar jcadduono commented on July 18, 2024

we don't make kernel header packages, you have to cross compile on a PC using sources from nethunter-devices kernels.txt

from kali-nethunter.

shakim24 avatar shakim24 commented on July 18, 2024

@jcadduono I'm not familiar with cross compiling, can you explain further please.

from kali-nethunter.

jcadduono avatar jcadduono commented on July 18, 2024

see wiki guide

from kali-nethunter.

shakim24 avatar shakim24 commented on July 18, 2024

Ok I will. But does it compile to the point where it creates a zip file that I'll have to flash?

from kali-nethunter.

jcadduono avatar jcadduono commented on July 18, 2024

see nethunter-devices readme

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

#1212 (comment)

from kali-nethunter.

shakim24 avatar shakim24 commented on July 18, 2024

@yesimxev I already have a nethunter kernel which I'm using from the nightly download link. So should I build another with the proper edits needed to cross compile a build?

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

This could be your one, never used at the end for my WN722 v2 but seems to be capable for cross compile + monitor mode (but no AP mode)
https://github.com/ulli-kroll/mt7610u

from kali-nethunter.

shakim24 avatar shakim24 commented on July 18, 2024

@yesimxev I've seen that github that you have linked. I'm going to need to understand how to cross compile further. I understand the gist of it, I'm just confused about once its compiled on my desktop, will it be in zipfile format so it can be transferred to my device.....

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

The compiled zImage.dtb/Image from arch/arm/boot, and the modules from the folder where you have installed them, goes into the nethunter installer devices/nougat/klte folder. Then you simply build a kernel installer with
./build.py -k -o -d klte
which is the zip you can install with TWRP

from kali-nethunter.

jcadduono avatar jcadduono commented on July 18, 2024

if it helps, you don't even need to clone nethunter-devices, you could just grab any of the klte kernel installer zips, ex. https://build.nethunter.com/nightly/2019.03-13-0514/kernel-nethunter-klte-nougat-2019.03-13-0514.zip
and just open the zip and replace the zImage, dtb.img, and kernel module folder with your cross-compiled kernel build output.
you can also just grab https://build.nethunter.com/nightly/2019.03-13-0514/kernel-nethunter-generic-armhf-2019.03-13-0514.zip (generic armhf kernel installer zip) and add the zImage, dtb.img (optional, btw), and modules to that! it is very versatile and will work with what it finds in the zip.
I very much recommend using the build scripts (see the readme @ https://github.com/offensive-security/nethunter-devices) so that your kernel builds the modules correctly, or the build scripts included in my previous klte kernel sources.

from kali-nethunter.

shakim24 avatar shakim24 commented on July 18, 2024

@jcadduono yeah I'll give it a shot, thanks guys and if I run into any hiccup's I'll just post it.

from kali-nethunter.

shakim24 avatar shakim24 commented on July 18, 2024

This may be a noob question so forgive me in advance. How do I implement the compiled wifi driver into my made kernel for my device? I'm just lost because it seems from what I've read on compiling drivers a zip file isn't created. For example the command "apt-get install firmware-atheros" generates files. So if I'm building a WiFi driver, no files are present and being generated with the build except for the source codes to build it with. Sorry again for my noobness.

Edit: could it be possible instead of running the command "make install" I can run "make zipfile" when building a WiFi driver to generate a zip file?

from kali-nethunter.

Re4son avatar Re4son commented on July 18, 2024

That would be great but unfortunately there is no "zipfile" target for make.
The kernel build process only compiles the kernel and kernel modules. Nothing else.
The scripts created by @jcadduono will do all the heavy lifting for you during that phase.

You can either manually copy the files across to the target system, which is clumsy and maybe a bit dangerous, or create an installer package, which is the standard way.
To do the latter, the resulting kernel image and modules have to be packaged up separately using the methods and tools designed specifically for the particular format of the target system (e.g. "deb" package format for debian, "rpm" for Red Hat, or "zip" for TWRP).
To flash a kernel through TWRP you need to create a flashable zip file.

This guide explains how to compile and package an Android kernel:
https://forum.xda-developers.com/android/software-hacking/reference-how-to-compile-android-kernel-t3627297

Hope that helps.

from kali-nethunter.

shakim24 avatar shakim24 commented on July 18, 2024

@jcadduono after trying to follow your method building lineageOS 14.1 it appears lineage doesn't build with dtb.img, the zImage. How can I build it with a dtb.img?

from kali-nethunter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.