[Q] Android Firewall not working. - Android Q&A, Help & Troubleshooting

EDIT: for anyone searching the forum for this problem, it seems either on KitKat or just the Moto G, I'm not sure which if you use a firewall "apps running as root" must be given data permissions or else data will not initialize. Giving this data uses about 300kb a month, so no problem with it eating any data.
I have scoured the internet for an answer to my problem and couldn't find one, so here it is.
I am on PagePlus, on the $12 plan, so only 10Mb of data, I use it, on my old phone Droid X2 I rooted and installed droidwall, then I could use mms, and opera mini pretty much as much as I wanted on that 10Mb :laugh: !
I converted a Boost mobile Moto G over to Page Plus, it went great, but on this phone android firewalls, like droidwall and others, don't work quite right.
The 3G doesn't seem to quite "initialize"?
My normal procedure to use opera mini is to open settings, now a quick setting on the moto g, toggle data, go to opera mini, and browse away.
Now it acquires 3G instantly, not 1X or anything, but opera mini says it doesn't have page failed to load.
Now if I go to droidwall, toggle the firewall off, go back to opera mini, look up a page, go back to droid wall and toggle firewall back on I can keep browsing even after it is back on, for that session (3G session, not Opera mini session I think, but am not sure). This uses only about 100 kb of data, and I can do this if I have to, but it will add up and end up using up quite a bit.
I can provide droidwall logs and whatnot if I have to.
Also tried giving kernel and lunux data, no go.
Thanks,
Anybodysguess

Are you running KitKat?

Anybodysguess said:
I have scoured the internet for an answer to my problem and couldn't find one, so here it is.
I am on PagePlus, on the $12 plan, so only 10Mb of data, I use it, on my old phone Droid X2 I rooted and installed droidwall, then I could use mms, and opera mini pretty much as much as I wanted on that 10Mb :laugh: !
I converted a Boost mobile Moto G over to Page Plus, it went great, but on this phone android firewalls, like droidwall and others, don't work quite right.
The 3G doesn't seem to quite "initialize"?
My normal procedure to use opera mini is to open settings, now a quick setting on the moto g, toggle data, go to opera mini, and browse away.
Now it acquires 3G instantly, not 1X or anything, but opera mini says it doesn't have page failed to load.
Now if I go to droidwall, toggle the firewall off, go back to opera mini, look up a page, go back to droid wall and toggle firewall back on I can keep browsing even after it is back on, for that session (3G session, not Opera mini session I think, but am not sure). This uses only about 100 kb of data, and I can do this if I have to, but it will add up and end up using up quite a bit.
I can provide droidwall logs and whatnot if I have to.
Also tried giving kernel and lunux data, no go.
Thanks,
Anybodysguess
Click to expand...
Click to collapse
I thought that development had stopped on droidwall a while back. I was using it on my previous phone running Anroid 2.3, but I switched to AFWall+ when I got my Moto G. The firewall is so tightly tied to Android, that it makes sense to be using a firewall that is being actively developed. As the Android version changes, the firewall developer needs to adjust the firewall.
That said, when I switched to AFWall+, I was on version 1.2.7 and it was working fine. When I tried updating to 1.3 versions, I had problems with it not blocking things. So I have reverted to 1.2.7 and sticking with it until I see evidence that the problem is fixed. Development seems to have slowed on it, so I'm not holding my breath. I had a Titanium backup that I went back to. I don't know how you would go about getting an earlier version. The play store has 1.3.1.1 in it now.

johninor said:
I thought that development had stopped on droidwall a while back. I was using it on my previous phone running Anroid 2.3, but I switched to AFWall+ when I got my Moto G. The firewall is so tightly tied to Android, that it makes sense to be using a firewall that is being actively developed. As the Android version changes, the firewall developer needs to adjust the firewall.
That said, when I switched to AFWall+, I was on version 1.2.7 and it was working fine. When I tried updating to 1.3 versions, I had problems with it not blocking things. So I have reverted to 1.2.7 and sticking with it until I see evidence that the problem is fixed. Development seems to have slowed on it, so I'm not holding my breath. I had a Titanium backup that I went back to. I don't know how you would go about getting an earlier version. The play store has 1.3.1.1 in it now.
Click to expand...
Click to collapse
Yes it did, it worked perfectly on my X2 so I never changed, but just after posting this I switched to AFWall+, as you were describing the current version seems not to work right, usually once I switch 3g off and back on data stops working til reboot.
If version 1.2.7 works and you could send me your titanium backup copy I would be very grateful, as I can't experiment around very much with only 10MB of data!
And yes @xips I am running 4.4.2 kitkat, the stock vzw version, froze some bloat with titanium but that is it, I did not delete any vzw crap apps yet.

