How to permanently remove advertising in MIUI Xiaomi: from system banners to applications

Firmware advertising MIUI โ€” One of the most annoying features of Xiaomi, Redmi and POCO. Even after purchasing a device, users encounter intrusive banners in the settings menu, screen lock, file manager, and system applications. The manufacturer positions this as โ€œpersonalized recommendationsโ€, but in practice we are talking about classic advertising, which slows down the phone and spoils the user experience.

In this article, we will discuss all the current ways to remove advertising in the MIUI โ€” from standard settings to advanced methods using ADB It's important to understand that some methods may differ depending on the version. MIUI (for example, MIUI 12/13/14) and regional firmware (Global, China, EEA). We will specify the nuances for each version and warn against common errors that lead to the โ€œbrickingโ€ of the device.

If you're willing to spend 10 to 15 minutes setting up to get rid of ads forever, read on. For those who don't want to dig through system files, there are simple root-free solutions. And for advanced users, we've prepared instructions for deep cleaning. MIUI plug-in.

1. Why in MIUI Advertising appears and can it be removed completely?

Advertising in MIUI It's integrated at the firmware level and works through msa (Mobile Service Ads), a system application that collects user data and shows targeted banners. Even if you've never agreed to personalized ads, they'll still show up in the same way:

  • ๐Ÿ“ฑ Screen locking (advertising games, applications, promotions)
  • โš™๏ธ Settings menu (banners in the section "About the phone", "Themesยป)
  • ๐Ÿ“ File Manager (cloud service advertising)
  • ๐Ÿ” Search by system (sponsored links)
  • ๐ŸŽต Music Player (Promo subscription to Mi Music)

Can you remove ads altogether? Technically yes, but it would require:

  • ๐Ÿ”ง Disable advertising services through ADB (rootless)
  • ๐Ÿ› ๏ธ Remove system applications with Magisk (requires root)
  • ๐Ÿ”„ Install custom firmware (e.g. Xiaomi.eu or LineageOS)

However, even after a deep cleaning, some banners may appear in Xiaomi apps (such as Mi Browser or Mi Video). MIUI (For example, the Pixel Experience).

โš ๏ธ Attention: On devices with firmware MIUI China has more advertising than the global or EEA. If you buy Xiaomi in China, be prepared for aggressive advertising โ€“ itโ€™s harder to turn off without changing the region.

2. Method 1: Disabling advertising through standard settings MIUI

The easiest way is to use built-in options. MIUI. It is suitable for users who do not want to risk the stability of the system: ~60-70% (remove most banners, but not all).

The instructions are relevant to MIUI 12/13/14 (Including HyperOS on new models, the steps may vary slightly depending on the version:

  1. Open the Settings. โ†’ About the phone and several times tap on the item Version MIUI, Notice: โ€œYou have become a developerยป.
  2. Return to the main settings menu and go to Additional โ†’ Developer Settings.
  3. Activate the debugging switch over USB.
  4. Now go to Settings. โ†’ Annexes โ†’ Application management โ†’ Settings (three dots in the upper right corner) โ†’ Show all applications.
  5. In the search bar, type msa and select the com.miui.systemAdSolution application (or MSA).
  6. Press Disable and confirm action. If the button is inactive, skip this step.
  7. Next, find and disable the following apps (if any are in your firmware): ๐Ÿ”น com.xiaomi.midrop (advertising in Mi Drop) ๐Ÿ”น com.miui.analytics (collection of statistics) ๐Ÿ”น com.miui.bugreport (Error Reports, may contain advertising modules) ๐Ÿ”น com.miui.player (advertising in Mi Music)

Once you turn off, restart your device. Ads in the settings menu and lock screen should disappear. However, banners in Mi Browser, Mi Video and other apps will remain โ€” they need to be disabled separately (see next section).

Find and disable MSA (com.miui.systemAdSolution)

Disable Analytics (com.miui.analytics)

Check for Midrop (com.xiaomi.midrop)

Reboot the phone

Check the screen lock for banners-->

โš ๏ธ Attention: On some firmware (MIUI China) MSA This can cause Mi Account errors and data synchronization, and if you have problems after the shutdown, return the settings back.

3. Method 2: Removing Advertising in Xiaomi System Applications

Even after the blackout. MSA Ads can stay in standard apps: Mi Browser, Mi Video, Mi Music, Themes and File Manager, and to remove them, you need to manually disable personalized recommendations in each of them.

Below are the step-by-step instructions for the most โ€œadvertisingโ€ applications:

3.1. Mi Browser (Xiaomi browser)

  • ๐Ÿ“Œ Open your browser and tap on it. โ‹ฎ (three-point) โ†’ Settings.
  • ๐Ÿ“Œ Go to the Supplementary โ†’ Personalized recommendations.
  • ๐Ÿ“Œ Disable all switches: Home recommendations, Personalized advertising, Search suggestions.
  • ๐Ÿ“Œ Back to Settings โ†’ Privacy and disable Collection of usage data.

Mi Video (video player)

  • ๐ŸŽฌ Open the application and go to Profile โ†’ Settings.
  • ๐ŸŽฌ Turn off Personalized Recommendations and Show Ads.
  • ๐ŸŽฌ In the About section, uncheck the tick from Participate in improving the application.

Topics (Themes)

  • ๐ŸŽจ Get into Themes. โ†’ Profile โ†’ Settings.
  • ๐ŸŽจ Turn off Personalized Recommendations and Show Ads.
  • ๐ŸŽจ In the About section, disable Automatic Theme Update (sometimes contains banner ads).

3.4 File Manager (File Manager)

  • ๐Ÿ“‚ Open the app and tap on it. โ‹ฎ โ†’ Settings.
  • ๐Ÿ“‚ Disable Recommendations and Show Cloud Services (if you donโ€™t use Mi Cloud).
  • ๐Ÿ“‚ In the section About the program, disable Participate in the improvement program.

If you still have ads after that, it's built into the application code level, and then you can only remove the application through the app. ADB or installing an alternative (e.g. Google Files instead of a standard file manager).

Mi Browser

Topics

Mi Video

File manager

Other-->

4. Method 3: Disabling advertising through ADB (rootless)

If the standard settings donโ€™t help, the next step is to use the ADB-Android Debug Bridge, which allows you to turn off system-level advertising without getting root rights: ~90% (removes almost all ads except those embedded in some apps).

The work will require:

  • ๐Ÿ–ฅ๏ธ Computer with Windows, macOS or Linux
  • ๐Ÿ“ฑ USB-cable (preferably original)
  • ๐Ÿ”ง Installed drivers ADB and Fastboot
  • ๐Ÿ“‹ List of teams (referred below)

Instructions:

  1. Download Googleโ€™s Platform Tools and unpack the archive into any folder.
  2. On the phone, activate the debugging by USB (see method 1).
  3. Connect your phone to your computer and in the folder with Platform Tools, launch Command Prompt (cmd for Windows) or Terminal (for Windows) macOS/Linux).
  4. Enter the command to check the connection: adb devices If the device is determined (the serial number will appear), continue. If not, check the drivers and cable.
  5. Follow the following commands in turn (copy and paste one at a time): adb shell pm hide com.miui.systemAdSolution adb shell pm hide com.xiaomi.midrop adb shell pm hide com.miui.analytics adb shell pm hide com.miui.bugreport adb shell pm hide com.miui.bugreport adb shell settings global puts hidden_api_policy 1 After each team, a message of success should appear.
  6. Reboot your phone: adb reboot

If the ad remains after the reboot, try additional commands:

adb shell settings put global captive_portal_detection_enabled 0


adb shell settings put global captive_portal_server none




adb shell settings put global captive_portal_https_url none

These commands disable the internet connection check, which is sometimes used to display ads.

What if the ADB canโ€™t see the device?
1. Check if debugging is included on USB on the phone (section "For developers"). 2. Install drivers ADB For your model (you can download it on Xiaomi website or through the Mi Flash Tool program). 3. Try another one. USB-cable (some cables are only for charging). 4. Restart your computer and phone. 5. If you use Windows, run the command prompt on behalf of the administrator.

โš ๏ธ Attention: On some firmware (MIUI 14+) The pm hide command may not work. In this case, use the alternative: adb shell pm uninstall. -k --user 0 However, this will remove the application only for the current user, and not completely from the system.

5. Method 4: Removing Advertising with Root Rights (Magisk)

If you're ready to get root access, you can remove the ad modules permanently.

  • ๐Ÿ”“ Unlocked bootloader (bootloader)
  • ๐Ÿ“ฑ Installed by Magisk (or other root manager)
  • ๐Ÿ› ๏ธ Application to remove system applications (e.g. App Systemizer or Titanium Backup)

Advantages of the method:

  • ๐Ÿ”ฅ Removal of ads 100% (including embedded ads)
  • ๐Ÿ”ง The ability to roll back changes if something goes wrong.
  • ๐Ÿš€ Acceleration of the system (background processes are removed) MSA)

