Patching the Kernel

We will continue from the Porting NetHunter page and work on the Neus 6P kernel as an example. The idea stays the same though.

 

Patching

By default, we apply wifi injection patches and patches that add wifi drivers. Kernel versions older than 4.x will require HID keyboard / mouse patches. We no longer need CD-ROM patches as all modern operating systems support being installed from USB storage devices, thus we can mount NetHunter as USB stick.

In the Kernel-Builder, choose “Apply NetHunter kernel patches”:

Patching 1

 

navigate to the directory that closest resembles your kernel version:

Patching 2

 

and apply each applicable patch:

Patching 3

 

We recommend that you work in another terminal window in parallel and commit the changes to the kernel source after having applied each patch.