Launched

Smart Cleaner (Dọn Sạch)

A free, open-source Android app that finds duplicate, similar and blurry photos, large videos and junk files, analysed fully on-device, with a 30-day trash. No ads, no Internet.

Smart Cleaner (Dọn Sạch)

Dọn Sạch (Smart Cleaner) is a free, open-source Android app that frees up storage by finding duplicate, near-identical and blurry photos, screenshots, large videos and junk files. All analysis happens entirely on the phone: the app has no Internet permission, no ads, no account and no subscription. It is for Android 11+ users with thousands of photos who keep seeing “storage almost full”.

This is an early test release (v0.1.0, debug build): the hashing, grouping and sharpness algorithms are unit-tested and the UI is captured with Roborazzi using sample data, but the MediaStore flows, video compression and ML Kit have not been verified on real devices. Please try it with a backed-up photo library.

Dọn Sạch dashboard with a storage ring at 82 percent used, broken down into photos, video, audio and apps, and an estimate of 43.7 MB that can be freed
Dashboard: a storage ring by data type and how much you can free right now.

The problem Dọn Sạch solves

Phones fill up with things we do not notice: ten burst shots that are almost identical, photos blurred by a shaky hand, old screenshots, minutes-long 4K videos, downloads from months ago. Popular “cleaner” apps are often full of ads, push auto-renewing subscriptions, ask for access to all storage and promise useless features such as “RAM boost”.

Dọn Sạch does one job: show exactly what is taking space, suggest what to keep, and always let you undo. Nothing leaves your phone.

How it works

  1. Scan. The app reads photos, videos and audio through Android’s MediaStore and totals space by type.
  2. Analyse on-device. SHA-256 finds exact duplicates, a 64-bit perceptual hash (dHash) groups near-identical photos, and Laplacian variance detects blur.
  3. Review. Each group comes with a best-shot suggestion; compare side by side or swipe to keep/delete.
  4. Clean safely. Selected items go to the system’s 30-day trash, always via Android’s confirmation dialog, and can be restored.

Key features

Duplicate, similar and blurry photos

  • Exact duplicates: SHA-256, hashing only photos with the same byte size, so scans are fast.
  • Similar photos: 64-bit dHash and Hamming distance, grouped by capture-time window.
  • Blurry photos: sharpness measured with Laplacian variance.
  • Best-shot suggestion: combines sharpness, ML Kit Face Detection (eyes open, smiling) and resolution.
  • Screenshots and downloaded photos/videos older than 90 days.

Compare and swipe to clean

The compare view puts photos side by side with file size, resolution, sharpness and EXIF data (camera, ISO, aperture…). For speed, swipe mode lets you flick through photos: left to delete, right to keep, with step-by-step undo.

Videos and large files

  • Compress videos with Media3 Transformer to 1080p, 720p or 480p (H.264), preview the estimated size, and optionally move the original to trash.
  • A list of large files of 50 MB or more.
  • Find APKs and empty folders in a folder you grant access to (Storage Access Framework).
  • Per-app size and cache, sorted by cache or “least used”; tap to open that app’s Settings page.

Safe and automatic

  • 30-day trash using system APIs (createTrashRequest / createDeleteRequest), always with a confirmation dialog.
  • Scan while charging: WorkManager runs at most once a day while charging with a healthy battery, and notifies you when 100 MB or more can be cleaned.
  • Dark (default), light or system theme.

Screenshot gallery

Captured automatically from the source with Roborazzi, using sample data (not real user photos).

Similar photos screen grouping shots taken close together, with the suggested keeper marked
Similar photos: grouped by capture time, with a suggested keeper.
Compare screen showing four photos side by side with size, resolution, sharpness and EXIF
Side-by-side compare with size, resolution, sharpness and EXIF.
Swipe to clean mode with a large photo and delete and keep buttons
Swipe to clean: left deletes, right keeps, with undo.
Videos and compression screen listing large videos with estimated size after compression
Videos & compression: pick a resolution and see the estimated size first.
Grid of screenshots in light mode with a select all button
Screenshots gathered in one place for quick cleanup.
App list with size and cache for apps such as TikTok, Zalo, Facebook, Shopee and Grab
Apps & cache: see which apps use the most and jump to their Settings.
APK and empty folder screen asking the user to choose a folder to scan
APKs & empty folders: only scans a folder you pick via the Storage Access Framework.
Trash with deleted photos, a video and an APK showing days remaining and a restore button
30-day trash: restore or delete permanently.
Settings with theme, scan while charging and privacy commitments
Settings: theme, scan while charging, and the no-Internet, no-ads commitments.

Tech and privacy

  • Kotlin, Jetpack Compose, Material 3, MVVM, Room, WorkManager, MediaStore, Storage Access Framework, ML Kit Face Detection, Media3 Transformer.
  • No Internet permission, no MANAGE_EXTERNAL_STORAGE, no ads, no account.
  • All photo analysis runs on the device.
  • MIT-licensed, written from scratch (clean-room).

Real Android limits

We are upfront about what the app cannot or deliberately does not do:

  • It cannot clear other apps’ caches: Android does not allow it, so the app shows them and opens the app’s Settings page.
  • It only sees photos, videos and audio via MediaStore; other files (APKs, empty folders) can only be scanned in a folder you grant, and Android 11+ will not let you pick the storage root or the Download root.
  • No “RAM boost”, no email cleaning.
  • Deleting and restoring photos always needs your confirmation in a system dialog.
  • Sharpness and similarity thresholds are heuristics and can be wrong, so review before deleting.

Download and install

  1. Open GitHub Releases and download smart-cleaner-v0.1.0-debug.apk (about 90 MB because R8 is not enabled yet).
  2. Allow installing from unknown sources when Android asks.
  3. Open Dọn Sạch, grant photo and video access, and wait for the first scan.
  4. Start with Exact duplicates (the safest), then Similar photos and Videos.

Requires Android 11 or later. You can also build it from the source (JDK 17+, Android SDK 35).

Roadmap

  • Testing on many real devices and tuning sharpness/similarity thresholds.
  • A signed release with R8 to shrink the APK.
  • HEVC compression where supported, photo compression.
  • Similar-video detection and a “documents/receipts” photo group.
  • A storage widget and F-Droid publication.

Frequently asked questions

Are my photos uploaded anywhere?

No. The app has no Internet permission, so it cannot send data anywhere. All analysis, including ML Kit face detection, runs on the phone.

What if I delete something by mistake?

Photos and videos go to the system’s 30-day trash and can be restored from the Trash screen. Video compression also only moves the original to trash.

Why doesn’t it clear other apps’ caches?

Modern Android does not let third-party apps do that. Dọn Sạch shows which apps use the most and opens their Settings so you can clear it yourself.

Does it have a “RAM booster”?

No, on purpose: on modern Android, mass-killing background apps does not make the phone faster.

Will it stay free?

Yes. No ads, no subscriptions, MIT-licensed source.

Source code

Source and APK builds are at github.com/gooduselabs/smart-cleaner. Bug reports in Issues are very welcome, especially results from real phones.

Updated:

Give feedback on this product