[Q] One-Click VPN enable widget - Android Q&A, Help & Troubleshooting

Does anyone know a widget that can one-click enable a configured VPN? All widgets I can find only enable VPN's configured in the program itself instead of the VPN's configured on the system, usually those applications also don't support OpenVPN.
The closest I can find (on CM7.1 and the market) is adding a settings-widget that opens the VPN settings. This allready reduces the amount of clicks to two.
Is it technically even possible to make a widget for this?

this app
maybe help you quickvpn (market search)

QuickVPN does not have a one-click widget for my homescreen and doesn't use the internal VPN settings.

Have you tried "1 VPN"?
https://market.android.com/details?id=com.doenter.onevpn

1-VPN is the same story... It uses it's own sources for VPN rather then the android VPN settings.

It isn't possible using the Android SDK, but some manufacturers expose it using their own SDKs (according to this).
It's something I'd like to support with Awesome Widgets, but it might be hard to support all phones satisfactorily. I guess a fallback would be to show the settings if it wasn't possible with a particular phone
All the best,
Ash

Wouldn't it be less of an issue when using a custom rom? (I use CM7.1 on my Desire Z)

Yeah, if you have root access it's probably not too difficult (with a bit of java reflection), but I don't think the majority of users will know anything about custom roms or root access.
They'll feel conned when it doesn't work on their standard device, something I'd like to avoid

I think quick vpn client can help you in this. or else you can check android market for some sort of widgets. I haven't tried it but i am looking to get best paid vpn service and free vpn service for htc chacha...?

Related

[Q] Security/Privacy?

Looking for some opinions/advice regarding my security/privacy needs:
A way to prevent MITM attacks when using public wifi points.
A way to prevent Android from phoning home with who knows what kind of info about me.
A way to prevent apps from stealing my info / tracking my movements and usage.
With regards to #1 I think I can do that by using a VPN. Question is which is better - flashing a rom like CYM 9 which has OpenVPN pre-installed - or I believe Entropy's kernel will allow us to use the OpenVPN app that is on the Market???
#2 - I originally thought that a VPN would work here too - Android still phone's home but with a fake IP. Problem is that Android will auto-connect before the VPN does. If we had a firewall app with profiles we could solve that problem but no luck so far. Next, I'm thinking that the PDroid app might solve this problem now that we have deodexed roms that will allow us to use PDroid. Possible issue here is that from what I can tell there are sometimes many Android parts grouped together into one ID so when you turn off network access for one you turn it off for all?? Last I'm wondering (I have never used custom ROM's before) if ROM's such as CYM 9 have already gotten rid of all the "phone Home" problems and therefore we don't need to worry about it at all if we use one of these ROM's???
#3 I think a combination of PDroid and a firewall will solve this issue.
Your help would be greatly appreciated!!

Most secure ZU config: firmware, phone settings, application settings, user behavior

