yashsingh1/xdaforums huggingface dataset:
[Android General] Cryptycat7:
I can highly recommend Devcheck it's by XDA recognized developer flar2. Go to network section and check for the device IP. If device IP doesn't match the Gateway, it's working as intended. See attached screenshot.

Edit the screenshot didn't upload, now I can't change it anymore in the edit section, but you should find it without problems in the network section, it's a clean UI, you can't overlook it.
[Android General] rudolfm:
Google "show ip" and you will find a few pages that show your IP/provider. This is the sure way to check your VPN. It is better to check how others see you than asking your device what i thinks it looks like.

The tile will also show if the App thinks it ie OK. But that is not for sure.

Azire still lets me use it for free, I just tried it.
[Android General] Cryptycat7:
Well those Website can only display, what the Phone provides. For me that method doesnt work, since I use various vpn apps on top of WireGuard. The double vpn capability makes this stand out from the crowd.
[Android General] rudolfm:
No, these websites do not show what the phone provides. They show what the VPN server provides. They show the IP and the location of the VPN Server. So you see if you are going through a VPN. Switch off the VPN, reload the page, and you will see the difference.
[Android General] Cryptycat7:
I am aware, but the phone provides what the vpn application delivered, probably should have been more clear. If I use a vpn application on top or WireGuard, I can't verify if WireGuard is running since those websites only check for the public IP, which is changed by a vpn application, while WireGuard changes my device IP. You are right if you are using only WireGuard, the website check will just work fine, but that's not how I use it, so I thought to share my method. Thats all, not trying to tell you how you should check your IP, just telling how I check it and why I prefer Devcheck. Have a nice day.
[Android General] rudolfm:
Wireguard does not change your devices IP. It routes you through a server so that others only see that servers IP. Why use 2 VPN's if you don't understand one?

Connect your device to a wifi router. Look at Wifi settings extended, you will see your phone IP, something like 192.168....

Look at a showip Page, and you will see the IP your provider temporarily assigned to you. This is not the phone's IP

Start wireguard. Now refresh the showip page. You will now see the VPN server IP. This is not the IP your provider assigned, nor your phone's IP.

Got it?
[Android General] andschwa:
I thought I got back to you... But I'm not seeing my reply. Did you manage to get it setup? I took your screenshot and was able to get an IP configuration from the Mullvad API and connect, I hope I can help you figure out what you're missing.

---------- Post added at 03:07 AM ---------- Previous post was at 03:05 AM ----------

At what point were you encountering a problem? I'd like to help. I've been able to use Mullvad's WireGuard servers with my OnePlus 5T no problem so far. The hiccup was getting their API to give me the info I needed.
[Android General] bond32:
Yes! Thank you for getting back. I did get it working, but I was only using their trial account that expires in a day. Haven't decided if I wanted to pay for it yet.

Thanks for the help though!
[Android General] andschwa:
Yay! Glad to hear it. I renewed for another month yesterday. They're the only VPN I've found that is _fast_. Like ridiculously fast; I see practically no loss in connection speed, and being able to use WireGuard instead of OpenVPN on my phone was icing on the cake.

I occasionally have trouble keeping a connection if I swap from LTE to WiFi or back, and adding a keepalive didn't seem to help. For now I'm just sticking to LTE (yay unlimited data) and haven't had to touch it since.
[Android General] Schroeder09:
I have been using wireguard with the ElementalX kernel on my pixel 2 XL for a month now but it's been largely useless because of my lack of knowledge. Wireguard will allow me to access there internet when toggled on and on private wifi networks like in my home. However, when on networks where I actually need WG like at work or in a hotel when I'm traveling, WG does NOT allow me access the internet when toggled on.

What setting do I have to change to get it to work on these sorts of networks? Also, the "what" and "wg-quick" setting is greyed out in my settings in WG. It says they're already installed, so when I click settings my only option is to "restore on reboot.". Do I need to download something else from azire? I downloaded multiple different location VPN tunnels from their site when I started this. They all behave the same. I only saw one other mention of this problem in this thread and the user reported having fixed the issue without a lot of detail.