Disadvantages:

  • โš ๏ธ Risk of losing the warranty (if the bootloader is unlocked)
  • โš ๏ธ Possible problems with OTA-update
  • โš ๏ธ Some banking applications may stop working

Instructions:

  1. Unlock the bootloader through the official Xiaomi tool (requires a binding Mi Account and wait 7-15 days).
  2. Install Magisk through TWRP or Fastboot (instructions are available on the XDA Developers).
  3. Download and install App Systemizer from Magisk Repo.
  4. Open the app and find the following packages (check them and click Uninstall): ๐Ÿ—‘๏ธ com.miui.systemAdSolution (MSA) ๐Ÿ—‘๏ธ com.xiaomi.midrop ๐Ÿ—‘๏ธ com.miui.analytics ๐Ÿ—‘๏ธ com.miui.hybrid (hybrid services, may contain advertising) ๐Ÿ—‘๏ธ com.miui.player

Reboot the phone.

Once removed, the ads will disappear completely, including banners in Mi Browser and Mi Video, but some system features (such as syncing with Mi Cloud) may not work properly.

๐Ÿ’ก

Before removing system applications through Magisk, make a backup in TWRP. This will help restore the system if something goes wrong.

6. Method 5: Switching to custom firmware (Xiaomi.eu, LineageOS)

