ClearBox by FlyCome is a cleaning and storage-tidying module for Magisk, KernelSU and APatch. It comes with its own app (offered during installation) and a terminal UI you open by typing ClearBox in any terminal. Automatic jobs run through a small built-in scheduler called Timed.
Cleaning
- One-tap optimisation: app caches, junk files and a quick disk GC, plus file cleanup if you've enabled it.
- Junk files and empty folders on internal and external storage, media caches and app caches.
- All third-party app caches, and a separate system cache cleanup.
- Rule-based cleanup of your own folders: put rule files in
/data/adb/wipe_cache/CleanConfigs, one path per line, with an optional@/start/dirfirst line. - File cleanup by type:
.conffiles in/data/adb/wipe_cache/FileConfigslist the extensions, with optional size limits. Presets cover archives, fonts, images and installer packages. - Per-app rules; the zip ships presets for apps such as Play Store, Google Play services, Photos, Gboard, YouTube, Edge and Outlook.
Other tools
- Block cache: watches the five most recent foreground apps and keeps them from building up large caches, with a whitelist. It doesn't clear existing cache.
- Magnet: sorts files on your storage into folders, using the same rules as file cleanup.
- Block app updates: stops app installs at the file system level (not for apps on external storage).
- Internal storage fix: locks the layout of the storage root so apps can't scatter new folders there.
- Storage analysis (NCDU, beta), rule-based folder redirection, and your own timed tasks in
/data/adb/wipe_cache/TimedConfigs.
Installation
- Flash the zip. The installer picks the files for your CPU architecture and asks whether to install the ClearBox app.
- Reboot. The Action button opens the app, or runs a full cleanup if the app isn't there.
Safety net: if the phone hasn't finished booting after about 10 minutes, the service script disables the module by itself. Interface languages include English, Japanese, Korean, Russian and Chinese. GPL-3.0.