EDIT: i just realized I can edit the VPN portals (or whatever you call them) that I downloaded from azire by clicking on them. They don't just toggle on or off. Do I need to modify DNS settings? What about the allowed IPs? Currently it just says " 0.0.0.0/0, ::/0 "

EDIT 2: I changed the IP to something I found on the internet that it should be set at, and it works! But do I have it set on the right IP? is any better than the other? How do I verify if the VPN is working and keeping me secure now that I'm able to access the internet?
[Android General] zx2c4:
This is really horrifying, endemic of tragicomic "success" stories found plastered all over XDA. Don't do that.

I found recently that I was able to engineer a wireless screen-off technology by dropping my phone into a small puddle. When it reached the bottom of the water, it remotely triggered a screen off condition, despite it no longer being in my hand for me to induce the effect myself. I haven't figured out how to perfect the reverse behavior, but I'm confident with enough XDA posts we'll assuredly get there!

Don't change AllowedIPs. More generally, if you don't know what something is, and you aren't embarking on a controlled and thought-out debugging procedure with proper test cases, then you shouldn't touch it. Fortunately there are ways of rectifying both prerequisites of doom.

Most likely the VPN is no longer doing anything at all. If you're using a config file that an external provider has given you, don't edit it. If I were you, I'd delete all current configs, scroll to the top of this thread, and follow the directions from scratch, without skipping any steps anywhere in the process under any circumstances.

If you're still having trouble after starting over, then come back here describing everything, including logs of your system.
[Android General] dcotarobles:
Ok I just dowload all the config files again and follow all the steps described ,but once I enabled WG my wifi connection stops working and I don't know why. I'm attaching a log. Any help will be appreciate it.
[Android General] zx2c4:
Those logs seem to indicate things are working as planned. Here are a checklist of things to verify and test:

Does your ISP usually block UDP packets? If so, you're toasted, sorry. If not, then advance to the next step:

Does your ISP block certain outgoing ports? If so, try changing the endpoint's port to 443, 53, 67, 68, 10000, or 80.

Did you re-download the configuration directly from the cfg/wg page linked in the top post? If not, you might want to do this. AzireVPN has been deleting people's keys while in the process of learning how to not be terrible, so you may indeed have to use the configuration generator again, if you haven't used it for a few weeks. I'm talking with them to try to rectify this brain damage.

When connected to wifi, does running tcpdump on your router indicate that your phone is sending wireguard udp packets?
[Android General] dcotarobles:
Yeiii :laugh: I change the endpoint's port and now is working ! Thank you so much for your help buddy.
[Android General] zx2c4:
For the benefit of future readers, could you indicate a) your ISP and b) the port you found that worked?
[Android General] dcotarobles:
Well I'm in Mexico and I'm connected to my company's wifi (not really sure about the ISP) but I changed the port to 10000. Hope this could help
[Android General] Schroeder09:
Why is changing the IP so horrible? It's a dummy IP on VPNs anyway isn't it? I removed the old configuration files from WG, redownload, and imported.

The question wasn't answered though as to why the original configuration files aren't working on the company wifi and hotel WiFi. Can this be explained? The config files can not be modified to work, such as how I did?

EDIT: reinstallation of the configuration files seems to have worked. Do you guys download all the different configuration files from all the different locations and just switch em up on a whim?
[Android General] gnabtib8:
I noticed wireguard disables YouTube red features such as backgrounding and downloading. Is anyone else experiencing this and is a workaround possible?
[Android General] buffal0b1ll:
Add the USA VPN. YouTube Red isn't available in most countries.
[Android General] gnabtib8:
Currently using the Azire US VPN
[Android General] Ubimo:
I made config file on website, chose "others" in OS and wanted to import this file in wireguard app, but app says "unable to import tunnel: invalid configuration line: client". What did I do wrong?

Im on Samsung Galaxy S7 edge stock rom, root with magisk and also tried different kernels. (like latest TGP kernel)

Edit:

Now its working. Used the correct azire config url from op.

Edit2:

After a reboot the tunnel is disabled, even when I tick "Restore on boot" option in setting. Any suggestions how to bring up tunnel automatically after a reboot?
[Android General] Raserty:
It's not that hard
[Android General] Schroeder09:
Do you guys download all the different configuration files from all the different locations and just switch em up on a whim?
[Android General] zx2c4:
One thing I should emphasize here is:

