Why Xiaomi Themes Are Disappearing and How to Avoid It
You spent hours customizing the perfect theme on your Xiaomi, picking up wallpapers, icons, fonts and animations โ but after updating MIUI or resetting, everything is gone? This is a typical problem for custom theme users who are unaware of the built-in backup mechanisms. Unlike standard themes from Theme โ Online, custom settings are stored locally and do not sync with your Mi Account automatically.
In this article, we will discuss all the working ways to save themes on Xiaomi, Redmi and POCO devices, from manual file export to the use of hidden MIUI functions. The methods are tested on MIUI 12-14 firmware (including HyperOS) and work even on locked bootloaders. Importantly, some steps require root rights or debugging over USB, but we will start with the simplest solutions.
If you're already experiencing a loss of the topic, don't panic: at the end of this article, there's a section on recovering deleted files through MIUI Hidden Settings and third-party utilities, and for those who are just planning a design experiment, we've prepared a training checklist to help avoid typical errors.
Method 1: Exporting theme through MIUI built-in tools
The safest method is to use the standard export tome feature that MIUI has been using since version 11.0.3.0. It allows you to save the theme to a.mtz file (MIUI Theme Zip) that can be imported back or shared with other users.
Step instructions:
- Open the Themes app (icon with brush).
- Go to the My Themes tab (or Offline in older versions).
- Click on the three dots (โฎ) in the upper right corner and select Export theme.
- Tick the elements you want to save: wallpaper, icons, fonts, sounds, etc.
- Click Export and select the folder to save (recommend Download/MIUI/theme/).
โ ๏ธ Warning: In some firmware (e.g., POCO Launcher or Redmi Note 12 on HyperOS), the theme export item may be hidden. If it is not, try updating the Themes app via Google Play or use an alternative method from the next section.
Make sure the topic is applied (active)
Close all background applications (especially SEOs)
Free at least 500 MB of memory in the device
Connect to charging (for long themes with animations)
-->
Exported.mtz file can be:
- ๐ Save to the Cloud (Google Drive, Mi Cloud)
- ๐ค Send to your own mail or messenger
- ๐พ Copy to a computer via MTP or ADB
- ๐ Import to another Xiaomi device via Themes โ Import
๐ก
If there is an error โInsufficient Memoryโ when exporting, try clearing the Topic app cache in the settings or using the root file manager to manually copy files from /data/system/theme/.
Method 2: Manually copy theme files through file manager
If the built-in export doesnโt work or you want to save all custom themes at once (including those downloaded from the Internet), you can manually copy system files. This method requires access to hidden folders, so it is suitable for advanced users.
You'll need:
- ๐ฑ File manager with access to the root directory (e.g. MiXplorer or Solid Explorer)
- ๐ Root rights (optional but simplifies the process)
- ๐ป Computer with ADB (if no root)
The path to topics at MIUI:
/data/system/theme/ โ This is where you can find active topics
/sdcard/MIUI/theme/ โ here are the downloaded themes (.mtz)
/data/data/com.android.themes/files/ - cacheStep-by-step:
- Connect the device to your PC and enable Debugging over USB (Settings โ About Phone โ MIUI Version โ 7 times press to unlock the developer mode).
- In the command line, execute: adb pull /data/system/theme/ C:\Xiaomi_Themes\ (replace the path with your own)
- If you have a Permission denied error, use: adb shell su cp -r /data/system/theme/ /sdcard/Backup_Themes/ (requires root)
- Copy the Backup_Themes folder from your phone to your PC.
What if there is no root and ADB is not working?
โ ๏ธ Warning: Do not edit files in the /data/system/theme/ folder directly, which could cause the MIUI interface to crash and need to be completely reset. If you need to change the theme, import it through the standard menu.
Method 3: Using Mi Cloud to synchronize themes
The official Mi Cloud service can synchronize some of the theme settings, but it doesn't work well, like wallpaper and fonts can save, but icons and animations can't, but it's a good way to do basic backups.
How to turn on synchronization:
- Open your Settings โ Xiaomi Account โ Mi Cloud.
- Make sure you are logged in to one account on all devices.
- Activate the Slider Sync Themes (in some versions of MIUI this item is called Screen Settings).
- Press Sync now.
Limitations of the method:
- โ Does not save custom.mtz files
- โ Does not work for themes installed through APK (e.g. from Xiaomi Themes Store)
- โ Save wallpaper and some system fonts
- โ Restores basic settings after reset (if the device is linked to the same account)
Built-in export to.mtz
Manual copying of files
Mi Cloud
App side (e.g. Swift Backup)
I'm not saving the subject-- >
For full backup, we recommend combining Mi Cloud with manual export of.mtz, for example, synchronize wallpaper through the cloud, and save icons and animations to a file.
Method 4: Complete device backup (including themes)
If you're planning to reset, upgrade your firmware, or upgrade to custom ROM, the best option is to create a full backup of your device, which will not only save themes, but also all the system settings.
| Method | Root is required. | Keeps themes. | Recovery |
|---|---|---|---|
| Mi Backup (built-in) | โ No. | โ Partially (wallpaper, fonts) | Through Settings โ Additional โ Recovery and Reset |
| Swift Backup | โ Yes. | โ Completely (including /data/system/theme/) | Through the app |
| TWRP Backup | โ Yes + unlocked bootloader | โ Completely (all sections) | Through recovery. |
| ADB Backup | โ No. | โ Only when manually specified packets | Through adb restore |
Selection recommendations:
- ๐ Mi Backup is enough for a normal reset (but the themes will not be fully recovered).
- ๐ ๏ธ Use TWRP or Swift Backup to flash it.
- ๐ฅ๏ธ If you don't have root, do ADB Backup with packet indication: adb backup -f xiaomi_themes.ab -app com.android.themes -app com.miui.themeeditor
๐ก
Full backup via TWRP is the only way to save themes when you upgrade to custom firmware (like LineageOS or Pixel Experience).
How to Restore a Theme After Resetting or Updating
If you have already lost the theme but have a backup, follow this instruction.Recovery options depend on which backup method you used previously.
Option 1: Restore from a.mtz file
- Place the.mtz file in the /sdcard/MIUI/theme/ folder.
- Open the Themes app โ Offline.
- Find your theme in the list and click Apply.
- If the theme doesnโt show up, restart the device.
Option 2: Recovery from a manual backup (folder /data/system/theme/)
Root or TWRP is required:
adb push C:\Xiaomi_Themes\ /data/system/theme/
chmod -R 755 /data/system/theme/Option 3: Recovery via Mi Cloud
- Sign in to the same Mi Account.
- Go to Settings โ Xiaomi Account โ Mi Cloud โ Synchronization.
- Turn on the screen settings and press Sync.
- Reset the device.
โ ๏ธ Warning: If the theme is not applied correctly after recovery (e.g. icons donโt change or artifacts appear), clear the theme app cache (Settings โ Applications โ Application Management โ Topics โ Clear cache).
Frequent mistakes and their solutions
Even with the right backup, users are facing problems, and here are the most common errors and ways to fix them:
| Mistake. | Reason. | Decision |
|---|---|---|
| .mtz file is not imported | A damaged archive or incompatible version of MIUI | Check the file on another device or repackage the theme through MIUI Theme Editor |
| Theme applies partially (no icons/wallpaper) | Not all items were exported or conflicted with another topic. | Remove all themes from /sdcard/MIUI/theme/ except the one you want and restart the device |
| After recovering from the backup, the topic dropped | Not all files were copied (e.g. /data/system/theme/). | Repeat recovery with access control (chmod 755) |
| Mi Cloud doesnโt sync themes | Server Restrictions or Disabled Option | Check sync settings in Mi Cloud โ Settings โ Data Synchronization |
If none of the methods worked, try resetting the Themes app settings:
- Go to Settings โ Applications โ Application Management.
- Find themes and click Warehouse.
- Choose Clear Data and Clear Cache.
- Restart the device and try to import the theme again.