How to Safely Clean a Memory Card on a Xiaomi Phone: The Complete 2026 Guide

Xiaomi's memory card is a real go-to when the internal memory is sorely lacking. But over time, even the most spacious microSD gets clogged with unnecessary files: app cache, duplicate photos, remnants of deleted programs and system debris. As a result, the phone starts to slow down, applications fly out, and the camera refuses to save photos because of space. How to properly clean a memory card on Xiaomi without damaging important data and without disrupting the system?

In this article, we will discuss all possible ways โ€“ from standard tools to tools. MIUI You will learn which files can be safely deleted and which can be touched dangerously, how to find invisible garbage and why it is sometimes better to transfer files to a computer than to erase them directly from your phone. Separately, we will dwell on the nuances for different models - from the budget Redmi to the flagship Xiaomi 14.

1 Preparation: What to do before cleaning

Before you start deleting files, follow a few critical steps that will save you from data loss and phone malfunctions.

First, back up all the important data from your memory card, and even if you plan to remove only the garbage, there's always a risk of accidentally erasing something. USB-cable (in file transfer mode) and copy folders DCIM (Photo/video, Download (download) and WhatsApp/Media (You can use cloud services like Google Drive or Mi Cloud for convenience, but remember that it can take hours to download a lot of data.

Second, check if the memory card is used as internal storage (the Adoptable Storage feature in older versions). MIUI). If so, cleaning it could cause applications to fail. You can find out in the Settings menu. โ†’ Memory: if the card is displayed as part of internal memory (e.g., "Internal memory: 128GB (including)" SD-map) ), it is better not to take risks and transfer the data to the computer for manual sorting.

โš ๏ธ Note: If your Xiaomi (suddenly reboots) when you plug in your memory card, it may indicate that it has been damaged. In this case, do not try to clean it through your phone - remove the card and check it on another device or through a card reader.

  • ๐Ÿ“Š Check the free space in the Settings menu โ†’ Memory to understand the scale of the problem.
๐Ÿ“Š How often do you clean your smartphone memory card?
Once a month
Every 3-6 months
Only when the place ends.
Never cleaned.

Method 1: Cleaning through standard tools MIUI

Xiaomi offers a few built-in memory management tools, and they should be used first, starting with the simplest one: the built-in cleaner.

Go to Settings. โ†’ Memory. โ†’ Cleanup: So here, the system scans the device and shows how much space is occupied by unnecessary files: application cache, temporary files, empty folders, etc. Pay special attention to the application cache section - it can be safely cleaned, it will not harm the work of programs, but it will free from 100 MB to several GB (depending on the number of installed applications.

Another useful section is Files in the same Memory menu, where files are grouped into categories: Images, Videos, Audio, Documents, and others, for example, files with.tmp,.log, or.apk extensions that can be deleted often accumulate in the Others. In the image, you should look for duplicate photos โ€” MIUI They can find them automatically.

โš ๏ธ Note: Do not remove the Android folder on the memory card manually - it contains application data (for example, save games or program settings). If you need to free up space, first delete the application itself through Settings. โ†’ Apps, then clean up the residues through Memory Cleanup.

Type of fileCan I remove it?How to clean up
Cash app.โœ… Yes.Through Settings. โ†’ Memory. โ†’ Cleanup โ†’ Cash.
.apk files (installers)โœ… Yes, if the application is already installed)Manually in the Download folder or through Files โ†’ Categories โ†’ Others
DCIM/.thumbnails folderโœ… Yeah (miniature photos)Delete the folder manually (restores automatically)
.nomedia filesโŒ No (hiding media from the gallery)Donโ€™t touch it unless you want to see the photo in the gallery.
Android/obb folderโš ๏ธ Partially (game data)Delete only if the game is deleted or not necessary

Clear the app cache

Remove files.apk from the Download folder

Check the "Big Files" section for forgotten videos

Delete duplicate photos in the "Images" section

Clear folder.thumbnails in DCIM-->

Method 2: Manually delete unnecessary files through a conductor

Standard instruments MIUI They don't always do deep cleaning, for example, they might skip old backups or files left over from deleting apps, and that's where the built-in Explorer (File app) or third-party file managers like Solid Explorer come in.