If you want to get rid of advertising and restrictions MIUI, Best option is to install custom firmware. The most popular options for Xiaomi:

FirmwareAdvantagesDeficienciesComplexity of installation
Xiaomi.eu๐Ÿ”น No advertising. ๐Ÿ”น All functions MIUI preserved ๐Ÿ”น Weekly updatesโŒ No Google Services (you need to install them separately) โŒ Possible bugs on new modelsMedium
LineageOS๐Ÿ”น Clean Android without Advertising ๐Ÿ”น Good optimization. ๐Ÿ”น Support for old devicesโŒ No signature chips. MIUI (For example, Second Space) โŒ Some sensors may not work.Tall.
Pixel Experience๐Ÿ”น The interface is like Google Pixel ๐Ÿ”น Quick updates ๐Ÿ”น No advertising and unnecessary servicesโŒ There may be no full camera support. โŒ No. MIUI-function-specificTall.

Instructions for installing Xiaomi.eu (the most popular option):

  1. Unlock the bootloader (see Method 4).
  2. Download the latest version of Xiaomi.eu for your model from the official website.
  3. Install. TWRP Recovery (instructions are available on the XDA or 4PDA).
  4. Download to TWRP (press Power + Volume Up when you turn on).
  5. Make a full backup (in case of errors).
  6. Flip the firmware through Install โ†’ Select a file โ†’ Swipe to Confirm.
  7. After installation, run Magisk (if root is needed) and GApps (if Google services are needed).
  8. Reboot the phone.