Anybodysguess said:
EDIT: for anyone searching the forum for this problem, it seems either on KitKat or just the Moto G, I'm not sure which if you use a firewall "apps running as root" must be given data permissions or else data will not initialize. Giving this data uses about 300kb a month, so no problem with it eating any data.
I have scoured the internet for an answer to my problem and couldn't find one, so here it is.
I am on PagePlus, on the $12 plan, so only 10Mb of data, I use it, on my old phone Droid X2 I rooted and installed droidwall, then I could use mms, and opera mini pretty much as much as I wanted on that 10Mb :laugh: !
I converted a Boost mobile Moto G over to Page Plus, it went great, but on this phone android firewalls, like droidwall and others, don't work quite right.
The 3G doesn't seem to quite "initialize"?
My normal procedure to use opera mini is to open settings, now a quick setting on the moto g, toggle data, go to opera mini, and browse away.
Now it acquires 3G instantly, not 1X or anything, but opera mini says it doesn't have page failed to load.
Now if I go to droidwall, toggle the firewall off, go back to opera mini, look up a page, go back to droid wall and toggle firewall back on I can keep browsing even after it is back on, for that session (3G session, not Opera mini session I think, but am not sure). This uses only about 100 kb of data, and I can do this if I have to, but it will add up and end up using up quite a bit.
I can provide droidwall logs and whatnot if I have to.
Also tried giving kernel and lunux data, no go.
Thanks,
Anybodysguess
Click to expand...
Click to collapse
On Android 4.2.2. the "apps running as root" network connection seems to be related to the mobile carrier's DNS servers. I used AFWall+ firewall logs to monitor that traffic and (at least on my phone) it was all attempted UDP traffic to DNS. My data seems to work fine though even with it disabled.

Related

[Q] No Data Connection in 2.1

Yesterday, I successfully updated to android 2.1. I have confirmed that the APN information is correct and that there is sufficient network coverage. I have activated data in the settings - yet I cannot seem to get a data connection. Unless I activate WIFI, neither facebook nor mail will update, and I also cannot open websites in several browsers (opera, fennec, standard browser, dolphin).
I also don't get an icon for 3g or hsdpa connection.
Anyone having the same problem? Or even better... a solution?
Best,
-Mike
MPhil said:
Yesterday, I successfully updated to android 2.1. I have confirmed that the APN information is correct and that there is sufficient network coverage. I have activated data in the settings - yet I cannot seem to get a data connection. Unless I activate WIFI, neither facebook nor mail will update, and I also cannot open websites in several browsers (opera, fennec, standard browser, dolphin).
I also don't get an icon for 3g or hsdpa connection.
Anyone having the same problem? Or even better... a solution?
Best,
-Mike
Click to expand...
Click to collapse
I would say it's your carriers networks are down. I had a similar problem but the 3G symbol was there and it just would download anything. I then disabled juice defender and it works perfectly.
If you are running the nordic kit this seems to be a fairly common problem. One of the guys over at phandroid fixed this by going to the SIM Toolkit and downloading settings, but I did not have this option. I was able to get it working temporarily by fiddling with the APN settings, but then like you it just failed to work any more.
I have flashed back to 1.6 and am now going to update with generic uk firmware.
So - I tried the Sony Ericsson option in the settings (topmost menu entry) to automatically download settings, I tried setting them manually, I tried auto-configuring via the apn-options... nothing worked...
then, suddenly, without having changed anything - I get a 3G signal. Seems to have sorted itself out for whatever reason. Will update in case anything changes.
huntleth said:
One of the guys over at phandroid fixed this by going to the SIM Toolkit and downloading settings
Click to expand...
Click to collapse
Worked for me.

