It's probably your MIUI persistently trying to phone home
i turn off miui optimization , and seems to work. it reduces overnight drain.In the past I've seen Google services cause battery drain when blocked but that was some time ago and these things vary a lot across different Android versions and ROMS. You might want to track the source of the battery drain with the native battery information from the ROM or with an app such as Better Battery Stats.
Enable and check the AFWall+ log to see what's being blocked when you try to use the app. That might give you an indication.i turn off miui optimization , and seems to work. it reduces overnight drain.
now i have an issue with one payment app (not banking app).
whenever i do payment, it always fails due to security reason. i have to turn off Afwall and use the app and then turn on afwall again.
is there something else i need to allow in Afwall so that the app can work with afwall?
Typically it should not drain battery until something is going wrong. Can you share more details please (configuration/setup etc.,)
AFWall+ never a battery drain on my devices. This might seem counter-intuitive, but makes sure AFWall+ is not battery optimized in Settings.
AdAway works splendidly on rooted devices It modifies the hosts file, not iptables
pm grant dev.ukanth.ufirewall android.permission.READ_LOGS
java.lang.SecurityException: Package dev.ukanth.ufirewall has not requested permission android.permission.READ_LOGS
I did not add support for LSPosed. Also going forward, xposed module will be independent and not to be part of AFWall+ itself.
As far as I'm aware, in Android VPN is global. So once you establish a VPN connection, everything has to go through it.I am using the build-in VPN with IPsec XAUTH PSK to communicate with my FritzBox Modem/Router. In fact I just want to access all services as I would be at home, especially my mediathek and live TV apps (Zapp, MTCast, ZDF mediathek ....).
And I do have the AFWall. Without that it seems I don't have problems. But with active AFWall it is strange.
As stated before I use for rules LAN, WIFI and 4G. LAN only for apps that should be controlled inside my network (as Heater, who don't have to access to outer world).
For a comparison I set my terminal so that I can ping the address and than used same setting for my TV app. But that doesn't work.
First and most important question: Do I need the VPN setting in AFWall if I don't want other rules than lets say WIFI?
What happens If I once set rules in VPN setting and disabled that again? Does the rules keep active and will just not displayed?
@ukanth statement here might be of useto you. No timeline, but...
I totally understand what you are saying.I would expect that those modules have something to do with issues with tethering such as an unknown app /service being blocked therefore requiring firewall be disabled in order to tether, eg the modules might be required to help tethering function at all. I could be wrong and there are more knowledgeable people here that might be able to speak to this but I don't think a hack to circumvent service provider limits would go over well at Playstore. No moral judgement, I just think it might not be worth the risk for an app to allow that. Let's see what others and the developer have to say.
No, these are two different apks.
AFWall+ is an improved version of DroidWall(front-end application for the powerful iptables Linux firewall). It allows you to restrict which applications are permitted to access your data networks (2G/3G/4G/LTE and/or Wi-Fi and while in roaming).Since the original author of Droidwall
discontinued the project, I decided to keep the app instead of Avast Firewall. I'll continue to add more features as I can.
- Supports 5.x to 11.x
- Import/Export Rules to external storage
- Search Applications
- Multiple Profiles with custom names
- Tasker/Locale support
- Select All/None/Invert/Clear applications with single click
- Revamped Rules/Logs Viewer with copy/export to external storage
- Ability to view the network interfaces
- Highlight system applications with custom color
- Notify on new installations
- Ability to hide application icons( faster loading )
- Use LockPattern for application protection.
- Show/Hide application ID.
- Roaming Control for 3G/Edge
- VPN Control
- LAN Control
- Tether Control
- IPV6 Control
- Tor Control
- Choose able languages
- Choose able iptables/busybox binary
- Supports MIPS/x86/ARM
- DNS Hostname
- German translations by [email protected] & [email protected] & [email protected]
- French translations by [email protected] & [email protected]
- Russian translations by [email protected] & YaroslavKa78
- Spanish translations by [email protected]
- Dutch translations by [email protected]
- Japanese translation by [email protected]
- Ukrainian translation by [email protected]
- Slovenian translation by bunga [email protected]
- Chinese Simplified translation by [email protected]
- Polish translations by tst,Piotr [email protected]
- Swedish translations by [email protected]
- Greek Translations by [email protected]
- Portuguese translations by [email protected]
- Chinese Traditional by [email protected]
- Chinese Simplified by wuwufei,tianchaoren @ crowdin
- Italian translations by [email protected]
- Romanian tranlations by [email protected]
- Czech translations by Syk3s
* Fix: Status toggle widget 1x1
* Fix: Ability to hide ongoing notification (Stop firewall and restart to hide after disable it in preferences)
* Fix: Firewall error notification on oreo and above
* Security: Tile toggle checks for password
* User reported crashes
* Updated translations
Previous version 3.0.0
* Better support for nougat/oreo and pie.
* Firewall toggle tile
* Adaptive Icons
* Notification channels
* Tor support
* General bug fixes and crash reports.
* Language selection bug
* Filter selection bug
* Compatible with magisk 17.x
* Better handling of background process
* Drops support for 4.x devices
* Update languages
* Updated libraries