Where Xiaomi Stores Lock Screen Wallpaper: File Path, Backup and Recovery

Xiaomi's lock screen is the first thing you see when you turn on your smartphone, and the look of it depends largely on the background you choose. But what if you want to save a picture you like, move it to another phone, or restore it after resetting your settings? Unlike normal desktop wallpaper, lock background files are stored in hidden system folders, and it's not so easy to find them.

In this article, we will discuss in detail where exactly lock screen wallpapers are stored on Xiaomi smartphones (including models on MIUI 12/13/14 and HyperOS), how to access them without root rights, and how to reserve and restore these files. We will focus on the nuances for different versions of firmware and ways to circumvent the system limitations. If you ever lost your favorite background after an update or wanted to transfer it to a new phone, this guide is for you.

Why lock wallpaper is difficult to find manually

Unlike desktop wallpapers, which are stored in an open DCIM/Wallpapers or Pictures folder, the background images of Xiaomi's lock screen are hidden deep in system directories.

  • πŸ”’ Protection against accidental deletion: The system prevents the modification of critical files that may affect the stability of the interface.
  • πŸ›‘οΈ Security: Some lock wallpapers (e.g. Super Wallpapers) contain animation elements that are associated with system processes.
  • πŸ“± Optimization for MIUI. The firmware dynamically loads wallpaper depending on the theme of design, so files can be stored in encrypted or compressed form.

In addition, the path to the folder may differ depending on the MIUI version and the smartphone model. For example, on older devices (before MIUI 11), lock wallpaper was stored in one place, and on new ones (beginning with MIUI 12.5) in another. Even within one firmware, there may be differences for Chinese (China ROM) and global (Global ROM) versions.

⚠️ Warning: Attempting to change files in system folders without root rights or through unverified applications may cause a launcher to crash MIUI. Always back up before experimenting.

The main ways of storing lock wallpaper on Xiaomi

Below is a list of the current folders where MIUI HyperOS stores background images of the lock screen. paths are indicated for the device's internal memory (not the device's internal memory). SD-These are accessible through a root file manager (such as Root Explorer or MiXplorer) or through a root file manager. ADB.

Firmware versionThe path to lock wallpaperNotes
MIUI 12/13/14, HyperOS/data/system/users/0/wallpaperThe main folder for the current user. Files can have names. lockscreen_wallpaper or keyguard_wallpaper.
MIUI 11 and older/data/data/com.android.systemui/files/wallpaperIt is outdated, but may contain backups on some devices.
Super Wallpapers (Animated)/system/priv-app/MiuiSuperWallpaper/apk/assetsSystem animated wallpapers (e.g. Mars or Earth) require root to be extracted.
All versions./storage/emulated/0/Android/data/com.miui.home/files/wallpaperCached copies of wallpaper, but not always relevant.

If you don't see these folders in a standard file manager, that's fine -- they're hidden from the user. You'll either need root access or ADB to access them (as we'll discuss later). On some devices (such as the Xiaomi 12T or Redmi Note 11), the path may be slightly different due to the firmware.

πŸ“Š What version? MIUI you use?
MIUI 12
MIUI 13
MIUI 14
HyperOS
I don't know.

How to access wallpaper without root rights (via ADB)

If you don’t have root access, but want to copy the lock wallpaper, you can use Android Debug Bridge (ADB), which works on most Xiaomi devices without the need to unlock the bootloader.

You'll need:

  • πŸ–₯️ Computer with installed ADB-tool.
  • πŸ“± Included debugging by USB on a smartphone (path: Settings) β†’ The phone. β†’ Version. MIUI β†’ 7 times press to activate the developer mode, then Settings β†’ Additionally. β†’ For developers β†’ Debugging by USB).
  • πŸ”Œ USB-plug-in.

Steps to remove wallpaper:

  1. Connect your smartphone to your PC and confirm the debugging permission.
  2. Open the command prompt (or Terminal on macOS/Linux) and type: adb shell ls /data/system/users/0/wallpaper This will show the list of files in the wallpaper folder.
  3. Copy the file to your computer: adb pull /data/system/users/0/wallpaper/lockscreen_wallpaper.jpg C:\Wallpapers\ (Replace the path with one that is relevant to your OS).

Install ADB-pc-tool

Enable debugging over USB on Xiaomi

Connect the phone to the computer

Check the availability of files through the team `adb shell ls`

Copy wallpaper with the team `adb pull`-->

If the adb shell command returns the Permission denied error, you don’t have permission to read the system folder, in which case either root or an alternative method through backup (about it in the next section) will help.

⚠️ Note: On certain devices (e.g, POCO F5 Xiaomi 13) MIUI may block access to /data even ADB. In this case, try using adb backup (see the next section).

Backup of wallpapers via MIUI Backup

If ADB didn't help or you don't want to mess with the command line, you can use the built-in MIUI backup feature, which doesn't give you direct access to files, but you can save the wallpaper in the archive, which you can then unpack.

Instructions:

  1. Go to Settings β†’ About Phone β†’ Backup and Reset β†’ Local Backup.
  2. Select System Settings and click Reserve.
  3. Once you have completed the copy, find the backup/ file in the root folder of internal memory (e.g. /storage/emulated/0/MIUI/backup/AllBackup/).
  4. Copy the archive on your PC and rename the extension from.bak to.zip.
  5. Unpack the archive and find the folder. wallpaper/ β€” There will be wallpaper locks in.jpg or.png format.

