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.
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:
- Open the Settings app.
- Go to the About Phone section.
- Click 5-7 times in a row on the MIUI version until the notification โYou are a developer!โ appears.
- Go back to the main settings menu and open a new section for developers.
- Activate the option "Allow debugging over USB".
- 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:
- Download and install Googleโs Platform Tools (includes ADB).
- Connect Redmi to the PC via USB-Cable (use the original cable for stability).
- Enable debugging over USB (see previous section).
- 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.systemAdSolutionadb shell pm hide com.xiaomi.midropadb shell pm hide com.miui.analyticsadb shell pm hide com.miui.msa.globalThese 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):
| domain | Appointment | The risk of blocking |
|---|---|---|
| sdkconfig.ad.xiaomi.com | Configuration of the advertising SDK | Low. |
| tracker.ai.xiaomi.com | Analytics gathering | Medium (may affect MIUI) |
| data.mistat.xiaomi.com | Usage statistics | Low. |
| api.brs.intl.miui.com | Banner ads on the menu | High (may break updates) |
To edit hosts without root:
- 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 /systemThis 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:
- Download the module (for example, with XDA Developers).
- Open Magisk Manager and go to the Modules section.
- Click "Install from storage" and select the downloaded file.
- 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?
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:
- Unlock the bootloader through the Mi Unlock Tool (requires a binding Mi Account and wait 7-15 days).
- Install TWRP Recovery for your model (see the official website for instructions).
- Download the firmware (e.g. Xiaomi.EU) and transfer it to your phone.
- 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.