yashsingh1/xdaforums huggingface dataset:
[Moto X4 Guides, News, & Discussion] invisible_touch:
Hi, I have your own version and the update arrived yesterday. I have no problem. If you need more information, ask.
[Moto X4 Guides, News, & Discussion] MeltingSnowman:
Thanks for offering me your help! I'd like you to tell me if battery life is slightly lower than 7.1.1 or much worse. Also how are the radios working regarding calls and LTE? Any other issue like the one with mesh wifi?
[Moto X4 Guides, News, & Discussion] pietpietersen:
I have the 1900-7 as well since 2 days through the OTA,

and it feels like Oreo is faster; and battery life is better or just as good.

i didn't even do a factory reset after updating; altho i did factory reset just 10 days before installing oreo;

so maybe thats why i don't notice a speed loss (and actually a speed increase i think)

can't report on the other things you mentioned but everything seems to be working fine here.
[Moto X4 Guides, News, & Discussion] MeltingSnowman:
Thanks for reporting your experience!
[Moto X4 Guides, News, & Discussion] shiloh4565:
Ok I finally got the 8.0 Jan security patch. So it looks like it's finally rolling out to here in the US.
[Moto X4 Guides, News, & Discussion] jsis83:
Android one or regular version?

Enviado desde mi moto x4 mediante Tapatalk
[Moto X4 Guides, News, & Discussion] shiloh4565:
Android one
[Moto X4 Guides, News, & Discussion] thetolsonator:
Moto x4 - 1 Retail edition. Update rolling out now.

***EDIT*** Logcat attached, no reference to ota or update that I could find. Have at it.
[Moto X4 Guides, News, & Discussion] olive23:
Can anyone find the URL? I tried but didnt find anything.
[Moto X4 Guides, News, & Discussion] skmpowdjy:
Did you have to do anything special to get the update? I've been using my Android One phone on Verizon's network and am still on the 7.1.1 Nov. update...
[Moto X4 Guides, News, & Discussion] ELProfeMcK:
I checked for updates on the settings and February's security patch update came up.. anyone else? :)
[Moto X4 Guides, News, & Discussion] LissieFan:
Just got the notification of Oreo 8.0 OPW27.3 on XT1900-7 reteu. Bit late isn't it?
[OnePlus 5 Questions & Answers] hllywd:
I'm not happy with 4.5.15. Can I just wipe system & both caches and then flash 4.5.14 without any problems? I am rooted and twrp.
[OnePlus 5 Questions & Answers] CetiiN:
Yes
[Tasker Tips & Tricks] Froryrory:
Now you can properly view JSON data thanks to my AutoTools Web Screen JSON Visualizer!

Features include:

Material Design Lite styling and animation

View the formatted version of any JSON

Get the JSON path of any item on the clipboard for use with Tasker's native JS or any other programming use

MDL style Navigation Menu with optional support for AutoTools JSON Read Action

To set up and start viewing all your JSON data in the simplest format, see the Tutorial

Enjoy and Happy Holidays!
[Android General] TheVPNGuy:
UPDATE UPDATE UPDATE -- OCTOBER 4, 2018: AzireVPN is no longer free, and therefore the below instructions will no longer work for non-paying folks, which is probably most of XDA. For this reason, you are advised to now use your own judgement when selecting a WireGuard VPN host. Two recommended ones, as of writing, are:

- Mullvad - more servers, better bandwidth, more mature company

- AzireVPN - newer, has IRC channel, uses custom PXE-booting hardware

Even better, however, is that you run your own server using an inexpensive (or sometimes free) VPS.

If other providers become free, we can update this thread.

WireGuard is a next-generation VPN protocol that's extremely fast, secure, and well suited for mobile devices. It was recently featured on XDA news and there's an active thread for developers-only. This post is a how-to for normal people.

WireGuard is just the protocol and software. But to use it, you need to send your traffic through a server. There are a few commercial providers -- AzireVPN and Mullvad, for example -- or you can setup your own server. This guide will focus on AzireVPN, simply because as of writing, it's free, not because it's any better or worse than others.

==== For your Android Phone ====

1. Install the WireGuard app: https://play.google.com/store/apps/details?id=com.wireguard.android

2. Sign up for AzireVPN: https://www.azirevpn.com/manager/auth/register

3. Generate and download a configuration zip from: https://www.azirevpn.com/cfg/wireguard

4. Import it into the WireGuard app using "Add from file or archive"

==== For your Ubuntu Computer ====

