LTE Cleaner like features
It can clean app data folder and many junk files. Don't want to install too many app in my phone. 😉
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.
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.
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
- [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 wordcache, 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.
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/
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.
@opusforlife2: Added in 59179189
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? 🙏
@MuntashirAkon Thank you so much!
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
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).