Say I wanted to have the most secure Sony Xperia Z Ultra possible (without "too much" sacrifice of useability).
In the context of this thread I define security as broadly anything barring network anonymity ie. hiding your device public IP address.
So I want security from network attackers (eg. drive-by download, WiFi attacks), physical device attackers (eg. customs searching devices for IP violations ... no really, that's about to become a thing apparently, GF and/or mistresses) .
How would you do it?
Could you please use sections of
Code:
firmware
phone settings
app settings
behavior
because I want to curate the best answers from users in this post for the good of the forum.
My thoughts so far are:
Firmware:
Root is disabled
Bootloader should be locked.
^^ These I'm not sure about - see if we don't have root then we don't have iptable firewall and hosts level server blocking.
One recovery should be used
Honestly I'm not sure which ROM is more secure than another but I'm assuming the latest and greatest is more secure so that would be MM atm. No idea if Sony is more secure than another flavour of ZU Android.
Phone settings:
Developer options off
Sideload apps off
Do not connect to unknown WiFi
NFC Off by default
Bluetooth Off by default
PIN unlock required
Auto-lock ON
App settings: (this includes apps you should have/not have and their settings)
I figure every additional app that I don't use is a needless attack surface so start with no apps at all - uninstall everything. Only install what you use ... for which you need root unless the ROM is premade like this.
Firewall app (Netguard no-root Firewall, DroidWall if we have root)
Adblock (if we have root)
AV - honestly most mobile AV seems pathetic at being secure and not acting like malware (notifications, popup windows etc) but Avast at least seems to not hog resources.
-Auto update every app
User behaviour:
NEVER:
-install apps from anywhere other than Google Play. Or possibly FDroid
-let another person use your device
I'd like to hear your suggestions, critique and everything else, cheers!
So you're not gonna install from other than google play, then what ad blocker are you going to use? Where is adblocker connecting to?
You're talking about still having a lot of apps connecting through servers that you don't control.
morestupidemailnames said:
You're talking about still having a lot of apps connecting through servers that you don't control.
Click to expand...
Click to collapse
Well if you are worried about connecting to servers that you dont control - isnt that all servers?
At which point you may as well remove all WIFI and Mobile Data capabilities and just stick to 2G
panyan said:
Well if you are worried about connecting to servers that you dont control - isnt that all servers?
At which point you may as well remove all WIFI and Mobile Data capabilities and just stick to 2G
Click to expand...
Click to collapse
Exactly my point.
The op is a long winded question that leaves you with more questions.
Probably why there's been such a landslide of security tips here

[APP] please recommend substitution of app: network log

Hey guys, I've been seeking an alternate of Network Log (you can find it on Google Play Store) for quite a while but with no luck, so come out to ask if anyone knows one suitable for me .
I have to say Network Log is almost worthy for purchasing (although it is not a paid app), considering the job it's done in categorizing by protocols, by apps, displaying packets by size and time, graphing as a timeline, and that made it an excellent choice for analyzing apps consuming data and draining battery, but unfortunately the app owner doesn't respond to bug summit or emails.
The thing is, Network Log no longer works after Android 6.0, while others in the market relies on system-built-in VPN function to capture data, which is not suitbale for people like me in China using proxies to reach out to world .
So if anyone knows apps that can capture packets (not necessarily able to decrypt contents) and display by apps, just to make it easy to let me see the amounts and frequency Android apps uses the Internet, I‘ll be thankful that you recommend them to me (again it cannot be using Android VPN function since Shadowsocks is already using VPN, so I think the app maybe require root permission but I'm OK)
check...
will somebody know that???

[Search] no root adblock without vpn

my problem is that i have a non rooted phone with vpn always on and im searching for an app to activating ad block on it.
My fix for it would be to use an android wide proxy or a custom dns that overrides vpn dns.
as title said an root app or an app that provides vpn solution wouldnt be what im searching for. I had once an adblock app that routes traffic trough local proxy beside the vpn but cant find it anymore
Update: i found AdHell but its only for Samsung Devices with knox. Any other solutions?
HeathenMan said:
Update: i found AdHell but its only for Samsung Devices with knox. Any other solutions?
Click to expand...
Click to collapse
any news on this one?
I wanna use protonVPN and adblcoker at same time
a bit of elbow grease to protect self from Privacy Raping
Some [open]vpn clients allow vpn side connection to Socks5. Some even allow toggle of LAN access from device. I am not claiming a finish product exists but perhaps this gives you some joy.
Perhaps your socks5 instance runs in Amazon AWS free tier. Maybe it runs locally on your android handset. Perhaps you run Privoxy itself on android. [@mod: privoxy is F/OSS older than this forum]. There are a few privoxy projects for android on github. Perhaps you pick their brain. It was that against which proxomitron competed [also F/OSS. Thank God for Scott Lemmon].
Using things in differing order you might search the article to which I may not link: Privoxy on Android (with EC2 VPN)
I wanted to bring the Amazon EC2-based Privoxy service to it, by way of a VPN.
Click to expand...
Click to collapse
There was no obvious way to contact the author who hasn't posted since 2016.
There is an OpenVPN service you can likely find the name of yourself offering *recently* an adblock toggle and AntiTracker toggle with a hardcode mode to protect you from predators like google and Fbook. It shouldn't be long before others emulate this functionality. It sports the vpn side socks5 option.
Or privoxy tunnel to remote [cloud (openvpn)]. See? Fun with permutations. Maybe from phone with ShadowSocks to cloud to vpn to web. "OpenVPN over shadowsocks". At this point look into sites helping Chinese dissidents.
You definitely then return here with your improvements to share.
The remaining question is how much is your time worth? Not much? Then search the web ad naseum for the 'ideal free' solution. Elsewise pony up some pennies for some cloud time as part of a solution.
Same question here !
And it seems that adhell is now only available for entreprise use
Wasn't AdGuard doing that?
yes you are right. it works with setting a private dns in the system settings with dns.adguard.com - no batterydrain - no more ads - no vpn - no root

VPN-based adblockers not working

Hello there,
it seems that on the S9+ (and maybe S9, tho users over there report everything is fine) all the VPN-based ad blockers like DNS66, Blokada and the likes do not work correctly. When switching between wifi and mobile, the connection randomly dies, not letting anything through anymore until you restart the phone, or disable the blocker. It is documented in a github issue for DNS66 here. This is annoying, as I found this solution the most user-friendly. I know there is Adhell 3, but a) it's annoying to resign and reinstall every 3 months and apply for new keys and b) it doesn't block everything, not even if I manually feed it with all the hosts files that DNS66 uses. It blocks ads alright, but misses quite some.
Is there any known fix for this, or any other adblock suggestion besides that? I know that rooting and adaway would be best, but I won't root anymore since Samsung here in Europe straight off denies any warranty requests for rooted devices, even if it's got nothing to do with the root itself.
Adguard would a suggestion, but it does use a VPN blocking service for system wide blocking. It's not free and is subscription based. At one time I used adguard over dns66 as adguard worked and dns66 did not (VPN issues with dns66).
For non rooted users there is really no other options. Unless you want to setup a pihole server, somehow get your dns setting on your phone to point to the pihole server and go that route. In the case of dns changes on non-rooted devices it's either a VPN based change or knox. So your options are limited to one or the other. Of course this becomes moot if your plan on only blocking ads when you use a wifi connection.
I've done the pihole route before too, it works but doesn't catch everything. Some ads originate from the same domain as where your visiting, in which case dns adblocking won't work. For those scenarios cosmetic filtering would.
Otherwise I use adhell3 and adblock plus plugin on samsung browser. For practical intents and purposes I steered clear of VPN based setups for a reason. Also I don't mind recompilimg adhell3 once in a while, he's really put a lot of work into making it as simple as possible. I've got my android studio setup so that I just pull the latest changes, build the apk and install.
If adhell3 isn't your cup of tea then the only app I know is Disconnect Pro which costs $24.99 in the galaxy app store. Disconnect Pro functions the same way as Adhell3 does.. as a front end configuration for knox. I've read somewhere that Adhell3 has more features then Disconnect Pro, but I didn't look to much into that to find out what one has over the other.
If I were to suggest something I would suggest adhell3 combined with adblock plus plugin for your browser. combined those work the best for me... some ads might slip through, but dns based ad blocking is not the same as cosmetic ad blocking. Adguard should still do cosmetic filtering, but it's been a while since I used that app.
I am use this one on my S9+, it's free and work fine.
https://block-this.com/

Categories

Resources