Open the Files app, go to the Memory Map section and analyze the following folders:

  • ๐Ÿ“ Download โ€” here you can get downloads from your browser, messengers and email. PDF, Archives or Program Installers (.apk).
  • ๐ŸŽฎ Android/obb โ€” game data (weighing by 1โ€“5 If the game is not in use for a long time, the folder can be deleted.
  • ๐Ÿ“ธ DCIM/Camera โ€” Photos and video from the camera. Check for blurry images, screenshots or repetitive frames.
  • ๐Ÿ’ฌ WhatsApp/Media โ€” Chat media files, especially video and voice messaging.
  • ๐Ÿ—‘๏ธ Lost.DIR is a system folder for recovering corrupted files, and if it's not empty, you can delete the contents.

For convenience, sort files by date of change or size (click on the three dots in the top right corner of the explorer and select Sort) to help quickly find the oldest or heaviest files, such as video in resolution 4K It can weigh 500 MB-1 GB per minute, and a forgotten archive with a backup can weigh several gigabytes.

If you use Google Photos to back up, check the folder. DCIM/Camera You can see photos that are already uploaded to the cloud, and you can delete them from your memory card, freeing up space, and the same goes for screenshots, which are often stored in a folder. Pictures/Screenshots They take up space without benefit.

๐Ÿ’ก

To quickly find large files, in Files Explorer, click on the magnifier icon (search) and enter size:>500mb โ€” The system will show all files larger than 500 MB.

Method 3: Cleaning through a computer (deep check)

Sometimes the memory card is clogged with "invisible" files that are not displayed in the phone's conductor, which can be hidden system files, virus residues or corrupted data, in which case it will help to connect the card to the computer through a card reader or USB-cable.

Insert the memory card into the card reader (or connect the phone in File Transfer mode) and open it via this computer (Windows) or Finder (macOS).

  • ๐ŸชŸ Windows: In Explorer, go to the View tab and tick Hidden Items.
  • ๐ŸŽ macOS: In Finder, press Command + Shift +. (point).

Now you'll see files and folders that are usually hidden, and be careful that deleting some of them can disrupt applications.

  • ๐Ÿšซ Don't touch it:.android_secure (application-data), Android/data (Preservation of games and programs).
  • โœ… You can delete:.thumbnails (miniatures),.Trashes (basket), *.tmp (temporary files).
  • โš ๏ธ Careful: folders with names like com.whatsapp or com.facebook are messenger data, only delete if you don't use these apps.

For deep cleaning, you can use utilities like CCleaner (in external drive analysis mode) or TreeSize (showing which folders take up the most space), which will help you find โ€œheavyโ€ files that are not visible in a standard Explorer.

โš ๏ธ Note: If you connect the card to your computer and you see a message saying "Should format the disk", do not agree - this is a sign of damage to the file system. โ†’ Service โ†’ Check (Windows) or the utility diskutil verifyVolume (macOS).

What if the computer doesnโ€™t see the memory card?
1.Try another card reader or USB-cable (sometimes a problem in contacts). 2. Check the card on another device (phone, tablet). 3. If the card is detected but not opened, use the TestDisk utility to restore partition. 4. Try programs like Recuva or PhotoRec to extract data before formatting.

5. Method 4: Using third-party cleaning applications

If standard methods don't work, specialized utilities will come to the rescue, they can find garbage that can't be seen manually, and they offer additional features like memory optimization or duplicate search.

Here's the top.-3 Applications for cleaning memory cards on Xiaomi:

AnnexAdvantagesDeficiencies
Files by GoogleFree, finds duplicates and large files, clears the cache.There is no deep scanning of system files.
SD MaidCan clean the remnants of remote applications, finds empty folders.The paid version is needed for full functionality.
CCleanerDeep cleaning of cache, analysis of external drives.Sometimes it is too aggressive (the risk of losing the data).

Letโ€™s take a closer look at how to work with SD Maid is one of the most powerful tools:

  1. Download and install the app from Google Play.
  2. Start and grant access to memory.
  3. Go to CorpseFinder, where you will see the remnants of remote applications (folders that were not cleaned by the system).
  4. In SystemCleaner, select Explore and specify the path to the memory card, and the program scans it for unnecessary files.
  5. Please note the Duplicates section, where you can find and delete duplicate photos or documents.

Files by Google is the best way to clean up the cache of applications that use a memory card (such as games or instant messengers), launch the application, go to Clean up and select the App Cache, and the system will show how much space each application cache takes up and prompt you to clean it.

๐Ÿ’ก

The side of the application can delete important data if not configured correctly.Always check the file list before cleaning and back up.

Method 5: Formatting a memory card (last resort)

If the memory card is heavily fragmented, infected with viruses, or just filled with garbage that can not be removed manually, the last option is complete formatting, this method erases all data without the possibility of recovery, so use it only as a last resort.

The map can be formatted in two ways:

  1. Through phone: Go to Settings โ†’ Memory. โ†’ Memory Map. Click on the three dots in the top right corner and select Storage Settings. Select Format (or Clear, depending on version) MIUI). Confirm the action. It'll take a few minutes.
  2. Computer: Connect the card through the card reader. Open this computer, find the card, right-click, and select Format. Select the file system. FAT32 (for cards up to 32GB) or exFAT (for cards over 32GB).Click Start and wait until completed.

After formatting, the memory card will become "clean" as after buying.

  • ๐Ÿ”„ Formatting deletes all data irrevocably (even specialized programs like Recuva wonโ€™t always be able to recover it).
  • ๐Ÿ“ฑ If the card was used as an internal storage, after formatting, some applications may stop working (reinstall them will be required).
  • ๐Ÿ›ก๏ธ For cards larger than 32 GB, choose exFAT file system โ€“ it supports large files and has no partition size limit.

โš ๏ธ Warning: If the card fails again after formatting (undefined or asked to format again), this is a sign of physical wear and tear. SD phone-on.

7.How to avoid re-clogging of the memory card

