Automatic VPN connection? - Nexus 5X Q&A, Help & Troubleshooting

Is it possible to have a VPN client start automatically when my phone connects to WiFI. Unrooted with the latest software 6.0.1. I have one phone on T-Mobile and another on Project Fi so the latter may be a problem if I decide to root the phone. Thanks.
Thanks.

Quick google search found me this. I don't believe this requires root. Otherwise, this app seems to be your best option when rooted.
Note - i haven't tried either of these, just did a bit of google searching.

I did search prior to posting and the only solutions I found required root. I will check this out as I already own tasker.

I use Vypr VPN. Allows to auto connect on untrusted WiFi or on a per app basis. Not the cheapest of the VPN's out there but the app interface for phone and computer are excellent. And speeds have always been good. They do Iog but are very open as to what it is they are logging. I did get shut off once from a request generated from using popcorn time but clicking terms of service gets you back up quick... No big deal.

Related

[Q] Problem while connecting windows marketplace via HD mini

Hi
I have acquired HTC HD mini recently. I upgraded its ROM to new version 1.36.720.X. But still I am not able to connect Windows Marketplace via my mobile. My GPRS connection is set correctly as I am able to connect Facebook and My Phone successfully. I am facing issue with Windows Live and Marketplace.
I always get error while trying to connect Market place that
"There may be a problem with the Marketservice now. Check your internet connection and try again later."
Can anybody provide me solution for this.
Registry value for HKLM\Systems\Versions\Aku is .5.3.3 (Which is due to latest OS version came with ROM) . Hence that earlier fix of changing value of Aku is not workable though I tried it.
I think that there are many unfortunates like me who have faced same problem.
Thanks in advance for help.
regards,
Pranit
Hi
It has been long time and I have received no answer. Please help me as I have been not able to use marketplace. I have tried all solution mentioned in forum but with no effect.
uninstall and redownload marketplace.worked for me.
This solution does not work. I didn't know how to uninstall Windows marketplace. Hence I installed and replaced downloaded version of marketplace app. Need a concrete solution. Just to mention, I am from india. I came across one more user of HD mini who is facing same issue.
I need helping hand here. Kindly somebody give me some solution. Is there any issue while accessing Marketplace from India?
Is your time date correct for your country.
I had the same problem i change the time to right time for my country and marketplace could connect.
I hope you understand my english.
Yes. I have synchronised time with internet. Still no effect. Assume that I have no idea about how to set the local time and guide me. I am really pissed off as my all efforts to connect Marketplace are failed.
go to settings 'time, date", and also check "country and text" just below the tab "time and date" I hope you understand this i have to translate from dutch
Hope this solve's your problem.
Then I have done it correctly. Still with no effect. I just wanted to confirm it. Everything seems just right.
i found this regarding your problem
Have you tried this deleting a reg key that sets the download location for Marketplace.
Can you please tell me where to find this entry in registry?
HKCU\Security\Software\Microsoft\Marketplace;Downl oadLocation
I found this on the forum of mobilitydigest.com.
Maybe you can find a solution for your problem there.
Just typ in Google marketplace bootstrap
tried. But still not working. I am stuck since I bought HD mini.Have tried number of options to connect marketplace and all met with failure. Can you think of other solution?
I have had this problem too. But simply killing the process in Task Manager, rebooting the device and retrying worked for me!
Please tell me which process is to be killed. I tried to locate process and kill it. If I am not wrong then in task manager there is no option to kill process but to kill application.
pranitbirje said:
Please tell me which process is to be killed. I tried to locate process and kill it. If I am not wrong then in task manager there is no option to kill process but to kill application.
Click to expand...
Click to collapse
Kill application worked for me. But killing processes can be done in the Task Manager by clicking Menu => Display => Processes
Hi , I have tried all sort of options now. But I have met no success. Please, please provide me some solution. My HD mini is sort of useless if I am not able to access marketplace. I am not able to buy certain apps which I would like to.
This guy had the same problem as you.
I've had this problem for quite some time and I think I may have found a solution that I didn't really seem to find in many other places. I believe that Windows Marketplace Mobile requires an authenticated connection to connect (network associated GPRS such as AT&T, Edge, 3G, etc...). To connect to WinMo Market with a wifi, I believe also requires authentication. My own personal router is secured with WPA and AES encryption, which my phone can connect to. I had no problems with connecting to the internet via browser (for the most part) with Wifi or Edge. Problem is, for whatever reason, Windows Marketplace did not recognize that my Wifi was authenticated. After playing around for quite some time to figure out why, I stumbled on a program called Advanced Configuration Tool (I own an unlocked HTC HD2). Turns out, my stock ROM had WPA Authentication disabled (which explains why flashing to a new ROM work for people since that option is typically enabled by default). I guess somewhere along the long, my phone had disabled it, most likely by some action of my own. So after re-enabling it in the network settings of the program, I had no more problems connecting to Winmo Market. Additionally make sure that your wireless config on your phone enables IEEE 802.1x network access control (you can adjust this on the actual wireless network setting where you input your passwords). I'm sure there are ways to activate it through the registry, but Advanced Configuration Tool by Touchxperience developers made it easy (it's in the network settings menu).

