How to Save Your Theme on Xiaomi: Backup, Export, and Recovery

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:

  1. Open the Themes app (icon with brush).
  2. Go to the My Themes tab (or Offline in older versions).
  3. Click on the three dots (โ‹ฎ) in the upper right corner and select Export theme.
  4. Tick the elements you want to save: wallpaper, icons, fonts, sounds, etc.
  5. 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/ - cache

Step-by-step:

  1. Connect the device to your PC and enable Debugging over USB (Settings โ†’ About Phone โ†’ MIUI Version โ†’ 7 times press to unlock the developer mode).
  2. In the command line, execute: adb pull /data/system/theme/ C:\Xiaomi_Themes\ (replace the path with your own)
  3. If you have a Permission denied error, use: adb shell su cp -r /data/system/theme/ /sdcard/Backup_Themes/ (requires root)
  4. Copy the Backup_Themes folder from your phone to your PC.
What if there is no root and ADB is not working?
Without root and ADB, you can only copy files from /sdcard/MIUI/theme/, which are downloaded themes in.mtz format. Any file manager is enough for this. However, the active theme and its settings are stored in /data/, which is not accessible without access permissions, in which case only method 1 (export via the application) or method 4 (backup the entire device) will help.

โš ๏ธ 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:

  1. Open your Settings โ†’ Xiaomi Account โ†’ Mi Cloud.
  2. Make sure you are logged in to one account on all devices.
  3. Activate the Slider Sync Themes (in some versions of MIUI this item is called Screen Settings).
  4. 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.

MethodRoot 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 packetsThrough 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

  1. Place the.mtz file in the /sdcard/MIUI/theme/ folder.
  2. Open the Themes app โ†’ Offline.
  3. Find your theme in the list and click Apply.
  4. 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

  1. Sign in to the same Mi Account.
  2. Go to Settings โ†’ Xiaomi Account โ†’ Mi Cloud โ†’ Synchronization.
  3. Turn on the screen settings and press Sync.
  4. 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 importedA damaged archive or incompatible version of MIUICheck 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 droppedNot all files were copied (e.g. /data/system/theme/).Repeat recovery with access control (chmod 755)
Mi Cloud doesnโ€™t sync themesServer Restrictions or Disabled OptionCheck sync settings in Mi Cloud โ†’ Settings โ†’ Data Synchronization

If none of the methods worked, try resetting the Themes app settings:

  1. Go to Settings โ†’ Applications โ†’ Application Management.
  2. Find themes and click Warehouse.
  3. Choose Clear Data and Clear Cache.
  4. Restart the device and try to import the theme again.
What if the topic looks different after recovery?
This is due to differences in MIUI versions. For example, a theme for MIUI 12 may not display correctly on MIUI 14 due to changes in the structure of system files. In this case, try: 1. Find a similar topic in Topics โ†’ Online. 2. Edit the.mtz file in MIUI Theme Editor (PC required). 3. Contact the the theme author for an updated version.

FAQ: Answers to Frequent Questions

Can I save the topic without root?
Yes, use: Built-in export to.mtz (method 1). Copy files from /sdcard/MIUI/theme/ (does not require root). Mi Cloud to synchronize wallpaper and fonts. Without root, you can't copy an active theme from /data/system/theme/, but you can save the basic elements.
Why did my theme disappear after the MIUI update?
For major updates (e.g., from MIUI 13 to MIUI 14), the system resets custom themes due to changes in file structure. To avoid this: Save the theme to.mtz until the update. Use TWRP Backup to create a full copy of the /data partition. After the update, import the the theme again. If the theme was installed via APK (e.g., from third-party sources), it will have to be re-installed.
How to transfer the theme to another Xiaomi smartphone?
There are two options: Through.mtz: Export theme to the first device (method 1). Flip the file to the second smartphone (e.g., via Bluetooth or the cloud). Import through Themes โ†’ Offline โ†’ Import. Through Mi Cloud: Authorize both devices to the same Xiaomi account. Enable themes sync on the first smartphone. On the second device, update data from the cloud (Mi Cloud โ†’ Sync). โš ๏ธ Note that the themes may appear differently on different models due to differences in screen resolution and version MIUI.
Can I edit the saved theme (.mtz)?
Yes, you'll need: ๐Ÿ–ฅ๏ธ Program MIUI Theme Editor (for PCs). ๐Ÿ“‚ Archivator (for example, 7-Zip or WinRAR). ๐ŸŽจ Knowledge of basics of working with XML and graphics files. Instructions: Rename the.mtz file to.zip and unpack it. Edit the desired items (e.g., replace wallpaper or icons in icon). Pack files back to ZIP and rename to.mtz. Import the edited theme to the device. To simplify the process, you can use ready-made templates from GitHub repositories (for example, MIUI-Templates).
Where to download custom themes for Xiaomi?
Official and unofficial sources: ๐ŸŒ Official Store: Topics โ†’ Online (embedded in MIUI. ๐ŸŒ Third-party sites: MIUIer Themes (Chinese, use translator) MIUI Themes (English) Telegram channels (search for "MIUI themes") ๐Ÿ“ฑ Applications: Xiaomi Themes Store (unofficial, requires permission to install APK). โš ๏ธ Attention: Download themes from malicious sources only if they are particularly modified.