Once installed, Xiaomi.eu will not advertise on the menu or in the apps.

  • ๐Ÿ”‹ Possible issues with autonomy (some firmware is less optimized than stockware) MIUI).
  • ๐Ÿ“ฑ Certain functions (e.g, IR Blaster or NFC) They may work unstablely.
  • ๐Ÿ”„ OTA-updates can break the system - it is better to install firmware manually.

๐Ÿ’ก

Custom firmware is the most radical, but also the most effective way to get rid of advertising, but it is only suitable for advanced users, ready for possible bugs and manual adjustment.

7. Method 6: Blocking advertising through DNS firewall

If you don't want to interfere with system files, you can block Xiaomi's ad servers at the network level.

  • ๐ŸŒ DNS-filters (e.g. AdGuard) DNS or NextDNS)
  • ๐Ÿ”ฅ Firewall (such as NetGuard or AFWall)+)

Efficiency of the method: ~70-80% (blocks most ads, but not all).

7.1 AdGuard setup DNS

  1. Go to Settings โ†’ Connections and Sharing โ†’ Private DNS.
  2. Select the DNS provider hostname and type in: dns.adguard.com
  3. Save the settings and restart the phone.

7.2. NetGuard setup (without root)

  1. Install NetGuard from Google Play.
  2. Open the app and activate Traffic Filtration.
  3. Go to Settings. โ†’ Rules of governance.
  4. Add the following domains to the blacklist: ad.mi.com tracker.mi.com data.mistat.xiaomi.com sdkconfig.ad.xiaomi.com api.ad.xiaomi.com
  5. Save the rules and restart NetGuard.

This method does not require root rights and does not affect the stability of the system, but it does not block local advertising (for example, banners in Mi Browser that are downloaded from the app cache).

8. Frequent mistakes and how to avoid them

When removing advertising in MIUI We've collected the most common errors and ways to solve them:

Problem.Reason.Decision
After the blackout MSA Mi Account and synchronization stopped workingSome system functions depend on com.miui.systemAdSolutionRestore the application through ADB: adb shell cmd package install-existing com.miui.systemAdSolution Or use pm enable instead of pm hide.
Advertising remained in Mi Browser even after disabling recommendationsThe browser has built-in advertising modules that are not deleted through settingsInstall an alternative browser (such as Chrome or Firefox) or uninstall Mi Browser via ADB: adb shell pm uninstall -k --user 0 com.android.browser
After installing custom firmware, the camera does not work or NFCThere are no drivers for your model.Install a special patch for the camera (for example, ANX Camera for GCam) or return to stock firmware.
ADB does not see the device, although debugging is enabledNo drivers or problem with USB-cableInstall Mi Flash Tool drivers, try another cable or port USB. Nana macOS/Linux It may be necessary to add the udev rules.
After removing system applications through Magisk, the phone does not turn onCritical system components removedRestore the backup through TWRP Or reflash your phone using Fastboot.

โš ๏ธ Note: If you are using a firmware MIUI China, some methods (e.g., disconnection) MSA through ADB) This can lead to a complete loss of functionality of the Mi Account, in which case the only way out is to change the firmware region to Global or EEA.

FAQ: Answers to Frequent Questions

โ“ Can you remove the advertisement in MIUI computer-free?
Yes, but the efficiency will be lower: ๐Ÿ”น Disable personalized recommendations in each application (see Method 2). ๐Ÿ”น Use NetGuard to block ad domains (without root it works in limited ways). ๐Ÿ”น Install AdGuard or Blokada to filter traffic. ADB or root you can't turn off MSA and other system services.
โ“ Will the advertisements return after the update? MIUI?
Yes, after major updates (e.g., with the MIUI 13 on MIUI 14) disabled system applications can recover: ๐Ÿ”น Before updating, back up the list of disabled packages (for example, through App Systemizer). ๐Ÿ”น After updating, repeat the commands. ADB Or restore the settings through Magisk. ๐Ÿ”น Use custom firmware (e.g. Xiaomi.eu) where there is no advertising initially.
โ“ Why after the shutdown MSA