How to name a folder in a Xiaomi phone: a complete guide with examples

Name a folder on a Xiaomi smartphone seems like a simple task โ€” until you encounter errors like โ€œIncorrect Nameโ€ or the disappearance of files after renaming. MIUI (There are nuances that are not covered in standard instructions, from character restrictions to hidden rules for system folders.This article will help avoid typical errors and optimize file storage on Redmi devices, POCO mi.

We'll look at not only basic naming rules, but also little-known chips, like how to create a folder with an emoji in the title or why some characters (*, /,:) are blocked by the system (SD-map, OTG-And Mi Cloud, where the rules may be different, if you've ever lost access to files after renaming them, or if you've been sent a "Folder not found," here's an explanation and a solution.

Basic rules for naming folders in MIUI

Xiaomiโ€™s file system is based on FAT32/exFAT (for external storage) and F2FS/EXT4 (It's for internal memory, which puts a lot of restrictions on folder names:

  • ๐Ÿ”น Maximum length of name: 255 symbols (including paths) for example, if the folder is in /storage/emulated/0/Download/My files/..., the remaining space for the name is reduced.
  • ๐Ÿ”น Prohibited symbols: \ /: *? " < > |. This will cause an error called โ€œIncorrect file nameยป.
  • ๐Ÿ”น Register Dependence: Folder and folder are different names (important for scripts and terminals).
  • ๐Ÿ”น Gaps and tabs: Allowed, but may cause problems when connecting to a PC MTP.

Feature MIUI: It automatically replaces the forbidden characters with the emphasis ( ). For example, if you try to name the folder My: Photos, it becomes My Photos. SD-map OTG The replacement may not work and the folder will not be created.

By date (2026_05_Vacation)|Subject by subject (Work, Personal)|Random names|I'm using emojis.|I never change my name.-->

Another nuance is the encoding of names. MIUI default UTF-8, When connecting to Windows through MTP You may have problems with Cyrillic (characters are displayed as???). Solution: rename folders directly on your phone, not via your PC.

How to Rename a Folder through a Standard File Manager

The easiest way is to use the built-in File Manager from Xiaomi.

  1. Open the Files app (yellow folder icon).
  2. Go to the Device section or SD-card (if the folder is on an external drive).
  3. Find the folder you want and hold your finger for 1-2 seconds until the context menu appears.
  4. Choose Rename, enter a new name and click OK.

If the option to rename is inactive:

  • โš ๏ธ The folder can be system (for example, Android, MIUI). They can't be renamed.
  • โš ๏ธ The file system on the drive is damaged. SD-PC-card error.
  • โš ๏ธ You don't have enough licenses. Try using a Root Explorer (requires unlocking the bootloader).

Check the free space on the disk|Make sure the folder is not open in other applications|Close the cloud sync (Mi Cloud, Google Drive)|Make a backup of important files-->

Important: if the folder syncs with Mi Cloud, renaming may interrupt the file upload process, in which case it is better to first disable sync in the Xiaomi account settings.

Hidden symbols and emojis in folder names

MIUI It allows you to use emojis and some special characters in folder names, but with reservations:

  • โœ… Permitted: ๐Ÿ“, ๐Ÿ–ผ๏ธ, ๐ŸŽต, โญ, โœ”๏ธ and other standard Unicode emojis.
  • โŒ Prohibited: control symbols (\n, \t), non-printable signs.
  • โš ๏ธ Caution: Emojis may not display correctly when connected to Mac or Linux.

Examples of correct names with emoji:

  • ๐Ÿ“ธ Photo:2026
  • ๐ŸŽฎ Games Android
  • ๐Ÿ’ผ Work Documents

To put an emoji in the folder name:

  1. When renaming, click on the name entry field.
  2. Call the keyboard and switch to the section with the emoji (smiley face icon).
  3. Select the desired symbol and complete the renaming.
What happens if you use banned symbols?
The system will either automatically replace them with an emphasis ( ) or the folder will not be created at all. OTG-If the folder disappeared after renaming it, check the basket in the Files application or use a data recovery utility, such as DiskDigger.

Hidden characters (such as a space at the beginning of a name) can cause folder display problems in some applications. To avoid this, use visible separators:, - or..

Features of working with SD-maps and OTG-accumulator

When working with external drives (microSD, flash drives through the OTG) Name rules are tightening:

Type of storageMax. The length of the nameCyrillic supportSupport for emoji
Internal memory.255 charactersYes.Yes.
SD-map (FAT32)255 (really) ~120)Yes, but the problem is MTP)No.
SD-card (exFAT)255Yes.Partially.
OTG-accumulator (NTFS)255Yes.No.

If you rename the folder to SD-map FAT32, avoid:

  • ๐Ÿ“› Names longer than 120 characters (although the system allows 255 characters, FAT32 latent).
  • ๐Ÿ”ค Cyrillic characters at the beginning of the name (may cause a read error on PC).
  • ๐Ÿ”„ Frequent renaming (FAT32 It wears out faster when metadata changes).

๐Ÿ’ก

Before the purchase SD-Maps for Xiaomi format it in exFAT through the phone settings: โ†’ Warehouse โ†’ SD-map โ†’ It's internal. It'll break the constraints. FAT32, But it will make the card compatible only with Android devices.

