Why itβs important to know the location of topics in MIUI 14
Xiaomiβs MIUI 14 shell offers one of the most flexible customization systems among Android smartphones. Users can install themes from the official Mi Themes store, download third-party.mtz files or create their own unique styles. However, after resetting, updating firmware or reflashing through Fastboot, all installed themes disappear β and hereβs where knowing their exact location becomes critical.
Unlike previous versions (e.g. MIUI 12 or MIUI 13), MIUI 14 has changed its theme storage structure, and now files are distributed across multiple directories, and some data is stored in encrypted SQLite databases, which makes manual backups more difficult, but makes the system more secure from damage.
- π Exact paths to the themes folders in internal memory and system partition
- π How to Access Hidden Files Without Root Rights
- π± Ways to Back Up Before Updating or Resetting
- β οΈ Risks of removing system themes and how to avoid them
Special attention will be paid to the differences between the global (Global), Chinese (China) and European (EEA) version MIUI 14 - the location of some files in them may differ. Also consider the nuances for flagship models (Xiaomi 13 Ultra, Redmi). K60 Pro) and budget lines (Poco) X5, Redmi Note 12).
Mi Themes: Where to store files
All themes downloaded through the standard Mi Themes app (desktop brush icon) are stored in two main locations:
- Internal memory of the user - here are files of installed themes in.mtz format (archives with resources). Path: /storage/emulated/0/MIUI/theme/.data/ In this folder you will find subdirectories with unique theme identifiers (for example, com.android.theme.default for a standard theme).
- Systems section, here. MIUI 14 It places decompiled resources (wallpaper, icons, fonts) for quick download: /data/system/theme/ β οΈ Attention: folder /data/ available only with root rights or through ADB. Trying to change files here without a backup can lead to a cyclical device reboot.
It is important to understand that MIUI 14 uses a caching mechanism: the first time a theme loads, its resources are decompressed into /data/system/theme/, and the original.mtz file remains in user memory. If you delete the theme through Mi Themes, the files from /data/ will remain until the next reboot, this is normal system behavior.
π‘
If you want to free up space, first delete the theme through the Mi Themes app, and then manually check the /storage/emulated/0/MIUI/theme/.data/ folder for any remaining files.
Third-party themes (.mtz): where to install and how to find them
Manually installed themes (such as those downloaded from sites like Miui-Themes.com or Zedge) are kept separate from official ones, and MIUI 14 has a dedicated directory for them:
/storage/emulated/0/MIUI/theme/.customize/Features of working with third-party topics:
- π After installing the.mtz file, the system creates a folder with a hash name (for example, a1b2c3d4e5) And it puts unpacked resources there.
- π If the theme does not apply, check the integrity of the file β MIUI 14 blocks installation of damaged archives.
- π Starting with the version MIUI 14.0.5, third-party themes require you to enable Installation from unknown sources in Mi Themes settings.
For models with dynamic memory (e.g. Xiaomi) 13T or Redmi Note 12 Pro+) The part of the theme cache can be stored in a virtual partition /data_mirror. This is not critical for backup, but it is worth considering when cleaning up memory through Recover Mode.
How to Access Hidden Folders Without Root Rights
By default, MIUI Explorer doesn't show system directories like /data/ or hidden files. Here are working ways to get around this limitation:
Method 1: through ADB (without root)
Connect your phone to your PC and execute the commands:
adb shell
ls /data/system/theme/To copy files to your computer:
adb pull /storage/emulated/0/MIUI/theme/.data/ C:\Backup\MIUI_ThemesMethod 2: Using a root-access file manager
Applications like FX File Explorer or Solid Explorer allow you to enable the display of hidden folders:
- Open the manager's settings.
- Activate the option to show hidden files.
- Go to /storage/emulated/0/MIUI/theme/.
Method 3: TWRP Recovery
If you have custom Recovery installed on your device (such as TWRP), you can:
- Download to Recovery Mode (Power buttons + Volume up).
- Select Mount β System.
- Connect the phone to your PC and copy folders via MTP.
What if the ADB canβt see the device?
Backing up topics before updating or resetting
When you upgrade through OTA or reset to factory settings, all custom themes are deleted. To save them, follow this algorithm:
βοΈ Backup then. MIUI 14
For a full backup, it is recommended to use ADB:
adb backup -f miui_themes.ab -apk -obb -shared com.android.theme.iconpack.android
adb backup -f miui_themes_data.ab -shared /storage/emulated/0/MIUI/theme/Restore themes after updating can:
- Copy the saved folders back to /MIUI/theme/.
- Install backup with adb restore miui_themes.ab.
- Import themes through Mi Themes β Profile β Import (requires authorization in Mi Account).
β οΈ Note: If you are updating with MIUI 13 on MIUI 14, some topics may not recover due to changes in the database structure. XDA Developers or 4PDA.
Table: Comparison of paths to topics in different versions of MIUI
| MIUI version | The Path to Official Themes | The way to off-the-topics | Do you need root rights? |
|---|---|---|---|
| MIUI 14 (Global/EEA) | /storage/emulated/0/MIUI/theme/.data/ | /storage/emulated/0/MIUI/theme/.customize/ | No. |
| MIUI 14 (China) | /data/media/0/MIUI/theme/.data/ | /data/media/0/MIUI/theme/.customize/ | Partially (for /data/) |
| MIUI 13 | /storage/emulated/0/MIUI/theme/ | /storage/emulated/0/MIUI/theme/customize/ | No. |
| MIUI 12.5 | /sdcard/MIUI/theme/ | /sdcard/MIUI/theme/customize/ | No. |
Note that in the Chinese version of MIUI 14 paths start with /data/media/0/ instead of /storage/emulated/0/. This is due to the features of mounting memory in firmware for the Chinese market. China ROM may also lack the.customize folder, instead of which third-party themes are stored in /data/system/theme/thirdparty/.
Frequent problems and their solutions
When working with themes in MIUI 14, users experience common mistakes, and here are the most common ways to fix them:
- π« Theme is damaged: The reason: the discrepancy of the theme version and MIUI. Solution: Download the theme version specifically for MIUI 14 (check compatibility on the developer website).
- π Theme resets after rebooting: Cause: Cache damage in /data/system/theme/. Solution: Clear the Mi Themes app cache in the settings (Applications) β Application management β Mi Themes β Warehouse β Clear the cache).
- π± No Wallpaper or Icons: Reason: Conflict with running optimizations Solution: Turn off Adaptive Brightness and Super Wallpaper in screen settings.
- π You can't install a theme from a file: Reason: no resolution for unknown sources. Solution: Enable the option in Mi Themes β Settings β Installation from unknown sources.
If all the themes you have installed are missing after upgrading to MIUI 14, try:
- Reinstall the Mi Themes app via APKMirror (the version must match the firmware region).
- Reset the theme settings to standard (Mi Themes β Mine β Reset).
- Delete /data/system/theme/ via ADB (requires root) and restart the device.
π‘
Before any manipulation of the theme system folders, backup through adb backup or manually copy files to your PC. Recovering deleted themes without backup is often impossible!