WireGuard is a protocol, a technology, a kernel module, an app, an open source project, which I made

"AzireVPN" is the name of a random VPN provider that happens to be providing free service, which I have nothing at all to do with

In other words, "WireGuard" does not equal "AzireVPN". AzireVPN happens to support WireGuard, and happens to currently give free accounts, but that's about it.

It looks to me like "AzireVPN" has a tendency to wipe people's keys every time they update something. What this means is that you have to go back to the configuration generator and redownload/reimport the configs into the WireGuard app. I've just contacted the Azire people to scold them, on behalf of the frustrated users of this thread, so that they don't do this again. Hopefully this is the last warning they'll need, and now they'll offer a decent service. But, for everyone who suddenly "lost access" or had their app "stop working", just delete the existing configs and redownload/reimport new ones.

Hopefully, there will be some additional free providers soon for you all too.
[Android General] zx2c4:
Thanks for the useful bug report. I'll look into it and get back to you.
[Android General] AzireVPN:
Hello guys,

Just wanted to let you all know that we have upgraded US, CA and ES WireGuard servers at AzireVPN this morning. All keys had to be wiped, so you will have to re-create your keys again.

New hardware have also been added to support the increased demand from WireGuard users, it's really fun to see the interest from XDA community!

If you have any feedback specific for the AzireVPN<>WireGuard integration, don't hesitate to contact us and share it with us.

/AzireVPN
[Android General] bond32:
Freaking awesome. Really appreciate you guys providing this service.
[Android General] Zurk7:
Deleted, wrong section
[Android General] Zackptg5:
this is completely off topic, you won't get an answer here
[Android General] Schroeder09:
No wonder it wasn't working! Thanks for posting and letting us know. I just re-downloaded the configuration files and all seems well so far.
[Android General] Zackptg5:
So I accidentally found the specific circumstance of the bug. When I select the add from file, if I use the default files app to select the conf file it works fine. But when I select a different file explorer in the side pane (fx file explorer in my case) then the error occurs (I always use fx out of habit so it never occurred to me until today when I was too lazy to pick it). Hope that helps narrow down the issue :)
[Android General] zx2c4:
Thanks! That's indeed what I suspected. [MENTION=8104721]smaeul[/MENTION] has added this now, which hopefully will work around issues like your own:

https://git.zx2c4.com/wireguard-android/commit/?id=ba085e90d32681d437e2cd4d6ae188385d3e1445

This will be part of the next release of the app.
[Android General] rudolfm:
[MENTION=8782989]AzireVPN[/MENTION] Thanks for coming here. It makes it much easier for us to communicate.

I also needed to pull new config files: https://www.azirevpn.com/cfg/wg

BTW, the APP only needs root on boot. Not for selecting a server or switching off. So i only allow it temporarily. Then i can see when it crashes, as it then requests root again, which only happened once.
[Android General] zx2c4:
False. Android will periodically close apps in the background that it doesn't need open. The quick settings tile then opens it back up, which then requests root again. In other words, the WireGuard app uses one root shell per start of the app, and tries to persist it and reuse it for as long as possible, since requesting root permissions is expensive.
[Android General] Redhawk2000:
I've noticed that. It often requests superuser access when I pull down my notification shade.
[Android General] bond32:
Is there a way to help keep android from closing it? I already switched it to ignore "battery optimization".
[Android General] zx2c4:
It doesn't matter if it's closed. The tunnel will continue to work in the background, even if android closes the app.
[Android General] Still_living714:
Is there a free vpn besides azire? My two days run out and didn't have the time to really try it.
[Android General] :
Quick question: if I download a rom from somewhere, a working one, can I just edit that local manifest thing, and then dirty/clean flash it?

I'm not a developer at all, so I post my question here :)
[Android General] Gurii:
Will it work in India?
[Android General] :
Yes! Tested!
[Android General] anujyadava:
You can always download the configuration file from azure website as per instruction mentioned in OP even though your free subscription is over.it will work as desired
[Android General] Still_living714:
Do I have to download a new configuration file every two days?
[Android General] anujyadava:
No, only once
[Android General] ryaniskira:
So no one here is worried about the implications of using a free VPN service? As in they are most likely selling your data to pay the bills?
[Android General] Zackptg5:
Yes, that's why I typically check

