Frequently Asked Questions

Matthias Urhahn edited this page Mar 22, 2018 · 31 revisions

FAQ

General

I just want to clean my device, what to do?

  • Install SD Maid, if you own SD Maid Pro, then also install the Unlocker now.
  • Start SD Maid, the app will open on the Quickaccess page.
  • Press the green scan bar at the bottom of the screen.
  • Because this is the first time you started SD Maid, you will be asked to complete the setup.
  • After completing the setup, SD Maid will run the "scan" part of each tool.
  • When the scan finishes you can press "execute" to delete/optimize, or press a specific tool to view more details.

Why should I use SD Maid?

Because it's thorough and honest. If you want a broom, you look for the one that cleans best, any other purchase argument is secondary. SD Maid v0.1 was released on 29.03.2011. Years of learning and more experience, constant improvements and adaption to every new Android kink, make SD Maid what is is today. SD Maid is brutally honest, there will be no euphemisms to make your feel better after "cleaning" your device. No hidden agenda to pressure you into using the app itself. A tool to use when needed.

Does SD Maid only work on sdcards?

No. SD Maid will consider any accessible storage in your device. Depending on what can be accessed, this includes internal storage, external storage and usb storage.

Recover deleted files

If you accidentally deleted some files, you may be able to recover them. Restoring data depends on where the files were originally located and whether the space, that their deletion freed, has been occupied again.

Before attempting any recovery you should check if your files are actually missing. Almost everyone views their media files through gallery apps. What the gallery apps shows can be affected by SD Maid (e.g. deleted thumbnails). Use a file explorer and check if the files you are missing are actually gone. Check folders such as DCIM and Pictures on your internal and external storage. To fix the gallery app you can use SD Maids Explorer option "Force media scan", try a reboot, attach and detach from a computer or just wait a bit until the system does a media scan on it's own.

Removable storage

Your best chance to restore files that were deleted from a removeable sdcard (e.g. /storage/sdcard1) is to plug the sdcard (or the device) into a desktop computer and run software from there.

Recovery software:

Internal storage

Recovering files from internal storage requires a rooted device, e.g. internal sdcard (/storage/emulated/0) or private storage (/data/data). Root is required because recovery apps need to directly access the underlying storage device.

Recovery apps:

Hanging

"In queue"

The first time you run any action in a new session, SD Maid will have to make some preparations (check file consistency, check permissions etc). You will see the progress state "In queue" because your task is queued behind the preparations/setup task. In almost all cases where SD Maid seems to hang here it's related to the root check.

At some point SD Maid checks if your device is rooted. This is done by basically just asking for root access and waiting for an answer. Usually there should just be an error or a "no" if the device is not rooted or the root request was declined. If there is no answer at all though then SD Maid waits until a timer runs out, this is what happens when it "hangs".

To test if this is the issue you are seeing, long press the settings entry to enter the debug menu, enable the option Disable root check, kill and restart SD Maid. If it now works as expected then there is an issue with your root setup. In many cases this is just a small glitch with the superuser management app. Remove SD Maid from superuser app, reboot your device and try again.

Known causes & solutions:

  • Incomplete root attempt. Reroot your device.
  • Incomplete unroot attempt. Reroot your device, then unroot it correctly.
  • You just updated SD Maid and your super user app did not handle this correctly. Try removing SD Maid from the list apps in the super user app. Reboot your device and let SD Maid request root again. If that doesn't help uninstall SD Maid, remove it from the super user app, reboot your device and reinstall SD Maid. If that doesn't help either, clear the super user apps data and reboot.
  • Sometimes the ROMs are delivered with incomplete root from the manufactor. Either root it or disable the root check in SD Maid.

During execution

Sometimes it may look like SD Maid is hanging during a task. Make sure to wait at least 15 minutes before assuming there is an issue (and contacting me 😁 ). If you have many files, huge duplicate files or large databases it is possible for SD Maid to take up to half an hour to complete operations. You can put your phone away while waiting.

