[Q] How to stop apps from accessing internet??? - Android Q&A, Help & Troubleshooting

Hello and welcome, XDA community!
So my real problem is apps trying to be online like facebook, tango and such.. my subscription plan is limited so I need to stop them and allow only one app per my needs..
I know about the great app called "Droidwall" it's fine and all but it doesn't provide a mutli-profile function thus I need to tick and un-tick the wanted apps every time I connect!!
I need an app that let's me choose apps which I want them connected to my mobile data and SAVE my configures under one name to a separate profile..
Is there any app like that?
Sorry for my English btw.

Ideally, I'd do it like this...
screamwork said:
Hello and welcome, XDA community!
So my real problem is apps trying to be online like facebook, tango and such.. my subscription plan is limited so I need to stop them and allow only one app per my needs..
I know about the great app called "Droidwall" it's fine and all but it doesn't provide a mutli-profile function thus I need to tick and un-tick the wanted apps every time I connect!!
I need an app that let's me choose apps which I want them connected to my mobile data and SAVE my configures under one name to a separate profile..
Is there any app like that?
Sorry for my English btw.
Click to expand...
Click to collapse
Hey screamwork,
Could you give more information regarding the phone you are using and the android distribution that has been installed on your phone?
I have a galaxy s3 i9300 with Cyanogenmod 10.1.3 installed. If I were you, I'd do it like this:
All Apps -> Settings
Click on Data Usage
This will show you a graph. Below this graph will be list of apps in descending order of their network usage (apps using more data will be shown first). Click on one of the apps in this list.
This will show you data usage by that app. Scroll down and you'll see a checkbox next to "Restrict background data". Press "OK" in the dialog box that pops up.
This action will restrict network usage in background by that app. You can apply this to all apps by selecting "Restrict background data" from the menu that pops up when you press menu key in "Data Usage" screen.
Explore the data usage screen as it will give you more information regarding data usage limits that you can apply. The limits will only be applicable when you are using mobile network.

manthanhd said:
Hey screamwork,
Could you give more information regarding the phone you are using and the android distribution that has been installed on your phone?
I have a galaxy s3 i9300 with Cyanogenmod 10.1.3 installed. If I were you, I'd do it like this:
All Apps -> Settings
Click on Data Usage
This will show you a graph. Below this graph will be list of apps in descending order of their network usage (apps using more data will be shown first). Click on one of the apps in this list.
This will show you data usage by that app. Scroll down and you'll see a checkbox next to "Restrict background data". Press "OK" in the dialog box that pops up.
This action will restrict network usage in background by that app. You can apply this to all apps by selecting "Restrict background data" from the menu that pops up when you press menu key in "Data Usage" screen.
Explore the data usage screen as it will give you more information regarding data usage limits that you can apply. The limits will only be applicable when you are using mobile network.
Click to expand...
Click to collapse
Nope, it's OK for me to un-limit an app's usage I just want it under my command.
droidwall is enough I just want it to have more profiles

Related

[Q] Stop Background Data without Disabling Data

