How to bring Yandex Music to the lock screen Xiaomi: all ways + problem solving

Xiaomiโ€™s lock screen is not just a random tap protection, but also a convenient space for managing multimedia. Many users want to see Yandex Music player directly on the locked screen to quickly switch tracks or pause without unlocking the phone. However, standard MIUI settings do not always allow this to be done automatically โ€“ especially if it is a third-party application.

In this article, weโ€™ll look at all the working ways to bring a player to the lock screen, including hidden settings MIUI, bypassing restrictions for new firmware versions, and solving typical problems (for example, when a widget disappears after an update or reboot). The instructions are valid for all modern Xiaomi, Redmi, POCO and Black Shark devices based on MIUI 12โ€“14 and HyperOS.

Special attention will be paid to the unique bug in MIUI 14.0.4-14.0.6, due to which the widgets of third-party players may not be displayed even with the right settings - and show how to get around it without resetting the phone.

Why is Yandex Music not shown on the lock screen?

Before you go to the settings, it is important to understand the causes of the problem. MIUI has several pitfalls that block the display of widgets:

  • ๐Ÿ”’ Energy saving limitations: The system can automatically โ€œfreezeโ€ Yandex Music background processes unless the application is added to the exceptions.
  • ๐Ÿ“ฑ Notification settings: In the newer versions of MIUI, widgets on the lock screen are tied to notifications โ€” if they are disabled, the player will not appear.
  • ๐Ÿ”„ Conflict with other players: If you run Google Play Music, Spotify or the standard Mi Music player at the same time, the system may give priority to them.
  • ๐Ÿ› ๏ธ Firmware bugs: MIUI 14 has documented instances where third-party app widgets are not displayed due to an error in the com.android.systemui service.

Another common reason is that the permissions for the application are incorrect, for example, if Yandex Music does not have access to Overlay (displaying over other windows), the widget will not be able to appear on the locked screen.

โš ๏ธ Warning: If you are using MIUI 13 or older with Second Space enabled, the widgets may not work in one of the profiles. Try switching to the main space or disabling this option in Settings โ†’ Special Options โ†’ Second Space.

Method 1: Set up notifications (works 90% of the time)

The simplest and most universal method is to include notifications for Yandex Music and give them priority.

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Find Yandex Music in the list and tap it.
  3. Go to the Notifications section.
  4. Activate the Allow Notifications switch.
  5. Select the Reproduction (or Media) category below and prioritize Important or High.
  6. Go back and turn on the option to Show on the lock screen (some versions of MIUI call it Sensitive Notifications).

Then, run any track in Yandex Music and lock the screen. The player should appear in 2-3 seconds. If not, check if the notifications at the system level are disabled:

  • ๐Ÿ“ต Go to Settings โ†’ Notifications and Status bar โ†’ Notifications on the Lock screen.
  • ๐Ÿ”“ Make sure to select Display the content of notifications (do not Hide content).
  • ๐Ÿšซ If you have to do Do Not Disturb, temporarily turn it off.

Make sure Yandex Music is updated to the latest version|

Check that the application is not blocked in "Battery Optimization" |

Disable VPN (it can block media notifications) |

Reboot your phone after the changes-->

Method 2: Permissions for overlay and autorun

If the notifications are set up correctly, but the player still does not appear, the problem may be in the lack of critical permissions.

  1. Display over other windows (for the widget on the lock).
  2. Auto-run (to make the player work in the background).
  3. Modification of system settings (for some versions of MIUI).

How to enable these permissions:

  1. Go to Settings โ†’ Applications โ†’ Application Management โ†’ Yandex Music โ†’ Permissions.
  2. Activate all switches associated with Overlay, Auto Start, and Notifications.
  3. If the system settings modification option is not on the list, use the hidden menu:
Enter in the dialer phone number:
##4636##


Go to "Phone Information" โ†’ "Running Apps"




Find Yandex Music and turn on all the boxes.

After that, restart the application and check the player's display. If the widget never appeared, try clearing the Yandex Music cache:

  • ๐Ÿงน Settings โ†’ Applications โ†’ Yandex Music โ†’ Storage โ†’ Clear cache.
  • ๐Ÿ”„ Reboot the phone.

