How to put live wallpaper on Android from the Xiaomi gallery: a full parsing for MIUI

Live wallpaper transforms the smartphone screen, adding dynamics and personality. Owners of Xiaomi devices (including the Redmi, POCO and Mi lines) often face a problem: standard MIUI settings do not allow direct use of video from the gallery as animated wallpaper. This article will reveal all the working methods, from built-in functions to circumventing restrictions through third-party applications.

We tested the methods on MIUI 14/15 (Android 13/14) And they found the key nuances: why some videos don't work, how to get around the limitation on the duration of the video (usually). 15-30 seconds), and which formats are supported (.mp4,.mov with codecs H.264/H.265). Particular attention will be paid to the optimization of the battery - live wallpaper can increase the cost of the battery. 5-15% day-to-day.

Important: instructions are tailored to current firmware versions. If your device is running MIUI 12 or older, some steps may differ - check the version in Settings β†’ About Phone β†’ MIUI version.

The manufacturer artificially blocks the direct installation of video from wallpaper for three reasons:

  • πŸ”‹ Energy consumption: background animation drains the battery faster than static images. Tests show that live wallpapers are more frequent. 60 FPS Reduce battery life on the Redmi Note 12 Pro+ before 4-6 hours with active use.
  • βš™οΈ Performance: Weak processors (such as the Snapdragon 4 Gen 1 in budget models) can slow down when rendering video in the video 4K.
  • πŸ“± User experience: MIUI Optimized for its own themes from the Mi Theme Store, where live wallpaper is moderated for compatibility.

However, you can bypass the restrictions - below we will consider all the available methods, from official to "hacks" for advanced users.

πŸ“Š What Xiaomi model do you use?
Redmi Note 10/11/12
POCO F/X
Mi 11/12/13
Redmi A or Budget Series
Another model

Method 1: Built-in "Live Wallpaper" function in MIUI (official method)

Starting with MIUI 12.5, support for live wallpaper has been introduced in the firmware, but with strict restrictions:

  1. Open the Settings β†’ Wallpaper (or long tap on the desktop β†’ β€œWallpaper”).
  2. Select the tab "Live wallpaper" (can be called "Dynamic" on some localizations).
  3. Scroll down to the section "My videos" - here you will see videos from the gallery that meet the criteria:
ParameterMIUI requirementHow to check
Duration≀ 30 secondsOpen the video in the gallery β†’ swipe up for details
Permission≀ 1080p (Full HD)File Properties β†’ "Resolution"
Format.mp4,.mov,.mkv (with H.264) codecUse MediaInfo app from Play Market
Bitrate≀ 10 MbpsChecked in VLC Player (Tools β†’ Codec)

If your video doesn't show up in the list, you need to optimize it.

  • 🎬 Use CapCut or InShot to trim for up to 30 seconds.
  • πŸ“‰ Lower the permit to 1080p Adobe Premiere Rush.
  • πŸ”„ Convert the format through HandBrake with the preset "Android" 1080p30".

⚠️ Note: After installing live wallpaper through standard settings MIUI They will only work on the lock screen. The desktop will require third-party software (see Method 3).

Cut to 30 seconds.|Downgrade to 1080p|Convert to MP4 (H.264)|Check the bitrate (≀10 Mbps)|Remove the soundtrack (optional)-->

Method 2: Video Live Wallpaper (for all versions of MIUI)

If the built-in feature doesn't work, use the third-party Video Live Wallpaper app (available on the Play Market) that bypasses MIUI restrictions and allows you to:

  • πŸ•’ To install video of any duration (but we recommend it) ≀ 1 minute).
  • 🎨 Customize zoom, playback speed and sound.
  • πŸ”„ Clock or reproduce once.
  • πŸ“± Work on the desktop and lock screen at the same time.

Step-by-step:

  1. Install Video Live Wallpaper from Play Market.
  2. Open the app and click "Select Video" - it will automatically scan the gallery.
  3. Select a file and set up parameters: πŸ”„ Loop Mode: Turn on for seamless looping. πŸ”Š Audio: turn off so as not to waste charge on sound playback. πŸ“ Scaling: Select Fit or Crop depending on the aspect ratio of the video.