A common cause for huge slowdowns, i.e. SD Maid seeming "stuck", are faulty sdcards. If the sdcard is damaged and/or the filesystem is corrupted the I/O performance drops drastically. To confirm this, remove the sdcard and try again. If your sdcard is faulty I would strongly advise to backup all your data from it. In some cases formating "seems" to fix the sdcard again but I would recommand to not risk it and just replace it.

External storage and Android 4.4

Write access to external (removable) storage is not possible on Android 4.4. Files can only be read, not modified. This means that non-system apps can neither delete, edit or create files on the external storage outside of a few specific directories, e.g. music apps can't edit . mp3 and SD Maid can't delete files.

There are only 4 solutions:

  • Upgrade the device to Android 5.0 or later.
  • Downgrade the device to Android 4.3 or earlier.
  • Root the device and modify the ROM to exhibit pre Android 4.4 behavior (for apps that can't use root permission).
  • Root the device and allow the app to use root permission.

External (removable) sdcards were never officially supported by Android up until Android 4.4+. Prior to Android 4.4 device manufactors applied workarounds where they mounted the external storage to an arbitrary location and grouped it toegether with the normal workaround by mounting the removable sdcard somewhere on the device and changing the ROM to grant access to both internal and external public storage when the permission WRITE_EXTERNAL_STORAGE is granted to apps. Android 4.4 officially introduced a way to get the path of the external sdcard and an additional permission for it named WRITE_MEDIA_STORAGE, but this permission is only available to system apps. For unknown reasons (possibly pressure from Google), manufactors also stopped applying their workaround in Android 4.4, leaving apps without a way to gain write access to external sdcards on Android 4.4. Android 5.0 expanded the Storage Access Framework (SAF), which made it possible (although complicated) to gain write access to external storage again. Users stuck on Android 4.4 seem to have been forgotten by both Google and device manufactors.

☹️

SD Maid v2/v3/v4

There are different versions available of SD Maid. Every few years SD Maid was completely overhauled to improve it through gained experience and to adopt to new Android environments. During these overhauls the minimum required Android version is usually raised due reduce workload, maintaining compatibility "hacks" for very old Android versions is usually not feasible when supporting the newest Android versions.

It's possibly that newer versions seem slower but downgrading because of that is bad trade, you would gain speed but pay with thoroughness and safety. Searching through more and doing additional checks just costs time. Never versions may show less items to delete, not because they are worse, but because for specific reasons it is no longer considered good to remove these files. The goal is not to delete the most files, but the right files. Every change has a good reason.

In short: Use the latest version of SD Maid available for your device.

  • SD Maid v2 was the main app version from 2012Q2 to 2013Q1. Its target is Android 2.1 to 2.2.
  • SD Maid v3 was the main app version from 2013Q1 to 2016Q1. Its target is Android 2.3 to 4.0.
  • SD Maid v4 is the main app version since 2016Q1. Its target version is Android 4.1+.

Screen overlay detected

The warning "Screen overlay detected" is a popup dialog you may see when trying to grant app permissions on an Android 6.0+ device. This is a security feature (from Android, not SD Maid) which prevents you from granting any permissions while an app is active that can draw on the screen, because malicious apps could alter the text of the permission dialog. The warning is not SD Maid specific and it's not SD Maid using the a screen overlay, but another application on your device.

Solution:

  • Open settings
  • Disable the overlay permissions for all listed apps
  • Grant SD Maid (or any other app) it's permission
  • Enable the overlay permissions again

SD Maid Pro

Free vs Pro Version

The "Pro" version of SD Maid also called the "Unlocker" is a plugin, it's not a standalone application. You should install it toegether with the free version of SD Maid and then start the free version. It will detect the plugin and enable all extra features.

Current upgrades:

  • User defined SystemCleaner filter
  • Deletion function in the AppCleaner tool
  • Deletion function in the Duplicates tool
  • Scheduled operations via timer
  • Scheduled reboots (power cycle or software restart)
  • A widget to execute the main tools.
  • File/app previews in all tools
  • A searchable history of SD Maids actions
  • Launcher shortcutus to specific tools
  • Additional search options
  • Android 7.1 app icon shortcuts
  • (Forced) app moving to external storage on supported devices.
  • Sleeping well, knowing the developer is motivated to keep developing :tada:

Why are there two SD Maid apps?

SD Maid consists of two apps, the free app and a paid app. The paid app is a plugin that enables extra features in the free app. The paid app can't be used alone, while the free app (sans pro features) can be used on its own. This is mainly for historical reasons as IAPs (In-App-Purchases) did not exist 5 years ago when SD Maid launched. While this will probably change at some point, it currently also has the advantage that there is no dependency on Google-Services to enable in-app-purchases.

Factory-Reset / Device-Change

This is not an SD Maid issue, but still a popular question. Apps purchased through Google Play are tied to your Google account, not your device. If you use the same Google account on a new or factory reset device, you will have access to all previous purchases.

Google Play is not showing the purchase

Apps are purchased per Google account, not per device. Switching devices doesn't mean you have to buy an app again. If Google Play is not showing your purchase, you are either not logged in with the account your purchased the application with or the Google Play app has not yet syncronized with your list of purchases. You can see your purchases here or here. This is a Google Play issue and has no relation to SD Maid itself.

The following action are known to fix this in some instances:

  • Force closing and reopening Google Play.
  • Rebooting the device.
  • Using "Clear Data" on the Google Play app (com.android.vending).

Google Play is asking me to buy the app again

If you uninstall an app shortly after purchasing it, Google Play automatically refunds your purchase. Currently the automatic refund window is 2 hours. This is only happens once per app.

SD Maid is not enabling the pro features

If the both SD Maid (eu.thedarken.sdm) and the SD Maid Pro plugin/unlocker (eu.thedarken.sdm.unlocker) are installed, SD Maid should enable all pro features. Detection of the SD Maid Pro happens on app launch and when closing/opening the UI.

Known solutions:

  • Force close SD Maid or reboot the device and reopen SD Maid
  • The system did not correctly install either SD Maid or the unlocker. Uninstall both apps, reboot your device, install the unlocker app first, then SD Maids free version.
  • If either SD Maid or the unlocker has been modified the pro features will also not be unlocked. Ensure that you downloaded the apps from official sources (Google Play or my server) and that no app on your device modified them. There are some "security apps" that modify installed apps for questionable purporses.

I can't find SD Maid Pro on my device

The SD Maid Pro plugin only has to be installed, but does not have to be actively launched. Due to this this the app contains an option that will hide its shortcut from your app drawer. To display the shortcut again, either uninstall and reinstall the app, or open SD Maids advanced settings which offers an option to do that.

Root

What is root?

So what's this root everyone is talking about? Root is the name of a special user account on your device, a super user account with elevated privileges. Normally you or apps can't use the account. The act of "rooting" changes that. It makes it accessible and adds a "superuser app" that manages access to the root account. There are pros and cons to rooting, which we don't need to cover here. Just google it, it's a common discussion on many blogs. Whether you root your device is up to you.

Does SD Maid only work with root?

No. SD Maid will adjust its behavior to fit your device.

SD Maid being able to use root is a bonus for people with rooted devices. It does not make SD Maid work worse on unrooted devices.

Some people are saying: If you have rooted device you should use SD Maid, but if your device is not rooted, choose a different application. That's wrong. All applications are bound by the same restrictions, how each app uses what it has available, is what makes the difference. Choose a different app if you don't feel comfortable using SD Maid, if it is too complicated or you simply don't like it, but not because you don't have a rooted device.

Functions that don't work at all without root are usually those that modify other apps, such as freezing or disabling components or uninstalling system apps.

Imagine you buy an offroad vehicle, like a Jeep or a LandRover Defender.
Do you have to drive offroad? No, but if you want to, then you can.
It still works perfectly well being driven on a normal road. 

MobileIron

SD Maid doesn't require root, does not root a device and neither indicates a rooted device. Until MobileIron 9.3, SD Maid was blacklisted by packagename which could cause enterprise devices using the MobileIron system to be flagged as "out of compliance" while SD Maid was installed. If you previously had issues with this, update your MobileIron client to 9.3 or later and the issue should be fixed.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.