โš ๏ธ Warning: In MIUI 14 on some devices (Xiaomi 13 Pro, Redmi Note 12 Pro+) after cleaning the cache, you may need to re-authorize to Yandex Music.

Method 3: Bypassing restrictions through ADB (for advanced)

If standard methods don't work, you can use the ADB debugging bridge to manually give Yandex Music maximum rights, a method that is suitable for users who are not afraid of the command line.

You'll need:

  • ๐Ÿ–ฅ๏ธ Computer with installed ADB Tools.
  • ๐Ÿ“ฑ Included Debugging on USB on your phone (Settings โ†’ About Phone โ†’ Version MIUI โ†’ 7 times tap on version number โ†’ Return to Additional โ†’ For Developers โ†’ Debugging on USB).
  • ๐Ÿ”Œ USB-cable (preferably original).

Instructions:

  1. Connect the phone to the PC and confirm the debugging permission.
  2. Open the command line (Windows) or terminal (macOS/Linux) in the adb folder.
  3. Enter the commands in turn:
adb shell


pm grant ru.yandex.music android.permission.SYSTEM_ALERT_WINDOW




pm grant ru.yandex.music android.permission.FOREGROUND_SERVICE




pm grant ru.yandex.music android.permission.BIND_NOTIFICATION_LISTENER_SERVICE




settings put global zen_mode_allow_list ru.yandex.music

After completing the commands, restart the phone. Now the Yandex Music widget should appear on the lock screen even if this has not happened before.

ADB Team TeamWhat's he doing?Should I reboot?
pm grant ... SYSTEM_ALERT_WINDOWAllows overlay (display over other windows)โŒ No.
pm grant ... FOREGROUND_SERVICEAllows you to work in the background without restrictionsโŒ No.
settings put global zen_mode_allow_listAdds an appendix to the "Do Not Disturb" exceptionsโœ… Yes.
What if the ADB does not recognize the device?
1. Make sure that the Xiaomi drivers are installed (download from the official site). 2. Try another USB- cable (not all support data transfer). 3. Include the developer's Debugging option on USB (Secure Mode). 4. Reboot your phone and PC. 5. If you use Windows, start the command line on behalf of the administrator.

Method 4: Use of third-party widgets (alternative)

If none of these things worked, you can go around the way by installing a music control widget that will be displayed on the lock screen.

  • ๐ŸŽต Musicolet is a lightweight player with lock widget support (works even without the internet).
  • ๐Ÿ”„ Poweramp โ€“ has a built-in display option on a locked screen (in settings: Widgets โ†’ Lock screen).
  • ๐Ÿ“ฑ KWGT Kustom Widget โ€“ allows you to create a custom widget for Yandex Music (requires customization skills).

How to set up Musicolet:

  1. Install the app from Google Play.
  2. Open Settings โ†’ Widgets โ†’ Lock screen widget.
  3. Select the display style and activate the option to Show on the locked screen.
  4. Run the music through Musicolet โ€“ the widget will appear automatically.

For KWGT, additional configuration will be required:

  1. Download KWGT and any template for Yandex Music (for example, Yandex Music Widget in the KWGT community).
  2. Import the template and link it to Yandex Music via Music Variables.
  3. Add the widget to the main screen, then drag it to the lock screen (in some firmware this is done through Settings โ†’ Lock screen โ†’ Widgets).

Set up notifications |

Permits for overlay |

ADB-team|

Third-party widgets |

Problem unresolved-->

Problem Solving: Widget is Lost or Not Updated

Even after successful configuration of the Yandex Music player, it can disappear or work incorrectly. Let's consider typical scenarios and their solutions:

