A free, open-source, offline-first storage cleaner for Android 11+. Made by Aman.
No ads. No subscription. No telemetry, analytics or accounts. No internet permission. No root.
Every item CleanForge flags carries proof of why it’s safe to delete. Filename or extension alone is never accepted as evidence.
| Scanner | What it finds | Evidence required |
|---|---|---|
| App Caches | Android/data/<pkg>/cache contents |
Package installed + exact path match |
| Leftovers | Folders of uninstalled apps | Package unknown to OS + age ≥ 14 days |
| Thumbnails | DCIM/.thumbnails |
Only small files, no sub-folders |
| Incomplete Downloads | .crdownload, .part, .partial |
Age ≥ 7 days + Download folder only |
| Log Files | *.log in Downloads |
Text content verified + age ≥ 30 days |
| Large Files | Files over threshold | Top-N by size, never pre-selected |
| Duplicates | Same content, different paths | Staged hashing, user picks what goes |
| APK Installers | .apk files |
Platform parser reads manifest |
| Empty Folders | Verifiably empty directories | rmdir semantics only |
Deep, app-specific scanning for known cache and media patterns. All forensic items are never pre-selected — the user always decides.
| App | What’s scanned | Safety rule |
|---|---|---|
| WhatsApp / WhatsApp Business | .Statuses (>24h), Sent folders, old DB backups (>7d) |
Shizuku required, FILE mode only |
| Telegram | Video/Audio/Images/Documents cache (>14d) | Shizuku required, FILE mode only |
| TikTok / TikTok Lite | Video cache, .music cache (>7d) |
Shizuku required, FILE mode only |
| Twitter/X / X Lite | Media cache (>7d) | Shizuku required, FILE mode only |
| Instagram / Instagram Lite | Media cache (>14d) | Shizuku required, FILE mode only |
On Android 11+, Android/data and Android/obb are invisible to normal apps.
CleanForge uses Shizuku as a user-service (not root) to:
Android/data/ and Android/obb/ for scanningCONTENTS_ONLY on exact cache/ path)TREE on exact package folder)Without Shizuku, those scanners are skipped with a visible notice. CleanForge never claims Shizuku grants root or unrestricted access.
Honest, transparent memory information. No fake “boost” claims.
/proc/meminfo (no permission needed)KILL_BACKGROUND_PROCESSES
lstat-ed at scan time and re-checked before deletionRuntime.exec, ProcessBuilder, or sh -c anywheredeleteRecursively: All deletion goes through SafeDeleterEnforced by types: scanners emit evidence-bearing ScanItems, PlanBuilder yields a
CleaningPlan with refusals and reasons, confirmedByUser() is the only path to a
ConfirmedPlan, and CleaningEngine accepts nothing else.
| Layer | Package | Responsibility |
|---|---|---|
| Filesystem | core.fs |
FsOps, SafeDeleter, PathRules, StorageWalker |
| Safety | core.safety |
SafetyValidator — lexical + policy gate |
| Scanners | core.scanner |
9 base + 5 forensic scanners |
| Cleaning | core.cleaning |
PlanBuilder, CleaningEngine |
| Backend | core.backend |
FileOperationBackend, PackageInventory, Capabilities |
| Shizuku | core.shizuku |
ShizukuFileServiceConnector, AIDL adapters |
| Privileged | core.privileged |
FileServiceCore, WireCodec, PrivilegedExecutor |
| Memory | core.memory |
RamSnapshot, MemInfoParser, MemoryInfoProvider |
| Domain | domain.usecase |
ScanDevice, ExecuteCleaningPlan, ObserveRam, ClearMemory |
| DI | di |
Hilt modules |
| UI | ui |
Compose screens, ViewModels, Material 3 |
See docs/ARCHITECTURE.md for the full diagram and ARCHITECTURE_PLAN.md for the forward-looking proposal (not yet built).
| Permission | Why |
|---|---|
MANAGE_EXTERNAL_STORAGE |
Read/delete user-selected files in shared storage |
QUERY_ALL_PACKAGES |
Know which apps are installed (never guess from folder names) |
KILL_BACKGROUND_PROCESSES |
Honest RAM clear (Part 4). Only trims reclaimable processes |
No INTERNET. No ACCESS_NETWORK_STATE. No analytics. No ads. Ever.
Enforced by PolicyGuardTest.
Android/data / Android/obb)MANAGE_EXTERNAL_STORAGE granted in Settings → Special accessSee BUILD.md.
See SECURITY.md.
CleanForge is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License v3.0 or later as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Created and owned by Aman.