Automatic Android Sync (and how to disable it?) - Xiaomi Redmi 5 Questions & Answers

My non-tweaked, non-rooted Redmi 5 has the annoying habit of connecting (via Mobile Data) to the net to sync/check for updates every single morning. It seems to override everything I do (I've disabled mobile data, I've cleared the list of Apps and System Apps that can use Mobile Data), I've set a limit of 0KB. Nothing works. The only thing I haven't tried is disabling Background Data for Android System, and that's because it's enabled by default and grayed out, meaning I can't modify it.
Is there a way to restrict all mobile data use for the Redmi 5, the way I was able to do with all my other android-powered phones? And is this problem a "feature" affecting all Redmi 5 phones, or a bug affecting only mine?

There is no way to sync apps and accounts if the option for sync is disabled. It's quite hard to understand by your explanation - does your mobile data and sync options gets automatically turned on after you've turned them off? And what you mean by "Android Sync" and "sync/check for updates"? If you mean that the device is checking for ROM updates, you can turn off that in Settings > About phone > System Update. Just know that without Wi-Fi/mobile data and sync option there is no way for syncing anything on your phone.

skl739 said:
There is no way to sync apps and accounts if the option for sync is disabled. It's quite hard to understand by your explanation - does your mobile data and sync options gets automatically turned on after you've turned them off? And what you mean by "Android Sync" and "sync/check for updates"? If you mean that the device is checking for ROM updates, you can turn off that in Settings > About phone > System Update. Just know that without Wi-Fi/mobile data and sync option there is no way for syncing anything on your phone.
Click to expand...
Click to collapse
I have not turned Sync off altogether. I have, however, activated "Wi-Fi Only" under Settings>Accounts>Sync.
To recap, Wi-Fi only Sync is activated, Mobile data is off, Under "Restrict Data Usage" I have Deactivated Mobile for every single Installed or System App, I've set a Mobile Data limit of 1MB with automatic deactivation of Mobile data when 60% of the limit is reached. And yet, every morning Android System (whose settings are Mobile: Off, WiFi: On, , Background Data: On with no option to deactivate) overrides all these settings, turns on Mobile Data and performs some basic sync operation (roughly 100KB in volume). While the charges are negligible (around 1 cent a day), a. they will be higher if I'm abroad and b. I find it very annoying that there seems to be nothing I can do to prevent this unauthorized data exchange (I'm new in MIUI, but I never, ever had a similar issue with any of many Android-based phones I've used in the past).

ndmushroom said:
I have not turned Sync off altogether. I have, however, activated "Wi-Fi Only" under Settings>Accounts>Sync.
To recap, Wi-Fi only Sync is activated, Mobile data is off, Under "Restrict Data Usage" I have Deactivated Mobile for every single Installed or System App, I've set a Mobile Data limit of 1MB with automatic deactivation of Mobile data when 60% of the limit is reached. And yet, every morning Android System (whose settings are Mobile: Off, WiFi: On, , Background Data: On with no option to deactivate) overrides all these settings, turns on Mobile Data and performs some basic sync operation (roughly 100KB in volume). While the charges are negligible (around 1 cent a day), a. they will be higher if I'm abroad and b. I find it very annoying that there seems to be nothing I can do to prevent this unauthorized data exchange (I'm new in MIUI, but I never, ever had a similar issue with any of many Android-based phones I've used in the past).
Click to expand...
Click to collapse
Uhm, Android System or MIUI ROM itself can't override your settings. Chances are that you probably have some malicious app installed and it has permission to manage your system/background connectivity settings. You can check this by going to Settings > Permissions > Other permissons > Modify system settings.

Nope, no malicious app there (only Skype and the preinstalled Music and Mi Remote apps have permission to change system settings). Besides, the only app that has actually consumed Mobile Data all this time iss, according to the Usage stats, Android System.

Related

[Q] Tasker: How can I pause and re-load an app after enabling Mobile Data or GPS?

