Skip to main content
9 votes
Accepted

Receiving app notifications from apps that are blocked by a network firewall

Notifications for applications like Twitter and Facebook are sent through Google Cloud Messaging (GCM) or its later versions such as Firebase messaging. This is one of the ways that Google can reduce ...
mattm's user avatar
  • 4,241
9 votes

Why Android phones do not have firewalls?

Most consumer firewalls block incoming connections only and allow all outgoing traffic. This is to make configuration easier; you enumerate what services you are running and want to allow, but you do ...
mattm's user avatar
  • 4,241
6 votes
Accepted

How to send all internet traffic to a SOCKS5 proxy server in local network?

The link you have provided is not setting up SOCKS but a transparent proxy i.e. it takes TCP/UDP traffic and SOCKSify it before sending through shadowsocks tunnel. But you need to make your traffic ...
Irfan Latif's user avatar
  • 20.7k
4 votes

How to use a firewall AND a VPN?

There's many ways to go about this (sorted from easiest to most complicated): Use Adhell 3, the Samsung KNOX based content-blocker that doesn't require root and also allows you to use a VPN app at ...
ItsIgnacioPortal's user avatar
4 votes
Accepted

Restricting an app to only send internet traffic but not receive that back?

It's possible, but far from easy to achieve. There are multiple approaches we can use to block (or at least try to block) incoming traffic. But blocking one way traffic doesn't make sense in most ...
Irfan Latif's user avatar
  • 20.7k
3 votes

How to use a firewall AND a VPN?

Quoting the NetGuard FAQ on that topic (emphasis added): (2) Can I use another VPN application while using NetGuard? If the VPN application is using the VPN service, then no, because NetGuard needs ...
Izzy's user avatar
  • 91.2k
3 votes

How to run a firewall and an AdBlocker on a non-rooted phone at the same time?

