All Projects → WireGuard → Android_kernel_wireguard

WireGuard / Android_kernel_wireguard

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

Programming Languages

shell
77523 projects

WireGuard for Android ROMs and Kernels

This repository contains various ways of integrating WireGuard into Android systems. The result may be used with the WireGuard Android GUI app. 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:

  <remote name="zx2c4" fetch="https://git.zx2c4.com/" />
  <project remote="zx2c4" name="android_kernel_wireguard" path="kernel/wireguard" revision="master" sync-s="true" />

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].