Best way to setup one action for serial tasks (e.g. wifi off, data on, vpn start)?

I've started using OpenVPN, and to use it I disable wifi, enable data, and then get into OpenVPN to establish the connection. That's not convenient at all, and neither is getting off the VPN.
What's the best way of creating a single icon for such things?
I thought perhaps Tasker, which I've read about but not used yet, but I have a sneaking suspicion that I'm overlooking something else.
I'm on stock 4.1.2 now but am considering CM10.
rseiler said:
I've started using OpenVPN, and to use it I disable wifi, enable data, and then get into OpenVPN to establish the connection. That's not convenient at all, and neither is getting off the VPN.
What's the best way of creating a single icon for such things?
I thought perhaps Tasker, which I've read about but not used yet, but I have a sneaking suspicion that I'm overlooking something else.
I'm on stock 4.1.2 now but am considering CM10.
Click to expand...
Click to collapse
Tasker + Secure Settings can do this but you may need to figure out a script to get it to also enable OpenVPN's connection.
Tasker is worth every penny
moe6 said:
Tasker + Secure Settings can do this but you may need to figure out a script to get it to also enable OpenVPN's connection.
Tasker is worth every penny
Click to expand...
Click to collapse
OK, thanks, I'm beginning to bludgeon my way through Tasker now (a bit of a steep learning curve). I'm curious, though, which part of what I want to do is Secure Settings for? I've read its description, but it's hard to pick out which particular thing there you had in mind.

Possibility of Android networking hardware being physically disabled via ifconfig.

Using ifconfig Android to enable or disable a network device will effectively control it's powered state. I know this because I am an advanced Linux user. The basic function of ifconfig is the same between devices/architectures, and since all Android devices are based on Linux, i see no reason why this cannot be done.
Currently, when you shut off your wifi or mobile data, its never really off. To confirm this, I shut off my wifi, turned my phone to airplane mode to make sure I wasn't connected, but when I arrived home again later, I still received a couple of new messages from my yahoo mail and kik. My first though was "... The heck?" I knew I wasn't supposed to be able to receive anything. I even had autosync turned off also for good measure. I couldn't explain it at first... Upon checking the timestamp, it revealed to me that I received the notifications the exact moment I arrived home, but the original Sent time from the source is when I was not home. Remember, all data was turned off by me and I did not receive anything the entire time i was out. (airplane mode, and i have no active phone service)
I double-checked and surely enough, my settings were still all off according to what I could see and verify. That tells me it's not really off and it knew I was home and connected to wifi anyway briefly, even though I had it off. That tells me that even though I turned off the wifi and mobile data and set the advanced settings to never "always allow scanning even while turned off" for location services, its STILL on!! Unacceptable. Deceitful. Wrong. When I tell it to turn off I expect it to stay off, dang it...
Talk about unexpected battery drain. Imagine being comfortable in knowing you've shut off all these things, to then find out later that these settings are present just to trick you in to letting your guard down! The question is, why would Google put in place these settings if only to be overridden anyway? There is no reason except their own sneaky one.
My goal here is to recruit someone to build an app or widget for rooted users to physically disable the device via push-button widget or app, not just disassociate from any given wifi AP or mobile data service. (wifi_dassoc kernel command) Anyone with some spare time and knowledge of Android programming and use of ifconfig is welcome. I welcome more than one person also. A team even... Haha. You guys converse and figure it out. I'll be watching, and Thanks! Hope you find this to your liking and interest.
Sent from my SCH-I535 using XDA Free mobile app

Returned home from short trip, Wifi connects but does not function