thatoneprivacyguy's site to compare vpn services
[Android General] ipredatorv:
You don't really have a 100% guarantee that paid VPNs will refrain from selling your data. Most have an excuse and say they "anonymise" the data before making it available to third parties.
[Android General] ryaniskira:
True, but they're less likely to. It's mostly common sense, for example if they're handing out lifetime subscriptions for $49, then you know they're making their money in other ways.
[Android General] sangken:
what??

what android?
[Android General] rudolfm:
Azire is only free if you use wireguard. Else you pay. They want us as testers, so we get free usage for some time. For me that is a fair deal.
[Android General] teja:
Finally done wireguard setup after lot of efforts like finding,, flashing supported rom, custom kernal etc., anyone knows other than azire, mullad (even paid services also)
[Android General] rudolfm:
Why don't you want to use Azire?

They give us free access for being a tester.

They are present here for feedback.

It's a fair deal for both.

And they are normally a paid service, so they will not want to ruin their reputation by doing anything stupid.
[Android General] acultr:
can somebody tell my about this
[Android General] THERAJ12:
Sorry if already mentioned I wasn't able to find an answer but does activating multiple azire files in WG make any difference? Does it randomize the location of service?
[Android General] rockingondrums:
I'm heading off for the time so I can't direct this question to the IRC channel, but I'm following all the instructions for Ubuntu on Linux Mint Cinnamon and I when I enter this command: ./azirevpn-wg.sh

I get this:

/home/me/azirevpn-wg.sh: line 29: type: jq: not found

[-] Error: Please install jq and then try again.
[Android General] Schroeder09:
Why do my wireguard configuration files from azire keep expiring? They work on home, private networks, but as soon as I get on my work wifi or some other public-esque networks nothing will load. Error messages aren't given. Just nothing loads. It keeps happening every several days or so. What am I doing wrong?

Which VPN sources are giving lifetime subscriptions for $49? That's something I could maybe bite on. I will not be buying a service that's set up as yet another bill with monthly or yearly payments.

EDIT: just re-downloaded the config files and they don't work. Usually if I can't access the net on work wifi with wireguard on it means I need new config files. That didn't work today.
[Android General] rudolfm:
Iam using the android app with Azire and that is working.
[Android General] Schroeder09:
Your configuration files don't constantly stopped working?
[Android General] dcotarobles:
A few days ago I start noticing that I have to start WG a couple of times before it remains active,after that no problems at all .
[Android General] rudolfm:
Three times this year i had to fetch new files.
[Android General] Schroeder09:
I constantly have to get new ones. They always work on private networks. At home. I know they're working. I paid my credit card bill with one the other day and received an email from my credit card company that my account has been accessed from outside the country. The same configuration file doesn't work on my work wifi or hotel WiFi. I have used different configuration files to access the internet on these same wifi networks until they eventually stopped. What the heck is going on? If I change the 0.0.00.0 IP numbers they'll work, but someone in the thread said this isn't wise. No explanation was given as to why not. These VPNs work everywhere I DON'T need them to and vice versa.
[Android General] floorge3:
Currently using the vpn on a public wifi with no problems. Occasionally the vpn doesn't work when I switch to mobile data but rebooting seems to remedy that issue.
[Android General] Schroeder09:
Are there things that these corporation and "more secured" private networks are doing to block VPN access? I just don't get how I've got it to work a couple times and now fail all the time. Could an alert came to the IT department of outside access accessing the internet?
[Android General] saurabh.thakur.ji:
Will it help me to use Spotify??
[Android General] joalruch:
Yes
[Android General] saurabh.thakur.ji:
But after downloading the config file from azire and adding it to wireguard my internet wasn't working!
[Android General] rickysidhu_:
Apologoies if this has already been asked and answered, and if it sounds like a total noob question:

I followed the instructions for Android, and I seem to have completed the steps successfully, however, I'm curious as to how I can find out if it's actually working?

