Xiaomi and Redmi smartphone owners often face an annoying situation: after listening to a track or watching a video, a music player widget remains on a locked screen, which not only covers part of the wallpaper, but can accidentally start playback in your pocket, especially on the shells of MIUI and the new HyperOS, where system widgets take precedence over user settings.
There are several effective ways to get rid of this interface element. Some methods require simple switching of switches in settings, while others involve deeper interference with the operation of system applications. In this guide, we will discuss all the current solutions, from simple to advanced, so you can choose the most suitable for your model.
Before we take any drastic measures, we need to understand the nature of this element, and most often the culprit is the built-in Mi Music app, which is set to display the play controller by default, but YouTube, Yandex.Music or third-party audio players can display similar behavior if they are allowed to be displayed on the lock screen.
Disabling the system widget through the theme settings
The easiest and most secure method that works in most cases is with the system design settings. The MIUI shell allows you to flexibly configure lock screen elements, including hours, notifications and a media controller. If you have a standard theme installed, the option can be hidden, but in most cases it is available.
To start, you need to go to your device's settings menu, find the look section and select "Lock screen" where the main switches that control the visibility of the various widgets are hidden, and look for an option called "Show music controller" or "Music on lock screen."
If you're using a third-party theme from GetThemes, the path may be different, and some theme designers are forced to include it, and standard means don't remove it, so it's good to go back to a classic theme or install a customized design where it's not included.
- 🎵 Go to Settings. → Lock screen and find the media controller switch.
- 🎨 Try changing the theme to the standard “Classic” through the “Themes” app».
- 🔍 In the search for settings, enter the word “block” to quickly find the desired section.
⚠️ Note: After upgrading to the new version MIUI or HyperOS theme settings can reset to factory values and the slider will turn on again.
💡
If the switch is not in the settings, try temporarily installing any other theme, disabling the widget in it, and then returning your favorite theme.
Managing permissions for the Mi Music app
Often the problem is not the interface itself, but the aggressive behavior of the Mi Music app. Even if you didn't run it directly, it can scan the backgrounds of audio files and offer playback controls. Restricting the rights of this component is an effective way to combat intrusiveness.
You'll need to open your app settings and find Music (usually with an orange note logo) in the "Other Permissions" or "Other Permits" section, where we're interested in accessing the device, notifications, and, most importantly, the right to display on top of other windows.
Disabling the right to “Map on top of other applications” often solves the problem instantly, the system stops allowing the player to draw its interface on top of the lock screen, but this can affect the performance of the music widget on the desktop, if you use it.
Settings → Applications → All Apps → Music → Permissions → Display on top of other windows (Off)You should also pay attention to auto-run, and if the Mi Music app is eligible to auto-run, it will activate when you turn on the phone and offer track control immediately, and disabling this feature will reduce battery load and remove unnecessary elements.
☑️ Checking the rights of the Mi Music application
Set up notifications and the Media Playback channel
In modern versions of Android, starting with the 10th and up, multimedia management is often implemented through a special notification channel. The player on the lock screen is essentially a sticky notification with a high priority. By managing notification categories, you can hide this element.
Go to the notification settings for the app you use to listen to (e.g. Spotify, Yandex.Music or system player). Inside the notification menu, find the category Media Playback, which is responsible for the appearance of the controller.
In some Xiaomi shells, you can't completely disable this channel, but you can change its importance. If you lower the notification priority or prevent it from displaying on the lock screen, the widget will disappear, although the sound will continue to play.
| Type of application | Name of the channel | Action. | The result |
|---|---|---|---|
| Systems (Mi Music) | Reproduction | Ban the lock screen | Player hidden |
| Yandex.Music | Tracks. | Turn off the notification sound | The widget stays, but without sound. |
| VLC Player | Audio output | Complete channel shutdown | Player disappears |
| YouTube | Background reproduction | Reduce priority | Less noticeable. |
Remember that disabling media play notifications can make it impossible for you to see the title of the current track and switch songs without unlocking your smartphone.
Use of third-party launchers and blockers
If standard MIUI tools don't work, you can use third-party software to replace the standard lock screen, which is a radical but 100% workable method, and there are applications that completely replace the lock screen with a more functional and customizable one.
One popular solution is Hi Locker or CM Locker. Once installed, they take over the function of displaying time, date and notifications. Xiaomi system player in such conditions simply cannot be displayed, since a third-party launcher blocks access to the standard lock interface.
But it has its downsides: Third-party blockers consume more battery power because they require constant activity in the background, and they can conflict with security features like facial recognition or fingerprinting.
⚠️ Note: When installing a third-party lock screen, the system may issue security alerts all the time, and you will have to manually confirm your use of the app each time you restart.
The alternative is to use notification “blocker” apps like Notification Blocker, which allow you to create rules like “if the Mi Music app created a Media-type notification, hide it,” a more subtle setting that doesn’t require replacing the entire lock screen.
Radical methods: disabling system components
For advanced users who are willing to sacrifice functionality for a clean interface, there is a method of completely disabling the system component of music. ADB (Android Debug Bridge from your computer.
The method is to freeze or remove the system package responsible for the music service. On Xiaomi devices, it is usually the com.miui.player package. Once it is disabled, the system will not physically be able to start the process that creates a widget on the lock screen.
To perform the operation, you need to enable debugging over USB in the “Developers” menu, connect the phone to the PC and execute a command via the ADB console. This action is irreversible without reconnecting to the computer, so be careful.
adb shell pm disable-user --user 0 com.miui.playerThe return to the original state is made by the command adb shell pm enable com.miui.player. It is important to understand that after such manipulation, the regular player will stop opening, and you will have to install an alternative from Google Play, for example, PowerAmp or Musicolet.
Risks of using ADB
💡
Disabling the system package via ADB is the only way to guarantee that the player will be removed if it is caused by a deep system bug or integration into the firmware.
Frequent problems and their solutions
Even after you have completed all the settings, users may experience relapses, such as a widget returning after you update a particular app or change the region in your phone settings.
Sometimes the problem lies in the cache of a media service. If there is an error in the database of music files, the system can constantly try to display the controller.
It’s also worth checking the Mi Turbo Boost settings, which sometimes force the player to be active in the background for a “fast start” that leads to a widget. Adding a player to the optimization exception list can help.
- 🔄 Clean the cache of the Music app through the storage menu.
- 📂 Check the Downloads folder: Sometimes a downloaded audio file without tags causes a player to crash.
- 🌐 Changing the region in your phone settings (such as India or the US) can change the set of system widgets.