How to rename a folder on a Xiaomi smartphone: 5 working ways

Renaming folders on Xiaomi, Redmi or POCO smartphones seems like a simple task β€” until you face the limitations of the MIUI shell, hidden system directories or access errors. Unlike Android β€œpure”, it often requires additional actions, from enabling editing rights to using third-party tools. This article will help you understand how to rename a folder to Xiaomi without risking data loss or disrupting the system.

We'll look at all the current ways, from the standard file manager to advanced methods with a connection to the PC, and we'll focus on typical problems, such as why some folders don't even get renamed with superuser rights, or how to get around the MIUI restrictions on editing system directories. If you've ever seen a message that says "failed to rename" or "no access rights," here's a solution.

Important: the instructions are adapted to the latest versions of MIUI 14/15 (Android 13/14) and tested on Xiaomi 13/14, Redmi Note 12/13 and POCO F5/X5. For legacy devices (until 2020 release) may require adjustments.

1. Rename through the standard file manager

The most obvious way is to use the built-in Xiaomi Files (or File Manager in global firmware). However, even here there are pitfalls: the MIUI shell blocks editing of some folders by default, especially in the /storage/emulated/0/ section.

To rename the folder:

  1. Open the Files app (an icon with a blue folder).
  2. Go to the Device (or Internal Storage) section.
  3. Find the folder you want and hold your finger for 2-3 seconds until the context menu appears.
  4. Select "Rename" (or "Rename").
  5. Enter a new name (without the prohibited characters: /: *? < > |) and press OK.

⚠️ Note: If the Rename button is inactive or not, the folder is protected by the system, in which case the root or PC connection method will help.

β˜‘οΈ What to check before renaming

Done: 0 / 5

Tip: To speed up your search, use the search bar at the top of the screen. Type in a part of the folder name, like Down for Download.

2.Use of third-party file managers

If the standard manager refuses to rename the folder, try alternative apps.

  • πŸ“ Solid Explorer – supports dual-panel mode and work with root folders (if root is available).
  • πŸ” FX File Explorer – has a built-in FTP-remote-access server.
  • πŸ›‘οΈ Root Explorer – specializes in working with system partitions (requires root rights).
  • 🌐 MiXplorer – a free manager with support for cloud storage and archives.

Example of renaming through Solid Explorer:

  1. Install the app from Google Play.
  2. Open it and give access to the storage.
  3. Go to the desired section (e.g. /storage/emulated/0/DCIM/).
  4. Hold the folder β†’ β€œRename” β†’ enter a new name.

⚠️ Note: Some managers (such as Root Explorer) may show "empty" folders in the section /data/. Don’t rename them – these are system directories critical to the job. MIUI.

πŸ“Š What file manager do you use on Xiaomi?
Standard Files.
Solid Explorer
FX File Explorer
MiXplorer
Other
Not using.

3. Renaming through PC (Windows/macOS/Linux)

Connecting your phone to your computer often solves access rights problems.

  1. Connect Xiaomi to your PC via USB-cable (preferably original).
  2. On the phone, select File Transfer (or MTP) mode.
  3. On your computer, open "This Computer" (Windows) or "Finder" (macOS) - the device will appear as a removable disk.
  4. Go to the desired folder, right-click β†’ "Rename".

If the folder is not renamed, try:

  • πŸ”„ Restart your phone and PC.
  • πŸ”Œ Use the other USB-port (preferably) USB 3.0).
  • πŸ“‹ Check if the folder is blocked by an antivirus (for example, Avast or 360 Security on your phone).

Critical information: Some Xiaomi models (e.g. Redmi Note 10 Pro) do not display folders in the root directory when connecting via MTP, in which case PTP mode (for photos) or using ADB will help.

Connection modeAvailable actionLimitations
MTPReading/write files, renamingNo hidden folders (.nomedia,.thumbnails)
PTPOnly work with photos/videoYou can’t rename folders outside of DCIM/Pictures.
USB-modemInternet distributionFile system unavailable
ADBFull access (requires settings)Hard for beginners.

4. Rename system folders (with root rights)

