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

Xiaomi’s MIUI-based desktop allows you to flexibly adjust folders and shortcuts, but it’s not always obvious how to change the name of an already created folder. Many users find that a standard long-press does not open the renaming option, and there is no item in the menu. In fact, there are several ways to change the folder name, from basic to hidden shell functions.

In this article, we will analyze all current methods, including working through the file manager, settings. MIUI even ADB-We will focus on the common mistakes that may cause renaming to fail, and give recommendations on backing up data before changes.

If you’re using the Redmi Note 12, POCO X5 or Xiaomi’s flagship 14 series, the instructions are suitable for all devices on MIUI 14/15 and later. For older versions of the shell (before MIUI 12.5), some ways may be different β€” we’ll mention that too.

Why you can’t rename your folder in the standard way

The main reason for the renaming problems lies in the logic of MIUI Launcher, Xiaomi’s standard launcher. Unlike Android One or Pixel Launcher, where a long click on a folder immediately causes a context menu, in MIUI, this process is two-step:

  • πŸ“± Long press opens the folder’s mode of movement, not the action menu.
  • βš™οΈ There is no item "Rename" in the standard menu (there is only "Delete" and "Place on another screen").
  • πŸ”’ Limitations MIUI for system folders (e.g. Download or DCIM no-name).
  • πŸ› οΈ Launcher cache failures, due to which the context menu does not open at all.

In addition, some models (e.g. Redmi 10C or POCO M5), after upgrading to MIUI 14, no renaming through the file manager is possible.This is due to a change in the permissions to the /storage/emulated/0/MIUI/desktop folder where the desktop data is stored.

⚠️ Note: If the folder contains shortcuts to system applications (such as Camera or Phone), renaming may reset their default settings. Before changing the name, take a screenshot of the current location of the icons.

Method 1: Rename through file manager (works on 90% of devices)

The most reliable method is to use Xiaomi’s File Manager, which has access to desktop system directories, unlike third-party managers like Total Commander or FX File Explorer.

Step-by-step:

  1. Open the Files app (the folder icon on the desktop or in the application menu).
  2. Go to the Internal Memory section β†’ MIUI β†’ desktop.
  3. Find a folder with a name desktop_*.db (where * is the screen number, for example, desktop_0.db mainscreen).
  4. Click on the folder you want to rename and select "Rename".
  5. Enter a new name (without spaces or special characters) and click OK.
  6. Restart the launcher: clamping the empty space on the desktop β†’ Screen settings β†’ Restart.

If the desktop folder is missing from /MIUI/, then your version of MIUI stores the desktop data elsewhere, in which case try an alternative path:

/data/data/com.miui.home/shared_prefs/com.miui.home.preferences.xml

⚠️ Note: Modifying files in /data/data/ It requires root rights. Without them, this method will not work, and careless actions can lead to a launcher failure.

Backup of the desktop folder to the cloud or on PC

No spaces and symbols!@#$%^&*() in the new name

Closing all applications before restarting the launcher

Checking the free space (needs a minimum of 100 MB on the system partition)-->

Method 2: Using the desktop editing mode

MIUI 13/14/15 has a hidden editing mode that allows you to rename folders directly from the desktop, which works without a file manager, but requires precise actions:

Algorithm:

  1. Press the empty space on your desktop (not on the folder!).
  2. In the menu that appears, select Screen Settings β†’ Editing Mode.
  3. Slip on the folder you want to rename - the icon of the pencil will appear. ✏️.
  4. Click on the pencil and enter a new name (maximum 12 characters).
  5. Click "Ready" and exit the editing mode.

If the pencil icon does not appear:

  • πŸ”„ Restart the device and try again.
  • πŸ“± Update. MIUI Up to the latest version (this mode is not available in older versions).
  • πŸ› οΈ Clear the launcher's cache: Settings β†’ Annexes β†’ Application management β†’ Launcher β†’ Warehouse β†’ Clear the cache.

On devices with MIUI 12.5 or below, editing mode may not be available, in which case use Method 1 or Method 3.

Standard MIUI Launcher|Nova Launcher|Hyperion Launcher|Other |I don't know-->

Method 3: Rename through ADB (for advanced users)

If the first two methods don’t work, you can use Android Debug Bridge (ADB), which requires connecting your smartphone to your PC and basic command line knowledge, but is guaranteed to work on all versions of MIUI.

Instructions:

  1. Enable USB debugging on your smartphone: Settings β†’ About Phone β†’ MIUI Version (tap 7 times to become a developer) β†’ Return to Settings β†’ Additional β†’ For Developers β†’ Debugging on USB.
  2. Connect the phone to the PC and confirm the debugging permission.
  3. Open the command line (Windows) or terminal (macOS/Linux) and type:
adb shell


su




cd /data/data/com.miui.home/shared_prefs/




ls | grep desktop

You'll see a list of files. desktop_0.xml, desktop_1.xml And so each file corresponds to a separate desktop:

pull desktop_0.xml /sdcard/


exit




exit

Copy the file. desktop_0.xml From phone to PC, open it in any text editor (e.g. Notepad)++) and find a line:

<string name="folder_name_123">Old name</string>

Replace the old name with a new one, save the file and return it to the following:

adb push desktop_0.xml /sdcard/


adb shell




su




cp /sdcard/desktop_0.xml /data/data/com.miui.home/shared_prefs/




chmod 660 /data/data/com.miui.home/shared_prefs/desktop_0.xml




reboot

⚠️ Attention: Incorrect editing XML-The file may cause the launcher to crash. Before you change it, back up the original file with the adb pull command. desktop_0.xml desktop_0_backup.xml.

