How to permanently remove advertising in the app Music on Xiaomi: proven methods

Mi Music (or simply β€œMusic”) is pre-installed on all Xiaomi, Redmi and POCO smartphones running MIUI. Despite its user-friendly interface and integration with cloud storage, users are annoyed by aggressive advertising: banners between tracks, pop-ups at launch and even sound ads. In this article, we will analyze all the current ways to disable advertising – from standard settings to radical solutions for advanced users.

It is important to understand that some methods require superuser rights (root) or changes to system files, which can lead to loss of warranty and unstable operation of the device.

Why is Mi Music adverts appearing and can it be removed legally?

Mi Music is a Xiaomi system service that is monetized by displaying ads, and even if you don’t use a premium Mi Cloud subscription, developers are embedding ad modules into:

  • 🎡 Player screen (banners at the bottom)
  • πŸ“‹ Track list (pop-up windows when scrolling)
  • πŸ” Search section (contextual ads)
  • 🎧 Lock screen (notifications of β€œrecommended tracks")

Xiaomi does not officially offer the option of completely disabling ads without buying a premium account.

  1. Hiding Ads through MIUI (Partial Solution) settings
  2. Use of the ADB-Deactivation of Advertising Modules.
  3. Remove updates to the application or roll back to the old version.
  4. Replacing Mi Music with a third-party player (e.g. Poweramp or VLC)

⚠️ Attention: After update MIUI before the new version, some methods may stop working. MIUI 14 and newer ad blocking via hosts is often reset after rebooting.

πŸ“Š How often do you get annoyed by advertising in Mi Music?
Constantly, every time you launch.
Sometimes, but tolerably.
There's almost no advertising.
I'm using a different player.

Method 1: Disabling personalized advertising in MIUI settings

The safest method that doesn't require superuser rights is that it doesn't remove ads completely, but it cuts them down by 40 to 60 percent. MIUI 12–15:

  1. Open Settings β†’ Google β†’ Advertising.
  2. Turn off the option of "Personalized Advertising".
  3. Go back to the main settings and go to Settings β†’ Applications β†’ Application Management.
  4. Find Mi Music, open Permissions, and disable Notifications and Locations.

Additionally, you can limit the background activity of the application:

  • πŸ”„ In the same application management menu, select "Battery" β†’ "Limit background activity".
  • πŸ“΅ Turn off "Second Start" and "Secondary Start".

Disable personalized advertising on Google

Ban Notifications for Mi Music

Limit background activity

Delete the app cache

-->

This method doesn't remove banners completely, but ads will become less intrusive.It will take more radical steps to remove banners completely.

Method 2: Blocking Advertising through ADB (without root)

If you have a computer and USB-You can disable Mi Music advertising components using Android Debug Bridge (ADB). This method works on most Xiaomi devices, except models with a locked bootloader (for example, for European firmware, it may be necessary to unlock).

Step-by-step:

  1. Download ADB Tools and unpack the archive.
  2. On your smartphone, activate Settings β†’ About Phone β†’ MIUI version (click 7 times to turn on Developer Mode).
  3. Return to Settings β†’ Additional β†’ For developers and enable β€œDebugging by USB”.
  4. Connect your phone to your PC, open the command line in the ADB folder and do:
adb devices


adb shell pm hide com.miui.player:AdvertisingService




adb shell pm hide com.miui.player:RecommendService

If the commands are executed without errors, the ads in Mi Music will disappear after the reboot.

adb shell pm unhide com.miui.player:AdvertisingService

⚠️ Note: On some firmware (for example, MIUI Global) these commands may cause the application to crash. Before executing, back up the data via Settings β†’ System system β†’ Backup.

What if the ADB can’t see the device?
Make sure that Xiaomi drivers are installed (download from [official website](https://new.c.mi.com/global/miuidownload/index)). Try another one. USB-Cable (original preferably) Include the "Debugging by" option in the developer settings USB (security settings.” Restart your phone and PC.

Method 3: Remove Mi Music Updates (Return to the factory version)

Often, the ads appear after an app update via the Play Market or App Store, and the version of Mi Music preinstalled on the device may not contain ad modules to return it:

  1. Go to Settings β†’ Applications β†’ Application Management β†’ Mi Music.
  2. Click "Delete Updates" (the button will appear if the application has been updated).
  3. In the same menu, select "Storage" and clear "Cash" and "Data".
  4. Turn off automatic updates in the Play Market:
  • πŸ“± Open the Play Market and find Mi Music.
  • πŸ”„ Press three points. β†’ "Turn off auto-update".

The downside is that you lose all playlists and app settings, and some features (such as cloud sync) may not work properly.

MethodEfficiencyRisks.Need root?
MIUI settingsMedium (40–60%)No.❌ No.
ADB-teamHigh (80-90%)Possible app failures❌ No.
Retraction of the versionHigh (90%)Loss of data❌ No.
Editing by hostsHigh (95%)Reset after updateβœ… Yes.

Method 4: Edit the hosts file (root required)

This method blocks Xiaomi ad servers at the system level, suitable for users with unlocked bootloader and superuser rights.

  1. Install a file manager with root support (such as Root Explorer or FX File Explorer).
  2. Go to /system/etc/hosts and back up the file.
  3. Open the file in the text editor and add the following lines at the end:
127.0.0.1 ad.xiaomi.com


127.0.0.1 sdkconfig.ad.xiaomi.com




127.0.0.1 track.miui.com




127.0.0.1 api.ad.xiaomi.com

Save the changes, set 644 (rw-r--r---) rights, and restart the device. Advertising in Mi Music and other system applications must disappear.

πŸ’‘

If some features (such as checking for updates) have stopped working after editing hosts, delete the added lines and restart the phone.

To automate the process, you can use applications like AdAway (requires root), which update the list of blocked hosts automatically.

Method 5: Install an alternative music player

If neither method has helped or you don't want to risk the stability of the system, it's easier to switch to a third-party player.

  • 🎧 Poweramp is a paid, but 15-day trial. Supports equalizer, themes and cloud sync.
  • 🎡 VLC β€” Free, no advertising, with support for all formats.
  • πŸ“€ Musicolet – lightweight player with offline mode and without data collection.
  • 🎢 BlackPlayer – minimalist design and flexible settings.

To bring music from Mi Music:

  1. Connect your phone to your PC and copy files from /storage/emulated/0/Music/.
  2. In the new player, scan the media files (β€œUpdate library”).

⚠️ Note: Some players (such as Spotify or Yandex Music) have their own advertising in the free version.

πŸ’‘

Alternative players not only remove ads, but often offer better sound quality and additional features (equalizer, FLAC support, sleep timer).

What to do if the ad returns after the MIUI update

After installing the new version MIUI Many changes (including hosts editing and ADB-commands are dropped to avoid re-advertising:

  1. Turn off automatic system update: Settings β†’ About phone β†’ System update β†’ Three points β†’ Settings β†’ Disable β€œDownloading”.
  2. Use Magisk modules (for root users): Install the Xiaomi Debloater module through Magisk Manager – it blocks advertising services at the kernel level.
  3. Create a Task in Tasker: Set up Automatic Execution ADB-teams after reboot.

If you do not want to refuse updates, before installing them:

  • πŸ“₯ Download the full firmware package (.zip) from Xiaomi.
  • πŸ”§ Remove advertising from it APK (for example, Analytic.apk, AdService.apk) assisted MIUI ROM Editor.
  • πŸ”„ Install the modified firmware through TWRP.

FAQ: Frequent questions about advertising in Mi Music

Can I remove ads in Mi Music without root and ADB?
Yes, but only partially. Use Method 1 (MIUI settings) or Method 3 (rollback version). Complete removal of ads without root is only possible through alternative players.
Why doesn't Mi Music see my tracks after the release?
The older version of the app may not support new formats or file storage paths. Try: Move music to /Music/ on the internal drive; update the media library in the player settings; use the file manager to manually scan folders.
Is it safe to edit the hosts file?
Yes, if you're keeping track of the syntax and backing up: 🌐 Loss of access to some websites. πŸ“΅ Problems with updating applications. πŸ”„ Slow down page loading (if too many rules are added) Always check the file for duplicate entries.
How to return Mi Music after uninstalling updates if it doesn’t start?
If the app is inoperable: Delete its data in Settings β†’ Applications β†’ Mi Music β†’ Storage β†’ Clear the data. Reboot the phone. If it doesn't work, download the original APK from the APKMirror site (select the version that matches your firmware).
Is there a legal way to remove ads from Mi Music?
Officially, only the purchase of a premium subscription Mi Cloud (about 200-300 rubles per month), but even this does not guarantee a complete absence of advertising in some regions. MIUI EU (European version, where advertising is much less.