Hi
I have a simple wee Tasker profile set up so that when 20 or so applications are started it'll check to see if Wifi is disconnected (%WIFII !~ *CONNECTED*) and then automatically start Mobile Data if that is true.
I have a same thing with GPS, but fewer apps that trigger it to activate.
Works fine, but .... the problem I have is that the mobile data (or GPS) doesn't connect quickly enough and I'll get something like "No Connection", so I have to manually refresh the app for it to pick up the fact there is a data link or GPS active.
Sounds like no big deal I know, but if (for example) I'm on my motorbike with the phone in my pocket, it is
I can be listening to music via BT, but if I ask it to navigate somewhere, it has a hissy fit, so I have to stop, gloves off, cancel the warnings, manually navigate, gloves on ... yadda yadda ...
Arseache
Rather than setting up a task for eeeevery single app, is there a variable I can use so that I can re-load the last called app?
... Something like:
Code:
Enable mobile Data
Sleep 2s
Launch Application %LASTAPP
Or is there a way to define a variable with the last app name as step 1 so I can re-launch the app again as the last step?
Code:
Set Variable %WHATCHADOIN ~ (%APP)
Enable mobile Data
Sleep 2s
Launch Application %WHATCHADOIN

Data Usage - Save info / push data not working now / GPS not Working

Is there a way to save the info/history from the "Data Usage" in the settings? Anyway to restore it? Going to wipe my phone, and wold like to preserve the info
Try titanium backup. Search for "Data usage (policy and stats). " I personally use My Data Manager so I'm not 100% on this, but it seems like that's what it would back up
Sent from my SAMSUNG-SGH-I337 using XDA Free mobile app
I use a full wipe Odin on my phone to get it back to as new.
But after a day or 2, I started to realize that I'm not getting push data.
My WhatsApp isn't coming in except if I kill the app and open it and going into a chat, hangouts didn't come in for a few hours till I restarted my phone, and gmail isn't coming in till I refresh all mailboxes separately & my Chase nofications aren't coming in as well.
As I have restored my data info, I have seen that Chase was blocked from background data, which wasn't the case before the backup. I have enable background data, but still not working.
For the others, I disabled and then reanabled background data, but I'm still having problems.
Any insight?
I'm having 2 major issues with my phone.
1) The data alert, (on the data usage page), shows up an alert 1/2 gig before I reach that amount. Bug involved?
2) My GPS lately is creating lots of problems. GPS Toggle is on, but Waze/Maps doesn't collect the data from it, and Waze shows an error that the GPS is not working, and Maps shows my position based on GPS-A. Only when I re-toggle the GPS (off/on), does it show up in the notification bar "searching for location/location found" and then Waze/Maps shows the correct position.
Any insights?
Samsung SCH-1545 data service not working india
s there a way to save the info/history from the "Data Usage" in the settings? Anyway to restore it? Going to wipe my phone, and wold like to preserve the info
same issue here voice service working , only 3G service not working

wifi and mobile data disconnects when screen goes off even with wifi ALWAYS ON mode

My wifi and data connection disconnects when screen goes off on my huawei ascend mate 2. For samsung phones it can be solved with secret codes like ##0011# but for huawei phones the secret codes are not working. or do you know a working secret code on hardware level for this? my power save mode is off. wifi is set on always on mode. auto synchronisation is on. my apps can all run in background. So I have set off all possible energy saving option for all apps. besides I have downloaded apps to keep wifi always on. but when I put it on always on mode on this app. It mentions that the wifi set on always on mode. but after 2 seconds I open the app (wifi always on app) it says that the wifi is on saving mode and not in always on mode. So there is another more dominant program (probably the huawei custom ROM) who has more privileges than a normal app so that it avoids that wifi is on always on mode.
Sometimes even when the screen is on, viber whatsapp does not receive calls or messages you should launch the app to receive calls and messages. you would say that it is a synchronisation problem. No. No. sync is on for all accounts. all accounts have full access on all my data and on the battery. All settings about battery saving options are set off.
I have sort of the same issue. I use KIK to talk to a lot of friends and on other phones I've had (LG G3 previously), I could load up the task manager and clear away all apps and it had no effect on getting messages. Now, with the HAM, if I clear away running programs, including KIK, even though I have KIK set as a protected app, I will not get any messages and people who send me messages say it stays on S (sent) as opposed to D (delivered). If I clear out all running apps and then load KIK up again before turning off the screen, the messages get delivered and I get notification. It's a little annoying, but keeping the program I want to receive notifications, running, seems to solve the issue for me.

