AppManager icon indicating copy to clipboard operation
AppManager copied to clipboard

LTE Cleaner like features

Open Manothave opened this issue 5 years ago • 11 comments

It can clean app data folder and many junk files. Don't want to install too many app in my phone. 😉

Manothave avatar Aug 08 '20 01:08 Manothave

It can clean app data folder and many junk files. Don't want to install too many app in my phone. 😉

App data folders/cache cleaning features will be available as 1-click operations in v2.5.12 or v2.5.13. But I will not add support for cleaning junk files (other than the above) as it's beyond the scope of this project.

MuntashirAkon avatar Aug 08 '20 02:08 MuntashirAkon

I'm still at a loss on how can I integrate this in my project. I do have two place holders in 1-Click Ops for these but I haven't implemented them yet because I haven't found any feasible solution to the problem. LTE Cleaner doesn't exactly have complete features: It's too simple and not exactly what I have in mind.

MuntashirAkon avatar Aug 16 '20 14:08 MuntashirAkon

it doesn't matter LTE Cleaner Are Doing Great Job But I Also Agree If You Add It :) There Is No Such A Issues With LTE Cleaner Size Are Small No Weirdos Permission Blah Blah Blah @manothave

ghost avatar Dec 22 '20 00:12 ghost

  • [x] Clear data from uninstalled apps. Find uninstalled apps in /data/user[_de]/<user_id>, /storage/emulated/<user_id>/Android, etc. and clear their data if requested.
  • [ ] Clear cache. Find cache folders (cache, app_cache) in the above directories. Apps may use cache locations outside the typical root folder. So, find them as well. SD Maid has a greedy algorithm that matches any directory with the word cache, for example.

The trouble, however, is how to display the found items. Unlike any other 1-click options, displaying just the number of found files might cause trouble if the files are important for some reason.

MuntashirAkon avatar Feb 03 '21 05:02 MuntashirAkon

I currently use ADBungFu to trim the cache of all apps at once before taking a TWRP backup. I would love to be able to use App Manager for this purpose instead of having an entire app for just one operation.

https://f-droid.org/en/packages/com.oF2pks.adbungfu/

https://forum.xda-developers.com/t/app-root-foss-5-0-adbungfu-appops-manager-adb-simulator-su-magisk.4104149/

opusforlife2 avatar Aug 29 '21 18:08 opusforlife2

I currently use ADBungFu to trim the cache of all apps at once before taking a TWRP backup.

You can simply run pm trim-caches <cache-size> (e.g. pm trim-caches 1024G) for that. Anyway, I'll add an option in the 1-click ops section.

MuntashirAkon avatar Aug 30 '21 04:08 MuntashirAkon

@opusforlife2: Added in 59179189

MuntashirAkon avatar Aug 30 '21 06:08 MuntashirAkon

I currently use ADBungFu to trim the cache of all apps at once before taking a TWRP backup.

You can simply run pm trim-caches <cache-size> (e.g. pm trim-caches 1024G) for that. Anyway, I'll add an option in the 1-click ops section.

Sir pls explain more about this command? 🙏

ghost avatar Aug 30 '21 09:08 ghost

@MuntashirAkon Thank you so much!

opusforlife2 avatar Sep 01 '21 17:09 opusforlife2

LTE Cleaner project is dead. Mirror available at https://sourceforge.net/projects/ltecleanerfoss.mirror/ and https://archive.softwareheritage.org/browse/origin/directory/?origin_url=https://github.com/TheRedSpy15/LTECleanerFOSS

shuvashish76 avatar Aug 09 '25 03:08 shuvashish76

Nowadays, I'm not even sure if these kind of cleaners are useful. For storage in general, Android now has a built-in storage manager (similar to macOS), and for caches, I think simply clearing the entire cache is less troublesome than choosing one by one. I think what might be interesting is having a UI that lists a summary of storage used by each app (similar to what we have in Settings, but a bit more advanced).

MuntashirAkon avatar Aug 17 '25 09:08 MuntashirAkon