"Set Wallpaper"

"Home screen and lock screen"

Critical detail: once you install wallpapers through this app, they can "slow down" when unlocked. To fix, go to Settings β†’ Applications β†’ Application Management β†’ Video Live Wallpaper β†’ Battery and select "No Limits" mode.

⚠️ Note: On some models (POCO F4 GT, Redmi K50 Pro) the application may conflict with MIUI Optimized Mode. To disable optimization, execute a command to ADB: adb shell settings put global miui_optimization_disable 1 Then restart the device.

Method 3: Use KLWP (for advanced users)

KLWP Live Wallpaper Maker is a customized live wallpaper tool that supports video, animation and even interactive elements, suitable for those who want more than just a video, but a unique dynamic background with a weather widget, time or device statistics.

Advantages of KLWP:

  • πŸŽ›οΈ Complete control over animation (speed, triggers, layers).
  • πŸ“Š Built-in variables for displaying data (battery charge, time, notifications).
  • πŸ–ΌοΈ Support for.gif,.apng and video at the same time.

How to set up:

  1. Install KLWP and KLWP Preset Pack (for pre-made templates).
  2. Open KLWP and select Load Preset β†’ Video (or create a new project).
  3. Add the element "Media" β†’ indicate the path to the video from the gallery.
  4. Set up the parameters: πŸ”„ Loop: turn it on to loop. 🎭 Filter: Add blur or color effects to save battery. πŸ“± Touch: adjust the tap response (e.g. pause/playback).

"Set Wallpaper"

To speed up KLWP on weak devices (Redmi 9A, POCO M3), turn off unnecessary layers and reduce the video resolution to 720p.

How to remove the KLWP watermark?
The free version of KLWP displays the app logo in the lower right corner.To remove it: 1. Buy KLWP Pro Key from the Play Market (~200 rubles. 2. Or use a patch through Lucky Patcher (not recommended - can block a Google account). 3. Alternative: overlay an opaque element (for example, a weather widget) over the watermark.

Method 4: Manually create APKs with live wallpaper (for enthusiasts)

This method is suitable for those who want to embed video wallpaper in the system so that they appear in the standard MIUI menu.

  • πŸ’» PC with Android Studio installed.
  • πŸ“± Smartphone with unlocked bootloader (Xiaomi requires waiting) 7-14 days after requesting unblocking).
  • πŸ”§ Knowledge of the basics ADB and working with.apk files.

Algorithm of action:

  1. Download the LiveWallpaperTemplate template from GitHub.
  2. Place your video in the res/raw/project folder and rename it to wallpaper.mp4.
  3. Open the WallpaperService.java file and set up the settings: // Set duration (in ms) and scaling setVideoDuration(30000); // 30 SetVideoScalingMode(VIDEO_SCALING_MODE_FIT_XY);
  4. Get your project together in Android Studio (Build β†’ Build Bundle(s) / APK(s) β†’ Build APK).
  5. Transfer the resulting.apk to your smartphone and install: adb install your_wallpaper.apk
  6. Now your wallpaper will appear in Settings β†’ Wallpaper β†’ Live wallpaper as a system solution.

⚠️ Attention: Incorrect assembly APK This can cause the system process to crash com.android.systemui. Before experimenting, backup your system with adb backup or Mi Cloud.

<meta-data android:name="android.service.wallpaper.supportsHardwareAcceleration" android:value="false" />

Optimizing the battery when using live wallpaper

Live wallpaper can eat up to 20% of the charge in 8 hours of active use, to minimize the consumption of:

Problem.DecisionSaving charge
High screen brightnessSet adaptive brightness or limit to 60%+10-15%
Update frequency 120 HzSwitch to 60Hz in Settings β†’ Display+8-12%
Videos in 4K/60FPSConvert to 720p/30FPS+20-25%
Background activity of the applicationTurn off autostart in Settings β†’ Applications β†’ Autostart Management+5-10%