As the title says, I didn't change anything about the phone's configuration when I was out, didn't download any new apps or change any settings that would interfere like this. No one else has changed my home network in my absence.
Nevertheless, most of my apps, such as Instagram, the Play Store, Twitter, Wikipedia, Chrome; almost all their requests time out. There seem to be short windows where data will load, and Instagram appears to load comments and post metadata, but no images. It's basically unusable. Occasionally an exclamation mark will pop up over my Wifi symbol in the notification center. Strangely, I can still reach my Steam and Battle.net authenticators, but the moment I try loading the Steam app, nothing comes up. It's like the device can only handle plaintext over Wifi.
All of the apps work fine over cellular data.
Also, there is a toast that appears whenever I restart my phone that says "Power On" that I've never noticed before. I was rooted using Xposed, the only modules I used were Snapprefs, Xinsta, Physical Button Music Control, and Greenify Experimental Features, all of which I uninstalled. The toast still appears with the latter two disabled. Only other rooted apps I had besides Xposed were Nova Launcher, Greenify, Busybox, and Root Checker Basic, all of which have been removed but Nova.
I am running 6.0.1 with the latest update.
Any ideas? I am still within 15 day warranty so I could theoretically return the phone (which I was contemplating doing anyhow since 10gb of functional storage is a bit too small for me), but would rather not have my hand forced, and eat into my cell data plan.
So far I have tried forgetting the network, wiping cache/dalvik with TWRP, removing the Google VPN, resetting all network settings, and a couple things I can't remember offhand now. Any suggestions will be appreciated.
AbanadonedFace said:
Any ideas? I am still within 15 day warranty so I could theoretically return the phone (which I was contemplating doing anyhow since 10gb of functional storage is a bit too small for me), but would rather not have my hand forced, and eat into my cell data plan.
So far I have tried forgetting the network, wiping cache/dalvik with TWRP, removing the Google VPN, resetting all network settings, and a couple things I can't remember offhand now. Any suggestions will be appreciated.
Click to expand...
Click to collapse
First, if you want to return your device because the 16gb model doesn't have enough space, go ahead.
If it is mostly because of this WiFi issue, I wouldn't return the device, it is almost certainly the case this is some configuration issue (possibly in concert with some Android bug) which can be resolved.
Is it possible when you came home the device connected to a neighbor's AP and thus you couldn't use data, but it wasn't immediately obvious, so you ended up forgetting your own network and reentering the config, but the key was off by a little, and from that point on, it was just assumed the wifi config was correct?
When you say Google VPN, are you using WiFi Assistant and Project Fi? Have you tried disabling auto-connect fir the WiFi Assistant?
Have you tried using the old Lollipop DHCP client (perhaps your IP address got used by another device and the new Android client doesn't handle that well?) Just grasping at straws.
Have you tried turning on Bluetooth while WiFi is on? Perhaps there is a bug with them working independently of each other in certain situations.
sfhub said:
Is it possible when you came home the device connected to a neighbor's AP and thus you couldn't use data, but it wasn't immediately obvious, so you ended up forgetting your own network and reentering the config, but the key was off by a little, and from that point on, it was just assumed the wifi config was correct?
Click to expand...
Click to collapse
I am 100% positive I am on my own home network and that I used the correct key. I'm not sure what you mean with regards to the rest of the 'config', I have always used the standard wifi configuration, just typed in my key and had it work.
sfhub said:
When you say Google VPN, are you using WiFi Assistant and Project Fi? Have you tried disabling auto-connect fir the WiFi Assistant?
Click to expand...
Click to collapse
I actually forget what it was called, it was under Settings>Wireless&Networks>More>VPN. There was one entry there with an icon. I forget the name of it, but the icon looked like a stock Google icon and I think it had google in the name. I am on Project Fi, not using any wifi assistant (at least not in Advanced Wi-Fi Settings), but when I tried to toggle that option on just now, something called "VpnDialogs" crashed, so I assume that VPN entry was that. But again, the assistant wasn't on.
sfhub said:
Have you tried using the old Lollipop DHCP client (perhaps your IP address got used by another device and the new Android client doesn't handle that well?) Just grasping at straws.
Click to expand...
Click to collapse
I did, when I first googled this was one of the things I found, sadly it did not help.
sfhub said:
Have you tried turning on Bluetooth while WiFi is on? Perhaps there is a bug with them working independently of each other in certain situations.
Click to expand...
Click to collapse
I don't use Bluetooth, and trying to toggle it off/on from the control center just gives me a repeated "unfortunately, Bluetooth Share has stopped" error message.
I have decided to get the 32GB 5X since I do want more storage, but since I would like to be able to root my phone again and use Xposed, I would still like to hear any other ideas you have for troubleshooting this problem in case it reoccurs.
I reflashed the latest update to see if that would fix it, no dice. When I send the 16GB model back I have to factory reset it anyway, so I suppose I'll know if that does it.
What puzzles me is why I can load text from instagram posts that have been posted while I've been having this problem, but not images. Makes me think that maybe my connection is being super throttled somehow rather than non-functional, but my PC's speeds are normal. Perhaps some internal part is damaged? I do have a case and it hasn't taken any serious tumbles, but it has had one or two small falls from maybe 2 feet high.
AbanadonedFace said:
What puzzles me is why I can load text from instagram posts that have been posted while I've been having this problem, but not images. Makes me think that maybe my connection is being super throttled somehow rather than non-functional, but my PC's speeds are normal. Perhaps some internal part is damaged? I do have a case and it hasn't taken any serious tumbles, but it has had one or two small falls from maybe 2 feet high.
Click to expand...
Click to collapse
It is easy to test if you have some network connection vs none.
In terminal or adb shell
ifconfig wlan0
ping www.google.com
1st command will tell you (among other things) if your wlan picked up an IP address.
2nd command will test whether you can send ping packets over your connection.
I'm sure there are millions of ways of doing the above, I just gave you one example.
Strangely, the solution seems to have come from factory resetting my router. I ruled this out initially because my other old phones were working fine on wifi, my phone is now getting WiFi again.
Now to figure out what the hell this "Power On" toast is about...
AbanadonedFace said:
Strangely, the solution seems to have come from factory resetting my router. I ruled this out initially because my other old phones were working fine on wifi, my phone is now getting WiFi again.
Now to figure out what the hell this "Power On" toast is about...
Click to expand...
Click to collapse
I've encountered something similar where the router runs out of NVRAM space because it has recorded too many DHCP clients, it won't hand out new IP addresses, but if you are existing or already have one, it is fine.

Root for the Pixel Xl from the google store?

Has anyone made anything that roots the pixel xl, the variant from the google store with the unlocked bootloader? I want to root my device, no need for custom recovery and install a system wide adblocker.
lovenokia said:
Has anyone made anything that roots the pixel xl, the variant from the google store with the unlocked bootloader? I want to root my device, no need for custom recovery and install a system wide adblocker.
Click to expand...
Click to collapse
Not yet. Partitions are different on the Pixel compared to other phones which is going to create a different method for root. It will happen when the devs figure it out. I am looking forward to tinkering with my new Pixel.
lovenokia said:
Has anyone made anything that roots the pixel xl, the variant from the google store with the unlocked bootloader? I want to root my device, no need for custom recovery and install a system wide adblocker.
Click to expand...
Click to collapse
Chain fire is waiting for his to be delivered to his country. Once he gets it then he will start working on root. He says it will be a little harder so it will take a little longer. Also the dev beanstown is on the waiting list for November so we will start seeing root and custom Roms by December I bet.
lovenokia said:
Has anyone made anything that roots the pixel xl, the variant from the google store with the unlocked bootloader? I want to root my device, no need for custom recovery and install a system wide adblocker.
Click to expand...
Click to collapse
Have you tried Adguard, no root needed and easy to toggle on/off, I started using it on my work phone and have found that it works very well, enough that I've switched to it on my personal phone and on the desktop.
Local link: http://forum.xda-developers.com/android/apps-games/adguard-ad-blocker-doesnt-require-root-t2958895
If you find a need for the premium functions googling "adguard stacksocial" will give you a much cheaper option for multi device usage.
rgbc said:
Have you tried Adguard, no root needed and easy to toggle on/off, I started using it on my work phone and have found that it works very well, enough that I've switched to it on my personal phone and on the desktop.
Local link: http://forum.xda-developers.com/android/apps-games/adguard-ad-blocker-doesnt-require-root-t2958895
If you find a need for the premium functions googling "adguard stacksocial" will give you a much cheaper option for multi device usage.
Click to expand...
Click to collapse
This is totally speculation, but since Adguard appears to use the android VPN to block ads, I imagine this may have some kind of negative affect on Wi-Fi assistant (if you have it enabled). I would test it, but honestly I don't trust that this company is tunneling all the traffic of all your apps through them. Seems a bit sketchy to me, but to each their own.
EDIT: Seems I misunderstood how the application functions. I'll still be waiting for root, but thanks to rgbc for the info.
bigbabys said:
This is totally speculation, but since Adguard appears to use the android VPN to block ads, I imagine this may have some kind of negative affect on Wi-Fi assistant (if you have it enabled). I would test it, but honestly I don't trust that this company is tunneling all the traffic of all your apps through them. Seems a bit sketchy to me, but to each their own.
Click to expand...
Click to collapse
The app sets up a local (on-device) VPN for ad filtering, web traffic isn't being routed through Adguard's servers.
I don't use wifi assistant (traffic routed through Google's servers) as I use a third party VPNfor all public wifi however when Adguard senses a remote VPN connection being setup it disabled it's self automatically. It also has a root option for alternative filtering methods for use with VPNs.
Cheers,
Rob
rgbc said:
The app sets up a local (on-device) VPN for ad filtering, web traffic isn't being routed through Adguard's servers.
I don't use wifi assistant (traffic routed through Google's servers) as I use a third party VPNfor all public wifi however when Adguard senses a remote VPN connection being setup it disabled it's self automatically. It also has a root option for alternative filtering methods for use with VPNs.
Cheers,
Rob
Click to expand...
Click to collapse
My bad, as I said total speculation. Didn't mean to spread mis-information. I'm probably still going to wait for root, but it's nice to know there is an alternative.

Categories

Resources