Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wifi/Mobile data both on when Invizible in VPN mode #249

Open
CodeCracker-oss opened this issue Feb 25, 2024 · 12 comments
Open

Wifi/Mobile data both on when Invizible in VPN mode #249

CodeCracker-oss opened this issue Feb 25, 2024 · 12 comments

Comments

@CodeCracker-oss
Copy link

Hello,

I just noticed with the latest 6.5.0 pro stable version that my WiFi and mobile data both on when Invizible (any module) is running in VPN mode (Not proxy mode).

Most my traffic still appears to go through my home WiFi, although some traffic tends to route over mobile data it seems. My LTE icon appears near the signal bar and the network tile shows both WiFi and mobile data running. Mobile data isn't supposed to run when WiFi is connected.

Its corrected as soon as I stop Invizible.

I messed with a few settings such as disabling the firewall to see if anything appears to fix it. This does not occur on version 6.4.0. No other VPN based apps cause this issue either.

I have a pixel 8, Android 14 February 2024 update.

I have the log file saved, but cannot tell if anything includes sensitive data as it appears gibberish. Is there some software I could use to quickly look at it myself prior to posting?

Thank you

@Gedsh
Copy link
Owner

Gedsh commented Feb 25, 2024

Hello,

I just noticed with the latest 6.5.0 pro stable version that my WiFi and mobile data both on when Invizible (any module) is running in VPN mode

This is correct behavior. The only reason for this is that you have "Mobile data always active" enabled in your developer settings. This feature is designed for fast network switching, and InviZible can utilize it.

Mobile data isn't supposed to run when WiFi is connected.

You should disable the mentioned option in the developer settings or simply disable mobile data.

This does not occur on version 6.4.0.

This is a new feature.

No other VPN based apps cause this issue either.

Because no VPN app can properly use fast switching between networks.

I have the log file saved, but cannot tell if anything includes sensitive data as it appears gibberish.

I don't need your logs. But if you want to read the saved logs, just rename the file extension from txt to zip.

@CodeCracker-oss
Copy link
Author

CodeCracker-oss commented Feb 25, 2024

This is correct behavior. The only reason for this is that you have "Mobile data always active" enabled in your developer settings. This feature is designed for fast network switching, and InviZible can utilize it.

Mobile data always active has always be on by default as far as I've known about this option. Is this feature only usable when an app like Invizible uses it? As I've never seen both on at the same time, just need to be sure that both are not actually being used at the same time.

Can an option be added to invizible's gui to disable this without having to go into Dev options?

@Gedsh
Copy link
Owner

Gedsh commented Feb 25, 2024

Mobile data always active has always be on by default

On most phones it is disabled by default.

Is this feature only usable when an app like Invizible uses it?

It should work the same way if no VPN is used.

Can an option be added to invizible's gui to disable this without having to go into Dev options?

I don't see the point in this since the user enables this option for only one purpose - to use fast network switching. Otherwise, why are you leaving this option active?

@CodeCracker-oss
Copy link
Author

CodeCracker-oss commented Feb 25, 2024

It should work the same way if no VPN is used.

Not for me. If Invizible is disabled (and doesn't matter if another VPN app is used or not), mobile data shuts back off.

I don't see the point in this since the user enables this option for only one purpose - to use fast network switching. Otherwise, why are you leaving this option active?

Since this option is enabled by default on pixel 8, and I always have developer options disabled. I only ever enable developer options when I need to use a feature like USB debugging, then disable it afterwards.

To disable this feature I would have to keep developer options turned on at all times.

@Gedsh
Copy link
Owner

Gedsh commented Feb 25, 2024

Not for me.

This is your phone's issue. Contact the developers of your rom.

this option is enabled by default on pixel 8

I'm not developing InviZible for one specific phone model. Are you using Graphene OS?

@CodeCracker-oss
Copy link
Author

Are you using Graphene OS?

No, stock AOSP.

Its an option google decides to enable by default. Not sure why as the cons of it outweigh the pros.

I could use it in proxy or root mode to avoid this issue, or just turn it off in Dev options I suppose. I decided against keeping Dev options enabled all the time a while ago when an app I was using refused to work unless Dev options was turned off (Similar to when apps block rooted devices).

@Gedsh
Copy link
Owner

Gedsh commented Feb 25, 2024

Its an option google decides to enable by default.

Strange decision from google developers. Especially considering that it doesn't work properly.

I could use it in proxy or root mode to avoid this issue, or just turn it off in Dev options I suppose.

You can simply turn off mobile data. This can be done fast and easily from your phone's toolbar.

@CodeCracker-oss
Copy link
Author

You can simply turn off mobile data.

I could, but then the issue is I have to remember to turn it on everytime when leaving home otherwise I won't be able to receive calls from signal, or receive email alerts.

I will leave it as is for now and test further how my battery is. If it drains to quickly, I will just disable it in Dev options.

@SkewedZeppelin
Copy link
Contributor

SkewedZeppelin commented Sep 24, 2024

This is your phone's issue.
I'm not developing InviZible for one specific phone model.

@Gedsh
it is not one device, mobile data has always on has been default enabled since at least 2017:

Primarily because it is necessary for VoLTE to function and for faster switching.

users shouldn't have to enable developer options and leave it enabled to adjust this and potentially break calls to workaround this

@Gedsh
Copy link
Owner

Gedsh commented Sep 24, 2024

Primarily because it is necessary for VoLTE to function and for faster switching.

In any case, InviZible uses it exactly for fast switching between networks. I don't see any disadvantages in keeping WiFi and mobile data enabled at the same time. WiFi has priority and all packets pass through WiFi if it is available. Mobile data is used at the last resort.

Perhaps you see some drawbacks other than the fact that it's unusual to see both icons at the same time? There's really no problem in disabling this feature or making it optional if I figure out why this is necessary.

@SkewedZeppelin
Copy link
Contributor

fact that it's unusual to see both icons at the same time

it can be especially concerning/confusing to those who are on limited data plans

@Gedsh
Copy link
Owner

Gedsh commented Sep 25, 2024

it can be especially concerning/confusing to those who are on limited data plans

I find it handy with limited data plans as even if I use WiFi at home, I can see that I forgot to disable mobile data. I prefer to keep it disabled and only enable it when needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants