The situation:
From outside to inside, 4G off & wifi on.
From inside to outside, 4G on & wifi off.
When this switching happens, it's always a gamble if the vpn (NordVPN) keeps it's local network connection.
I need this connection when leaving the house to send diverse signals through the local network.
Sometimes that works and i can leave quickly, but other times i need to grab the phone, go to the vpn app to disconnect for the signal to go through, and afterwards reconnect the vpn again.
does anyone recognize this or have a solution?
VPN sometimes loses local network
Moderator: Martin
- digitalstone
- Posts: 342
- Joined: 21 Oct 2017 12:36
- Location: The Netherlands
VPN sometimes loses local network
Phone: LG Nexus 5X (rooted vanilla Android 7.1.2)
Re: VPN sometimes loses local network
Is this the same problem you have mentioned before? viewtopic.php?f=5&t=7466
Probabaly checking the connection and make a flow to auto restart the nord VPN app is the best solution then.
Probabaly checking the connection and make a flow to auto restart the nord VPN app is the best solution then.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
- digitalstone
- Posts: 342
- Joined: 21 Oct 2017 12:36
- Location: The Netherlands
Re: VPN sometimes loses local network
Yes i see. This is quite imbaressing -_-
That topic entailed a couple of questions though, and i have gone all over the place with this flow.
That's my excuse :p
So i'll go with the old idea of killing the nordvpn activity in case of failure.
i had private internet access back then.
P.S.: You remembered this 1 particular instance of my topic from 4 months ago?
Now i know you're actually an android... in form of a very surprised looking cat
That topic entailed a couple of questions though, and i have gone all over the place with this flow.
That's my excuse :p
So i'll go with the old idea of killing the nordvpn activity in case of failure.
i had private internet access back then.
P.S.: You remembered this 1 particular instance of my topic from 4 months ago?
Now i know you're actually an android... in form of a very surprised looking cat

Phone: LG Nexus 5X (rooted vanilla Android 7.1.2)
Re: VPN sometimes loses local network
Hahaha, I vaguely remembered your case, and search for it. Then put the link here. Sometimes I digress too far and forgot the previous solution too. I have distracted again by other flow and not yet making progress in the battery estimation flow 
I can't lift the curse that have transformed me into a cat.
Guess I have to stay in this form until the end of the universe. 

I can't lift the curse that have transformed me into a cat.


Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
- digitalstone
- Posts: 342
- Joined: 21 Oct 2017 12:36
- Location: The Netherlands
Re: VPN sometimes loses local network
Oh it's understandable then 
I'm also fiddling around with the battery estimation time and i think i'm onto something here.
Android says: 1 Day + 4 hours
My flow says: 1 Day + 1.5 hours
Cats don't like the cold, so you really want to avoid the heatdeath of the universe

I'm also fiddling around with the battery estimation time and i think i'm onto something here.
Android says: 1 Day + 4 hours
My flow says: 1 Day + 1.5 hours
Cats don't like the cold, so you really want to avoid the heatdeath of the universe

Phone: LG Nexus 5X (rooted vanilla Android 7.1.2)
- digitalstone
- Posts: 342
- Joined: 21 Oct 2017 12:36
- Location: The Netherlands
Re: VPN sometimes loses local network
So this method has been working out beautifully for some time now, but maybe i can make this topic more useful by asking one more thing:
I use action "Launch App"
Packagename: com.nordvpn.android
Classname: de.blinkt.openvpn.LaunchVPN
Along with it, it starts a loading-circle right in the middle of the screen. It's inside an android top-layer because i either have to use back/home/appswitch to get rid of it. Also it doesn't seem to be doing anything. Just sits there until the end of day if necessary.
Would it be best to use CUI for this in combo with a widget that ignores touches?
I use action "Launch App"
Packagename: com.nordvpn.android
Classname: de.blinkt.openvpn.LaunchVPN
Along with it, it starts a loading-circle right in the middle of the screen. It's inside an android top-layer because i either have to use back/home/appswitch to get rid of it. Also it doesn't seem to be doing anything. Just sits there until the end of day if necessary.
Would it be best to use CUI for this in combo with a widget that ignores touches?
Phone: LG Nexus 5X (rooted vanilla Android 7.1.2)
Re: VPN sometimes loses local network
After pressing back/home/recent, does the loading circle disappear completely? or just hidden? If yes, then yes CUI with home() or back() works fine. While the widget means to protect the screen while it is running right? If so, yes too. Just simply show the widget for 1-2 seconds and hide it after the loading animation has been closed by the CUI.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
- digitalstone
- Posts: 342
- Joined: 21 Oct 2017 12:36
- Location: The Netherlands
Re: VPN sometimes loses local network
Yes the loading circle looks actually to be inside a transparant app-screen (don't know what it is called). When pressing back/home/recent it leaves the screen like a normal app (to the bottom in my case). I'm pretty positive that your method will work. Thanks
Phone: LG Nexus 5X (rooted vanilla Android 7.1.2)