Cleaning a memory card is only half the battle, so that the problem doesn't happen again, follow the simple rules:

  • ๐Ÿ“ค Move files to your computer or cloud regularly, such as copying photos and videos to your hard drive or Google Photos once a month.
  • ๐Ÿ—‘๏ธ Set up automatic cache cleanup. MIUI This is done in the settings โ†’ Memory. โ†’ Autoclean (turn on the option and select frequency).
  • ๐ŸŽฎ Limit games to memory card usage. Many games (such as Genshin Impact or Call of Duty Mobile) download gigabytes of data into a folder. Android/obb. It is better to store them in internal memory.
  • ๐Ÿ“ฅ Change the default download path. In Mi Browser or Chrome, set the file saving to internal memory, not to internal memory. SD-map.
  • ๐Ÿ” Check the map for viruses. Use Google Play Protect or Malwarebytes to prevent the map from clogging with malicious files.

You should also pay attention to the memory card class, if you're using a Class 4 or Class 6 card. 4K Or launch modern games, it will wear out and slow down quickly. For Xiaomi, it is better to choose a Class 10 card or a new one. UHS-I (For example, SanDisk Ultra or Samsung. EVO Plus).

If you often shoot videos, set the camera to record in lower resolution (e.g., a video recording, 1080p instead 4K). This will reduce the amount of files 3-4 times without significant loss of quality on the screen of the smartphone.

8. Frequent mistakes and how to avoid them

When cleaning a memory card, many users make the same mistakes that lead to data loss or phone failures, and the most common ones are:

Mistake.Effects of consequencesHow to avoid
Removing the Android folderApplication failure, loss of game saves.Don't delete this folder manually. If you want to free up space, delete apps through Settings.
Formatting a card as an internal storage without a backupLoss of all data, including photos and documents.Always copy important files to your computer before formatting.
Use of a low class card (Class 2-4) for entries 4K-videoLags when shooting, file damage, rapid wear of the map.For the video. 4K use the cards UHS-I or V30 higher.
Delete.nomedia filesPhotos and videos will appear in the gallery, which can clog it with unnecessary files.If you want to hide media, you should move it to another folder and add.nomedia.
Ignoring warnings about card damageData loss, phone getting stuck, card failure.At the first sign (slow operation, reading errors), copy the data and replace the card.

Another common problem is that the memory card is detected but not opened.

  • ๐Ÿ”Œ Bad contact โ€“ try to re-extract and paste the card.
  • ๐Ÿฆ  Viruses โ€“ scan the map with antivirus.
  • ๐Ÿ—ƒ๏ธ Damaged file system โ€“ connect to your PC and execute the chkdsk command [disk letter]: /f (Windows).
  • ๐Ÿ› ๏ธ Incompatibility โ€“ some exFAT cards donโ€™t read on older phones (the solution is to format in the same way). FAT32).

If the memory card is no longer defined after the update MIUI, Try resetting the storage settings: Settings โ†’ Memory. โ†’ Memory map โ†’ Settings โ†’ Reset. This often helps in conflicts with the new firmware version.

๐Ÿ’ก

Never remove a memory card while recording data (e.g., while shooting videos or copying files) and this can damage both the card and the slot in the phone.

FAQ: Answers to Frequent Questions

โ“ Can I use a memory card as an internal memory for Xiaomi?
Yes, but it's not always a good idea.Adoptable Storage feature (older versions) MIUI) It allows you to expand your internal memory. SD-The card will be encrypted and not read on other devices. When you extract the card, some applications will stop working. UHS-I) It's lower than the internal memory, which can slow down the system, and if you're critically short of space, you'd better buy a phone with a lot of internal memory.
โ“ Why is the memory card not freed up after cleaning?
This can happen for several reasons: Files are labeled as hidden or system (check through a computer with hidden files displayed on); the memory card is corrupted (try formatting it or scanning for errors). Apps continue to use the card for cache (clean the cache in Settings) โ†’ There are large files on the map that are not displayed in the Explorer (use). SD Maid or Files by Google for deep scanning).
โ“ How to transfer applications to a memory card on Xiaomi?
In modern versions MIUI (12 and later) porting of applications to SD-However, there are workarounds: Use the card as internal storage (but this is not recommended, see answer above). SD-For games, use the Save function on the map. SD (Root rights will be required to fully port applications, which deprives of warranties and can disrupt the system.
โ“ Which memory card is better to buy for Xiaomi?
The choice depends on the tasks: ๐Ÿ“ธ For photo/video: SanDisk Extreme or Samsung Pro Endurance (class) UHS-I U3 or V30). ๐ŸŽฎ For games: Lexar Play or Kingston Canvas Go! Plus (high read/write speed). ๐Ÿ’ฐ Budget option: SanDisk Ultra or Samsung EVO Plus (class) A2 Avoid nameless cards and fakes, which often have understated real capacity and quickly fail.
โ“ How to recover deleted files from memory card?
If you accidentally deleted important files, try the following methods: Recuva (Windows), Disk Drill (macOS), EaseUS MobiSaver (Android). Cloud backups: Check Google Photos, Mi