How to permanently remove ads on Xiaomi Redmi: from system banners to push notifications

Advertising in Xiaomi Redmi smartphones has become one of the most discussed issues among the brandโ€™s users. Even after buying the device, many people face intrusive banners in the settings menu, push notifications from MIUI and advertising blocks in standard applications, and the problem is relevant for both budget models (Redmi 9A, Redmi Note 10) and flagships (Redmi K50, Redmi Note 12 Pro+).

In this article, weโ€™ll look at all the ways you can disable ads, from basic MIUI settings to advanced ADB and third-party utilities. Itโ€™s important to understand that some methods require unlocking the bootloader or the superuserโ€™s rights (root), which can affect the warranty, and weโ€™ll point out the risks to each method and provide alternatives.

Before you start, check your firmware version: go to Settings โ†’ About โ†’ About Phone โ†’ MIUI version. This depends on the availability of certain features. For example, in MIUI 14 and later, some of the advertising modules are moved to a separate msa service, which makes it difficult to turn them off by standard means.

1. disable personalized advertising in MIUI settings

The easiest and safest way to do this is to deactivate personalized recommendations through the settings menu, a method that does not require superuser rights and is suitable for all Redmi models, including the Redmi 10C, Redmi Note 11 and newer devices.

Go on the path: Settings โ†’ Google โ†’ Advertising (or Settings โ†’ Additional โ†’ Privacy โ†’ Advertising in older versions of MIUI).

Turn off the option โ€œPersonalized Adsโ€ and reset the ad ID (Reset button) here, which will reduce the number of banners targeted, but will not remove them completely.

  • ๐Ÿ“ฑ Advantage: No technical skills required, works on all versions MIUI.
  • โš ๏ธ Limitation: Does not remove system notifications from Xiaomi (e.g., new features).
  • ๐Ÿ”„ Action: Repeat after each major firmware update.

For a deeper cleanup, go to Settings โ†’ Applications โ†’ Application Management โ†’ All apps and manually disable notifications for the following services: MSA (Mobile Services Framework), Mi Video, Mi Browser, GetApps.

๐Ÿ“Š What kind of Redmi model do you have?
Redmi Note 10/11/12
Redmi 9/9A/9C
Redmi K40/K50
Redmi A1/A2
Another model

2. Hidden MIUI settings: disabling advertising modules

MIUI has hidden options that allow you to deactivate advertising services without using ADB or root, which works on most devices, but may vary depending on the regional version of the firmware (global, Chinese, European).

Instructions for MIUI 12-14:

  1. Open the Settings app.
  2. Go to the About Phone section.
  3. Click 5-7 times in a row on the MIUI version until the notification โ€œYou are a developer!โ€ appears.
  4. Go back to the main settings menu and open a new section for developers.
  5. Activate the option "Allow debugging over USB".
  6. Connect your phone to your PC and execute a command in ADB (see next section) or use the Activity Launcher app to access hidden menus.

Through Activity Launcher (available on Google Play), find and open:

  • com.miui.securitycenter/.ui.HiddenSettingsActivity โ€“ you can turn off ads in the Security Center.
  • com.android.settings/.Settings$DevelopmentSettingsActivity โ€“ additional options for developers.

๐Ÿ’ก

If some features (such as themes or cloud storage) have stopped working in the MSA after disabling ads, return your default settings and try alternative methods.

3.Use ADB to completely disable advertising

The ADB (Android Debug Bridge) method is one of the most effective, but it requires connecting your phone to your computer, disabling system-level advertising without getting root rights, and is suitable for all Redmi models, including the Redmi Note 12 Pro+ 5G and Redmi K60.

Step-by-step:

  1. Download and install Googleโ€™s Platform Tools (includes ADB).
  2. Connect Redmi to the PC via USB-Cable (use the original cable for stability).
  3. Enable debugging over USB (see previous section).
  4. Open the command prompt (cmd in Windows) and do:
adb devices

(Your device should show up. If not, check the drivers.)

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.msa.global

These commands disable the main ad modules. After you do, restart the phone. The effect is maintained until the next settings reset or firmware update.

Install Platform Tools on PC|

Enable debugging over USB on your phone |

Connect the phone with the original cable |

Check device detection by adb devices|

Make a backup copy of the data-->

โš ๏ธ Note: Some firmware (e.g., Chinese version) MIUI) The pm hide commands may not work. In this case, use an alternative syntax: adb shell pm uninstall -k --user 0 com.miui.msa.global But this will result in the removal of updates for system applications, which can cause errors.

4. Disabling Advertising through Hosts File Editing

This method blocks access to Xiaomiโ€™s ad servers at the network level, suitable for users with root rights or those willing to use ADB to temporarily mount the /system partition.

List of domains to block (add to /etc/hosts):

domainAppointmentThe risk of blocking
sdkconfig.ad.xiaomi.comConfiguration of the advertising SDKLow.
tracker.ai.xiaomi.comAnalytics gatheringMedium (may affect MIUI)
data.mistat.xiaomi.comUsage statisticsLow.
api.brs.intl.miui.comBanner ads on the menuHigh (may break updates)

To edit hosts without root:

  1. Connect your phone to your PC and do:
adb shell


su