Additional advice:

  • πŸŒ™ Use the dark wallpaper on AMOLED-screens (Redmi) K60 Pro, Xiaomi 13 Ultra – black pixels do not consume energy.
  • ⏳ Set a timer for wallpaper (for example, only during the day) via Tasker or MacroDroid.
  • πŸ”‹ Enable Battery Mode in Settings β†’ Battery β†’ Battery mode β†’ Balanced.

πŸ’‘

On devices with a Snapdragon 8 Gen 2 processor (such as the Xiaomi 13T Pro), live wallpaper consumes 30-40% less power thanks to hardware decoding of AV1 and H.265 video.

Problem Solving: Why Aren't Wallpapers Working?

If after setting the wallpaper is not displayed or slowed down, check:

  • πŸ“ The path to the file: the video must be stored in internal memory (not on the computer). SD-Put it in a folder. /storage/emulated/0/DCIM/.
  • πŸ”§ Codecs: MIUI supportive VP9 and AV1. Recode the video into H.264 via HandBrake.
  • πŸ”‹ Optimization MIUI: Turn it off for the wallpaper app in Settings β†’ Annexes β†’ Application management β†’ [Title of the annex] β†’ Battery β†’ No restrictions.
  • πŸ“± Performance: On devices with ≀ 4 GB of RAM (Redmi) 9C, POCO C31) Suspend background processes through Developer Options (enable Settings) β†’ The phone. β†’ Version. MIUI β†’ 7 times to tap).

If the wallpaper works, but slows down:

  1. Reduce the video resolution to 720p.
  2. Turn off animation in MIUI: Settings β†’ Additional β†’ System animation β†’ No animation.
  3. Reset the cache of the wallpaper app: Settings β†’ Apps β†’ [Application] β†’ Storage β†’ Clear the cache.
How to check codec support on your Xiaomi?
Install DevCheck from Play Market and go to Hardware β†’ Video Codecs. If the H.264 Decoder is Yes, your device supports standard live wallpaper.

FAQ: Frequent questions about live wallpaper on Xiaomi

Can I put a live wallpaper from TikTok or Instagram?
Yes, but download watermarked videos first (use Snaptube or InSaver).Then trim the video to 30 seconds and convert to MP4 (H.264) via CapCut. Important: Social media videos often have a high bitrate - lower it to 5-8 Mbps for stable performance.
Why do live wallpapers only work on the lock screen?
This is a MIUI limitation to save charge. To make wallpapers appear on your desktop: Use Video Live Wallpaper or KLWP (see Methods 2 and 3). Enable the option "Apply to the home screen" when you set up. On some firmware (MIUI EU) this restriction is removed - consider flashing.
How to make a live wallpaper from GIF?
GIF-The files can be converted to video via EZGIF.com or GIF to MP4 (Play Market. Optimal settings: Resolution: ≀ 1080p. FPS: 24-30 Personnel/s. Duration: ≀ 15 Then use the resulting loop.mp4 file in any of the above methods.
Can I use the Always-On Display (AOD)?
On most Xiaomi devices (except flagships Xiaomi) 13/14 Ultra) AOD It only supports static wallpaper. AMOLED From Play Market. Select Custom Background mode and upload.gif or short video. Limit display time to 10 - Just a few seconds to keep the battery running. POCO F5 Pro and Redmi. K60 Pro AMOLED-The screens can be activated by the hidden function ADB: adb shell settings put secure doze_always_on 1 But it'll turn off the standard. AOD from MIUI.
How to remove the wallpaper and return the standard?
If the wallpaper was installed through: Standard settings MIUI: tap-tap β†’ "Wallpaper" β†’ Select a static image. App side: Go to the app settings (e.g. Video Live Wallpaper) and click "Delete Wallpaper". KLWP: open the app β†’ long-tail β†’ "If you have a black screen after deleting, restart the device or reset the launcher settings: Settings β†’ Annexes β†’ Application management β†’ Launcher β†’ Warehouse β†’ Clear the data.