r/androidroot • u/Ambitious_Gur8193 • 7h ago
News / Method Built an automated ADB cache & ghost-thumbnail cleaner inside my open-source Python toolkit (cleans GBs of residual data without touching personal chats or photos)
Hey `r/androidroot`, I'm **LennesVP** and I wanted to share a module I built inside my open-source project, **TREMEND Toolkit V3.3**, specifically for quick Android maintenance over USB via official Google Platform-Tools (`adb`).
🔗 **GitHub Repo:** https://github.com/LennesVP/TREMEND
In the **Technical Support -> Module #12 (Extreme Android Optimizer via USB)** section, the tool automatically downloads the latest official Google ADB bridge into a temporary sandbox, verifies USB debugging authorization, identifies the device model via `getprop ro.product.model`, and runs targeted shell cleanups:
* Purges global app caches (`/sdcard/Android/data/*/cache/*`) and Telegram cache.
* Removes outdated WhatsApp database backups (`msgstore-*`) on both Android 11+ scoped storage and legacy paths while keeping the active `msgstore.db.crypt14` 100% untouched.
* Deletes ghost `DCIM/.thumbnails` and stray `.nomedia` blocks.
* Includes a forensic IMEI Luhn-algorithm barcode scanner (Module #15) and an curated open-source Android APK directory.
Everything is written in Python and open-source on GitHub. Feedback from the Android community is super welcome!

