diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-11-29 03:19:44 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-11-29 04:52:14 +0100 |
commit | 6f8011804709004938a23017128533ab204d0e03 (patch) | |
tree | d689c97f2508aca3bb1fb7205a49c8ad6cbd61c9 /standalone/README.md | |
parent | standalone: some people want to do things a la carte (diff) | |
download | android_kernel_wireguard-6f8011804709004938a23017128533ab204d0e03.tar.xz android_kernel_wireguard-6f8011804709004938a23017128533ab204d0e03.zip |
standalone: use ndk properly
Diffstat (limited to 'standalone/README.md')
-rw-r--r-- | standalone/README.md | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/standalone/README.md b/standalone/README.md index 87d7734..afd5a0f 100644 --- a/standalone/README.md +++ b/standalone/README.md @@ -1,20 +1,9 @@ # Standalone WireGuard Tools for Android -This currently contains a version of wg-quick.bash that works with -Android 7's `ndc` command. It requires the WireGuard module to be -part of your kernel, but after that, the usual `wg-quick up` and -`wg-quick down` commands work normally. +This compiles and creates a tarball which you can use to install the +WireGuard tools into an existing ROM via root. ## Installation -Build a `wg` binary for Android using the `build-wg.sh` script. -Then copy this folder some place on your phone, and run `sh ./install.sh` -as root. It should survive ROM flashes. - -## Usage - -Compared to the ordinary wg-quick, this one does not support SaveConfig -and {Pre,Post}{Up,Down}. - -Put your configuration files into `/data/misc/wireguard/`. After that, -the normal `wg-quick up|down` commands will work. +Type `make`, copy the resulting `.tar.gz` to your device, and as root, +run `sh ./install.sh`. The installation should survive ROM reflashes. |