How to rename a folder on the Xiaomi desktop: 5 proven ways

Renaming folders on Xiaomi’s smartphone desktop seems like an easy task, but many users face unexpected difficulties. Depending on the version of MIUI, the device model (Redmi Note 12, POCO X5, Xiaomi 13T) and the type of folder (system or user) the process may differ. In this article, we will analyze all the current ways, from standard tools to workarounds for stubborn folders that β€œdon’t want” to change the name.

The thing about MIUI is that it's not exactly like Desktop on Windows. The folders on the home screen are shortcuts, not physical directories in the memory of the device. So renaming might require access to the file manager or even superuser rights. If you've been trying to click on a folder for a long time, but nothing has happened, don't be surprised: newer versions of MIUI 14/15 don't always work.

We tested all methods on devices with MIUI 12-15 (including global and Chinese firmware) and highlighted those that work consistently. If your folder was created automatically (for example, for screenshots or downloads), its renaming can be blocked by the system, as we will also discuss below.

1. Standard method: through a long press on the folder

The most obvious method works only for custom folders created by hand, and system directories (for example, DCIM, Downloads) will not be renamed this way.

Step instructions:

  1. Press and hold your finger on the folder on your desktop (at least 2 seconds).
  2. In the menu that appears, select "Rename" (or pencil icon).
  3. Enter a new name and click "Done" or OK.

If you don't have a "Rename" option, you're protected by the system, so you can move on to the following.

πŸ“Š What version? MIUI use?
MIUI 12 or older
MIUI 13
MIUI 14
MIUI 15 (newest)
I don't know.

⚠️ Note: On some devices (POCO F4, Redmi 10C) A long press opens the delete menu, not the rename menu. To avoid accidental deletion, pre-backup the contents of the folder.

2. Rename through the file manager Mi File Manager

Xiaomi’s built-in file manager allows you to work with folders directly, including those that can’t be renamed through the desktop.

Open the Files app (yellow folder icon) and follow the steps:

  1. Go to the section "Internal storage" or "Internal storage".
  2. Find the folder you want to rename (use search if you can’t see it in the root directory).
  3. Click on three dots next to the folder name β†’ select β€œRename”.
  4. Enter a new name and confirm the changes.

If the folder is gray and doesn't have a three-dot menu, it's a system directory. ADB-Teams (more on this below).

Make sure the folder is not open in other applications

Check the available space on the device (minimum 100 MB)

Disable cloud sync (if folder in Mi Cloud)

Make a backup of important files-->

3.Using ADB to rename system folders

If the folder is not renamed by standard methods, the reason may be a restriction of access rights, in which case Android Debug Bridge (ADB) – a debugging tool that allows you to execute commands directly on the system – will help.

You'll need:

  • πŸ–₯️ Computer with installed Xiaomi and ADB-tools drivers.
  • πŸ“± Included debugging by USB on a smartphone (Settings) β†’ The phone. β†’ Version. MIUI β†’ 7 times to activate the developer mode).
  • πŸ”Œ USB-cable (preferably original).

Step-by-step:

  1. Connect your smartphone to your PC and confirm the debugging permission on the device screen.
  2. Open the command prompt (Windows) or terminal (macOS/Linux) in the folder with adb.exe.
  3. Enter the command to check the connection: Adb devices must appear serial number of your device.
  4. Use the command to rename (replace paths with current ones): adb shell mv /sdcard/ol'name /sdcard/new name

Example: To rename the Screenshots folder to Screenshots, the command will:

adb shell mv /sdcard/Pictures/Screenshots /sdcard/Pictures/Screenshots

⚠️ Attention: Misuse of the right ADB You can crash the system. Don't rename the folders with Android names, MIUI, Systems are critical directories!

What if the ADB issues a β€œPermission Denied” error?
The error occurs due to the lack of write rights to system partitions. Solutions: 1. Get root rights (for example, through Magisk). 2. Use the adb shell su command before renaming (requires root). 3. Move the folder to internal memory (not root). SD-The map, where the rights are more liberal.

4. Third-party file managers with extended rights

If the built-in Mi File Manager refuses to rename the folder, try alternative apps.

  • πŸ“ Solid Explorer supports root access and cloud storage. There's a 14-day trial.
  • πŸ” FX File Explorer - user-friendly interface and built-in FTP-remote-control.
  • πŸ› οΈ Root Explorer – for root-enabled devices (caution: can damage system files!).

How to rename a folder through Solid Explorer:

  1. Install the app from Google Play.
  2. Give access to the storage at the first start.
  3. Find the folder, hold its name β†’ select β€œRename”.
  4. If an error occurs, try enabling "Root Access" in the application settings (requires root).

Important: Some applications (e.g. ES Explorer) may request unnecessary permissions or display ads. We recommend Solid Explorer as the most secure option.

5. Features of renaming folders to SD-map

