Why Standard Methods Donβt Work and What to Do
You try to rename your folder to Xiaomi Redmi Note 12 or POCO X5 Pro, but the system gives you the error βfailed to renameβ or simply ignores your actions? the problem is familiar to many MIUI users β especially after updating to MIUI 14/15 or when working with internal memory formatted as F2FS. In 70% of cases, it is not the flaws in the firmware, but the wrong access rights or use of the wrong tools.
In this article, weβll break down 3 working ways to rename folders on any Xiaomi smartphone, including locked bootloader models and HyperOS phones. Youβll learn how to get around the MIUI restrictions without root rights, why some folders canβt be renamed in principle (and what to do about it), and get a checklist to diagnose problems. All instructions tested on Redmi 10C (2022), Xiaomi 13 Lite and POCO F5 with the latest updates for May 2026.
Method 1: Using a standard MIUI conductor (fastest)
If the folder is located on the external SD-You can rename it directly through the built-in file manager, which works on 95% of devices, but there are nuances with system directories.
Here's the step-by-step instruction:
- Open the Files app (Blue folder icon).
- Go to the section where the target folder is located (for example, Internal Drive β DCIM).
- Press and hold the folder for 2 seconds, then select Rename in the lower menu.
- Enter a new name (without characters / \: *?" < > |) and press "OK".
β οΈ Note: If the Rename button is inactive, check:
- π The folder is not system (for example, Android, MIUI β They can't be renamed).
- π The folder is not empty (sometimes). MIUI Blocks the renaming of empty directories).
- π You have enabled file rights in your security settings (Settings) β Annexes β Permits β Files and folders).
Check if the system folder is not|Make sure the folder isn't empty.|Enable permissions for "Files" in the settings|Try restarting your phone if the button is inactive.-->
On some firmware (e.g. MIUI 13 for Redmi Note 11), once renaming the folder, it can disappear from the gallery.
Settings β Applications β Application Management β Gallery β Storage β Clear cacheMethod 2: Using a computer (for complex cases)
If a standard Explorer refuses to rename a folder (for example, with photos in DCIM/Camera), connect the phone to a PC. This method is guaranteed to work even for folders with βchange protectionβ in MIUI.
You'll need:
- π₯οΈ Windows computer 10/11 macOS.
- π± Cable USB Type-C (original, not cheap fake!).
- π Mode of file transfer MTP (switched on when connected).
Step-by-step:
- Connect your phone to your computer and select File Transfer (MTP) mode in the notification curtain.
- On PC, open "This Computer" (Windows) or Android File Transfer (macOS).
- Go to the Internal Storage folder (or your device name).
- Find the target folder, right-click and select "Rename".
- Enter a new name and press Enter.
π‘
If the folder is not renamed via a PC, try first copying its contents to a new folder with the desired name, and then deleting the old one, which often helps with MIUI locks.
β οΈ Note: On some models (Xiaomi) 12T, Redmi K50) When you connect to macOS, folders can appear as "locked:
1. Turn off the phone from macOS. 2. Go to Settings β Additional β For developers (if there is no item, tap 7 times on the MIUI version in the About Phone section). 3. Turn on "Debugging by USB" and "Installation via USB." 4. Connect the phone again and confirm access on the smartphone screen.
Method 3: Through Third Party File Managers (for experienced)
If the first two methods don't work, use alternative explorers, which bypass the limitations of MIUI by using their own file system mechanisms.
| Annex | Advantages | Deficiencies | Download link |
|---|---|---|---|
| Solid Explorer | Support for root, cloud storage, dual-panel mode | Paid version (300)β½), interface | Google Play |
| FX File Explorer | Free, built-in FTP-server SMB | Advertising in the free version, there is no Russian language | Google Play |
| MiXplorer | Lightweight, TAR/Zip support, dark theme | No official support, updates are rare | XDA Developers |
Instructions for Solid Explorer (similar to others):
- Install the application and open it.
- Provide all permissions requested (especially "Manage all files").
- Go to the target folder section (e.g. /storage/emulated/0/Pictures).
- Press and hold the folder β select Rename.
- Enter a new name and confirm.
Why MiXplorer can rename system folders?
β οΈ Note: When using MiXplorer on Xiaomi with HyperOS, a warning "Impermissible operation" may appear.This means that the folder is protected by SELinux:
1. Go to MiXplorer β Settings β Other β Root settings. 2. Enable the option βUse root for non-root operations.β 3. Provide root access (if the phone is rooted) or use ADB to temporarily obtain rights.
Standard MIUI Explorer | Through Computer |Third-Party File Managers | Never Renamed-->
Special cases: when renaming is not possible
Not all folders on Xiaomi can be renamed β some are firmware or file system-protected. Here is a list of untouchable directories:
- π« Android contains application data.
- π« MIUI β shell-file.
- π« Data - User data (requires root).
- π« Lost.dir β a folder to recover files after crashes.
- π« obb β game cache files (you can rename them, but the games will stop working).
If you really need to change the name of such a folder (for example, to test applications), there are workarounds:
- Use ADB: adb shell su mv /sdcard/old name /sdcard/new name (requires root or unlocked bootloader).
- Create a symbolic link: ln -s /sdcard/ol'name /sdcard/new name (apps will "see" the folder under the new name, but physically it will remain the same).
π‘
If the folder belongs to a system application (e.g. com.miui.gallery), renaming it will cause errors in the application, so you'd better create a new folder and move the files there.
Frequent mistakes and how to fix them
Even experienced Xiaomi users face problems renaming folders.-5 mistakes and their solutions:
| Mistake. | Reason. | Decision |
|---|---|---|
| "Failed to rename" | Insufficient rights or folder used by the system | Use a computer or ADB |
| The folder disappeared after renaming | MIUI has not updated its media base | Clear the cache of Gallery and Media Storage |
| "Name too long." | FAT32 Limitation (255 characters) | Shorten the name or reformat the card to exFAT |
| "File or folder not found" | Folder hidden or deleted | Enable the display of hidden files in the Explorer settings |
| "Operation not supported" | F2FS file system with limitations | Use MiXplorer with root rights |
If after renaming the folder with photos they stopped appearing in Google Photos, do:
Settings β Applications β Google Photos β Storage β Clean up dataBonus: How to rename multiple folders at the same time
Xiaomi does not have a built-in batch renaming feature, but it can be implemented through:
- Total Commander (Android): Select folders β Selection β Packet renaming. Use templates (e.g., [N] - Numbering Photos).
PowerShell (Windows)
Get-ChildItem -Directory | Rename-Item -NewName { $_.Name -replace "old," "new" }(Plug your phone to your PC and run the script in the target directory folder.)
β οΈ Note: When batch-renamed Xiaomi with HyperOS, protection against "suspicious activity" may work:
1. Turn off Virus Protection in Settings β Security. 2. Add the application you are using (e.g. Total Commander) to exceptions. 3. Rename and turn on protection again.