You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+38-18Lines changed: 38 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,10 @@ An Android kernel with Kali NetHunter functionality.
7
7
-[zero\_kernel](#zero_kernel)
8
8
-[Contents](#contents)
9
9
-[**Disclaimer**](#disclaimer)
10
+
-[Description](#description)
10
11
-[Kernel Features](#kernel-features)
11
12
-[Supported ROMs](#supported-roms)
12
-
-[Important Note](#important-note)
13
+
-[ROM Artifacts in Releases](#rom-artifacts-in-releases)
13
14
-[Usage](#usage)
14
15
-[Prerequisites](#prerequisites)
15
16
-[Kernel](#kernel)
@@ -27,6 +28,14 @@ An Android kernel with Kali NetHunter functionality.
27
28
28
29
**Anything you do with this kernel you do at your own risk. By using it, you take the responsibility upon yourself and in case of any issue you are not to blame me or other related contributors.**
29
30
31
+
## Description
32
+
33
+
Technically speaking, the codebase of this project is an extensive wrapper automating the entire Android kernel build process, starting from kernel source collection and ending with artifact packaging.
34
+
35
+
The key goal is to modify the kernel in such a way that enables unique features of [Kali NetHunter](https://www.kali.org/docs/nethunter) — a ROM layer designed to add extended functionality for penetration testing in a mobile form factor.
36
+
37
+
The architecture of this wrapper is ~~trying to be~~ as modular as possible, making it a little easier to add support for new devices.
38
+
30
39
## Kernel Features
31
40
32
41
The kernel has the following features:
@@ -38,7 +47,7 @@ The kernel has the following features:
38
47
39
48
## Supported ROMs
40
49
41
-
For OnePlus 5/T devices:
50
+
For **OnePlus 5/T** devices:
42
51
43
52
- 4.4 Linux kernel version:
44
53
- LineageOS;
@@ -52,11 +61,11 @@ For OnePlus 5/T devices:
52
61
53
62
\** -- this, **in theory**, is relevant to all 4.14-based ROMs for this device in existence.
54
63
55
-
## Important Note
64
+
## ROM Artifacts in Releases
56
65
57
66
The contents of each release include ROM builds compatible with corresponding kernel builds. These ROM files are **unmodified and mirrored from official sources**.
58
67
59
-
This can be verified with the checksums, which should be identical to the ones presented on the ROM project's official web page.
68
+
This can be verified via the checksums, which should be identical to the ones presented on the ROM project's official web page.
60
69
61
70
You can always download the same ROM file from official sources if you'd like. The mirroring in this repository is done due to the fact that some ROM projects remove their older builds once they become too outdated.
62
71
@@ -97,11 +106,10 @@ To run this tool in a `local` environment, you will need:
97
106
You will also need a few Python packages. To install them, use:
98
107
99
108
```sh
109
+
python3 -m pip install poetry
100
110
python3 -m poetry install --no-root
101
111
```
102
112
103
-
To install `poetry`, use `python3 -m pip install poetry`.
104
-
105
113
### Kernel
106
114
107
115
Kernel build process can be launched by using the `python3 wrapper kernel <arguments>` command.
@@ -110,14 +118,14 @@ For more options you can refer to the help message below.
Copy file name to clipboardExpand all lines: docs/FAQ.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ This page contains answers to popular questions in relation to this kernel.
4
4
5
5
## Q: How to TURN ON monitor mode on internal Wi-Fi card?
6
6
7
-
There are two options to switch internal Wi-Fi card to monitor mode:
7
+
**A:**There are two options to switch internal Wi-Fi card to monitor mode:
8
8
9
9
- in Kali chroot environment, launch `airmon-ng start wlan0`;
10
10
- in NetHunter app, navigate to the `Custom Commands` menu and launch the `Start wlan0 in monitor mode`.
@@ -13,14 +13,14 @@ Be aware that while in monitor mode, you won't be able to connect to a Wi-Fi net
13
13
14
14
## Q: How to TURN OFF monitor mode on internal Wi-Fi card?
15
15
16
-
Similarly, depending on which approach you chose to turn on the monitor mode, there are two options:
16
+
**A:**Similarly, depending on which approach you chose to turn on the monitor mode, there are two options:
17
17
18
18
- in Kali chroot environment -> `airmon-ng stop wlan0`;
19
19
- in NetHunter app -> `Custom Commands` -> `Stop wlan0 in monitor mode`.
20
20
21
21
## Q: Why is there an unused wlan1 interface?
22
22
23
-
**TL;DR**: Because it's a ~~bug~~ feature of Android 13.
23
+
**A:** Because it's a ~~bug~~ feature of Android 13.
24
24
25
25
Initially, when launching `airmon-ng` in Kali chroot environment without any of the interfaces in monitor mode and no external adapters plugged in, you will see two wlan interfaces: `wlan0` and `wlan1`.
26
26
@@ -30,4 +30,8 @@ Switching `wlan0` to monitor mode disables `wlan1` completely. However, when res
30
30
31
31
## Q: How to TURN ON and OFF monitor mode on external Wi-Fi card?
32
32
33
-
For an external card, you would have to use `airmon-ng start <interface>` and `airmon-ng stop <interface>` commands.
33
+
**A:** For an external card, you would have to use `airmon-ng start <interface>` and `airmon-ng stop <interface>` commands.
34
+
35
+
## Q: How do I switch from standard partition ROM to retrofit dynamic partition ROM and vice versa?
36
+
37
+
**A:** Refer to these [instructions](https://gist.github.com/nkeor/d71b7884ee951de669b0d4baeacc58ba).
Copy file name to clipboardExpand all lines: docs/FLASHING.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ Listed below files are required:
23
23
- compiled kernel, obviously;
24
24
- ROM;
25
25
- Magisk or KernelSU;
26
-
- TWRP, the unofficial 3.7.0 version (supports operations with encrypted and dynamic partitions);
26
+
- TWRP, the special [build](https://sourceforge.net/projects/op5-5t/files/Android-12/TWRP/twrp-3.7.0_12-5-dyn-cheeseburger_dumpling.img/download) by faoliveira78 (supports operations with encrypted and dynamic partitions);
27
27
- DM-Verity and Force Encrypt disabler;
28
28
- Kali NetHunter + Kali NetHunter Terminal apps;
29
29
- Kali NetHunter Chroot (you can do this later, but it would be easier to download this beforehand);
@@ -50,8 +50,9 @@ Before doing anything, please ensure that you have:
50
50
- wipe your phone via `Wipe -> Advanced Wipe` menu, check all the shown boxes;
51
51
- wipe your device again via `Wipe -> Format Data` menu (this will remove any encryption that is present on your device);
52
52
- reboot into TWRP via `Reboot -> Recovery`;
53
-
- flash ROM;
54
-
- flash kernel;
53
+
- if using a Retrofit Dynamic Partitions ROM such as ParanoidAndoid -> untoggle `Unmount System before installing a ZIP` in the Settings;
54
+
- flash the ROM;
55
+
- flash the kernel;
55
56
-**if using Magisk** --> flash root manager (Magisk; you must change the `.apk` extension into `.zip` for this);
0 commit comments