Setup widgets on the lock screen Xiaomi: the complete guide from A to Z

Xiaomi’s lock screen is not just a random tap protection, but a real dashboard that can be customized to suit your needs. Widgets display weather, notifications, quick actions and even health data, but not everyone knows how to set them up properly. In this article, we will discuss all ways to change widgets – from basic to hidden functions. MIUI, The models that work from Redmi Note 10 to Xiaomi 14 Ultra.

It's important to understand that customization options depend on the firmware version. MIUI 14 appeared an advanced widget editor, and in earlier versions (for example, MIUI 12.5) some of the features may not be available. We'll take these nuances into account and show you the universal methods that work on most devices. If you want to not just change the widgets, but make the lock screen as functional as possible, read on.

Why don’t the widgets on Xiaomi’s lock screen change?

A common problem for users is that they can't edit widgets even though they have a specific option in their settings.

  • πŸ”’ Blocked system settings: On some firmware (especially global ones), the manufacturer restricts access to customization.
  • πŸ“± An outdated version MIUI. In the firmware below MIUI 12 The widget editor may be missing or not working properly.
  • πŸ”§ Disabled permissions: If you have previously restricted access to system applications (e.g. through Settings) β†’ Annexes β†’ Permissions, this could block the function.
  • πŸ› οΈ Damaged theme files. If you installed custom themes from Theme Store, they could overwrite the standard settings.

Before you start setting up, check the version. MIUI In Settings β†’ If it's below 12th, update the firmware through Settings. β†’ System update. Also make sure you don't have Child Mode or Guest Mode activated -- they block widget change.

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

Ways to change widgets on the lock screen

V MIUI There are three main methods of customizing widgets: through a standard editor, using themes and manually (for advanced users.

1. Standard widget editor (MIUI 12 and above)

This is the easiest way that works on most modern Xiaomi devices.

  1. Unlock the phone and swipe right on the home screen to open the widget bar.
  2. Scroll down and click on the Edit button (pencil icon).
  3. In the menu that opens, select the Lock Screen tab.
  4. Here you'll see the available widgets: Weather, Calendar, Steps, Music, and more. Drag them in the right order or remove the unnecessary ones by clicking on the cross.
  5. Save the changes with the Ready button.

Please note: in MIUI 14 it became possible to add widgets from third-party applications (for example, Google Keep or Spotify), but to do this, you need to first allow them to access notifications in Settings. β†’ Notifications.

β˜‘οΈ Preparation for changing widgets

Done: 0 / 4

2. Customization through themes (for all versions) MIUI)

If the standard editor doesn't offer the flexibility you need, you can use Theme Store. Many themes change not only wallpaper and icons, but also the layout of the lock screen. For example, the Minimal Lock theme removes all widgets, leaving only the time and date, and Info Heavy adds extended weather and calendar.

How to apply the topic:

  1. Open the Themes app (brush icon).
  2. Go to the Lock Screen section.
  3. Select your favorite theme and click Apply.
  4. After application, some themes allow you to further customize widgets through Settings β†’ Lock screen β†’ Additionally.

⚠️ Attention: Some Theme Store themes may contain ads or collect data. Read reviews and ratings before installing. Also, after changing the theme, the order of widgets may reset - be prepared to reconfigure them.

3. Manual editing (for advanced users)

If you need more control, you can manually change your system settings files, which requires root rights or use. ADB, This is only suitable for experienced users.

The main files responsible for lock screen widgets:

/data/system/lockscreen_widgets_config.xml


/data/system/miui_lockscreen_customize.xml

To edit them:

  1. Connect your phone to your PC and activate USB Debugging in Settings β†’ About Phone β†’ MIUI version (click 7 times, then return to Additional β†’ For Developers).
  2. Use the command: adb pull /data/system/lockscreen_widgets_config.xml download the file on the PC.
  3. Open it in a text editor (like Notepad).++) And you can change the parameters of the widgets. <widget id="weather" enabled="true" position="1"/> responsible for the weather widget.
  4. Save the file and download it back: adb push lockscreen_widgets_config.xml /data/system/ adb shell chmod 644 /data/system/lockscreen_widgets_config.xml
  5. Reboot the phone.