I am currently roaming in roaming in the U.S. at quite high prices. I want to use my phone to get notified of new e-mails, whatsapps, and facebook messages. However, because roaming rates are quite high, I want to make sure my phone doesn't use any other background data. For example, updating weather widget (w/o my manual refreshing), or checking my apps for updates. Especially checking for app updates is a huge waste of data. I tried disabling the update notifications in play store, but it still seems to check because when I go to "my apps" it already knows which of my apps are out of date.
Is there an app that will only let selected apps access my data?
stefan0325 said:
Is there an app that will only let selected apps access my data?
Click to expand...
Click to collapse
If your phone is rooted you can take the app "LBE Privacy Guard" from play store. With the app you can set the permissions for all your apps.
regards
Thanks! I am using LBE Privacy Guard now but Android is still eating away at my data. I disabled 2G/3G data usage for all apps except Whatsapp and Gmail. in thee Firewall section I can see how much data my apps are using. Over the last 3 hours Whatsapp has used 5kb and gmail has used 122 kb, according to LBE no other app has used any data, yet it shows that I have used 372 kb over the last few hours. At $1 per MB on roaming I will be spending about $1.50 a day at this rate even if I do not send or receive any messages. This is too much data usage for background apps I am not using. And when I am roaming on Y-mobile my charges go up to $16 per MB, which would really be too expensive. And unfortunately there are no SIM cards in USA that you can just buy for prepaid for a few days.
Have you disable "background data" and "auto sync" under settings on your phone?
regards
originally I didn't because then i figured it won't check my whatsapp messages anymore. But I tried it just to see what would happen. I have now disables EVERY app to use internet and turned off syncing. I still used 832 kb of data in the last 12 hours.
Google should really work on this. I wish they had a feedback line. How can they make it possible to turn data off, but not make it possible to limit my data use when data is turned on?
As much as I travel, this is a dealbreaker for me. does anyone here have an iPhone and can confirm if data can be completely controlled on it?
busprofi said:
Have you disable "background data" and "auto sync" under settings on your phone?
regards
Click to expand...
Click to collapse
yes but the new 4,o update will not allow you to do that
stefan0325 said:
I am currently roaming in roaming in the U.S. at quite high prices. I want to use my phone to get notified of new e-mails, whatsapps, and facebook messages. However, because roaming rates are quite high, I want to make sure my phone doesn't use any other background data. For example, updating weather widget (w/o my manual refreshing), or checking my apps for updates. Especially checking for app updates is a huge waste of data. I tried disabling the update notifications in play store, but it still seems to check because when I go to "my apps" it already knows which of my apps are out of date.
Is there an app that will only let selected apps access my data?
Click to expand...
Click to collapse
If you're rooted, install Avast Anti-Virus. It provides a nice firewall. It supports different sets of firewall rules based on Wi-Fi, Home data, Roaming data.
By default, its in "Deny Selected" mode. Just, switch to "Allow Selected" mode and allow those apps in Roaming column.
stefan0325 said:
does anyone here have an iPhone and can confirm if data can be completely controlled on it?
Click to expand...
Click to collapse
This has got to be the funniest statement ever, iPhone has no flexibility. Turn on WiFi and data turns off. Turn off WiFi and data turns on.
There is no way you can make it so it restricts certain apps.
Sent from my MB508 using xda premium
SachinShekhar said:
If you're rooted, install Avast Anti-Virus. It provides a nice firewall. It supports different sets of firewall rules based on Wi-Fi, Home data, Roaming data.
By default, its in "Deny Selected" mode. Just, switch to "Allow Selected" mode and allow those apps in Roaming column.
Click to expand...
Click to collapse
This works great. I have firewall all google apps. when I try to go to the store it tells me no services. How about services that are not an app?
Tungsten c said:
This works great. I have firewall all google apps. when I try to go to the store it tells me no services. How about services that are not an app?
Click to expand...
Click to collapse
You'll have to hunt down that by yourself. Google that or ask here..
Have you tried droidwall ?
It can enable/disable data connection (wifi and or 3g) for each app and service individually.
Sent from my GT-I8150 using xda app-developers app
SachinShekhar;28906359Google that or ask here..[/QUOTE said:
Ask here? Ain't that what I am doing?
Tungsten c
Click to expand...
Click to collapse
Tungsten c said:
Ask here? Ain't that what I am doing?
Click to expand...
Click to collapse
Ask with list of services and apps you think as couples...
SachinShekhar said:
Ask with list of services and apps you think as couples...
Click to expand...
Click to collapse
Hey I am not sure what that means. In EL29 i was able to stop background days in one of the set up options. In FF18 that option I'd no longer available.
That's all
Tungsten c

Maps using battery without opening app

I have not used the maps app at all today, and my usage shows its been used for an hour and a half. Other than Google now, what should be using maps that often?
bugeyeblue said:
I have not used the maps app at all today, and my usage shows its been used for an hour and a half. Other than Google now, what should be using maps that often?
Click to expand...
Click to collapse
It's not like that. Just like whatsapp which stays always on to keep you connected, Google maps also stays on even though you don't open it as a system background process although you don't need it. The best way to remove this is to root your phone and uninstall this 'bloatware'
Sent from my Micromax A87 using xda premium
RazaVakil7995 said:
It's not like that. Just like whatsapp which stays always on to keep you connected, Google maps also stays on even though you don't open it as a system background process although you don't need it. The best way to remove this is to root your phone and uninstall this 'bloatware'
Sent from my Micromax A87 using xda premium
Click to expand...
Click to collapse
There's no need to delete Google Maps. You just need to regain some control from the app. By default it sends location data to Google. This periodic data 'seepage' also seems to have the affect of 'waking' the phone from deep sleep. Silly, especially since Google wrote the damn OS.
Anyway, this issue has been covered in other threads; you should search, there are more precise instructions out there
...or you can rely on my questionable memory; as I recall-
- Go into Google Maps
- Choose Settings
- Choose Location Settings
- Un-check "Report From This Device"
Also, make sure (on same screen) that Enable Location Sharing is NOT checked and that any of the other location-specific items on the same screen are un-checked.
If you're wondering about 'Location Reporting' under Background Location Reporting, mine is set to 'Detect your location' (thus I think this setting is OK).
Try this out. For me, Gmaps no longer uses data (or wakes the phone) unless I'm explicitly using it.
Capp5050 said:
There's no need to delete Google Maps. You just need to regain some control from the app. By default it sends location data to Google. This periodic data 'seepage' also seems to have the affect of 'waking' the phone from deep sleep. Silly, especially since Google wrote the damn OS.
Anyway, this issue has been covered in other threads; you should search, there are more precise instructions out there
...or you can rely on my questionable memory; as I recall-
- Go into Google Maps
- Choose Settings
- Choose Location Settings
- Un-check "Report From This Device"
Also, make sure (on same screen) that Enable Location Sharing is NOT checked and that any of the other location-specific items on the same screen are un-checked.
If you're wondering about 'Location Reporting' under Background Location Reporting, mine is set to 'Detect your location' (thus I think this setting is OK).
Try this out. For me, Gmaps no longer uses data (or wakes the phone) unless I'm explicitly using it.
Click to expand...
Click to collapse
Awesome. Thanks for the help. I set it up the way you suggested and I'll see how it works over the next day or so.
You could the free app Greenify as well. Anything that runs in the background without your permission will get shut down by it.
maddog00 said:
You could the free app Greenify as well. Anything that runs in the background without your permission will get shut down by it.
Click to expand...
Click to collapse
Excellent app, but it does require root privileges.
Sent from my Galaxy S4
maddog00 said:
You could the free app Greenify as well. Anything that runs in the background without your permission will get shut down by it.
Click to expand...
Click to collapse
It's desirable (to many) to have at least some background apps able to run/consume data. Yes, you can disable all (or ration out when they're 'allowed' to run, but then you lose out on the full capabilities of the device.
Trust me, having come from Sprint and a GS2, I am well versed in shutting down and restricting apps. What I LOVE about my GS4 is that I can let virtually all apps run (within reason, and w/exception of Gmaps as noted above) and I still have 28-40 hour battery cycles.
Just be wary of 'out of control' apps. Tame them, freeze them, or delete them, but only as a last resort would I disable all background apps.
Capp5050 said:
It's desirable (to many) to have at least some background apps able to run/consume data. Yes, you can disable all (or ration out when they're 'allowed' to run, but then you lose out on the full capabilities of the device.
Trust me, having come from Sprint and a GS2, I am well versed in shutting down and restricting apps. What I LOVE about my GS4 is that I can let virtually all apps run (within reason, and w/exception of Gmaps as noted above) and I still have 28-40 hour battery cycles.
Just be wary of 'out of control' apps. Tame them, freeze them, or delete them, but only as a last resort would I disable all background apps.
Click to expand...
Click to collapse
I agree. Just saying. Those apps that you don't want to run, you can tell Greenify which ones to disallow access. A one stop shop, as it were.
maddog00 said:
I agree. Just saying. Those apps that you don't want to run, you can tell Greenify which ones to disallow access. A one stop shop, as it were.
Click to expand...
Click to collapse
My bad. For some reason I thought your response said "disable all background apps". Thx for the app tip.

Regarding Data Usage / Manager

How to control the data usage? The battery drains fast with 3g data connection. Do we have any app to restrict the data to other installed apps on our own wish? When I choose restrict background data option, I lose the push notifications. Can someone suggest the best data control app which lets us the option to choose to only selective applications can access data? I have installed 3g watchdog and data manager, with these app, all I can see the data usage only and I couldn't manage/restrict the data accessed by the applications that are installed in my phone. Any help or suggestions would be much appreciated.
this loop was closed in another thread. by the OP
saravanan_ganesan said:
...All I'm looking for now, how to control the data usage? The battery drains fast with 3g data connection. Do we have any app to allow the data to other installed app on our own wish? When I choose restrict background data option, I lose the push notifications. Can someone suggest the best data control app which let us the option to choose only selective applications can access data? I have installed 3g watch dog and data manager, with those app, all I can see the data usage only and I couldn't manage the data access by the applications that are installed in my phone...
Sent from my SGH-I777 using xda app-developers app
Click to expand...
Click to collapse
saravanan_ganesan said:
atlast I found the best practices and tips. Installed DroidWall to restrict the data access on application wise. Thanks whoever is looking for such option, you can refer this link for more information http://forum.xda-developers.com/showthread.php?t=1634965
Click to expand...
Click to collapse

[Q] Mobile data usage: process listed by UID!

Hello, when I check the mobile data usage, I see an app listed as "10124" (UID) and no icon; i consumes a lot of background data.
How can I know what's that and how can I make the list show the full name?
Thank you!
Install BBS (BetterBatteryStats) for monitoring all the processes on your phone.
Use your phone for a few minutes in a normal way as your usual then starts BBS and looks in the "Network" Tab.
You'll find the complete log of all processes that use the data connection.

EMUI 9.1 update - all notifications late or not appearing

I know this is a topic existing over internet, I've googled it extensively, but up to now I haven't found a solution.
I've got a non-pro Mate 10, the Chinese version AL-00, rebranded to International/Global ALP L-29.
Approximately two to three weeks ago I got an update from 9 to EMUI 9.1, and maybe a week later, another update as a security patch. The current version of the software is 9.1.0301 (C636E2R1P12).
After the system update, I normally updated all the apps that needed updating and cleaned the phone's cache from bootloader. And although now I once again receive notifications from Google play when an app needs updating (I stopped receiving those a while back for an unknown reason), I stopped receiving notifications for virtually any messaging service or social network, including Gmail app.
To be more specific, when using Gmail, Facebook Messenger, Viber, Whatsapp LinkedIn or some other, I do not get notified of new messages/posts/emails whatever, UNLESS I am using the phone at that particular moment, or unless I am using that specific app at that moment. That also applies for my bank's custom app which should normally notify me instantly as soon as some expense occurs on my card. A few times it even happened that I would receive and reply to a FB message, close the app and like an hour later would receive a notification that that specific person messaged me.
This only started happening after that last update.
I tried turning off battery optimization for each and every single of those apps, I tried switching App launch to manual. It literally makes no difference. Force stopping and cleaning the cache of the apps doesn't help as well.
While I could live with it when it comes to FB or LinkedIn, I cant have Gmail or FB Messenger holding my messages for so long without notifying me. I need them for my work and sometimes time is of the utmost essence.
Any help or advice would be greatly appreciated
EDIT: I just noticed that I'm having same problems with Google Keep app when using reminders
Please, guys, help!
neverone said:
I know this is a topic existing over internet, I've googled it extensively, but up to now I haven't found a solution.
I've got a non-pro Mate 10, the Chinese version AL-00, rebranded to International/Global ALP L-29.
Approximately two to three weeks ago I got an update from 9 to EMUI 9.1, and maybe a week later, another update as a security patch. The current version of the software is 9.1.0301 (C636E2R1P12).
After the system update, I normally updated all the apps that needed updating and cleaned the phone's cache from bootloader. And although now I once again receive notifications from Google play when an app needs updating (I stopped receiving those a while back for an unknown reason), I stopped receiving notifications for virtually any messaging service or social network, including Gmail app.
To be more specific, when using Gmail, Facebook Messenger, Viber, Whatsapp LinkedIn or some other, I do not get notified of new messages/posts/emails whatever, UNLESS I am using the phone at that particular moment, or unless I am using that specific app at that moment. That also applies for my bank's custom app which should normally notify me instantly as soon as some expense occurs on my card. A few times it even happened that I would receive and reply to a FB message, close the app and like an hour later would receive a notification that that specific person messaged me.
This only started happening after that last update.
I tried turning off battery optimization for each and every single of those apps, I tried switching App launch to manual. It literally makes no difference. Force stopping and cleaning the cache of the apps doesn't help as well.
While I could live with it when it comes to FB or LinkedIn, I cant have Gmail or FB Messenger holding my messages for so long without notifying me. I need them for my work and sometimes time is of the utmost essence.
Any help or advice would be greatly appreciated
EDIT: I just noticed that I'm having same problems with Google Keep app when using reminders
Please, guys, help!
Click to expand...
Click to collapse
I've the same updates like yours but mine has no problem
Sent from my BLA-L29 using Tapatalk
yap.rony said:
I've the same updates like yours but mine has no problem
Click to expand...
Click to collapse
Did you make a full system reset afterwards?
neverone said:
Did you make a full system reset afterwards?
Click to expand...
Click to collapse
Do you have root? Try freezing powergenie app, it should allow the notifications to come on time. The only issue is there might be a "slight" battery drain from more apps allowed to run in background. That was a dirty fix that worked even in emui 8/9 and peps seemed to have no issues even after the mod.
Since emui 9.1 introduces erofs file system, you'll have to either freeze the app in question everytime you reboot or create magisk module that during boot replaces contents of /system/app/HwPowerGenieEngine3 with empy folder - I'm not sure how removing odex files affects the thermals so I suggest just removing apk file and keeping everything else from the original directory intact if the temps and phone performance behave odly after doing this.
Feel free to give it a try, but I don't think it's actually worth doing it. The old forum post suggesting this mod actually overlooked the importance of power genie when it comes to temps + performance regulations across the board. Without it the temps will rise, phone won't supercharge and the performance will dip.
I'm actually playing around with this rn, trying to remove thermal limits on per app basis, if I come across anything I'll let ya know. Good luck
Have you made test on both mobile network and on WLAN? And what provider do you use with this phone? I see OP1 and VIP in your profile, probably outdated.
Rstment ^m^ said:
Do you have root?
Click to expand...
Click to collapse
Yeah, thanks, and I can see that you really wanted to help but no, I never rooted this phone, so I guess that all the tips you have for me are, unfortunately, in vain
Thanks though, for trying to help!
domy_os said:
Have you made test on both mobile network and on WLAN? And what provider do you use with this phone? I see OP1 and VIP in your profile, probably outdated.
Click to expand...
Click to collapse
Yep I did, sometimes switching between WiFi and mobile network does activate the apps to check for new messages/mail, and sometimes it doesn't. I haven't noticed any clear pattern.
And it must be difference between XDA forums and the app. I swear I switched it when I bought the Mate. But I'm still on VIP/A1
@neverone, go to Settings > Battery > More battery settings and switch on the option Stay connected when device sleeps. I didn't see you mention this somewhere, I switch this on after every factory reset.
domy_os said:
@neverone, go to Settings > Battery > More battery settings and switch on the option Stay connected when device sleeps. I didn't see you mention this somewhere, I switch this on after every factory reset.
Click to expand...
Click to collapse
No I haven't, but now that I checked, it was turned on all the time. However, knowing that sometimes this actually works, I toggled it off and back on several times and restarted the phone. I'll pay closer attention during the day to see if that helped and report back here. Thanks for the suggestion.
I too have this issue in my M10Pro specially in messenger. sometimes the chat icon doesn't appear even if i have an unread message.
domy_os said:
@neverone, go to Settings > Battery > More battery settings and switch on the option Stay connected when device sleeps. I didn't see you mention this somewhere, I switch this on after every factory reset.
Click to expand...
Click to collapse
cheeze.keyk said:
I too have this issue in my M10Pro specially in messenger. sometimes the chat icon doesn't appear even if i have an unread message.
Click to expand...
Click to collapse
Here's an update: Turning off and on the "Stay connected" option did not help at all, the real proof is that i received an email notification of cheeze.keyk replying to this thread, and I only saw it when I logged in on my PC. The phone did not notify me at all.
So the problem still persists, unfortunately. I am really hoping that I won't have to make a factory reset, although it is also uncertain if that would help at all.
totally bummed. my Mate 10 Pro screen just went crazy. It now has a bright green line all across the very bottom of the screen. And the whole screen now has a faint "screen door" effect going on. just enough to be irritating. I doubt I can live with it, but I loved this phone.
jimberkas said:
totally bummed. my Mate 10 Pro screen just went crazy. It now has a bright green line all across the very bottom of the screen. And the whole screen now has a faint "screen door" effect going on. just enough to be irritating. I doubt I can live with it, but I loved this phone.
Click to expand...
Click to collapse
I'm sorry that you're experiencing such issues, but I don't see the link between your issues, and the issues we're discussing here.
agreed. wrong thread. sorry
@neverone, another idea. Have you frozen some system apps, especially Google Play Services? Or maybe disabled in battery app launch or turned on battery optimization for Google Play Services and Google Services Framework?
domy_os said:
@neverone, another idea. Have you frozen some system apps, especially Google Play Services? Or maybe disabled in battery app launch or turned on battery optimization for Google Play Services and Google Services Framework?
Click to expand...
Click to collapse
These two screenshots show show which apps I have frozen/disabled and which of the Google based apps have and don't have battery optimisation activated.
This essentially hasn't changed since I bought the phone over a year ago. Do you think I should do something with these apps or change some of their settings?
Send also the complete screenshot of Settings > Battery > App launch > Three dots > Manage manually.
Did you restrict background data maybe? Settings > Wireless & networks > Data usage > Network access > in upper drop down menu switch to Advanced network settings > Tick all apps on both installed and system apps list.
And the last question, do you use Smart Data Saver? Settings > Wireless & networks > Data usage > Smart Data Saver
domy_os said:
Send also the complete screenshot of Settings > Battery > App launch > Three dots > Manage manually.
Click to expand...
Click to collapse
Here you go, attached. Hope you'll be able to read all the apps ?
domy_os said:
Did you restrict background data maybe? Settings > Wireless & networks > Data usage > Network access > in upper drop down menu switch to Advanced network settings > Tick all apps on both installed and system apps list.
Click to expand...
Click to collapse
Nope, all processes have an unrestricted background data ?
domy_os said:
And the last question, do you use Smart Data Saver? Settings > Wireless & networks > Data usage > Smart Data Saver
Click to expand...
Click to collapse
Nope, data saver has been turned off and moreover, most of the apps seem to be ticked as an exception if it ever gets turned on
Hope that you put all checkmarks on Google Play Services and all other apps you have notifications problem.
Well as you can see, considering Google's apps, all is good.
I mean this one in Settings > Battery > App launch > Three dots > Manage manually, have a look on attachment.
So, my Email client, Google Play services, Moj Telekom, Viber and WhatsApp have set all three options: auto-launch, secondary launch and run in background. With this setup, I have no problems at all.

Categories

Resources