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
+58-41Lines changed: 58 additions & 41 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# s0nh_kernel — an Android kernel w/ Kali NetHunter support
1
+
# zero_kernel — an Android kernel w/ Kali NetHunter support
2
2
3
3
## **Disclaimer**
4
4
@@ -8,24 +8,26 @@
8
8
9
9
**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.**
10
10
11
-
## **Contents**
11
+
## Contents
12
12
13
-
-[s0nh\_kernel — an Android kernel w/ Kali NetHunter support](#s0nh_kernel--an-android-kernel-w-kali-nethunter-support)
13
+
-[zero\_kernel — an Android kernel w/ Kali NetHunter support](#zero_kernel--an-android-kernel-w-kali-nethunter-support)
14
14
-[**Disclaimer**](#disclaimer)
15
-
-[**Contents**](#contents)
16
-
-[**Kernel Features**](#kernel-features)
17
-
-[**Supported ROMs and devices**](#supported-roms-and-devices)
18
-
-[**ROMs**](#roms)
19
-
-[**Devices**](#devices)
20
-
-[**Usage**](#usage)
21
-
-[**Prerequisites**](#prerequisites)
22
-
-[**Kernel**](#kernel)
23
-
-[**Assets**](#assets)
24
-
-[**Bundle**](#bundle)
25
-
-[**Examples**](#examples)
26
-
-[**See also**](#see-also)
27
-
28
-
## **Kernel Features**
15
+
-[Contents](#contents)
16
+
-[Kernel Features](#kernel-features)
17
+
-[Supported ROMs and devices](#supported-roms-and-devices)
18
+
-[ROMs](#roms)
19
+
-[Devices](#devices)
20
+
-[Important Note](#important-note)
21
+
-[Usage](#usage)
22
+
-[Prerequisites](#prerequisites)
23
+
-[Kernel](#kernel)
24
+
-[Assets](#assets)
25
+
-[Bundle](#bundle)
26
+
-[Examples](#examples)
27
+
-[Credits](#credits)
28
+
-[See also](#see-also)
29
+
30
+
## Kernel Features
29
31
30
32
The kernel has the following features:
31
33
@@ -34,21 +36,32 @@ The kernel has the following features:
34
36
- packet injection support for internal Wi-Fi chipset;
35
37
- KernelSU support.
36
38
37
-
## **Supported ROMs and devices**
39
+
## Supported ROMs and devices
38
40
39
-
#### **ROMs**
41
+
#### ROMs
40
42
41
43
- LineageOS;
42
-
- ParanoidAndroid.
44
+
- ParanoidAndroid;
45
+
- x_kernel supported (universal)*.
43
46
44
-
#### **Devices**
47
+
\* -- this is mostly relevant to ROMs based on LineageOS; however, technically speaking, this includes ParanoidAndroid as well, which makes x_kernel-based builds universal.
48
+
49
+
#### Devices
45
50
46
51
- OnePlus 5;
47
52
- OnePlus 5T.
48
53
49
-
## **Usage**
54
+
## Important Note
55
+
56
+
The contents of each release include ROM builds compatible with corresponding kernel builds. These ROM files are **unmodified and mirrored from official sources**.
57
+
58
+
This can be verified with the checksums, which should be identical to the ones presented on the ROM project's official web page.
59
+
60
+
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.
61
+
62
+
## Usage
50
63
51
-
The custom build wrapper consists of 3 main parts:
64
+
The custom build wrapper consists of 3 main components:
52
65
53
66
- kernel builder;
54
67
- assets collector;
@@ -58,7 +71,7 @@ The custom build wrapper consists of 3 main parts:
{conan,slim,full} select package type of the bundle
186
198
187
-
optional arguments:
199
+
options:
188
200
-h, --help show this help message and exit
189
201
--conan-upload upload Conan packages to remote
190
202
--clean-image remove Docker/Podman image from the host machine after
@@ -196,7 +208,7 @@ optional arguments:
196
208
--ksu add KernelSU support
197
209
```
198
210
199
-
## **Examples**
211
+
## Examples
200
212
201
213
Here are some examples of commands:
202
214
@@ -207,7 +219,12 @@ Here are some examples of commands:
207
219
- Collect all the assets locally:
208
220
-`python3 wrapper assets local los dumpling full`.
209
221
210
-
## **See also**
222
+
## Credits
223
+
224
+
-[x_kernel_oneplus_msm8998](https://github.com/ederekun/x_kernel_oneplus_msm8998): OnePlus 5/T kernel with many optimizations and improvements;
225
+
-[kali-nethunter-kernel](https://gitlab.com/kalilinux/nethunter/build-scripts/kali-nethunter-kernel): official kernel patches from Kali NetHunter project.
Copy file name to clipboardExpand all lines: docs/FLASHING.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ Listed below files are required:
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);
30
-
-`nhpatch.sh` script from this repo (fixes NetHunter permissions for Android 12+).
30
+
-~~`nhpatch.sh` script from this repo (fixes NetHunter permissions for Android 12+)~~ with recent NetHunter app versions, `nhpatch.sh` usage is no longer required.
31
31
32
32
Currently, all of the mentioned assets can be collected via the `assets` subcommand in the wrapper (use `full` option).
33
33
@@ -63,9 +63,7 @@ Before doing anything, please ensure that you have:
63
63
- install Magisk apk, open it and do what the pop-up says (finish root installation, which will automatically reboot your device; if you don't see the pop-up, close the Magisk app and open it again);
64
64
- once booted back into OS, open Magisk app again and proceed with finishing the installation (when prompted with "Additional Setup", select the default `Patch vbmeta in boot image` in `Options` and `Direct install` in `Method` submenus);
65
65
- install NetHunter + NetHunter Terminal apps;
66
-
- open NetHunter app and grant all the permissions (at some point you will see an error indicating that some permissions are not granted; that's normal, the next step will fix that);
67
-
- in NetHunter Terminal app open `AndroidSu` shell, navigate through your storage and launch the `nhpatch.sh`;
68
-
- open NetHunter app (permissions should be fixed now);
66
+
- open NetHunter app (if seeing a Busybox-related error, press "OK" and re-open the app);
69
67
- navigate to the `Kali Chroot Manager` submenu and install the chroot (if you downloaded it beforehand, use the "restore" option);
70
68
- in NetHunter Terminal app open `Kali` shell (if it opens properly, then congratulations, you have a working Kali NetHunter on your device).
71
69
@@ -74,8 +72,10 @@ Before doing anything, please ensure that you have:
74
72
- install KernelSU Manager app, open it and verify that the `Superuser` tab works properly (should show the `Shell` item);
75
73
- install NetHunter and NetHunter Terminal apps, but do not open them yet;
76
74
- open KernelSU Manager app, grant SU permissions to both NetHunter and NetHunter Terminal apps via `Superuser` tab;
77
-
- in NetHunter Terminal app open `AndroidSu` shell, navigate through your storage and launch the `nhpatch.sh`;
78
-
- open the NetHunter app;
79
-
- when seeing the Busybox-related error, ignore it and re-open the app;
75
+
- open the NetHunter app (if seeing a Busybox-related error, press "OK" and re-open the app);
80
76
- navigate to the `Kali Chroot Manager` submenu and install the chroot (if you downloaded it beforehand, use the "restore" option);
81
77
- in NetHunter Terminal app open `Kali` shell (if it opens properly, then congratulations, you have a working Kali NetHunter on your device).
78
+
79
+
#### For x_kernel-based kernel + ParanoidAndroid users
80
+
81
+
This is a small side-note for using x_kernel-based build with ParanoidAndroid ROM. When booting into OS, you will see a message that `There is an internal problem with this device. Please call manufacturer.`. This warning is essentially similar to the unlocked bootloader message and is completely harmless. Press "OK" and proceed.
0 commit comments