If the folder is in a protected partition (e.g. /data/data/ or /system/), you will need superuser rights.

  1. Unlock bootloader on Xiaomi (instructions on the official website).
  2. Install Magisk to obtain root rights.
  3. Use Root Explorer or Adb Shell command:
adb shell


su




cd /path/k/folder/




mv old name new name

⚠️ Note: Incorrect renaming of system folders (for example, /system/priv-app/) This can lead to bootloop (locking on the boot). Before making changes, back up through TWRP:

adb backup -f backup.ab -apk -shared
What happens if you rename the /system folder?
This will lead to a system crash, as this section stores critical Android files. The phone will stop booting, you will need to flash through Fastboot.

5. Rename through ADB (without root)

If you don’t have root permissions, but you need to rename the folder in the protected partition (e.g. /sdcard/Android/), Android Debug Bridge (ADB) will help.

Instructions:

  1. Turn on "Debugging by" USB" in the developer settings (Settings) β†’ The phone. β†’ Version. MIUI β€” Press 7 times, then return to "More" β†’ For developers").
  2. Connect the phone to the PC and confirm the trusted device.
  3. Open the command line (Windows) or terminal (macOS/Linux) and type:
adb shell


cd /storage/emulated/0/




mv old name new name

If you see a "Read-only file system" error, the folder is protected, and then only root or flashing will help.

πŸ’‘

To see hidden folders through ADB, use the command ls -a. This will display directories starting from a dot (e.g.,.thumbnails).

6. Frequent errors and their solutions

Even if you follow the instructions, Xiaomi users face typical problems, and we'll look at the most common ones.

Mistake.Reason.Decision
Failed to renameThe folder is used by the system or applicationClose all programs that work with files (gallery, music player)
No access rights.Folder in the protected section (/data/, /system/)Use root or ADB
The name is too long.Limitation of the FAT32 file system (255 characters)Shorten the name or reformat the memory card in exFAT
The device does not respond (when connected to the PC)Failure of MTP driversReinstall drivers via Mi PC Suite or upgrade to Windows

Special case: if the DCIM or Pictures folder is not renamed, check if sync with Google Photos or Mi Cloud is enabled.

πŸ’‘

Before renaming system folders, always back up via TWRP or Mi Cloud.Recovering data after a bug can cost more than buying a new phone.

7. Alternative methods: cloud services and FTP

If you can't physically rename it, you can upload it to the cloud, rename it there, and then download it back.

  • ☁️ Google Drive – supports renaming directly in the web interface.
  • πŸ“¦ Mi Cloud – Xiaomi’s built-in cloud (5GB free).
  • πŸ”— Dropbox – convenient for synchronization between devices.
  • 🌍 FTP-server, for example, through an application FX File Explorer (Remote Access Mode").

The example of Google Drive:

  1. Upload the folder to the cloud through the Disk app.
  2. Open drive.google.com on PC.
  3. Right-click on the folder β†’ "Rename".
  4. Download the folder back to your phone.

⚠️ Note: When uploading to the cloud and backup downloading, file metadata (date of creation, geotagged) is lost.

FAQ: Answers to Frequent Questions

Can I rename the Android folder to Xiaomi?
No, it's a system folder that's critical to application operation. Any changes will crash. If it takes up a lot of space, clear the cache in Settings β†’ Applications β†’ Application Management.
Why did the folder become invisible after renaming it?
You may have added a dot to the beginning of the name (e.g.,.MyFolder) that is hidden by default, so to return visibility, rename it back, or enable the display of hidden files in the file manager settings.
How to rename a folder on a memory card (SD-card)?
The process is similar to working with internal memory, but make sure that the card is not connected as an "Internal Drive" (in this case it is encrypted and edited only via the phone).
Can I rename the folder "MIUI" or "Xiaomi"?
These folders contain system data (design topic, log files) that are not blocked from renaming, but can cause shell failures, such as losing wallpaper or stopping updating widgets.
How to rename multiple folders at the same time?
The standard Xiaomi File Manager does not support batch renaming.Use Solid Explorer ("Batch Rename" plugin) or Total Commander for Android.The alternative is to connect the phone to a PC and use Bulk Rename Utility (Windows).