You can use adguard for this purpose which has the capability of both a firewall and an adblocker. It sets up a local vpn for non rooted phones. It also has a proxy mode. ( inorder to use with other ...
Nikhil Alex George's user avatar
3 votes

Which apps/services needs to be whitelisted when using AFWall+ firewall?

You likely blocked the downloads by not whitelisting com.android.providers.downloads From Question 58 of app FAQ What do I need to do to get Google Play Store to work? You need to whitelist the ...
beeshyams's user avatar
  • 41.1k
3 votes

Why network activity is detected from apps after VPN firewall blocks them?

Is the problem caused because GlassWire reports false positives? You are correct. This question appears to be related to the understanding of OSI Model. NetGuard is based on VPN which makes use of ...
Irfan Latif's user avatar
  • 20.7k
2 votes

How can I block all incoming connections to my phone?

I don't know how Android Firewall app worked, but it's simple to achieve with iptables; thanks to Linux kernel. Since Android uses default policy ACCEPT, drop any unwanted packets: ~# iptables -I ...
Irfan Latif's user avatar
  • 20.7k
2 votes
Accepted

Firewall software not working as expected on Samsung Galaxy S5 [G900H]

I finally solved this problem in the case of very strange and share my experience here; maybe useful for someone with same or similar problem: After a few days struggling with this, Using AFWall+ ...
Mojtaba Rezaeian's user avatar
2 votes

Internet connection checking blocked by AFWall+?

I had the same problem. To find which app you need to allow you can turn on firewall logs in AFWall+. The log gives a log when traffic is blocked and shows which app was blocked. Enable AFWall+ (if ...
AdamS's user avatar
  • 131
2 votes

Anyway to split apps sharing an UID?

The solution that Dan Hulme has provided is right and I'd like to make it clearer: You have to re-compile the ROM but wait! Open the source for EngineerMode and look for something in AndroidManifest....
iBug's user avatar
  • 7,787
2 votes

Anyway to split apps sharing an UID?

I don't think it's possible to change this without recompiling the ROM. You can't change the UID of apps after they're installed because they won't be able to access their files any more, and because ...
Dan Hulme's user avatar
  • 35k
2 votes

Apps whitelisted in AFWall+ without my knowledge

Guess you didn't read this explanation by developer regarding system apps. You need to consciously blacklist them if you want, by default they are white listed. Google Partner Setup No one seems ...
beeshyams's user avatar
  • 41.1k
2 votes

how to identify on command line terminal emulator apps and packages that have active network connections

If you mean by network connection the applications that has "android.permission.INTERNET" permission, then run this shell script: for package in $(pm list packages -3 | cut -f2 -d":&...
St0rm's user avatar
  • 816
2 votes

In AFWall+, how do you block everything by default?

Use it in "Allow selected" mode.
Firelord's user avatar
  • 25.2k
2 votes

Syncthing does not work with AFwall+ activated

The solution was to disable wireless (WLAN) in AFwall+ and activate LAN. This does not make sense for me, but it works... It still works if I activate wireless as well, but it is not necessary. Even ...
Michael Hutter's user avatar
1 vote

How to prevent phone to install bloatware automatically

Looks like malware in your phone is pre-installed by manufacturer. It's better to install another ROM. You may check here which one owners of your device recommend.
janot's user avatar
  • 555
1 vote

Afwall+ Android Firewall for multiuser

Go to Preferences/Experimental in Afwall+ (I am currently using v3.1.0), and enable Multi-user support! Source: Android Island work profile apps and AFWall
osiixy's user avatar
  • 111
1 vote
Accepted

Anyway to split apps sharing an UID?

While iBug's comment seems a better answer to the question, my real need was to have a correct Internet access detection over the system. In order to fix my issue I had to open an adb shell, type in ...
Stopi's user avatar
  • 219
1 vote
Accepted

Fake missing network connection for single app

You can use Xprivacy for that. In case you don't know, this is an XPosed module (available from the XPosed repo) dealing with privacy related permissions; details can be found in its XDA Thread). ...
Izzy's user avatar
  • 91.2k
1 vote

Lost tethering access and slow internet after uninstalling root firewall

With the help of a root browser, navigate to /system/bin/ and clear the content of the following files: iptables, ip6tables (using the text editor that comes with root browser) then set permissions ...
user135783's user avatar
1 vote

AFWALL+ doesn't block apps when on WiFi

I came across your question because I had the same problem, and I just figured it out (although it might be a different cause in your case). Details of my case (to see if it applies): I'm also on 7.1....
Ratler's user avatar
  • 147
1 vote

Block internet access before firewall starts at boot

Things have changed, DroidWall is no more maintained, rooting techniques have to be changed with Android 5 and 6 releases; particularly SELinux has to be taken care of, and there is always init.d ...
Irfan Latif's user avatar
  • 20.7k
1 vote
Accepted

Is Mobiwol incompatible with WiFi networks, e.g. my home network?

The incompatibility of wi-fi and wi-fi tethering is due to the way most "no root firewalls" work. Sometimes this depends on the Android version in question because some Android versions have a ...
xavier_fakerat's user avatar
1 vote

Is it possible to give root access to some apps without unrooting smartphone?

Your wording is not very clear, so I'll answer base on my understanding. Nearly every root management app (or custom ROMs with root) allows you to deny root access to certain apps and grant for ...
Andy Yan's user avatar
  • 9,539
1 vote

Blocking 'Android System,Battery Warning,com.media tek,Common Data Serviceā€¦' from connecting to the Internet

I observed that on my device Lenovo A3000 log_other_mode increases proportionally with Switch Off time when charging, about 4 MB/hour. Important to know: I dampened the two micros with PlayDo..now ...
Yi Ling Tsai's user avatar
1 vote
Accepted

How to prevent Internet access in NetGuard, "Allow" checkboxes greyed out

As you can see, Allow Wi-Fi when screen is on and Allow mobile when screen is on are greyed out for some reason[.] I don't know whether it is normal or not. They are greyed out because you choose ...
Firelord's user avatar
  • 25.2k
1 vote

How can I block incoming connections?

It's simple to achieve with iptables; thanks to Linux kernel. Since Android uses default policy ACCEPT, drop any unwanted packets. For instance you want to allow port 22 and block all others: ~# ...
Irfan Latif's user avatar
  • 20.7k

Only top scored, non community-wiki answers of a minimum length are eligible