If the folder is located on the memory card, the renaming process may be blocked due to:

  • πŸ”’ Protection against recording SD-map (check the physical switch on the adapter).
  • πŸ“› Formatting the map in FAT32 (Limitation of length of file names).
  • 🚫 Restrictions MIUI externally.

Decisions:

  1. Extract. SD-You can connect it to your computer through a card reader. Windows/macOS.
  2. Format the card in exFAT or NTFS (Warning: All data will be deleted!).
  3. Use it. ADB-path-finding SD-map: Adb shell mv /storage/1234-5678/ol'name /storage/1234-5678/new name (where) 1234-5678 β€” identifier SD-You can find it by the adb shell ls command. /storage).
Problem.Reason.Decision
I can't rename the folder to SD-mapMap formatted in FAT32Reformat to exFAT or use a computer
"File used" errorThe folder is open in a gallery or other applicationClose all applications through the multitasking menu
No "Rename" item on the menuSystem folder or MIUI protectedUse ADB or root access
After renaming the folder disappearedFile system errorRestart the device or check the card on the PC

6. Frequent mistakes and how to avoid them

Even experienced Xiaomi users sometimes face unexpected problems when renaming folders, and here are the most common cases and solutions:

Mistake 1: "Filename too long"

  • πŸ“ Shorten the folder name (maximum 255 characters for exFAT, 256 for exFAT) NTFS).
  • πŸ—‘οΈ Remove extra subfolders or transfer some files to another location.

Error 2: "Permission denied"

  • πŸ”‘ Try renaming the folder via your computer (by connecting your smartphone in File Manager mode).
  • πŸ›‘οΈ Turn off "Personal Data Protection" in the settings MIUI (Settings β†’ Confidentiality).

Error 3: The folder returns the old name after the reboot

  • πŸ”„ This means that the folder is restored by a system process (for example, MediaProvider).
  • πŸ“± Try renaming it via Safe Mode (click the power button). β†’ "Restarting in Safe Mode").
adb shell am broadcast -a android.intent.action.MEDIA_SCANNER_SCAN_FILE -d file:///storage/emulated/0/

This will speed up the appearance of files in the gallery.-->

7.Alternative solutions: archiving and creating a new folder

If you can't rename the folder, you can go around:

  1. Create a new folder with the desired name on the desktop.
  2. Copy all the contents from the old folder into the new one.
  3. Delete the old folder (if it is not system-based).

Applications are suitable for automating this process:

  • πŸ“¦ ZArchiver – allows you to archive a folder in.zip and then unpack under a new name.
  • πŸ”„ Total Commander – Supports batch renaming and folder synchronization.

The advantage of this method is that it works even for protected folders, since it does not affect the original directory, but creates a copy of it.

πŸ’‘

If the folder belongs to a system application (such as Mi Video or Mi Gallery), renaming it can lead to errors in the operation of these programs, in which case it is better to leave the original name and use tags (tags) to organize files.

FAQ: Answers to Frequent Questions

Can I rename the folder "DCIM" or "Downloads"?
DCIM (for photo/video) and Downloads (downloads) folders are system folders. Renaming them can disrupt the gallery, browser, and other applications. If you need to change the name, create a new folder and reconfigure the applications to save files there (for example, in the Chrome browser you can choose the path to download in the settings).
When the file was renamed, it was empty.
Most likely, the files are in the old folder, and you created a new directory with the same name. Check: Turn on the hidden files in the file manager. Use a search by the name of the file that was in the folder. Connect your smartphone to your PC and check the contents through Windows Explorer or Finder (macOS). If the files are missing, try to restore them using DiskDigger or Recuva (requires root for deep scanning).
How to rename a folder on your desktop if it is encrypted?
Encrypted folders (with a lock icon) cannot be renamed without first decrypting. To unprotect: Open the Security app. Go to Encrypted Files. Select a folder and click Decrypt (requires a password or fingerprint). After decryption, rename the folder in the standard way.
Why did the MIUI update stop renaming folders?
In the new versions MIUI 14/15 Xiaomi tightened security policy by blocking name change for some system folders: πŸ”™ Reverse to the previous version of the firmware (if it is critical). πŸ”§ Use it. ADB or root access (see section) 3). πŸ“₯ Transfer files to a new folder with the right name. Before updating, always check the list of changes on the official Xiaomi website.
Can I rename a folder via a computer by connecting Xiaomi to USB?
Yes, this is one of the reliable ways: Connect your smartphone to your PC through USB-On the phone screen, select File Transfer Mode (or MTP). Open "This Computer" (Windows) or "Finder" (macOS) and find your device. Go to the Internal storage folder and rename the desired directory in the standard way (right-click). β†’ "Rename.Important: Some folders (such as Android) may not show up on PCs due to limitations MIUI. In this case, it will help. ADB.