⚠️ Warning: Incorrect editing of system files can lead to bootloop (cyclic reboot).Before changes, back up via Settings β†’ Additionally. β†’ Backup and reset.

What if the phone doesn’t turn on after editing files?
If Xiaomi does not boot after manual editing system files, try: 1. Log in Recovery Mode (clip Power). + Volume up). 2. Select Wipe & Reset β†’ Wipe All Data (this will reset settings but save files). 3. If it doesn't work, run your phone through the Mi Flash Tool with clean firmware. This method will delete all data, so use it only as a last resort.

What widgets can be added to the lock screen Xiaomi?

The list of available widgets depends on the phone model and version MIUI, But in most cases, you can use it:

Type of widgetDescriptionDoes third party software need to be used?
Weather.Temperature, 5-day forecast, humidity, data from Mi Weather.No.
CalendarCurrent date and upcoming events from Google Calendar or Mi Calendar.No (but you need permissions for the calendar)
Steps/FitnessData from Mi Fitness or Google Fit: steps, calories, pulse.Yes (to install the appendix)
Music.Manage playback from Mi Music, Spotify or YouTube Music.For third-party players, yes.
Quick actionLabels for flashlight, camera, voice assistant.No.
Smart home.Managing Mi Home devices (lamps, sockets, robot vacuum cleaners).Yes (to connect devices)

On models with Always-On Display (for example, Xiaomi 13 Pro or Redmi) K60 Pro) some widgets are displayed even on the screen turned off. To set them, go to Settings β†’ Always-On Display and Lockdown β†’ Setting up AOD.

πŸ’‘

If you are missing standard widgets, try the app. KWGT Kustom Widget Maker from Google Play. It allows you to create custom widgets and add them to the lock screen through Settings β†’ Lock screen β†’ Additional widgets, you need to be allowed to do this beforehand. KWGT display over other applications.

How to remove unnecessary widgets from the lock screen

If you are annoyed by extra elements (for example, banner ads or Mi Video widget), you can turn them off.

1. Through lock screen settings

The safest method:

  1. Go to Settings β†’ Lock screen.
  2. Select Widgets or Additional Settings.
  3. Turn off unnecessary items by moving the slider to the right.
  4. To completely remove, click on the widget and select Remove.

On some firmware (e.g, MIUI 13 Global) Mi Video and Mi Browser widgets cannot be removed in the standard way, but their binding is sewn into system files.

2. By disabling system applications

If the widget is tied to an unnecessary application (e.g., Mi Video), you can disable the application itself:

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. Find the app you want to remove (such as Video or Browser).
  3. Click Disable (if the button is inactive, click Stop first).
  4. Confirm the action and restart the phone.

⚠️ Warning: Disabling system applications may cause malfunctions MIUI. For example, if you turn off Mi Weather, the weather widget will stop working!

3. Through ADB (pendant)

Some widgets (such as advertising) are not removed in the standard way. ADB:

adb shell pm hide com.miui.video # hides Mi Video


adb shell pm hide com.android.browser # hides Mi Browser

Once you've done the commands, restart your phone. To return the widgets, use:

adb shell pm unhide com.miui.video

πŸ’‘

If after disabling system applications there are errors (for example, the wallpaper disappeared or the unlock animation stopped working), restore them through Settings. β†’ Annexes β†’ Show all applications β†’ Turn on.

Problems with widgets on the lock screen and their solutions

Even when you set up the widgets correctly, they may not work properly, so let's look at the typical problems and how to solve them.