When connected OTG-file-storage NTFS (For example, a hard drive, renaming folders can take up to 30 seconds, which is normal. Don't remove the drive until you've completed the operation!

System folders: what can and can not touch

V MIUI There are secure folders that can be renamed or deleted and can cause system failures:

  • ๐Ÿšซ Android contains application data.
  • ๐Ÿšซ MIUI โ€” shell-file.
  • ๐Ÿšซ DCIM โ€” Photo/video folder (you can delete it, but the camera will create it again).
  • ๐Ÿšซ Download - Standard download folder.
  • ๐Ÿšซ.thumbdata - cache of thumbnails (hidden folder).

If you need to change the system folder name (for example, to organize files), use workarounds:

  • ๐Ÿ“‚ Create a new folder with the right name and move the files there.
  • ๐Ÿ”„ Use it. ADB (Developer rights required: adb shell mv /sdcard/Download /sdcard/My downloads.
  • ๐Ÿ”ง Install an alternative file manager (e.g. Solid Explorer or Solid Explorer) FX File Explorer, which allows you to work with system folders.

๐Ÿ’ก

Never rename a folder. Android/obb โ€” This will cause the installed games to crash (such as Genshin Impact or Call of Duty Mobile) if it does, reinstall the games or restore the folder from the backup.

For power users: if you have a bootloader unlocked and Magisk installed, you can use the module MIUI Hidden Settings to access hidden system folders, but remember, wrong actions can lead to bootloop).

Problems after renaming and their solutions

Sometimes, when you rename a folder, you get errors, and let's look at the typical cases and how to fix them:

Problem.Possible causeDecision
The folder's gone.Synchronization with Mi Cloud is interruptedCheck the basket in the Files โ†’ Recycle Bin. If you don't have a folder, recover from the cloud through Settings. โ†’ Xiaomi account โ†’ Mi Cloud
The name is displayed as????Incompatible encoding (for example, when connecting to a PC)Rename the folder directly on your phone using only the Latin alphabet or emoji
You can't open files in a folder.Damage to metadata when renamingCheck the folder for errors through SD Maid or move files to a new folder
folder duplicatedFile system error (often on the SD-card)Format the card in exFAT or check for errors through chkdsk on PC

If after renaming the folder with photos they stopped showing in the gallery:

  1. Open the gallery. โ†’ Settings โ†’ Folder management.
  2. Click Update Media Files.
  3. If it doesnโ€™t work, restart your phone.

๐Ÿ’ก

To avoid gallery problems, donโ€™t rename the folder. DCIM. Instead, create a new folder inside it (for example, DCIM/Vacation_2026) And move the photo there.

If the folder has become โ€œinvisibleโ€ for some apps (like WhatsApp doesnโ€™t see the Media folder after renaming it), check:

  • ๐Ÿ” Having a.nomedia file in the folder (it hides content from the media scanner).
  • ๐Ÿ“Œ Access Rights: Open the folder properties in the file manager and make sure the application has read rights.

Automation: Scripts and applications for mass renaming

If you have to rename dozens of folders, the manual method is ineffective, and specialized applications and scripts will help you do this.

  • ๐Ÿค– Rename Master โ€“ allows you to use templates (for example, add a prefix) 2026_ file-to-file).
  • ๐Ÿ“ Files by Google โ€“ Built-in Mass Rename feature (available in the Cleanup section).
  • ๐Ÿ’ป Termux is for advanced users. Example of a script on Bash: for dir in /sdcard/Download/*; do mv "$dir" "${dir}_old" done

To automate via Tasker (AutoInput plugin required):

  1. Create a task with the action File โ†’ Rename.
  2. Specify the path to the folder and a new name with variables (for example, %DATE date).
  3. Add a trigger (such as connecting to Wi-Fi or on a schedule).

๐Ÿ’ก

When you rename a file, always back it up! A script error can cause you to lose folder structure. For example, the mv* command will move all files to a higher level by mixing them with other data.

If you use Python on PC to manage Xiaomi files through ADB, Here is an example of a script to rename:

import os


import subprocess




Connection to the device



subprocess.run(["adb", "shell"])




Rename the folder



os.system('adb shell mv /sdcard/OldName /sdcard/NewName')

FAQ: Frequent questions about renaming folders to Xiaomi

Can you name a folder with one emoji (for example, ๐Ÿ“)?
Yes, but with the caveat: In the inner memory, no problem. SD-map (FAT32) โ€” It may not be displayed on the PC. Some applications (e.g, VLC) You can't see folders with names from emojis only, but you should add at least one character (e.g., a single character, ๐Ÿ“_1).
Why did the folder become empty after the renaming?
This is due to: Failure of the file system (often on cheap ones). SD-Cloud sync conflict (Mi Cloud or Google Drive could delete files as duplicates); Access rights errors (try restarting your phone); Solution: check the Recycle Bin in Files or restore data via Recuva (on PC).
How to rename a folder if it is used by another application?
First, close all applications that can block the folder: Open Settings โ†’ Annexes โ†’ All applications. Find an app (like a gallery or music player) and hit Stop. Try renaming the folder again. If it doesn't work, restart your phone in Safe Mode (hold the switch off button). โ†’ Safe regime).
Can I use spaces at the beginning or end of the folder name?
Technically possible, but: Such folders may not appear in some file managers. MTP Scripts and terminals can ignore these folders. Better use an emphasis ( Folder) or a hyphen (-Folder).
How to return a folderโ€™s standard name (e.g. Download)?
If you renamed the system folder and want to return the original name: Delete the current folder (if it's empty); Reboot the phone, the system will restore the folder with the default name; if the folder is not empty, create a new folder with the original name and move the files there. DCIM: Open the camera and take a test shot โ€“ the folder will be created automatically.