The toggle in WG is on, but I don't see an option to add WG in the VPN settings of my device, or does it not work that way?

Again, sorry if I'm sounding like a total noob, but any information would be appreciated!
[Android General] rudolfm:
1. The setting tile is bright when it is working.

2. Visit this page: https://whatismyipaddress.com/
[Android General] Schroeder09:
Isn't anyone experiencing issues like I am? It works on home networks but not on work or hotel WiFi. I just used the whatsmyip site and sure enough it thinks I'm in another country because the WG VPN, but it will not work anywhere I want it to. I don't care about using a VPN when I'm at home.
[Android General] Donric13:
For me it's working fine in my office. But some office and hotel wlan don't support using vpn connection. So it seems more related to this. You gonna try another vpn app to test if this works in hotel/office to find out if it's the wlan or the app.
[Android General] buffal0b1ll:
Tell your work IT department you're having trouble connecting to a private VPN on your rooted Android device. I'm sure they'll be happy to help. :laugh::laugh::laugh:
[Android General] zeft64:
Anyone figure out how to get mullvad working on Android?
[Android General] xnpu:
Is anyone aware of a (planned) URI scheme for WireGuard? So the server/peer details can be encoded in a URL or QR Code?

With all the problems it solves, it also created a new PITA by requiring a file transfer or entering a lot of data.
[Android General] Schroeder09:
Lol funny. I'm sure they'll love that and look at everything I'm doing with a microscope lol.

So, in places where VPN access isn't allowed, is that just that? There's no way we can get around this and use our secure private connections? I tried using Wal-Mart's free wifi yesterday and used wireguard VPN with the azire configurations. It worked. This supports your theories that my work place and various hotels I've been to simply don't allow VPN access. This all still doesn't explain how at one time some of the config files DID allow me to access the internet while using wireguard. I wish it still worked.
[Android General] THERAJ12:
So I'm using the US azire config file and when I check my IP location on https://whatismyipaddress.com it changes between my city and another few states away ( I recently drove thru there few weeks back)....will this affect my speed if the location changes? Does it matter ?
[Android General] AzireVPN:
New endpoint IP US1

Hey guys,

Just to let you know that we have been forced to change our IP ranges in US1. You need to update the Endpoint IP for US config to 107.178.59.60 or download a new configuration.

/Team AzireVPN
[Android General] jcmm11:
Just tried to set this up. Installed app. Signed up and got config from azirevpn

Imported config np

wg-quick (within wireguard app) returning error 2

Log attached

Device: Nexus 5X

ROM: Validus (8.1 AOSP based)

Magisk 16

Franco kernel

Any other information needed just ask.
[Android General] Cryptycat7:
After a clean flash, using new config files, I get an unable to import error. Left everything set to default. Tried all the operating system options, no dice. "Invalid configuration line client." What am I doing wrong?
[Android General] antonholmstedt:
Same problem for me. I got it working on previous app version (0.2.0), but not on current one.
[Android General] drewski_1:
delete
[Android General] jcmm11:
I think I figured out what caused this. It appears that AFWall+ is incompatible with Wireguard. At the very least Wireguard needs to start before AFWall+. I need to do a bit more testing to confirm a few things but I think it'll come down to you can run one or the other, not both.
[Sony Xperia XZ Premium Guides, News, & Discussion] YumeMichi:
I got a g8141 and had used for a mounth. Recently I want to unlock my xzp to develop custom rom, but after turning on OEM unlock, the "Bootloader unlock allow" is still "NO".

What's the problem?
[Sony Xperia XZ Premium Guides, News, & Discussion] Mackay53:
Nothing you can do, phone can't be unlocked unfortunately.
[Sony Xperia XZ Premium Guides, News, & Discussion] RJASSI21:
Sell it and buy one thats factory unlocked. Thats most likely your only solution. If your lucky see if Sony will replace it for one that is. They will probably charge you something to do so though.
[Sony Xperia XZ Premium Guides, News, & Discussion] maple_mak:
Maybe you bought carried locked device?
[Sony Xperia XZ Premium Guides, News, & Discussion] YumeMichi:
I'm afraid so. :(