What if the launcher stopped working after ADB-commands?
If, after editing, desktop_*.xml desktop does not load: 1. Delete the file. desktop_0.xml through ADB: adb shell su rm /data/data/com.miui.home/shared_prefs/desktop_0.xml 2. Reset the device β€” MIUI restore the file by default. 3. Repeat the procedure with the correct XML or restore the backup copy.

Method 4: Use of a third-party launcher (Nova, Hyperion)

If standard methods don't work, the easiest way out is to install an alternative launcher, such as Nova Launcher or Hyperion Launcher, which allows you to rename folders into two taps:

How to do this:

  1. Install Nova Launcher from Google Play.
  2. Assign it to the default launcher (at the first start, the system will prompt you to do this).
  3. Click on the folder for a long time β†’ select β€œEdit”.
  4. Slip on the current folder name and enter a new one.
  5. Press "Done."

Advantages of this method:

  • βœ… It works on all versions. MIUI.
  • βœ… Supports emoji in folder names (e.g, "πŸ“· Photo Photo").
  • βœ… Allows you to create nested folders (in standard) MIUI Launcher is impossible).

Disadvantages:

  • ❌ Some widgets MIUI (For example, weather or footsteps may not be displayed.
  • ❌ Xiaomi navigation gestures (such as swipe from below for return) may conflict with launcher gestures.
LauncherSupport for renamingnested foldersEmoji in namesCompatibility with MIUI
MIUI Launcher❌ (limitedly)βŒβŒβœ… 100%
Nova Launcherβœ…βœ…βœ…βš οΈ 90% (widgets may not work)
Hyperion Launcherβœ…βœ…βœ…βš οΈ 85% (possible lags)
Lawnchairβœ…βŒβœ…βš οΈ 80% (no support for topics) MIUI)

πŸ’‘

If after installing a third-party launcher, the screen unlock animation disappeared, return the standard MIUI Launcher through Settings β†’ Applications β†’ By default β†’ Launcher.

Method 5: Resetting launcher settings (extreme case)

If none of these methods worked, you can reset the launcher to the factory settings, which will remove all folders and shortcuts from the desktop, but will return the ability to rename them.

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. Find Louncher (or com.miui.home) and open its settings.
  3. Select "Storage" β†’ "Clear the data".
  4. Confirm the action – all folders and widgets will be deleted.
  5. Reset the device.

After discharge:

  • πŸ”„ Create folders again – now the renaming should work.
  • πŸ“± If the problem is repeated, install the update. MIUI through settings β†’ The phone. β†’ Updating the system.

⚠️ Attention: Clearing the launcher data will also reset: - Location of icons on the desktop. - Gesture settings (if you use non-standard). - Design themes MIUI (You'll have to choose again. We recommend that you take a screenshot of the current location of the labels before resetting.

Frequent Mistakes and How to Avoid Them

Even following the instructions, users often face problems, and consider common mistakes and their solutions:

Mistake.Reason.Decision
No "Rename" item on the menuAn outdated version of MIUI or system folderUpdate your firmware or use ADB/third-party launcher
The folder name is reset after rebootingChanges to the desktop_*.dbRestart the launcher through Screen Settings
You can't put in gaps or emojis.Limitations of MIUI LauncherUse Nova Launcher or replace spaces with " "
The folder disappeared after renamingMistake in XML-file (within ADB-method)Restore a file backup or reset the launcher
The /MIUI/desktop/ folder is not openNo rights or folder movedCheck the path through adb shell ls /storage/emulated/0/

Another common problem is that folders with shortcuts to system applications (like Google or Mi Video) are not renamed, and this is related to MIUI protection, which is linked to system services.

  • πŸ“Œ Create a new folder with the right name.
  • πŸ”„ Transfer labels from the old folder to it.
  • πŸ—‘οΈ Remove the old folder (if it is empty).

πŸ’‘

If the folder contains shortcuts for system applications (Settings, Phone, Messages), renaming them may reset them, in which case it is better to create a new folder and transfer shortcuts manually.

FAQ: Answers to Frequent Questions

Can I rename the Download folder on the desktop?
No, you can't rename system folders like Download, DCIM, or Pictures, which is a limitation of Android, but you can: Create a shortcut to a folder with a different name (via the file manager), transfer files to a new folder and add it to the desktop.
When the file was renamed, it was empty.
You probably renamed the folder shortcut, not the folder itself, in the device's memory. Check: Open Files β†’ Internal Memory and find the original folder. If the files are there, create a new shortcut on your desktop. If the folder is really empty, restore the data from the cart (it is stored for 30 days in the Xiaomi file manager).
How to rename a folder on the Xiaomi desktop through a PC?
Connect your phone to your computer in file transfer mode (MTP) and: Open this computer β†’ [The name of your Xiaomi] β†’ Internal memory. β†’ MIUI β†’ Find the file. desktop_*.db and rename it (e.g. add " backup"). Create a new folder with the desired name on the desktop via your phone. ⚠️ This method only works for user-generated folders. System folders cannot be renamed via PCs.
Why did the MIUI update stop renaming folders?
Newer versions of MIUI (starting with MIUI 14) have changed the desktop data storage structure. To return the function: Clear the launcher cache (Settings β†’ Applications β†’ Launcher β†’ Storage β†’ Clear Cache). Reverse to the previous version of MIUI (if the update brought bugs). Use Nova Launcher as an alternative.
Can you automate renaming folders (for example, according to schedule)?> Standard. MIUI Launcher does not have this feature, but you can: Use Tasker + AutoInput for tap automation (requires root). Write a script on the taps. ADB, which will rename folders on command, install a launcher with script support (for example, KISS Launcher: Example ADB-Automatic renaming commands (requires root): adb shell "su" -c 'sed -i \"s/Old name/new name/g\" /data/data/com.miui.home/shared_prefs/desktop_0.xml'"