Android (various versions) – Delayed push notifications on mobile data

I have a phone with Nougat 7.1.1, but also older phones (eg with Lollipop and Gingerbread): the common trouble on all phones is that I have an annoying issue when connected using mobile data:
all the apps which relies on push notifications (eg whatsapp, facebook messenger, Hangouts and Gmail) doesn’t receive push notifications in realtime or in a acceptable time: I mean that I receive notifications - delayed - also after 30 minutes or i receive them only when I turn on the screen. On all these phones I use a SIM card of same carrier.
When I am connected using Wifi (so without mobile data) I receive notifications in realtime (in about 1 or 2 seconds).
What I checked is that all these apps have background data always enabled and I don’t use any battery saver app.
Is like if the mobile data, after some minutes of inactivity, falls in a sort of idle status, and needs to be kept awake: in facts, if I use a method to run a ping command every X minutes, the notifications are received in an acceptable time (in few seconds).
Not all of my phones are rooted: on the phones which are rooted I solved by installing the app called “Push Notification Fixer”; I am aware of the fact that there’s also available the “NO ROOT” version of such app, but doesn’t works for me.
I said “if I use a method to run a ping command every X minutes, the notifications are received in an acceptable time (in few seconds)”: I noticed that mobile data of my carrier falls in a “sleep” state after about 7 minutes: so I setup the following command in a Terminal Emulator:
Code:
ping -i 420 www.google.com
420 is the time in seconds, which is equal to 7 minutes.
The ping method, however, cause other issues: it cause a lot of wakeups (as I can see from Better Battery Stats) and sometimes I notice that it hangs: I excluded the Terminal Emulator from battery optimization and from data saver (and I enabled the option “Wake Lock” (to keeps phone from sleeping while running a command) , but this doesn’t help: I also excluded Google Play Services from battery optimization/Doze and I ensured that background data is not restricted
Obviously I’ve also tried to wipe applications cache and uninstall and reinstall applications: however, since with Wifi I don’t have any trouble, seems not a fault of the phone or apps, since I faced this issue on all phones and different versions of Android: always occurs with mobile data but not with Wifi.
Is sure the fact that when I am on mobile data the phone needs to be awake to receive the notifications. I repeat that when I am connected using wifi, the notifications are instant.
I don’t think that Doze is the culprit: as I’ve said I excluded apps and Google Services from battery optimization/Doze.
I also disabled the data saver option. I have notifications delay issue only when connected with mobile data: furthermore the signal strenght of my carrier (4G) is good.
What can I do (a robust and reliable method) to keep the mobile data connection always active?
I also tried by using “Connection Stabilizer” from the Play Store: this app, also have a method to run a ping command every X seconds or minutes, but also this app suffer from the same issue: after a while the ping command no longer works.
I heard of the fact that this issue could be related to fast dormancy: unfortunately, since the phone is not rooted, I can't disable fast dormancy.
I installed this app: https://play.google.com/store/apps/details?id=eu.thedarken.wl (Wake Lock - PowerManager): This app implemented a Partial Wakelock: in this way the notifications arrives in 1 - 2 seconds, but the downside (due the Partial wake Lock) is a battery drain.
No one else, here, faced the issue of delayed notifications when connected with mobile data?
As I've said, with Wifi I don't have any issue with notifications; furthermore I am not "forced" to rely on wakelocks.
Kind regards.
were you able to fix this ? i am having the exact same problem on my note 8 running pie with no solution so far

When wifi discounnects or turn off, the mobile data turns off automatically too!

So whenever I left wifi area or turn off the wifi soon after the mobile data gets automatically turned off, the icon of it shows not just for specific app.
Even when I turn off the data saver, it doesnt help.
This is very bothersome as I will miss alot of stuff.
johnson8c said:
So whenever I left wifi area or turn off the wifi soon after the mobile data gets automatically turned off, the icon of it shows not just for specific app.
Even when I turn off the data saver, it doesnt help.
This is very bothersome as I will miss alot of stuff.
Click to expand...
Click to collapse
Anyone experiencing or heard such problem with Huawei Phone? Need help.
Are you talking about missing notifications?
If you enable Developer Options (settings/system/about phone...then press build number 5 times) then in Developer Options there is an option you can tick to always keep mobile data active. I use it for faster network switching and it doesn't have much of an impact on data use or battery drain.
But if you are talking about missing notifications that might not solve your problem.
You want to remove any apps that need timely notifications from battery optomization in the power settings. Make sure after you choose to manually manage the apps that they are allowed to run at startup and remain running in the background. (All 3 options should be allowed).
If that doesn't solve your problem then you might also need to remove Google Play Services from automatic power management since that service is normally responsible for syncing Android phones.
Huawei has more aggressive power management than most Android phones which provides great battery life but also annoys many people because they can miss important notifications.
jhs39 said:
Are you talking about missing notifications?
If you enable Developer Options (settings/system/about phone...then press build number 5 times) then in Developer Options there is an option you can tick to always keep mobile data active. I use it for faster network switching and it doesn't have much of an impact on data use or battery drain.
But if you are talking about missing notifications that might not solve your problem.
You want to remove any apps that need timely notifications from battery optomization in the power settings. Make sure after you choose to manually manage the apps that they are allowed to run at startup and remain running in the background. (All 3 options should be allowed).
If that doesn't solve your problem then you might also need to remove Google Play Services from automatic power management since that service is normally responsible for syncing Android phones.
Huawei has more aggressive power management than most Android phones which provides great battery life but also annoys many people because they can miss important notifications.
Click to expand...
Click to collapse
No, the entire data just cut off after leaving wifi even thou the mobile data was on prior to leaving the wifi spots or just turning off the wifi. Does that make sense? I have had so many different phone this has never happend to me. I even turn off the data saver mode too.
johnson8c said:
No, the entire data just cut off after leaving wifi even thou the mobile data was on prior to leaving the wifi spots or just turning off the wifi. Does that make sense? I have had so many different phone this has never happend to me. I even turn off the data saver mode too.
Click to expand...
Click to collapse
If I turn that option on in dev mode "always leave the mobile data on" even when the wifi is on (even when wlan is active) does that mean it may sometimes suck up my mobile data while wifi is on, i dont want that.
johnson8c said:
If I turn that option on in dev mode "always leave the mobile data on" even when the wifi is on (even when wlan is active) does that mean it may sometimes suck up my mobile data while wifi is on, i dont want that.
Click to expand...
Click to collapse
Ok after tons of digging found the problem. a function i have never seen on previous phones.
basically you go to mobile data setting and go to more and then (wlan/mobile switcher) go in there and thats where the problem is.
I now select switch to mobile data.
johnson8c said:
Ok after tons of digging found the problem. a function i have never seen on previous phones.
basically you go to mobile data setting and go to more and then (wlan/mobile switcher) go in there and thats where the problem is.
I now select switch to mobile data.
Click to expand...
Click to collapse
I don't see that setting. Does this fix the fact that when you use hotpsot the phone is incapable of any data? I can't use hotspot at the same time as data on the phone itself.

Categories

Resources