SD Maid SE
2.2.2-rc0 · GitHub
More about this app
SD Maid 2/SE is Android's most thorough cleaning tool
SD Maid 2/SE
SD Maid 2/SE is actively being worked on and not feature complete. Feature requests are welcome!
SD Maid SE (AKA SD Maid 2) is a file management tool for Android that specialises in maintenance. Its core purpose is freeing up space and removing unwanted data.
Features include:
- Removing data that belongs to apps that are no longer installed (CorpseFinder)
- Deleting expendable files, e.g. caches (AppCleaner)
- User configurable filters for random files (SystemCleaner)
- Scheduling actions (Scheduler)
- Controlling/disabling apps (AppControl)
- Storage overview (StorageAnalyzer)
- Find duplicate data (Deduplicator)
- Image compression (Media Squeeze)
- Swipe assisted deletion (Swiper)
- Root and ADB access (Porter or Shizuku) support
SD Maid SE is the successor to SD Maid. A complete rewrite, optimized for newer Android versions, with a focus on SD Maid's most popular features. More details about SD Maid vs SD Maid SE can be found in the FAQ.
Download
| Source | Status |
|---|---|
| Google Play (Release) | |
| Google Play (Open Testing) | |
| Github (Release) | |
| Github (Pre-Release) | |
| F-Droid (Main Repo) | |
| F-Droid (IzzyOnDroid) |
To verify the authenticity of a downloaded APK, see SECURITY.md.
Support the project
SD Maid has no ads and doesn't sell your data.
Development is financed by individual user contributions, i.e. you buying the upgrade on Google Play or becoming a sponsor ❤️.
- Upgrade to SD Maid SE Pro on Google Play
- Become a sponsor on GitHub
- Buy me a coffee ☕
Get help
Screenshots








License
SD Maid SE's code is available under a GPL v3 license, this excludes:
- SD Maid SE icons, logos, mascots, marketing materials and assets.
- SD Maid SE animations and videos.
- SD Maid SE documentation.
- Google Play screenshots.
- Google Play texts & descriptions.
- Translations.
Thanks
- Thanks to crowdin.com for supporting open-source projects
How Shizuku is used
Can deep clean protected files, manage apps and run privileged shell via `ADB user service`.
This is an AI-assisted analysis of Shizuku-related usages in the app's public source code. It is best effort, so it may not catch every single usage.
How this app uses Shizuku
SD Maid SE uses Shizuku to run a privileged helper with shell level access that powers cleaning and app management.
- Clean protected files: leftover files and folders in protected storage are found, measured and deleted with elevated file access through Shizuku.
- Clear app caches: caches of other apps are deleted for one app or trimmed across storage with the cache delete and free storage package APIs through Shizuku.
- Stop running apps: misbehaving or blocking apps are force stopped for the current or other users with the force stop package API and the
am force-stopshell command through Shizuku. - Enable and disable apps: apps are enabled, disabled or reset to default state per user with the enable setting API and the
pm enableandpm disable-usershell commands through Shizuku. - Manage permissions and ops: app runtime permissions are granted or revoked and special app operations are set with the
pm grant,pm revokeandappops setshell commands through Shizuku. - Inventory and measure apps: installed apps are listed per user, running apps are detected and per app storage info is queried to drive cleaner and AppControl lists through Shizuku.
- Restore archived apps: archived apps are requested to be unarchived with the package installer unarchive API through Shizuku.
- Run privileged shell: fixed diagnostic, automation and management shell commands such as input taps and service writes are executed as shell user through Shizuku to support cleaning and automation.
Android APIs or commands used
ActivityManager.runningAppProcessesActivityManager.forceStopPackageAsUserPackageManager.deleteApplicationCacheFilesPackageManager.deleteApplicationCacheFilesAsUserPackageManager.freeStorageAndNotifyPackageManager.getInstalledPackagesAsUserPackageManager.getPackageInfosAsUserPackageManager.setApplicationEnabledSettingPackageInstaller.requestUnarchiveStorageStatsManager.queryStatsForPackageam force-stoppm enablepm disable-userpm disable-until-usedpm default-statepm grantpm revokeappops setpm list userssettings put globalsettings put secureinput tapuiautomator dumpidps -Ajava.io.File.listFilesjava.io.File.existsjava.io.File.deletejava.io.File.mkdirsjava.io.File.createNewFilejava.io.File.canReadjava.io.File.canWritejava.io.File.setLastModified
Notable details
Some app lists and accessible storage can work without Shizuku, but protected cleaning, other users, cache clearing, force stop and enable or disable controls need the privileged access.
Changelog
What's new for version 2.2.2-rc0
What's Changed
:rocket: Enhancements
- Analyzer: Mention the one-year range in the Storage Trend upgrade card by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2850
- General: Help buttons on every tool, docs open in your language by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2861
- General: Suggest ADB access when accessibility automation keeps failing by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2862
- AppCleaner: Faster cache clearing with large font and display size by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2874
:lady_beetle: Bug fixes
- AppCleaner: Fix cache clearing for apps whose name has a line break by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2846
- AppCleaner: Fix cache clearing for some apps on GrapheneOS by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2845
- Deduplicator: Include APK files when skipping uncommon file types by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2848
- Swiper: Keep the 2-session free limit when starting from StorageAnalyzer by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2849
- Media Squeeze: Stop counting files that didn't get smaller as compressed by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2852
- Deduplicator: Fix delete icons and keep a copy when deleting a folder by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2853
- AppCleaner: Clean up WhatsApp's temporary .Shared files again by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2856
- Swiper: Fix crash after applying decisions on large sessions by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2857
- CorpseFinder: Stop the extra notification after uninstalling an app by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2859
- Fix: Delete sometimes did nothing right after a dashboard scan by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2858
- AppCleaner: Fix delete stuck on "Preparing" with many files by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2860
- AppCleaner: Fix cache clearing on Pixel phones with Android 17 by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2863
- AppCleaner: Fix cache clearing counted as failed on Pixel phones with Android 17 by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2865
- AppCleaner: Fix cache clearing on Motorola phones with Android 17 by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2866
- AppCleaner: Fix cache clearing on Pixels with large font and display size by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2868
- Fix: Scans no longer abort when a removed profile's storage is gone by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2869
- Fix: Cancelling a scan could show a read error instead of stopping by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2870
:shrug: Other changes
- General: Move help pages to sdmse.darken.eu and cover Porter setup by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2844
- General: Add docs pages for Deduplicator, Media Squeeze and Swiper by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2847
- General: Translate the docs into 13 languages by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2855
- General: Move CI runners to Ubuntu 24.04 by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2854
- General: Keep ACS debug fixtures intact for labels with apostrophes or START/STOP by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2864
- General: Show the privacy policy without the docs sidebar by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2867
- General: Recommend Porter for ADB access in the setup guide by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2871
- General: Cleaner language picker on the docs site by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2872
- General: Update translations from Crowdin by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2873
- General: Keep a stuck launcher dialog from failing emulator tests by @d4rken in https://github.com/d4rken-org/sdmaid-se/pull/2876
Full Changelog: https://github.com/d4rken-org/sdmaid-se/compare/v2.2.1-rc0...v2.2.2-rc0
Permissions
22 permissions requested