1. Install WireGuard:

$ sudo add-apt-repository ppa:wireguard/wireguard
$ sudo apt-get update
$ sudo apt-get install wireguard-dkms wireguard-tools linux-headers-$(uname -r)

2. Sign up for AzireVPN: https://www.azirevpn.com/manager/auth/register

3. Run the Azire script:

$ curl -LO https://www.azirevpn.com/dl/azirevpn-wg.sh
$ chmod +x ./azirevpn-wg.sh
$ ./azirevpn-wg.sh

4. Turn on WireGuard:

$ wg-quick up azirevpn-se1

==== For your macOS Computer ====

1. Install Homebrew: https://brew.sh

2. Install WireGuard:

$ brew install wireguard-tools

3. Sign up for AzireVPN: https://www.azirevpn.com/manager/auth/register

4. Run the Azire script:

$ curl -o azirevpn-wg.sh https://www.azirevpn.com/dl/azirevpn-wg.sh
$ chmod +x ./azirevpn-wg.sh
$ ./azirevpn-wg.sh

5. Turn on WireGuard:

$ wg-quick up azirevpn-se1

That should be it!

Direct any questions to the WireGuard IRC channel -- #wireguard on Freenode.
[Android General] zx2c4:
Thanks for writing this! I've linked to it on the WireGuard developers' thread.
[Android General] kantjer:
I have setup WireGuard a few days ago on Android exactly as descripted in the howto. Everything is working perfect only issue I can't access devices on my local network with WG enabled.

I have been looking for a way to bypass WG for local traffic but haven't found a solution yet.

Any tips on how to this, or alternatively is is possible to switch WG on/off via the command line so I can use Tasker to switch WG off when on my local network.
[Android General] zx2c4:
Thanks for the report. I'm wrapped up in end of the year festivities right now, but when that's over I'll try to reproduce the local network issue and see if I can provide a workaround or toggle switch.

In the meantime, indeed you can use Tasker as you described. In the settings menu of the app, choose "Install command line tools." After, you'll be able to type "wg-quick up somename" and "wg-quick down somename." You can look at the status of existing vpn connections with the "wg" command too. Let me know how it goes!
[Android General] bonbonboi:
Thanks for this project, looking for a test drive of WireGuard app, but there's a lot of users like I, don't use google apps, so if you are interested to support us through https://f-droid.org/ by adding your app to repo.
[Android General] kantjer:
The wg-quick up/down works perfect for temporary disable WG to sync with my NAS. Thanks for the tip.
[Android General] dixan43:
error bringing up tunnel.. can anybody help me with a working configuration file.. pm me the file..
[Android General] zx2c4:
No. Send logs from `adb logcat` or the Matlog app instead, so we can help solve this issue.
[Android General] dixan43:
here
[Android General] dixan43:
beacon kernel developer here suggested me to turn off internet and connect wireguard config and then turn on internet.. and it just connected with internet off.. so is it supposed to work like that?

-- so when I connect it with internet already on, it gives that error..

-- when internet off, it connects and remains connected there after..
[Android General] anwarsheriff:
Same error bringing up tunnel.
[Android General] dixan43:
despite that error, yu can still connect to VPN by disabling internet, then connect.. it will connect.. then just switch internet on.
[Android General] zx2c4:
Thanks for the extremely useful log file. The issue is that your external interface has too small of an MTU, so v6 fails. I've fixed wg-quick so silently work around this error here -- https://git.zx2c4.com/wireguard-android/commit/?id=f1f36fb600ffdaa59f838f6866f594e8e690170d -- and I uploaded a new version to the play store. After you update, let me know if the error goes away for you.
[Android General] zx2c4:
I wish such "kernel developer"s would try debugging the issue with me first -- to get at whatever the core problem is -- before doling out dubious incantations like that. Alas.
[Android General] zx2c4:
He's facing a different issue. Please stop spreading this advice, even if it works. It's a terrible way of "fixing" things and will just ensure people's issues never get fixed the proper way.
[Android General] zx2c4:
You're actually encountering a different error. Specifically, for you, it's -- "12-26 21:49:02.224 V/WireGuard/RootShell(972): stderr: RTNETLINK answers: Out of memory", in response to `ip link add wg0 type wireguard`. That's super unexpected and weird. Could you tell me what kernel you're running on your phone (link to xda thread and github too), what phone you have, and whatever other useful information you can come up with? Does your phone, in fact, have a super limited amount of ram? I'll likely need to bring out the heavy machinery here.
[Android General] anwarsheriff:
Phone being used: Redmi Note 3 with 3gb ram and 32gb storage.