mount -o rw,remount /system




echo "127.0.0.1 sdkconfig.ad.xiaomi.com" >> /etc/hosts




mount -o ro,remount /system

This method can cause problems with MIUI updates and some services (e.g. Mi Cloud) before using it.

5. Removal of Advertising with Magisk and Modules

If you have an unlocked bootloader and you have Magisk installed, you can use special modules to remove ads, which is the most radical, but also the most reliable method.

Recommended modules for Magisk:

  • ๐Ÿ›ก๏ธ Disabler for Xiaomi EU/Global โ€” Disables all advertising services, including MSA and Analytics.
  • ๐Ÿšซ Xiaomi Debloater โ€“ removes unnecessary system applications (including advertising).
  • ๐Ÿ” ADB & Fastboot Tools โ€“ an alternative for those who do not want to install Magisk.

Installation instructions:

  1. Download the module (for example, with XDA Developers).
  2. Open Magisk Manager and go to the Modules section.
  3. Click "Install from storage" and select the downloaded file.
  4. Reboot the phone.

โš ๏ธ Note: Removing system applications via Magisk may cause some features (e.g., cameras or other features) to fail. NFC). Before installing the module, check user reviews for compatibility with your Redmi model.

What if the phone does not turn on after installing the module?
If after installing the Magisk module, the device stuck on the logo or went to the bootloop: 1. Squeeze the power. + Volume up for entrance to Fastboot. 2. Connect your phone to your PC and execute: fastboot boot twrp.img (where twrp.img โ€” Recovery image for your model). 3. V TWRP Go to Advanced. โ†’ File Manager and delete the module file in the folder /data/adb/modules. 4. If the problem persists, reset via fastboot flash userdata. userdata.img (I'll need a stock firmware).

6.Alternative firmware: switching to Xiaomi.EU or LineageOS

If none of the methods worked, consider installing custom firmware.The most popular options for Redmi are:

  • ๐ŸŒ Xiaomi.EU โ€“ modified version MIUI No advertising or Chinese services, supports all Redmi models (from Redmi) 4X to Redmi Note 12).
  • ๐Ÿค– LineageOS - "clean" Android without branded bells and whistles Xiaomi. Requires manual installation GAPPS.
  • โšก Pixel Experience โ€“ Google Pixel-optimized firmware for performance.

Installation process:

  1. Unlock the bootloader through the Mi Unlock Tool (requires a binding Mi Account and wait 7-15 days).
  2. Install TWRP Recovery for your model (see the official website for instructions).
  3. Download the firmware (e.g. Xiaomi.EU) and transfer it to your phone.
  4. In TWRP, run Wipe โ†’ Format Data (this will delete all data!) and install the firmware.

Advantages of custom firmware:

  • โœ… Complete absence of advertising and unnecessary services.
  • โœ… Regular security updates.
  • โœ… Ability to fine-tune the interface.

โš ๏ธ Note: Installing custom firmware voids warranty and may result in data loss.On some models (e.g. Redmi Note 11 Pro) 5G) You need to unlock the anti-rollback, otherwise the phone will turn into a brick".

๐Ÿ’ก

Custom firmware is the only way to get rid of advertising forever, but it requires technical skills. For beginners, we recommend starting with the ADB method or turning off personalized advertising.

FAQ: Frequent questions about advertising on Xiaomi Redmi

โ“ Why After Updating MIUI The commercial reappeared?
Firmware updates often reset ad settings. After the update: Repeat disabling personalized ads in the settings. If you used ADB, run commands again. For custom firmware (e.g. Xiaomi.EU), check for a module update in Magisk. MIUI 14 has added new ad services, so old commands may not work. Use current domain lists for hosts.
โ“ Can you remove advertising without rooting and ADB?
Standard methods: Turning off personalized ads in settings (reduces banners by 30 to 40%); removing the cache of MSA, GetApps, Mi Video; using alternative launchers (like Nova Launcher) that hide ads on the home screen. Only switching to custom firmware (like Xiaomi.EU) is suitable for completely removing ads without ADB or root.
โ“ Why after the shutdown MSA Themes stopped working?
The Mobile Services Framework (MSA) is not only responsible for advertising, but also for: Design Themes, System Application Updates, Some Mi Account features (e.g. Note Synchronization) If the themes are no longer applicable, return the default MSA settings or use third-party apps to change themes (e.g. Substratum for root devices).
โ“ How to Check Which Apps Show Ads?
Use NetGuard (available on Google Play) or ADB-Command to monitor network activity: adb shell dumpsys netstats detail Please note applications with suspicious domains: *.ad.xiaomi.com *.mistat.xiaomi.com *.brs.intl.miui.com For detailed analysis, use Packet Capture (root required).
โ“Legal: Does Xiaomi allow you to turn off advertising?
Xiaomiโ€™s privacy policy allows users to: Disable personalized ads; limit analytics; remove pre-installed apps (as long as it doesnโ€™t disrupt the system); however, modifying system files (via ADB, root, or custom firmware) can be considered a violation of the license agreement; in rare cases, it can be a reason for denial of warranty service (for example, a brick after a failed firmware); Xiaomiโ€™s official position is that advertising subsidizes the cost of devices by keeping prices low.