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.
- Open Settings โ Applications โ Application Management.
- Find Yandex Music in the list and tap it.
- Go to the Notifications section.
- Activate the Allow Notifications switch.
- Select the Reproduction (or Media) category below and prioritize Important or High.
- 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.
- Display over other windows (for the widget on the lock).
- Auto-run (to make the player work in the background).
- Modification of system settings (for some versions of MIUI).
How to enable these permissions:
- Go to Settings โ Applications โ Application Management โ Yandex Music โ Permissions.
- Activate all switches associated with Overlay, Auto Start, and Notifications.
- 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:
- Connect the phone to the PC and confirm the debugging permission.
- Open the command line (Windows) or terminal (macOS/Linux) in the adb folder.
- 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.musicAfter 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 Team | What's he doing? | Should I reboot? |
|---|---|---|
| pm grant ... SYSTEM_ALERT_WINDOW | Allows overlay (display over other windows) | โ No. |
| pm grant ... FOREGROUND_SERVICE | Allows you to work in the background without restrictions | โ No. |
| settings put global zen_mode_allow_list | Adds an appendix to the "Do Not Disturb" exceptions | โ Yes. |
What if the ADB does not recognize the device?
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:
- Install the app from Google Play.
- Open Settings โ Widgets โ Lock screen widget.
- Select the display style and activate the option to Show on the locked screen.
- Run the music through Musicolet โ the widget will appear automatically.
For KWGT, additional configuration will be required:
- Download KWGT and any template for Yandex Music (for example, Yandex Music Widget in the KWGT community).
- Import the template and link it to Yandex Music via Music Variables.
- 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 cause | Decision |
|---|---|---|
| The widget disappears after the reboot | Resetting system permits | Repeat permission settings (Method 2) or use ADB (Method 3) |
| The player is not updated (frozen on one track) | Limitation of background activity | Add Yandex Music to Battery Exceptions: Settings โ Battery โ Battery Optimization โ All Applications โ Yandex Music โ Without Limits |
| The widget appears, but without the album cover | Media cache error | Clear the Yandex Music and Data cache of Android Media Storage (in the application settings) |
| The player is only displayed after unlocking. | Privacy settings | Enable 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:
- Remove Yandex Music Updates via Settings โ Applications โ Yandex Music โ โฐ โ Remove Updates.
- 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).
- Go to Settings โ Always-on display and lock screen โ AOD settings.
- Choose the style of Music or Custom.
- 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.