Selective 3g access app by app - Android Apps and Games

does anybody know of an app or function which allows me to selectively enable or disable 3g data access for certain apps?
I would need to have e-mail and calendar sync operating in push mode (i.e. all times on/connectable), but would like to suppress data connections for some other apps when there is no wifi connection.
i don't have (don't get) an unlimited data plan and android/some apps seem quite talky =). And I only have 100-250megs/month available.
I know there is an iptables firewall available for certain ROMS but it has not (yet?) been ported to Samsung Galaxy. Furthermore my guess is, a firewall would generally disable access, not only on 3g connections.
ty in advance

im in the exact same position you are with the same phone haha.
i would also love to know whether it's possible because i have a feeling the weather widget im using is trying to get information when i dont want it to.

My guess is, that the weather widget is just one of many =)
Hope there will be some positive reply on this

UltimateJuice, the pay version of the free JuiceDefender has a feature that can enable/disable data per app that is currently running. On top of that, it has a plethora of data on/off options that should be looked into regardless

1step further
c00ller said:
UltimateJuice, the pay version of the free JuiceDefender has a feature that can enable/disable data per app that is currently running. On top of that, it has a plethora of data on/off options that should be looked into regardless
Click to expand...
Click to collapse
that sounds not bad already. do you know if it is possible to set some access-blocking based on connection type?
TY

I don't have the pay version myself, but I don't think it has rules for connection type. What exactly do you mean by connection type?

c00ller said:
I don't have the pay version myself, but I don't think it has rules for connection type. What exactly do you mean by connection type?
Click to expand...
Click to collapse
being on WIFI vs. GSM Data.

karmakuma said:
being on WIFI vs. GSM Data.
Click to expand...
Click to collapse
It does the have controls for automatic turning on WiFi based on certain conditions, but it doesn't look like it gets to the point of being app-specific.
I think it's easier if you consult the official website, lol http://www.latedroid.com/2010/01/juicedefender.html

Any other ideas? Cus that seems to be a taff one
Am I thinking in the wrong direction?
APNDroid is not a solution since it essentialy kills of all traffic over GSM and e-mail + calender sync is a must have for me...

Check out DroidWall in the market. It seems to work for me. I enable all apps to be able to use wifi and disabled most apps via 3G

info5i2002 said:
Check out DroidWall in the market. It seems to work for me. I enable all apps to be able to use wifi and disabled most apps via 3G
Click to expand...
Click to collapse
Droidwall only runs in some ROM´s, in those which includes certain modules in kernel compilation.
It´s not working on my HTC Desire custom ROM, so i bought JuiceDefender weeks ago and happy at the moment with its works.

Related

An application to disable gprs for all apps except for a select few

Like i only want jaxtrsms and agps to be able to use my gprs the rest have to wait for me to enable wifi
Can be done with Tasker. You can make a profile to enable GPS only when certain applications are detected as running.
exactly! use rooted tasker, that's how i solved exactly the same problem. It works not onyl for gps but also data (gprs)
Oops, I missed the "R" haha.
droidwall
if ur phone is rooted use droidwall. free app.
If your phone is rooted then you can try eNeTraffic.
HTC Sense 3.5, Android 2.3.5
xdadevelopers23 said:
if ur phone is rooted use droidwall. free app.
Click to expand...
Click to collapse
While all comments were productive and appericated I finally used your advice for two reqsons
It is free
And it was doing exactly what I wanted
Tasker for me was too confusing
Can anyone tell me what service should I allow in droidwall to enable agps support?

[Q] Data access romoval throught rooted phone

I've done my searching throughout this forum and can't seem to find the answer I'm looking for. I'm familiar to a minor degree in coding but not that adept to the Android yet. The phone has been rooted.I was wondering what file if any I can delete or move in the phone that will prevent the phone from accessing data through the network. My kid has the phone and seems to forget to shut the data off and I'm getting charged like crazy for the surfing she thinks is through Wi-Fi.
Thanks In Advance, apologies if this has been answered already!
You suggest looking into Onavo or 3G Watchdog.
post-mortem said:
You suggest looking into Onavo or 3G Watchdog.
Click to expand...
Click to collapse
Thank-you for your reply. What I'm looking for is a way to disable the ability of the phone to cennect to the internet through the network. My kid uses the phone and is running up my data bill. I can easily tell where it's at through the providers web site. I just want it shut off completely so I it just can't connect anymore.
TIA
So you basically want it permanently disabled? You might be able to do that my changing the APN settings, but the easiest way would probably be to call the carrier and tell them to disable all mobile data on the account.
post-mortem said:
So you basically want it permanently disabled? You might be able to do that my changing the APN settings, but the easiest way would probably be to call the carrier and tell them to disable all mobile data on the account.
Click to expand...
Click to collapse
Actually, that was the first thing I tried, their suggestion as expected was to buy a data add-on. Wasn't very helpful. I'll take a look at the APN settings as you suggest and go from there.
Thank-you for your help!!