ROM & Android version: Nitrogen OS 8.1

Link to ROM thread: https://xdaforums.com/redmi-note-3/development/rom-nitrogen-os-11-01-2017-t3536211

Kernel used: Agni AGNi pureLOS-N/O v11.8

Link to thread: https://xdaforums.com/redmi-note-3/development/kernel-02-10-2016-agni-purecm-n-v1-7-t3472640

Hope that helps

---------- Post added at 09:32 PM ---------- Previous post was at 09:12 PM ----------

Well to keep you updated. I cleaned the ROM and tried another wireguard implemented kernel. No issues anymore. It gets connected.

Working kernel Link: https://xdaforums.com/redmi-note-3/development/kernel-shadow-kernel-redmi-note-3-kenzo-t3689866

Was it the kernel or the wireguard app update that fixed the issue?
[Android General] dixan43:
yea the error is gone.. it's fixed with the update.. thnx.
[Android General] anujyadava:
Which ones to use for fastest internet and best battery life?

I am from India
[Android General] poincare:
Hi,

Just wondering about the Wireguard Android app. I have blu_spark, latest which supports Wireguard and the Android app. I aslo have the name and public key for the Mullvad Wireguard server. My question is on the Android app:

Under Interface,

Name: <<should be my Wireguard provider? E.g., Mullvad?>>

Address: <<should be blank? My behind-NAT-address such as 192.168.1.41? Router IP address such as 64.121.124.59? Or something like 0.0.0.0?>>

Under Peer,

Allowed IPs: <<should be same as Interface Address? Something else?>>

Endpoint: <<should be the ip address/name of Mullvad WG server?>>

Thanks.
[Android General] rudolfm:
I am using wireguard with afwall. You nedd to allow "Linux Kernel" and "Apps running as root".

The extra VPN control in afwall does NOT apply to wireguard.
[Android General] jcmm11:
Yeah I've figured that out I think. Still playing with it. Initially, for some reason, it didn't want to work at all. Kept denying the kernel no matter what I set it at, which is why I was wondering.

Reinstalled and as long as I start afwall after wireguard it seems to work.

Still haven't played with switching between networks (cell to wireless and back) so not sure how that'll work out.

VPN control not working isn't an issue, I can always setup a different profile.

Thanks for the response.
[Android General] rudolfm:
Firewall control n Afwall is for "normal" VPN where an App sets up the Android VPN Channel, where you see the key symbol when it is set up. Wireguard does not use this mechanism, the kernel part does it all. Android does not see a VPN, neither dos Afwall. Thats why the VPN controls do not apply to Wireguard.
[Android General] Schroeder09:
How can wire guard be triggered with tasker? I just emailed the developer. They responded VERY quickly telling me I should be able to utilize the commands:

wg-quick up {name}

wg-quick down {name}

Do these have to be executed with an Android intent or shell command in tasker? Does the "name" portion of the command refer to which configuration file we'll be activating from azire?

Here's what id like to do: if connected to WiFi network A or on data then wireguard turns on. When NOT connected to network A then wireguard is off. Will these commands help me do that? If so, how do I structure the task?
[Android General] jcmm11:
Shell command. As root. If you look in /data/data/com.wireguard.android/files you'll see the available conf files. The "name" option refers to the conf file name NOT including the .conf extension. So for azirevpn-us1.conf the commands would be

wg-quick up azirevpn-us1
wg-quick down azirevpn-us1

You should also take a look at "wg-quick --help" and "wg --help" (especially the show command).

Make sure you install these commands first. (See settings in the Wireguard app)
[Android General] DirkStorck:
Sorry for this questions but how can I check if it is actually working? The app says it is connected and I can access the internet...

Thank you!
[Android General] jcmm11:
Go to a site like https://www.whatismyip.com/ and see where they think you are .
[Android General] DirkStorck:
So I definitely don't live in Miami [emoji6] I would say it works [emoji16]

Does it drain battery? Thanks
[Android General] jcmm11:
Not that I can tell. I also don't seem to lose any speed
[Android General] rudolfm:
That's why they made it. To not drain battery and to not slow down :)
[Android General] Schroeder09:
Thanks for the help. Here's what I'm seeing in tasker. I also took a screen shot to show that I have the wg and wg quick commands installed.
[Android General] Schroeder09:
Sorry for the double post. I forgot to add the pics. There's no way to edit the post in the XDA app and add pics. You can only do that the first. Try. My bad. Here's what I have. The error codes in tasker made me believe I needed to have a wait command in the task before the shell command, but it didn't seem to make a difference.
[Android General] blazzer12:
Wireguard App Error: wg-quick returned 1

