afwall icon indicating copy to clipboard operation
afwall copied to clipboard

[ISSUE] My Summary of problems on Android 13

Open Enkidu70 opened this issue 1 year ago • 9 comments

Here my summary of problems I experience, since I am on A13. Currently, it is really hard to use AFWall+ (latest Donate).

Describe the bug

  1. App freezes very often.
    Means, I open it and nothing happens. Only a kill can solve the problem. After killing the app, it works for a while.
  2. Updating app list freezes app.
    Initiating a rescan of apps results in a freeze of the app. Only a kill helps...
  3. Just applying rules often results in problems.
    Only disabling an re-enabling again is currently a way to make sure rules are applied correctly.
  4. Sometimes AFWall looses state of frozen apps in Island/Shelter.
    When I unfreeze, very often a previous set state is unset.
  5. When AFWall remembers state of Shelter app, I have to re-apply rules again so it will work.
  6. Setting "no log notification" per app does not work.
  7. When I set AFWall+ as device admin, it does not start anymore.

... t.b.c...

Smartphone (please complete the following information):

  • OnePlus 8T (KB2003)
  • Android 13, FlamingoOS v2.3

Additional context I use AFWall nearly since its beginning. But currently it is very hard to use or even trust the app. It is too buggy.

Enkidu70 avatar Jan 10 '23 13:01 Enkidu70

Same behavior on my side, except setting Afwall up as device admin, does not cause any problems.

filora9 avatar Feb 13 '23 11:02 filora9

I have the apk compiled with latest SDK. I haven't tested it yet. Please share the crash logs.

https://www.dropbox.com/s/0u4u0s2hdtxiapk/AFWall_Beta_3.5.4_15022023.apk?dl=0

ukanth avatar Feb 15 '23 00:02 ukanth

Unfortunately I cannot generate crash logs. After testing the apk you uploaded the behavior stays the same. The app does not crash, it just stopps working. So one can choose to wait or close the app. It also stopps working after reboot and when I try to load the afwall protocol/log.

filora9 avatar Feb 16 '23 14:02 filora9

I will have to wait for someone to provide crash logs.

ukanth avatar Feb 16 '23 16:02 ukanth

Was there any changes? I am running LIneageos1 19.1 on FP3 currently and hope to be able to get out of this problem:

https://github.com/ukanth/afwall/issues/1305

with updating to LineageOS 20.0 which is now the supported path. But I run shelter to have some apps in the work profile, no gapps and using a custom script file for some special rules.

I do not want to run in additional problems :-)

Anybody else tried LOS 20.0 meanwhile?

vsatmydynipnet avatar Mar 30 '23 12:03 vsatmydynipnet

UPDATE:

I could not resist and updated the Fairphone 3+ to LineageOS 20.0 (Android 13) which is now running over 24 hours.

  • The Problem #1305 does not more exists
  • Custom script Works
  • Shelter installed apps re firewalled ok too
  • No crashes or hangups

For me, for sure this only is for Fairphone 3+ it looks really good till now

vsatmydynipnet avatar Mar 31 '23 09:03 vsatmydynipnet

For me running LineageOS 20 on OnePlus 5T using AFWall+ is a terrible experience. Crash after crash. Unusable in this state.

BIGGEST issue is leaks. AFWall+ is leaking like a tap. DNS requests pass through from certain user apps though they're blocked on Wi-Fi (no SIM card in this device). Domains these apps are asking to resolve, shouldn't be visible in my router DNS logs. It just shouldn't happen. NO GO as a firewall. The app is screaming about no internet connection and can't log in into the service until allowed rule has been applied but leaking and my router is processing these domains further. It doesn't happens with the same apps on another OnePlus 5T with stock OxygenOS 8.1 + Magisk 22.

Other issue is exporting rules and settings. Not all rules and settings has been imported, only user apps rules. Same phone. Same system. Imported them from version 3.5.3 to 3.5.4 super alpha in this thread which in case you ask, imo work worse than 3.5.3 and hangs/crash more often. I'll omit the fact that if you don't copy the android/data/files folder in your internal storage before uninstalling (since 3.5.3 can't be updated to this 3.5.4 super alpha due to different signatures), settings are gone. Would be great to specify where output files should be written.

LOG not working at all. NFLOG ok. Traffic details uploaded/downloaded doesn't work but not only on 13 but 8.1 too.

Other problems mentioned before:

  1. App freezes very often. Means, I open it and nothing happens. Only a kill can solve the problem. After killing the app, it works for a while.
  2. Updating app list freezes app. Initiating a rescan of apps results in a freeze of the app. Only a kill helps...
  3. Just applying rules often results in problems. Only disabling an re-enabling again is currently a way to make sure rules are applied correctly.
  4. Setting "no log notification" per app does not work.

I can't tell much about Shelter as I've just starting using it but it feels like AFWall+ experience just got worse after installing it. Hangs more often and can't even see Shelter apps though Dual mode/Multi user setting activated.

Tell me how can I help, if this app is still maintained? Can test on OnePlus 5T and Google Pixel 7. Both flashed with LineageOS 20 + Magisk 26.1. I've just uninstalled the super alpha 3.5.4, restarted to recovery, cleaned dalvik/art cache and cache, installed 3.5.3, restart, open app and crash "wait or close app" on going into preferences...

EDIT: Discovered that AFWall+ hangs when there's a "applying iptables rules" notification and then "wait or close app" appear. Clicking on close returns to the main menu of AFWall+. Wait is looping until a new warning appear.

don-dolarson avatar May 28 '23 00:05 don-dolarson

Try disable logging. This is a known problem that it freezes constantly. I disabled freezing and now it works.

freebrowser1 avatar Jun 07 '23 11:06 freebrowser1

I've uninstalled Shelter and AFWall stopped to hang but it doesn't change the fact that it's leaking every DNS request an app is asking for, though everything is blocked. What's the point of having a firewall which pass everything through? None.

don-dolarson avatar Jun 11 '23 20:06 don-dolarson