2

I want to clear all app caches mainly to reduce the size of and speed up backups. This feature has been supported in Android 4, but appears to have been removed a long time ago.

A root-only method is fine.

7
  • 3
    With root: for cache in /data/user*/*/*/cache/*; do rm -rf "$cache"; done. For other possible locations see android.stackexchange.com/a/218507/218526 Commented Aug 8, 2020 at 18:44
  • @alecxs f-droid.org/packages/theredspy15.ltecleanerfoss - "Android API 23+ (Marshmallow) no longer allows apps to clean other app’s caches, thus the claim of cleaners clearing them is completely false."
    – user598527
    Commented Aug 9, 2020 at 6:37
  • ...from the Google Play page: "✔ Clear all apps cache at once (1-tap cache cleaner without being root)"
    – user598527
    Commented Aug 9, 2020 at 6:43
  • @alecxs: Root methods are accepted, yes, I was only confused how the app clears caches without root since that doesn't be supported by Android anymore?
    – user598527
    Commented Aug 9, 2020 at 8:28
  • Link2SD requires root permissions for clear cache widget
    – alecxs
    Commented Aug 9, 2020 at 8:30

0

You must log in to answer this question.

Browse other questions tagged .