d4rken-org / sdmaid-se

SD Maid 2/SE is Android's most thorough cleaning tool.
https://play.google.com/store/apps/details?id=eu.darken.sdmse
GNU General Public License v3.0
2.77k stars 432 forks source link

AppCleaner/CorpseFinder: Improve matching for `SHAREit` et al. #1452

Closed d4rken closed 2 weeks ago

d4rken commented 2 weeks ago

Dirty dirty app... ಠ_ಠ

drwxrws--- 2 u0_a257  media_rw     3452 2024-11-06 15:26 .SHAREit
drwxrws--- 3 u0_a257  media_rw     3452 2024-11-06 15:26 DCIM
drwxrws--- 2 u0_a257  media_rw     3452 2024-11-06 15:26 com.android.settings
drwxrws--x 6 media_rw media_rw     3452 2024-11-06 15:26 Android
drwxrws--- 3 u0_a257  media_rw     3452 2024-11-06 15:26 sepolicy_extends
drwxrws--- 3 u0_a257  media_rw     3452 2024-11-06 15:26 .system_config
Android/AndroidSystemProperties
Android/cache
Android/cache/.system_cache
.system_config/
.system_config/system_apps
.system_config/system_apps/system_apps_config.xml
sepolicy_extends/
sepolicy_extends/system
sepolicy_extends/system/sepolicy
DCIM/.shareit_beyla_ids.cfg
DCIM/.shareit_lite_install.cfg

Via Discord report: https://discord.com/channels/548521543039189022/1047079350157193236/1303414682492735632

dvdbane commented 2 weeks ago

I think this commit already cover all folder that need to be clean. What about .status folder? Can that folder be added to CorpseFinder?

d4rken commented 2 weeks ago

@dvdbane You are right, i didn't cover the .status folder. CorpseFinder is only for cases where the app is not installed.

Would "hidden caches" or "offline cache" be more appropriate for the .status folder?

dvdbane commented 2 weeks ago

@d4rken I could be wrong but i think "hidden cache" more suitable as shareit will automatically download cached whatsapp status update once the app open.