[Solved] Gtab android tethering

Hey guys, been away on holidays for about a week, while our little family was away i planned on using my gtab to access facebook and some of the facebook apps i use (and no im not playing mafia wars ). I was not able to do this, ill explain and hope someone may be able to help me sort this out for next time.
To start with i tethered my gtab to my android phone, this worked great for internet access, it wasn't till i tried to access facebook on my gtab as per normal that i ran into trouble.
Now to point out i run facebook normally on my gtab using my home wireless network ok. But as i was using my phone to tether and provide internet access to the gtab, it didnt work out as i planned.
Instead facebook would not load on my gtab, it simply would not fully load, so i tried using the facebook mobile app, this worked the first time i used it while being tethered to my android phone, but it meant i was not able to access other facebook apps, as they r not available in the facebook mobile version, also to top it off, the mobile version only worked once, and would not fully load again from that point on.
Now lucky for me, my wife brought her win7 laptop along on our holiday, so i was able to tether her laptop with my android phone, and to make it more interesting, i was fully able to access facebook and the apps i needed through her windows based laptop.
So what i took from this was as long as my gtab is tethered to a mobile phone for internet access, it acted like a mobile phone and required the use of the facebook mobile phone version instead of the full browser based version.
I need to be able to use the full browser version of facebook to be able to use other apps provided by facebook, so im hoping someone knows how i can configure either my phone or the gtab so i can overcome this issue, any help please ?
What app are you using to tether? Is it the standard 3g hotspots or are you rooted and running something else?
have you changed the user agent to desktop on your Gtab? if not go to settings of your browser and do so.
Thanks guys for the replies.
Im using the default phones tether option under
wireless & networks.
Tethering & portable hotspots
portable wifi hotspot
Ive also tried to find this desktop setting in the browser, but i must be blind, i cant see it anywhere. Im using the default browser that cames with Vegantab 5.1.1
"about:debug" in the browser url window. Settings and scroll to the very bottom. You have to set it every time you reboot
Thanks guys for pointing me in the right direction, once i knew about the desktop setting for the browser, i was able to do a bit of reseach and found out that you can set this permanently in Dolphin HD. So thanks to you guys im now able to do what i need to, thanks heaps.

[Q] [LRShinePlus][Android2.1]Unable to use app accessing Internet on wifi

Hello all,
I have recently had a pretty weird problem with my new LG Shine Plus which I hope you guys could help, here is what I did:
When I first sign up for the phone, I purchased a one month data plan just to try things out, everything was great and I was able to use the data plan and wifi when I am at home and downloaded quite a few applications and they all worked perfectly.
I cancelled a data plan since it cost quite a bit, however I am a student and there are both wireless networks on campus and in my residence room. As a result, I have turned off the Mobile Data Networks.
After that, all the applications, for some reason, stopped working. When I opened up the Advanced Task Killer Free, for example, it will show You must have INTERNET and ACCESS_NETWORK_STATE permissions in AndroidManifest.xml and when I tried to hit KILL selected apps, it will crash. On Bloomberg, it says android.Manifest.permissions.INTERNET permission not set in AndroidManifest.xml file before crashed, and on a whole bunch of other apps, they just crash as soon as I open it up.
However, the most interesting bit is, I was still able to access the Internet on my mobile browser (tried several website that I know I did not go before just to make sure those are not cached pages) on wifi and I can access Android market on wifi as well.
So I turned Mobile Data Networks back on in hope that would resolve the problem, but the same thing happened even with the Mobile Data Networks turned on and now I am unable to use any apps I installed I have verified that I have the apn set up properly in there.
By the way, I have link2sd installed, but it was installed while I was using the data plan, and it worked fine then, I have also had AdBlock installed, which I have already uninstalled it and even apps without any add (dropbox) is crashing at the moment as well.
Please help!
Thanks!

[Q] How do I stop ALL data usage