Problem.Possible causeDecision
Widgets not updatedNo Internet or background activity of applications blockedCheck the connection and allow auto-run for widgets in Settings β†’ Battery β†’ Auto-start
Weather widget shows incorrect dataMi Weather App's incorrect location or cacheUpdate location in Settings β†’ Location and clear Mi Weather cache
Widgets disappear after rebootFailure in the configuration file or conflict of topicsReset the lock screen settings in Settings β†’ Lock screen β†’ Reset
You can't drag widgets.Blocked editor or enabled mode for childrenTurn off restrictions in Settings β†’ Special facilities β†’ Regime for children

If the weather widget shows the wrong temperature, try manually specifying the city:

  1. Open the Weather app.
  2. Click on the three dots in the top right corner and select City Management.
  3. Add your city by hand.
  4. Return to the lock screen and update the widget swipe down.

For fitness widgets (steps, pulse) make sure the Mi Fitness app or Google Fit has access to the phone's sensors. check permissions in Settings β†’ Annexes β†’ Permits β†’ Sensors.

Hidden functions of widgets on the lock screen

V MIUI There are a few unobvious possibilities that not everyone knows about:

  • πŸ” Double-click on the widget. on some models (e.g. Xiaomi) 12T) Double tap on the weather widget opens an extended forecast, and on the music widget – player.
  • πŸ“± Dynamic wallpaper with widgets. β†’ Select Super Wallpaper (like Mars or Earth) and they automatically adjust the widgets to the theme.
  • πŸ”„ Automatic widget change. MIUI 14 there is a function Smart lock, which changes widgets depending on the time of day (for example, in the morning shows the weather, in the evening – music).
  • πŸ”’ Hidden widgets for guest mode. If you turn Guest mode on in Settings β†’ System and device β†’ Additionally, only basic widgets (time, date) will be displayed on the lock screen (time, date).

On models with Snapdragon 8 Gen 2 chip (e.g. Xiaomi 13 or Redmi) K60 Pro) widgets are updated in real time without delay thanks to Low Power Island technology, which means that the weather or pedometer will show up-to-date data even with minimal battery consumption.

Another hidden feature is Time Only. If you want maximum privacy, activate it in Settings. β†’ Lock screen β†’ Locking style β†’ In this case, all widgets except the clock will be hidden.

πŸ’‘

To quickly return standard widgets after experimenting with themes, reset via Settings. β†’ Lock screen β†’ Reset. It won't delete your data, but it will return the original layout.

FAQ: Frequent questions about widgets on Xiaomi lock screen

Can I add a Viber or Telegram widget to the lock screen?
No, MIUI does not support messenger widgets on the lock screen for security reasons, however, you can enable notifications from these apps to be displayed in Settings β†’ Notifications β†’ Lock screen.
Why did all the widgets disappear after the MIUI update?
This is standard behavior for major updates (e.g., with a MIUI 13 on MIUI 14) The system resets the lock screen settings for compatibility. To return the widgets, go to the editor (Settings) β†’ Lock screen β†’ Widgets) and reconfigure them.
How to make a weather widget show data from AccuWeather or Gismeteo?
Xiaomi uses its own weather sources by default, but you can replace them: Install the AccuWeather or Gismeteo app from Google Play. Open it and allow access to the location. β†’ Annexes β†’ By default, select the new weather app as the main one. Reboot the phone - the widget on the lock screen will be updated. ⚠️ On some firmware, this method does not work due to limitations. MIUI.
Can I change the size of the widgets on the lock screen?
In standard settings MIUI There is no widget size change feature, but you can: Use themes with different layouts (e.g. Compact Lock for small widgets). KWGT And you can create a custom widget with the right sizes. Some models (such as the Xiaomi Mix Fold) have a screen scale setting in Settings. β†’ Special facilities β†’ Screen size, but it will affect all interface elements.
How to return widgets after resetting the phone to factory settings?
After reset, all lock screen settings return to standard.To restore widgets: Restore backup from Settings β†’ Additionally. β†’ Backup and reset (if created before reset).If backup is not available, reset the widgets via Settings β†’ Lock screen β†’ Widgets: Make sure all the necessary applications (such as Mi Fitness for step widget) are installed and have the right permissions.