Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wireguard/android_kernel_wireguard

Mirror only. Official repository is at https://git.zx2c4.com/android_kernel_wireguard
https://github.com/wireguard/android_kernel_wireguard

Last synced: 2 months ago
JSON representation

Mirror only. Official repository is at https://git.zx2c4.com/android_kernel_wireguard

Awesome Lists containing this project

README

        

# [WireGuard](https://www.wireguard.com/) for Android ROMs and Kernels

This repository contains various ways of integrating [WireGuard](https://www.wireguard.com/) into Android systems. The result may be used with [the WireGuard Android GUI app](https://play.google.com/apps/testing/com.wireguard.android). This is currently tested on Android 6, 7, and 8 and kernels ≥3.10.

Choose between **Method A** and **Method B**, below. Do not choose both methods at the same time.

## Method A: Adding to Kernel Trees

If you maintain your own kernel, you may easily patch your kernel tree to support WireGuard with the following command:

```
$ ./patch-kernel.sh path/to/kerneltree
```

This will patch your kernel and create a commit for you.

## Method B: Integrating into ROMs

If you do not maintain your own kernel, but rather maintain a `local_manifest.xml` file, and would like to add WireGuard to your ROM, you can simply add these two lines to your `local_manifest.xml`:

```


```

Then, run `repo sync`. The kernel used by your ROM will automatically gain WireGuard support.