I may be one of the few smart phone (HTC Rhodium / ATT Tilt 2) users who have requested to NOT have a data plan. I simply have no need for the service and have a basic call/text plan. I’ve decided to give Android a whirl with my AT&T Touch Pro2. I am having difficulty determining what services/apps/settings to disable to ensure no data usage is expended.
I have been using “Energy” ROMs for almost two years now and have been successful at ensuring no data usage is consumed. I few simple steps to turn off a handful of apps/services and I’m all set. Android, on the other hand, isn’t proving to be as easy….for me.
I have dug through the forums and searched around, but I’ve come up empty. I’ve found a few “nodata” programs, but they seem to all be outdated or for Windows Mobile. I don’t think my situation is very common, hence why I’m posting today.
I have successfully installed and used the latest Froyo build (FRX07.1, dated 01SEP11) found here: http://forum.xda-developers.com/showthread.php?t=1171052
QUESTION:
How can I stop all data usage while using Android?
ie...
a. stop specific services/apps/programs
b. install a "no data" app
c. any other ideas?
Thanks in advance for any assistance.
Best way is using the curvefish 3G/ON/OFF Widget, to quickly choose when to be online and when offline.
Can still use data without 3G though? It will just be slower.
What I do is make an internet profile with blank settings on my phone, set it as default then if it tries to connect it instantly fails.
theronkinator said:
What I do is make an internet profile with blank settings on my phone, set it as default then if it tries to connect it instantly fails.
Click to expand...
Click to collapse
This is a good solution by-design, same I used on my old nokia phones
But if you are looking for an app to handle that, try Droidwall (market)
Allows you to restrict which apps can access the network.
This is the perfect solution if you don't have an unlimited data plan, or just wants to see your battery lasting longer.
Click to expand...
Click to collapse
"Settings -> Wireless & networks -> Mobile networks -> Data enabled"?
Or you can simply install from market "Apn Droid"

[Q] Turn off background data if wifi off?

Hi,
Is there an app, script or something (which MUST be lightweight for RAM and battery) that would turn off background data when wifi is off?
Sent from my GT-S5830 using Tapatalk
If you enabled background data at any point, you would know that 3G and 2G networks are only used when wifi is not connected. By turning it off when wifi is off would effectively make your data connection and plan redudant.
Disabling background data while is not on WiFi
Actualy, this is not a bad and dum question, these days, that many people have limited data, I really don't want my apps and other stuff on the background access the interent and I prefer these to get done on wifi, specialy market which I really don't want it to access the internet and check for updates while I'm driving, I would like this to get done when I'm on wifi, I noticed that my phone used 10 MB / day even if I don't use it myself.
please let me know if such a app exist
You can use DroidWall to get an exhaustive control over apps. Really easy to use, and you can decide app by app if they can get internet acces on 3g, wifi, 3g and wifi or not at all.
https://play.google.com/store/apps/details?id=com.googlecode.droidwall.free
SORRY IGNORE ABOVE!! That is not what you're asking for. But you can use CPU tuner for that https://play.google.com/store/apps/details?id=ch.amana.android.cputuner&hl=en
Go to wireless
Then scroll down and last one choose
Then untick the one wich is ticked
Sent from my GT-S5830 using xda premium
I've tried each of these suggested options, but none of these have I found satisfactory.
The problem is that one wants to be able to retrieve and send MMS messages, without other data being exchanged (at least in my contract in Sweden, MMS messages are included in the contract, and is not counted as regular data. I'm guessing your contract is under the same premises...). So that rules out the option os switching off the 3G network.
Next, the problem with DroidWall in this situation, is that there is a 0.4kb data leak through the firewall every time the Wi-Fi successfully connects to a wireless network. Don't ask me how or why (I used two or three different apps to ensure that this was the case). Even if this data amount was fairly small, I wasn't satisfied, since I pay a correlating fee for every byte sent or recieved by my phone, and I wanted all other data stopped.
The solution I finally came to was simpler than I imagined. I altered the API (or APN) settings in the "mobile networks" menu found in the network settings in the device menu. I simply accessed the settings for my account and changed API-type (APN-type), so that it only said "MMS" (erase "default" and "supl"). The only flaw with this option is that one has to fill out "default" in this Space again if one actually desires to use 3G data for some reason. Anyway, this has worked solidly for me for a couple of months (no data leaks).
Hope this helps you!
Sincerely, yitzhaq

Categories

Resources