Problem.Possible causeDecision
The widget disappears after the rebootResetting system permitsRepeat permission settings (Method 2) or use ADB (Method 3)
The player is not updated (frozen on one track)Limitation of background activityAdd Yandex Music to Battery Exceptions: Settings โ†’ Battery โ†’ Battery Optimization โ†’ All Applications โ†’ Yandex Music โ†’ Without Limits
The widget appears, but without the album coverMedia cache errorClear the Yandex Music and Data cache of Android Media Storage (in the application settings)
The player is only displayed after unlocking.Privacy settingsEnable the contents of notifications to be displayed on the lock screen (Method 1, step 6)

If the widget has stopped appearing after the MIUI update, try:

  1. Remove Yandex Music Updates via Settings โ†’ Applications โ†’ Yandex Music โ†’ โ˜ฐ โ†’ Remove Updates.
  2. Install an older version of the application (e.g. 5.40.0 โ€“ it works with MIUI 12โ€“13).

๐Ÿ’ก

If the widget stopped working after the MIUI update, try resetting the lock screen settings to the standard: Settings โ†’ Lock screen โ†’ Reset. This will not delete your data, but return the standard lock view, after which you can reconfigure the widget.

Features for different Xiaomi models

Some Xiaomi devices have unique nuances when displaying widgets on the lock screen.

  • ๐Ÿ“ฑ Xiaomi 13/13 Pro (HyperOS): Third-party player widgets are disabled by default. To activate them, you need to manually add Yandex Music to Settings โ†’ Lock screen โ†’ Widgets โ†’ Add widgets.
  • ๐ŸŽฎ Black Shark 5/6: Because of JoyUI's gaming firmware, widgets may not work, so the solution is to install Google Play Music as the default player and use its widget.
  • ๐Ÿ“ฒ Redmi Note 10-12: These models often have an Adaptive Battery that blocks the background of the player. Turn it off in Settings โ†’ Battery โ†’ Adaptive Battery.
  • ๐Ÿ’ก POCO F4/F5: Here, lock widgets are controlled via Settings โ†’ Always-on display and lock screen โ†’ Widgets. Yandex Music needs to be added manually.

For devices with AMOLED- screens (for example, Xiaomi 12T or Redmi K50), there is an additional option - display the player on Always-On Display (AOD).

  1. Go to Settings โ†’ Always-on display and lock screen โ†’ AOD settings.
  2. Choose the style of Music or Custom.
  3. Make sure that Yandex Music settings include high priority notifications (Method 1).

๐Ÿ’ก

On HyperOS devices (Xiaomi 14, 13T), widgets are configured differently than in the classic MIUI. Use the path: Settings โ†’ Personalization โ†’ Lock screen โ†’ Widgets and manually add Yandex Music to the list of allowed ones.

FAQ: Frequent questions

๐Ÿ” Why does Yandex Music widget appear only after unlocking?
This is due to the privacy settings in MIUI. Go to Settings โ†’ Notifications and Status bar โ†’ Notifications on the lock screen and select Show the contents of notifications (do not Hide content). Also check that Sensitive Notifications are enabled for Yandex Music.
๐Ÿ”„ How to return the widget after the MIUI update?
Updates often reset permissions. Repeat the steps from Method 2 (overlay and autorun permissions). If that doesn't work, clear the Settings app cache (Settings โ†’ Apps โ†’ Settings โ†’ Storage โ†’ Clear cache) and restart the phone.
๐ŸŽต Can I bring the player to the lock screen without notification?
Technically not, in MIUI, lock widgets are tied to notifications, but you can use a workaround: install Musicolet or Poweramp, which have their own display mechanisms on the locked screen (regardless of system notifications).
๐Ÿšซ The widget appears, but it doesn't respond to the press. What do we do?
This is a bug MIUI 14 related to the conflict of services. Try: Turn off Game Mode in the settings. Add Yandex Music to the Optimization exceptions MIUI (Settings โ†’ Special Opportunities โ†’ Optimization MIUI) Install an alternative launcher (e.g., Nova Launcher) โ€” sometimes this solves the tap problem.
๐Ÿ“ฑ Does this method work on Xiaomi with global firmware?
Yes, the instructions are valid for all firmware versions (including Global, EEA, and China), except for HyperOS devices (such as Xiaomi 14), where the path to widget settings is slightly changed (see Features for different models).