wifi tether

Hi guys,
I am loving the Nexus 5. I've ordered it, and should be here in 2 days. Only issue is, I need the program android-wifi-tether https://code.google.com/p/android-wifi-tether/ to be working on this phone.
You see, I have a data plan from my carrier which DOES NOT ALLOW you to tether = (. However, the program wifi tether works great to get around this. Previously I used to use an App called Fox-Fi which did something similar.
Currently I'm running a TW based Samsung S3, because WiFi Tether will only work on TW-based roms, not AOSP-based roms.
Do you think there is any chance to get WiFi Tether, (or similar) App that will work on the Google Nexus 5?
Thoughts?
It looks like the biggest requirement is Netfilter, which is essentially IP tables. Try installing IP tables, and see if the program will run. Otherwise, you can always use another tethering app like easytether, or another program (I know that there are loads out there). If you are rooted, it should not be much of a hassle to install.
Es Filexplorer will do it for you once rooted and a great file management app also
Thanks guys. I'll give it a shot once device is in my hands. Thanks.
Another method for this I use that sometimes works is to tether using the default app and just use a User Agent switch in google chrome for HTML traffic. My video games as well as spotify ETC work like normal I only need the UA switcher for traffic within the browser.
Wait, am I missing something here? OP, tethering is a standard feature in Nexus phones, esp now that Verizon is out of the equation.
Why can't you just use the built-in tethering? If it's an issue of your provider being able to track that, then I don't think any of the 3rd party tools are going to help. Typically, just a user-agent switcher can take care of the problem on the device that you're tethered to.
I'm dealing with this issue right now. I had a note 2 running macks rom on my sprint note 2 that let you hotspot free. The N5 tether/hotspot does not work. We need a work around..
Engineer4life said:
I'm dealing with this issue right now. I had a note 2 running macks rom on my sprint note 2 that let you hotspot free. The N5 tether/hotspot does not work. We need a work around..
Click to expand...
Click to collapse
My carrier has 2 data plans. 6gb for $30 gives you LTE and tether/hotspot. Or Unlimited LTE for $45 -but tether/hotspot is disabled/not allowed.
I'm on the $45 plan and built-in tether does not work. But the app "wifi-tether" gets around this and works Great!
The issue isn't user-agent. With built-in tether I can't even get a data signal. It will create the a dud Wi-Fi hotspot.
Let's hope IPTables works! I'm sure Bluetooth tether and USB tether may still work, but is much more annoying.
prettyha8 said:
My carrier has 2 data plans. 6gb for $30 gives you LTE and tether/hotspot. Or Unlimited LTE for $45 -but tether/hotspot is disabled/not allowed.
I'm on the $45 plan and built-in tether does not work. But the app "wifi-tether" gets around this and works Great!
The issue isn't user-agent. With built-in tether I can't even get a data signal. It will create the a dud Wi-Fi hotspot.
Let's hope IPTables works! I'm sure Bluetooth tether and USB tether may still work, but is much more annoying.
Click to expand...
Click to collapse
which version of the wifi tether app did you use that works? It seems some versions are picky about some phones I just want to get everything I need for when my Nexus 5 arrives
orthonovum said:
which version of the wifi tether app did you use that works? It seems some versions are picky about some phones I just want to get everything I need for when my Nexus 5 arrives
Click to expand...
Click to collapse
For my TW-based Samsung Galaxy S3, I used the file "wifi_tether_v3_4-experimental1.apk", then I changed the SSID and changed the WPA2-PSK phasephrase.
*** I think the trick was, if you did NOT change the default SSID or added a WPA2 password the App did not work. After you set a WPA2 password, you can then turn off encryption or change the SSID back to default.
But I don't think know if this will work for the Nexus 5. **Fingers-crossed!
bump
There is another thread with more discussion on this matter here: http://forum.xda-developers.com/showthread.php?t=2512674
prettyha8 said:
The issue isn't user-agent. With built-in tether I can't even get a data signal. It will create the a dud Wi-Fi hotspot.
Click to expand...
Click to collapse
Is that the case on a Nexus device or something else? In theory my plan doesn't allow tethering, but I've never had an issue with the built-in hotspot. I'm just trying to figure out how your carrier would even know you were using a hotspot versus having data requests come from the phone itself. The traffic should look the same, for the most part.
bobalias said:
Is that the case on a Nexus device or something else? In theory my plan doesn't allow tethering, but I've never had an issue with the built-in hotspot. I'm just trying to figure out how your carrier would even know you were using a hotspot versus having data requests come from the phone itself. The traffic should look the same, for the most part.
Click to expand...
Click to collapse
I believe when you tether, your phone creates a secondary data connection pipe for tethering data. Apps like WiFi-Tether spoof this, and can even create an internal proxy server, such that all tethered data will look like on-device mobile browsing data.
My carrier let's me only create one data connection, thus tether is not allowed. However if I insert my SIM into a "MiFi device", then I can "share" the data connection, as only 1 data connection is being established.
I MIGHT BE WRONG, but this is what it looks like is happening in my findings. Hence the use of IPTABLES to re-route.
I'm not sure why AOSP-based custom Roms could never get WiFi tether working, but TouchWiz (TW) based roms could. I assume something in the kernel. However, I need this working badly.
Interesting, I'd never really given the process a detailed consideration but that sounds like a plausible explanation for both how they detect it, how they block it, and how software modifications let you get around it.
I am currently using wifi tether on evo lte on sprint, fine. Thinking of getting nexus 5. Will this app work on it? that link to the other thread was about tmobile and data plans and stock hotspot app. I am interested in wifi tether app with root. What are the settings to make this work on N5?
Thanks
Dungeon47 said:
There is another thread with more discussion on this matter here: http://forum.xda-developers.com/showthread.php?t=2512674
Click to expand...
Click to collapse
Dig through this thread. Somewhere there's a post explaining what to do to stop your carrier from checking if you are tethering. It requires editing a database and changing the proxy to ipv4 instead of ipv6.
Sent from my Nexus 7 using Tapatalk

[Q] Nexus 5 Mobile Data When on Wifi

Hi all,
I am having an issue with my Nexus 5 using huge amounts of my mobile data (T-Mobile) when connected to wifi even when I'm not using it. What's crazy is that this keeps happening almost exclusively between 2-6am when I'm not awake. It also happens to an even further extent when I'm connected to wifi at work and not using my phone either. Heres a breakdown:
11/12 5:48 AM - 27.57 MB
11/13 3:33 AM - 12.42 MB
11/14 5:15 AM - 14.21 MB
11/12 2:53 PM - 49.57 MB
11/13 2:39 PM - 27.97 MB
I called T-Mobile and they said that it shows that I definitely used my data during those times. I have almost nothing running in the background that uses any data and have turned off my GPS to see if that will help.
Anyone else having the same problems or have any advice?
Thanks,
Chris
Only thing that comes to mind is that your wifi connection is being dropped for some reason, and your phone switches to mobile data instead.
About why data is being used at that time, it is very likely that there are some apps that are using background data - you may have disabled this for a bunch of apps, but may have missed some.
Check data usage under settings to see if you can identify the culprit (you can use the sliders to narrow down - though it doesn't seem to let you narrow down to a specific timeframe)
jj14 said:
Only thing that comes to mind is that your wifi connection is being dropped for some reason, and your phone switches to mobile data instead.
About why data is being used at that time, it is very likely that there are some apps that are using background data - you may have disabled this for a bunch of apps, but may have missed some.
Check data usage under settings to see if you can identify the culprit (you can use the sliders to narrow down - though it doesn't seem to let you narrow down to a specific timeframe)
Click to expand...
Click to collapse
Where can setup this prioritization? For example if I want the phone to use mobile data and override Wifi?
megakony said:
Where can setup this prioritization? For example if I want the phone to use mobile data and override Wifi?
Click to expand...
Click to collapse
I may be mistaken, but I don't think you can do that on stock ROM at least. If WiFi is available, it will always try to use WiFi
For whatever reason, if you want to use Mobile data, you will need to turn WiFi off.
If you always want to use mobile data for a given app or want to use mobile data in a specific time range, you could use tasker app to set up a profile to disable WiFi when that app is launched (or in that time range)
jj14 said:
Only thing that comes to mind is that your wifi connection is being dropped for some reason, and your phone switches to mobile data instead.
About why data is being used at that time, it is very likely that there are some apps that are using background data - you may have disabled this for a bunch of apps, but may have missed some.
Check data usage under settings to see if you can identify the culprit (you can use the sliders to narrow down - though it doesn't seem to let you narrow down to a specific timeframe)
Click to expand...
Click to collapse
Thanks. I did check last night to see what apps were using the most data and it was by far feedly but I'm not sure why that would be using data when I'm not awake. Does anyone else have that problem with feedly? Isn't it also strange that it keeps happening at roughly the same times every day?
Also wanted to add that I came from a Galaxy S2 running Cyanogen and never had this issue.
jj14 said:
I may be mistaken, but I don't think you can do that on stock ROM at least. If WiFi is available, it will always try to use WiFi
For whatever reason, if you want to use Mobile data, you will need to turn WiFi off.
If you always want to use mobile data for a given app or want to use mobile data in a specific time range, you could use tasker app to set up a profile to disable WiFi when that app is launched (or in that time range)
Click to expand...
Click to collapse
I just checked my gf's Galaxy Young...in there when you go to WIFI and access Advanced and there you can set Wifi Sleep policy.
The options I got are "When screen turns off", "Never when plugged in" and "Never"...not really the options I'd imagine for this =)
danotoriusodo said:
Thanks. I did check last night to see what apps were using the most data and it was by far feedly but I'm not sure why that would be using data when I'm not awake. Does anyone else have that problem with feedly? Isn't it also strange that it keeps happening at roughly the same times every day?
Also wanted to add that I came from a Galaxy S2 running Cyanogen and never had this issue.
Click to expand...
Click to collapse
Did you check settings on your feedly? It sounds like it does a daily sync which some RSS readers I'd imagine would do.
I don't have feedly on my phone, but if it has some decent settings it should have one to sync only via wifi or similar.
xShadoWxDrifTx said:
Did you check settings on your feedly? It sounds like it does a daily sync which some RSS readers I'd imagine would do.
I don't have feedly on my phone, but if it has some decent settings it should have one to sync only via wifi or similar.
Click to expand...
Click to collapse
Yea I checked the feedly settings section and there isn't anything related to sync. The app actually only refreshes when it's opened. For now I went into the "data usage" section on my phone and selected "Restrict background data" for the app. Hopefully that works.
danotoriusodo said:
Yea I checked the feedly settings section and there isn't anything related to sync. The app actually only refreshes when it's opened. For now I went into the "data usage" section on my phone and selected "Restrict background data" for the app. Hopefully that works.
Click to expand...
Click to collapse
It actually gets even crazier. Last night before I went to bed I turned off my mobile data by going to setting>data usage and it still shows at 5:19 AM that I used 43 MB of data. I mean the only explanation I could think of is I'm sleep walking and using my phone lol. I called T-Mobile and it definitely shows on their end I did use the data at that time. They also couldn't help me because they don't have the phone yet. Can't believe that no one else is having this problem. Guess I have to contact Google which should be really useful smh.

[Q] Force app to use WIFI only

How can I force a specific app not to use mobile data but only WIFI?
My use case is:
I like reading news through Play Newsstand, but it uses up way too much data for my plan... I would be happy to let it sync every night through WIFI and then just read the stuff from yesterday, without it constantly pulling new stuff using tens of MBs.
Any way to do that without using flight mode every time??
Thanks!
Disable background data on the app
Settings > Data > choose app then restrict background of said app.
radicalisto said:
Disable background data on the app
Settings > Data > choose app then restrict background of said app.
Click to expand...
Click to collapse
I looked at that already, but for example today I see 25MB of Foreground data and only 5MB of background data, enough to make me think that the effect of that flag would be minimal.
In fact, the most data is downloaded while I use the app rather than in background.
Anything else I could try? I am also rooted.
Hmm, Xprivacy (xposed module) may work although I have never personally used it. But from what I have read about it, it restricts app data etc. Give it a whirl and see perhaps?
The play newsstand app has it's own setting:
'Download via Wi-Fi only'
Does this not work as advertised, or am I missing something?
eddiehk6 said:
The play newsstand app has it's own setting:
'Download via Wi-Fi only'
Does this not work as advertised, or am I missing something?
Click to expand...
Click to collapse
It does not unfortunately
That flag only controls how data is synced in the background, but my problem is when I actually open the app to read the news. In that particular moment it starts downloading all news (and images) for the feed I open every time, and that generates tens of MB of mobile traffic.
Gatz said:
It does not unfortunately
That flag only controls how data is synced in the background, but my problem is when I actually open the app to read the news. In that particular moment it starts downloading all news (and images) for the feed I open every time, and that generates tens of MB of mobile traffic.
Click to expand...
Click to collapse
you could get a firewall program (maybe you'll need root for it), and block it from accessing 3G (but allow through wifi)
then use tasker to turn on wifi when you are using the app. this way, the app will never use 3G
radicalisto said:
Hmm, Xprivacy (xposed module) may work although I have never personally used it. But from what I have read about it, it restricts app data etc. Give it a whirl and see perhaps?
Click to expand...
Click to collapse
paperWastage said:
you could get a firewall program (maybe you'll need root for it), and block it from accessing 3G (but allow through wifi)
then use tasker to turn on wifi when you are using the app. this way, the app will never use 3G
Click to expand...
Click to collapse
Thanks for the suggestions.
I could try both, but waiting for Android 4.4.3 to install Xposed.
If any of those can do "Prevent app XYZ from using mobile data" then it's fine.
Xprivacy could be a better choice as it doesn't sound like it's going to use up as much cpu/mem/battery as a firewall.
Gatz said:
Thanks for the suggestions.
I could try both, but waiting for Android 4.4.3 to install Xposed.
If any of those can do "Prevent app XYZ from using mobile data" then it's fine.
Xprivacy could be a better choice as it doesn't sound like it's going to use up as much cpu/mem/battery as a firewall.
Click to expand...
Click to collapse
i'm using Xprivacy... XPrivacy isn't completely foolproof either.
there's an option to block "internet".
In android, you can call "isConnected()" function to check if you are connected, and then not do anything. XPrivacy overrides that function and can return "false".
however, apps can "ignore" or not use those functions, and just force it's way to connect to the internet. it can still succeed (you can test to see if this happens)...
firewall shouldn't be using a lot of your CPU cycles...
paperWastage said:
i'm using Xprivacy... XPrivacy isn't completely foolproof either.
there's an option to block "internet".
In android, you can call "isConnected()" function to check if you are connected, and then not do anything. XPrivacy overrides that function and can return "false".
however, apps can "ignore" or not use those functions, and just force it's way to connect to the internet. it can still succeed (you can test to see if this happens)...
firewall shouldn't be using a lot of your CPU cycles...
Click to expand...
Click to collapse
Thanks.
Could you suggest a firewall app in particular, considering that I don't need advanced functions at all, but merely the bit to turn mobile data off?
Gatz said:
It does not unfortunately
That flag only controls how data is synced in the background, but my problem is when I actually open the app to read the news. In that particular moment it starts downloading all news (and images) for the feed I open every time, and that generates tens of MB of mobile traffic.
Click to expand...
Click to collapse
Lol 'Download via Wi-Fi only' is a misleading setting!
Another possible way, xposed and 'App Settings' module, could also prevent internet access I believe, but not sure if it can specifically block mobile only.
eddiehk6 said:
Lol 'Download via Wi-Fi only' is a misleading setting!
Another possible way, xposed and 'App Settings' module, could also prevent internet access I believe, but not sure if it can specifically block mobile only.
Click to expand...
Click to collapse
FYI, AFWall+ seems to work just fine!
I will also maybe try Xprivacy when 4.4.3 comes out and I will install Xposed.
So far, happy with the firewall approach, might come in handy for more apps that I want to prevent from using up data when underway.

Categories

Resources