Help!! Wifi vs Mobile Data priority - Xperia Z3 Compact Q&A, Help & Troubleshooting

By default, I keep my mobile data on. When I switch Wifi on, it would override the mobile data, and when I switch Wifi off, it would resume mobile data, and this is working perfectly without needing me to manually switch mobile data on/off. I guess this is the general behavior of Android device.
However, recently I tried some apps to switch mobile data on/off, and it must be one of these apps which changed the network connectivity priority. What happen now is that when my mobile data is on, I cannot turn on Wifi (well, wifi is on, but it won't connect to any ssid, and just show Disabled), so i must manually switch the mobile data off that I can use Wifi.
This so annoying, and I have been searching for solutions but can't find any.
Since those apps I tried do not require root access, I guess i could revert to originally settings without root, but I couldn't find any options in system settings about network connectivity priority.
Experts please help!

After some more search, I found that one of these apps must have used "setNetworkPreference" to change the preference from TYPE_WIFI to TYPE_MOBILE.
Ref.
http://developer.android.com/refere...ctivityManager.html#setNetworkPreference(int)
But i'm not android programmer, i have no idea how I can reset it to default.
Any help would be much appreciated.

Related

Keep cellular data active when connected to WiFi

So I can't seem to find anything that answers this anywhere.
I have some remembered WiFi networks which are open but require me to hit OK on the login page once I connect in order to use the internet. If my phone is in my pocket it will connect to these networks but not be able to access the internet until I go through the login procedure.
I notice though that my phone drops the cellular data connection as soon as it connects to the network giving me a large amount of time with no data at all. I have searched high and low for the setting that will keep cellular data permanently active but I cannot find it. When I look in settings I see:
Mobile data
Use my data plan when Wi-Fi isn't available.
If I tap that I see no option to change anything that would always keep the data connection alive. I see only the following
Data roaming
Data roaming sound
Access point names
Network mode
Network operators
In Power I have Power saver switched Off and Sleep mode switched Off.
Does anyone know how I can enable this?
Thanks

[Q] Urgent! Mobile Data not working on Lollipop Rom!

so i installed a lollipop global lte version on my z1 cause australia doesnt have it yet, the network works and everything, but it just wont turn on data, like i can turn the toggle on but it never actually works? Had the same issue with bluetooth and clearing the cache fixed that.
How can i fix this? any ideas?
THANKS!
If you are connected to a WiFi network go to: settings, more, Internet settings and that option will auto-configure your APN'S. If doesn't work go to: settings, more, Mobile networks, Access points names and configure manually

6.0.1 Marshmallow Removes Data Toggle (slow/faiLs to recognize mobile network)

So, I knew updating to Marshmallow 6.0.1 would do this, and, I was purposely holding off until I could find an answer on how to restore the Data Toggle option.
But, AT&T and or Samsung are trying to be like M$, and low and behold, they ninja-updated my phone without my explicit agreement........
SO..... Now I'm stuck with this crap situation of not having a Data Toggle option.
Anyways, Now I noticed the following behavior:
When I have WIFI on, I then turn it off.
Doing this should automatically kick in my mobile provider data service.
Yet, it takes forever to kick in. Up to 10minutes!
There's like not way to force it to be enabled instantly once I disable WIFI.
I reset my network settings and still has the same issue.
It seems for some reason the phone just doesn't want to immediately initiate attempting to connect to my mobile network after I disable WIFI.
Anyone else notice this? and or can provide some pointers to get that data toggle back?
Just an additional note:
Anyways, there isn't any pattern I can find that determines why the phone won't try to initiate the mobile network immediately after WIFI is turned off.
This doesn't ALWAYS happen.
(I do know it never was an issue when I had the Data Toggle option prior to the Marshmallow update)
Well, At this point, I've tried this a few times and it works. If the Mobile Network doesn't kick in:
Go to Settings > Connections > Mobile Networks > Access Point Names (( Then choose your access point (Which is your APN to the mobile carrier) (Yes, it is already selected, but choose it anyways) ))
Once I do that and back out of the settings the mobile network kicks in.
*hands in the air on this*..
BlueCider said:
Just an additional note:
Anyways, there isn't any pattern I can find that determines why the phone won't try to initiate the mobile network immediately after WIFI is turned off.
This doesn't ALWAYS happen.
(I do know it never was an issue when I had the Data Toggle option prior to the Marshmallow update)
Well, At this point, I've tried this a few times and it works. If the Mobile Network doesn't kick in:
Go to Settings > Connections > Mobile Networks > Access Point Names (( Then choose your access point (Which is your APN to the mobile carrier) (Yes, it is already selected, but choose it anyways) ))
Once I do that and back out of the settings the mobile network kicks in.
*hands in the air on this*..
Click to expand...
Click to collapse
Factory reset, install Samsung good lock. Problems solved.
Sucks that the mobile data toggle switch doesnt work, this is the best alternative I've found. Bonus is that stupid warning about turning data off doesn't pop up anymore with the good lock
Why do you have to do the factory reset?
Avail211 said:
Factory reset, install Samsung good lock. Problems solved.
Sucks that the mobile data toggle switch doesnt work, this is the best alternative I've found. Bonus is that stupid warning about turning data off doesn't pop up anymore with the good lock
Click to expand...
Click to collapse
I am unable to find Good Lock on Galaxy store! :\
I pulled down the Good Lock apk from the apk mirror site, but, the data toggle STILL didn't work.
At least half the time, I have to to this in order to get the Mobile Data reconnected..:
Go to Settings > Connections > Mobile Networks > Access Point Names (( Then choose your access point (Which is your APN to the mobile carrier) (Yes, it is already selected, but choose it anyways) ))
This is extremely annoying. Can anyone else verify?
BlueCider said:
I pulled down the Good Lock apk from the apk mirror site, but, the data toggle STILL didn't work.
At least half the time, I have to to this in order to get the Mobile Data reconnected..:
Go to Settings > Connections > Mobile Networks > Access Point Names (( Then choose your access point (Which is your APN to the mobile carrier) (Yes, it is already selected, but choose it anyways) ))
This is extremely annoying. Can anyone else verify?
Click to expand...
Click to collapse
Simple, go to the USAGE MANAGER app, there is data toggle switch in it.
Xa33M said:
Simple, go to the USAGE MANAGER app, there is data toggle switch in it.
Click to expand...
Click to collapse
OK...... Figured this out.
Firstly, I had Multiple APN set up on the phone. I don't know why, but they ended up being there.
However, I only had selected the proper APN out of all of those for the Mobile Data.
The phone at this point didn't care if it was selected, and when switching off my WIFI, the Mobile Data wouldn't come on, and I had to do the following:
Go to Settings > Connections > Mobile Networks > Access Point Names > Choose THE ALREADY CHOSE proper APN and exit out of settings
After this, the Mobile Data would come on...
SO WHAT I DID:
I removed all APNs that were defined in the 'Access Point Names' section, keeping only ONE APN (The proper one).
After this, the phone would switch on Mobile Data automatically.
SO.... In Conclusion, it looks like this build won't switch to the Mobile Data of a selected APN if multiple APNs are defined in the 'Access Point Names' section...
BlueCider said:
Why do you have to do the factory reset?
Click to expand...
Click to collapse
I've found thru the years that when upgrading to major OS changes, factory resetting helps prevent a plethora of issues. I've rarely ever had any issues with updates across all OS systems (Windows, MacOSX, BlackBerry, Android) because I factory reset. I wouldn't be able to tell you how many posts I've seen across all OSs where a factory reset fixed the problems. To prevent the hassle and headache, I just factory reset. Backing up my messages/phone logs is really the only thing I have to do; all my pictures are automatically backed up to Google Photos and my WD MyCloud, everything else syncs/connects/updates in the cloud (GDrive, GNotes, GMail, etc...) so as soon as I login I'm back to 95%. Downloaded SMS Backup and Restore (Play Store) and my messages/phone logs were restored in a couple min. Setup the APN for mobile data and I'm back to 100%. From there it's just setting up Nova, changing the factory theme, and reorganizing my icons into folders.

Mobile network state includes WIFI

Hey..
I have setup a project to system lock phone (deactivate fingerprint login etc.) if it looses connection to mobile networks. This is extra safety for my in the event someone gets hold of it.
To accomplish this I've setup a profile with the state 'Mobile Network', selected all network modes and used the 'any' trigger and inverted to make trigger whenever the state have no mobile networks. This is tested and works but..
.. whenever WIFI is on it doesn't trigger. If you disable WIFI or it looses WIFI connection it triggers.
Is this bad behavior or am I missing something?
The project in whole still works since an active WIFI connection would give me access to my phone and therefore a system lock is only needed in the event I cant reach it, ie. no WIFI and mobile data.
Thank you.

Question Bug - Wi-Fi advanced setting "Switch to mobile data" nonfunctional, any others have this?

Hi:
My S21 Ultra is the T-mobile variant, in the US.
The Wi-Fi advanced setting for "Switch to mobile data" is nonfunctional, because it has no effect when turned on.
I'm hoping that others can verify this problem: When you are connected to a non-functional Wi-Fi signal (e.g., your phone displays an exclamation point (!) next to the Wi-Fi signal strength indicator), your phone should still be able to access the internet by switching to mobile data, when you have this advanced setting turned on.
However, with my phone, I *CANNOT* access the internet when I connect to a non-functional Wi-Fi signal, whether I turn on or turn off the "Switch to mobile data" advanced Wi-Fi setting.
I'm hoping others can confirm the same issue, so we can escalate as a bug that Samsung can fix. Or maybe somehow it's an issue specific to the T-mobile USA variants of the S21 Ultra?
Anyway, I'm guessing most people don't encounter this bug, because usually you are on a functional Wi-Fi signal. But in my situation, I *NEED* to be able to connect to a non-functional Wi-Fi signal, and access data through the mobile/cellular tower connection. The reason is because that's the only way I can update the firmware on my dashcam. My phone connects to the dashcam via Wi-Fi. That works, and the app can view the dashcam etc. But the app also needs a data connection to download a firmware update for the dashcam. But when I'm connected to the dashcam via Wi-Fi, the dashcam does not provide internet. So I'm stuck because the S21 Ultra *WON'T* access the internet when connected to the dashcam via Wi-Fi, because the "Switch to mobile data" setting does not work and is ignored, so the phone has no data connection whenever I connect to my dashcam.
I figure, if T-mobile doesn't allow this, then they should remove the setting as an option. Why include the setting if it's simply ignored and nonfunctional?
There are some added wifi settings in the developer mode like, wifi scan throttling and wifi safe mode, have you looked into these? I don't have any wifi problems on my S21U unlocked phone, not branded.
In my developer options, Wi-Fi safe mode is off, and Wi-Fi scan throttling is on.
But the issue is my phone refuses to connect to cellular data, even though I tell the phone to please connect to cellular data when the Wi-Fi is unreliable.
I'm not sure that the Wi-Fi specific options in developer mode would cause the phone to refuse to connect to cellular data.
Are you able to connect to an unreliable Wi-Fi, and test whether your phone can automatically receive info via cellular data *WHILE* you are still connected to the unreliable Wi-Fi? You can simulate an unreliable Wi-Fi if you have a modem connected to your Wi-Fi router, and turn off the modem but leave the Wi-Fi router powered on with no internet.
Also, can you check your developer setting for "Mobile data always active"? Is that on or off for you? I don't want to turn on that setting, because I want the phone to save battery and turn off mobile data when I'm connected to a reliable Wi-Fi. The notable setting for me is in advanced Wi-Fi, where the phone can "Switch to mobile data *ONLY* when the Wi-Fi is unreliable and doesn't provide data.

Categories

Resources