Comments (17)
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.
@amzker I'll try that, if all else fails how do I install it manually??
from kali-nethunter.
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.
@jcadduono I'm not familiar with cross compiling, can you explain further please.
from kali-nethunter.
see wiki guide
from kali-nethunter.
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.
see nethunter-devices readme
from kali-nethunter.
from kali-nethunter.
@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.
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.
@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.
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.
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.
@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.
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.
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.
@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)
- Missing /dev/shm HOT 5
- Not working hid attacks winth NetHunter HOT 1
- Burp suit does not start and how to fixx??
- Kali Nethunter Terminal not working HOT 9
- Nethunter Kernel Opx Stuck on Boot HOT 1
- Confused as to what my sources.list should be on older Nexus 7 HOT 86
- Unfortunately setting (or many other services ) has stopped. HOT 4
- TP LINK WN722N v1 not detected HOT 46
- SearchSploit First Start HOT 6
- Edit: New Situation, clean install went fine, App and several services, like terminal, keep crashing.. HOT 20
- Question kalifs-minimal and HID Duckhunter HOT 2
- /system is not mounted in chroot HOT 6
- custom command shortcut
- shortcut custom command in nethunter
- Internet connection from kali nethunter to android
- Nexus 6p Oreo 8.1 External network card is not supported HOT 12
- Nethunter Nexus 6 (shamu) lineageOS kernel HOT 2
- nethunter for nexus 5x
- Bliss OS / Phoenix / Maru / Android_x86_64 builds? Devs?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kali-nethunter.