I have setup `wireguard` on a VPS (Arch Linux) and successfully connected to it from my computer (Manjaro). But I cannot connect to the VPS from my android phone.

The phone model is Zenfone 2 (x86) running Groovy Android with Holo kernel (wireguard enabled).

I installed the wiregaurd app from play store but I get this error: `Error bringing up tunnel. Unable to configure tunnel (wg-quick returned 1)`

This is the configuration on android:

name

cl1

Private key

***

Public key

***

Addresses

10.200.100.2/32

DNS

10.200.100.1

Peer

Public key

***

Allowed IPs

0.0.0.0/0

Endpoint

*.*.*.*:*
[Android General] jcmm11:
Sorry for late response. Thought I posted this yesterday.

Guesswork on my part, but:

Take off the "bring up previously enabled tunnels on boot". If you've got Tasker handling the tunnels you don't want the app doing it as well - they're probably stepping on each other.

Change the command (I usually create a script and then point the command to that, I can do more that way - but don't need that for now) to something like

wg-quick up azirevpn-se1 >/data/local/wgup.log 2>/data/local/wgup-err.log

Then check the log files after you try to run it.
[Android General] Schroeder09:
Thanks again for the help. I tired your command edit and ran the task. The first time the task ran and I didn't get an error. I went to the location specified by the command (screenshot). When I click on the file and try to open it it says I don't have permission. This is weird. I'm rooted and everything and idk what I wouldn't have permission to on this phone.

After trying to run your new command a 2nd time I'm getting an error. Here it is:

15.24.24/E Run Shell: ->

15.24.24/E Run Shell: ->

15.24.24/E Run Shell: ->

15.24.24/Shell runBackground wg-quick up azirevpn-se1 >/data/local/wgup.log 2>/data/local/wgup-err.log root: true timeout: -1

15.24.24/Shell start process-thread ID 772

15.24.24/E add wait type Shell1 time 2147483647

15.24.24/E add wait type Shell1 done

15.24.24/E add wait task

15.24.24/E Error: 17

EDIT: Now I can't bring the tunnel down through the app. Or with the toggle switch in the notification panel. This is s problem since I do have to toggle the switch quite frequently since many networks do not allow VPN access.

Wireguard is also crashing now. It's never crashed on me once before. What did that shell command do? Populate that folder and then put some stuff in it? Can I just delete the folder in solid explorer and we can start back from square one?
[Android General] Schroeder09:
Do I need to change the permissions on the local folder to something else in order to be able to open to the wglog file inside it with the solid explorer text editor?
[Android General] jcmm11:
The only thing it does is redirect the output, that you would normally see if you're running via a terminal, to those files. I don't know why you can't get at them via Solid Explorer. If push comes to shove a terminal emulator always works (at least it has for me, so far).

Reboot the phone, reset all the states. You should be able to access those files as well, just delete them.

Forget about Tasker for the moment. Fire up a terminal emulator and run the command through there to see what works when. You'll also see all the output that way.

You can also use "wg show" to check the status at any time.

(You can also navigate to /data/local and "cat" the files there to see their contents if needed, then use "rm -f" to delete the files. This should always work (as root)).
[Android General] Schroeder09:
Reboot allows me to use WG as before. I can toggle the VPN config files and they work. No errors. Terminal emulator stopped working on me after running the whole commands. I opened it up after reboot and there wasn't a cursor. I kept opening it and screwing around in the settings and the cursor eventually appeared. I ran the "wg show" command and the command that I entered in the tasker shell command that redirects the log files. How do I set the log file directory back to stock? Ill just accept that this doesn't work.

I've been largely disappointed with tasker. Very few of the tasks work right. Admittedly, I know this is most likely due to user error, but jeesh. Everything is a struggle and a PITA. The plugins have been horrible dealing with too. Ugh. That's a topic for another thread though.
[Android General] jcmm11:
Just leave out the part that redirects the log files and go back to just "wg-quick up/down azirevpn-se1". The output will all come out on the terminal.

Just use the terminal in place of Tasker for the moment until you know what to run and how to run it and when to run it.
[Android General] jcmm11:
If you can get in touch with someone at Google can you please have them fix their tables.

They're showing the Endpoint as being in the Netherlands (probably because Netrouting is a Dutch company). This causes Google services to all act as though I'm in the Netherlands (eg YouTube, google.com=google.nl, etc)
[Android General] Schroeder09:
Here's what shows up in the terminal emulator when I type in the wg-quick up/down shell commands. I turned my bonus on via the toggle button in the notification pull-down. I checked my IP on one of the sites listed earlier in this thread and it said I was indeed in SE. I then went into the terminal and entered the wg-quick down. I checked the IP and it said I was in my home town area. I then entered the wg-quick up via the emulator and the IP site again said I was in SE.

During all of this the toggle switch in the notification pull down showed that the VPN was on. In other words, when toggled through the emulator, it appears the VPN is switching, but the toggle switch doesn't show it. I suppose I can deal with that. I'll probably remove it from my notification pull down if I do this with tasker and the toggle switch isn't accurately showing the status of the VPN.

With this little test complete with the terminal emulator, how do I proceed in tasker?
[Android General] THERAJ12:
I can't seem to get WG to start on boot I toggled the load previous tunnel option ...would my kernel possibly have any effect? It used to work prior
[Android General] Schroeder09:
This isn't necessarily a WG issue. It's more of a VPN issue. I am really having a hard time finding an application for this and VPNs in general. It makes me lose functionality allllllll the time. I can't access the internet at work. I can't access the internet at hotels. Yesterday I was trying to download something from Android file host and it kept failing. After about 5 attempts and letting the file try to download over night I thought to toggle WG. Sure enough the file downloaded after turning WG off.

I can't believe NO ONE else has these problems. I see very little mention of it in this thread unless they're my old posts. Lol. I couldn't even access the internet on freaking Subway's free wifi! The only public network where all these attacks we're all so worried about happen, that I've been able to use WG has been on Wal-Mart's free wifi. It seems like pretty much no where allows VPN access of their networks.

The only use I can see for VPNs is accessing content your communist government doesn't allow- granted, obviously, if you're not in the USA. Can someone set me straight or explain what I'm doing wrong that's not allowing me to access anything via VPN? Am I using a config file that's not very good because of it's location? I typically use the SE azire one. Maybe I'll try the Miami one instead. The config files ARE functioning. They correctly change my IP and location when connected to say my home network.
[Android General] rudolfm:
The se is a server in Sweden. You should try a US server if you are in the USA.
[Android General] .HeadLess.:
Hi there i tried to use a wireguard vpn connection but

wg-quick up xxx

return

mido:/ $ su
mido:/ # wg-quick up WG0
[#] ip link add WG0 type wireguard
[#] wg setconf WG0 /proc/self/fd/0
[#] ndc interface setcfg WG0 '10.0.10.2' 24
Error: could not call ndc
[#] ip link del WG0

38|mido:/ # which ndc
/system/bin/ndc

I didn't why couldn't call ndc... I tried to run manually

ip link add WG0 type wireguard
wg setconf WG0 /proc/self/fd/0 &
ndc interface setcfg WG0 '10.0.10.3' 24

After that must be something else because not working can call ndc which kill the wg setconf command.

I succesfully connect to the "server" on other client. My kernel is franco kernel r5 for mido. Busybox installed, root by supersu
[Android General] Donric13:
I just realised it in tasker. First i made the script as a task (run shell) - there i put in the command "wg-quick up ....." and another task with "wq-quick down ....". After this i made a profile with this guide:

https://notizblog.tripax.de/2015/09...-automatisch-eine-openvpn-verbindung-starten/

Sorry - the guide is in german... Just use the tasks you made before in place of the vpn-task in the guide. It's running nice on my device.
[Android General] THERAJ12:
Doesn't look like Azire files are working anymore can't generate new ones either

---------- Post added at 01:35 AM ---------- Previous post was at 01:31 AM ----------

I don't think azire is providing files anymore
[Android General] Schroeder09:
I thought only I was having problems. So is this WG pretty well so worthless now? All the other VPNs have their own apps and interfaces don't they?
[Android General] Cryptycat7:
[MENTION=1573977]THERAJ12[/MENTION] same here. When I turned off my phone last night it was working fine. Booted my phone five hours later and my connection dies entirely the moment I toggle the config files inside WireGuard. I hope WireGuard will be widely adopted soon. Once it gets merged into the Linux mainline kernel, it is probably going to replace OpenVPN, at least in the Linux world.
[Android General] Donric13:
Mine still seems to work atm...