The downside of this is that the backup includes all system settings, not just wallpaper, so a file can weigh several gigabytes, but it's the only official method that doesn't require root or ADB.

πŸ’‘

If you change wallpaper frequently, create a separate folder in the cloud (such as Mi Cloud or Google Drive) and save copies of your favorite backgrounds there, so you can quickly restore them even after you reset your phone.

How to Restore Lock Wallpaper After Resetting or Updating

After resetting or updating MIUI, the lock screen wallpaper is reset to standard. To return your background images, follow these steps:

Method 1: Using MIUI settings (without root)

  • πŸ“ Copy saved wallpaper (for example, from a backup or cloud) into a folder DCIM/Wallpapers.
  • πŸ–ΌοΈ Go to Settings. β†’ Lock screen β†’ Lock screen wallpaper.
  • πŸ” Select My Wallpaper and find a copied image.

Method 2: Through ADB (if the wallpaper was stored in the system folder)

If you have previously removed wallpaper through ADB and want to return it to its place:

adb push C:\Wallpapers\lockscreen_wallpaper.jpg /data/system/users/0/wallpaper/


adb shell chmod 644 /data/system/users/0/wallpaper/lockscreen_wallpaper.jpg




adb shell reboot

Method 3: Through Wallpaper Change Apps

If system methods don't work, try third-party tools like Wallpaper Changer or Muzei, which allow you to set lock wallpapers to bypass MIUI restrictions, but may require additional permissions.

What to do if the wallpaper is not applied?
If the wallpaper doesn’t show after recovery, try: 1. Reboot the phone. 2. Clear the cache of the com.miui.home app (Settings β†’ Applications β†’ Application Management β†’ Launcher). 3. Set the wallpaper through another app (e.g. Google Wallpaper), and then return it through the MIUI settings.

Frequent problems and their solutions

When working with lock wallpaper on Xiaomi, users encounter typical errors, and here are the most common ones and ways to fix them:

Problem.Possible causeDecision
Wallpaper does not persist after rebootingLauncher cache failure MIUIClear the cache of com.miui.home in the application settings.
Wallpaper files are not displayed in the folderNo rights to view hidden filesUse MiXplorer with the option "Show hidden files" enabled.
ADB issues a Permission Denied errorMIUI restrictions on access to /dataTry adb backup or get root access.
Wallpaper locks are reset after the updateMIUI overwrites system filesKeep copies of the wallpaper in the cloud or on SD-map.

If none of the methods worked, your Xiaomi model may be using a custom wallpaper storage mechanism, for example, on some HyperOS devices (such as Xiaomi 14), background images can be stored encrypted or dynamically uploaded from the cloud.

πŸ’‘

On devices with HyperOS (new firmware from Xiaomi), the path to wallpaper may be different. If standard methods don't work, check the folder /data/media/0/Android/data/com.miui.gallery/files/wallpaper or use the built-in wallpaper export function in the lock screen settings.

Alternative ways to manage lock wallpaper

If you have not been able to find or restore wallpaper through system methods, consider alternative options:

  • 🎨 Wallpaper apps: Google Wallpaper, Zedge or Backdrops allow you to install custom background images, including for the lock screen, without interfering with system files.
  • πŸ”„ Topics MIUI: Many themes from the official store MIUI Themes include unique lock wallpapers that can be downloaded and applied through Settings. β†’ Topics.
  • πŸ–₯️ Editors APK: For experienced users, modification of the system APK (for example, SystemUI.apk) It requires root and APKTool knowledge.

If you often experiment with the design of the phone, we recommend you to create a separate album in Google Photos or Mi Cloud specifically for wallpaper, so you can quickly restore any background even after a complete reset.

For users who want to automate the wallpaper change process, apps like Tapet or Wallax can generate unique background images and install them on the lock screen on a schedule.

Can I transfer the lock from one Xiaomi to another?
Yes, but the method depends on the model. If the wallpaper is stored in a standard folder (/data/system/users/0/wallpaper), copy it to a new phone via ADB or root manager. Super Wallpapers will require the transfer of the entire /system/priv-app/MiuiSuperWallpaper folder, which is only possible with root.
Why did the locks drop after the MIUI update?
Updates MIUI Often overwrite system files, including wallpaper. To avoid loss, save your favorite background images to the cloud or on the cloud. SD-In some cases, a rollback to the previous version of the firmware through Fastboot helps.
How to install live wallpapers on the lock screen Xiaomi?
On most Xiaomi devices, live wallpaper only works on the desktop. However, on some models (for example, Xiaomi 13 Pro), you can activate them for the lock screen through the Live Wallpapers Picker app or modified APKs.
Where are the lock wallpapers stored on POCO-telephones?
POCO devices (e.g., POCO X5 or POCO F4) use the same folder structure as Xiaomi, as they run on MIUI or HyperOS. Except for the POCO Launcher models, where wallpaper can be stored in /data/data/com.mi.android.globalFileexplorer/files/wallpaper.
Can I change the lock wallpaper without unlocking the bootloader?
Yes, but with limitations. Without root, you can install wallpaper through standard MIUI settings or third-party apps, but you can't directly edit system files. For deep customization (for example, installing animated wallpaper), unlocking the bootloader is mandatory.