I've used AFWall+ to block Weather Services Pro from using my data plan, but My Data Manager app still shows it in the top 3 of data plan use. Is there some background process using data that isn't being blocked? Is there some other way to block it from using mobile data but still work on Wi-Fi?

HTC Vision/G2 with CM7.2.0 Android 2.3.7

Update: I found an FAQ:

How do I know if my phone supports iptables?

Issue the following command in ADB shell or in Terminal Emulator:

iptables -L -t nat
$ su
# iptables -L -t nat
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

target     prot opt source               destination

Is that correct?

Also this might be the issue, though I don't know how to prove it or troubleshoot it:

AFWall+ does not work under CM 7.x, how can i fix this?

CM 7.x uses old version of iptables which has conflict with AFWall+ built-in iptables. As a workaround you can try to update your iptables to the latest version. But it should work without it. Contact developer/raise an issue on github.

Also, I enabled the "Fix Startup Data Leak" option, and after a reboot, nothing could access the internet at all; it could connect to Wi-Fi but the icon was white indicating no internet connection. Then I went into AFWall and pressed Apply, and stuff started to work. Now I can block Browser and when I try to load things in the browser it says "Web page not available" as expected. So maybe it's working now?

Also firewall log is no longer empty:

AppID : 10080
Application Name: Weather Services PRO
Total Packets Blocked: 348

AppID : 10167
Application Name: Facebook
Total Packets Blocked: 26


So I think that fixed it. Weather app says "request timed out" and Facebook says "Network Error", but Gmail etc still work. :D If it works over the next few days I'll move this into an answer.

  • 1
    Have you checked if it accessed your data plan recently? If it was a "heavy eater", the top-3 placing could still be because of older, pre-blocking actions. Also, doesn't AFWall+ offer a logging function? Have you checked there for entries whether access was blocked? – Izzy Jul 11 '13 at 6:24
  • @Izzy: Yeah, it still shows up on daily listings as one of the highest users. Don't know about logging function, I'll look into it. – endolith Jul 11 '13 at 13:38
  • 1
    According to its playstore description, AFWall+ includes a Rules/Logs Viewer. From its screenshots, it looks like you should be able to access it via the "menu" ("|") as Firewall Logs. – Izzy Jul 11 '13 at 13:44
  • 1
    @Izzy: Yes I see it but it was not enabled so the log is empty. I'll see what it says in the future. – endolith Jul 11 '13 at 18:11
  • Please don't forget to come back then and let us know :) – Izzy Jul 11 '13 at 21:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.