Advertising when you turn on your Xiaomi phone: how to remove forever (all methods 2026)

You turn on your Xiaomi, Redmi or POCO, and instead of the usual desktop, you see annoying ads for apps, games or β€œspecial offers”? This is not a virus or a system failure – this is how the aggressive monetization of the MIUI branded shell works. The manufacturer embeds banner ads even in system notifications, lock screen and downloads to compensate for the low price of devices.

The good news is that most of these banners can be removed without root rights and complex manipulation. The bad news is that some types of advertising (such as those built into system applications) require drastic measures. In this guide, we will look at all the current ways to remove ads on Xiaomi in 2026, including hidden MIUI settings, disabling advertising services and alternative firmware.

Before you start, consider that some methods may conflict with system updates, for example, after the update of MIUI 15, some of the ad modules return, they will have to be blocked again, we noted such cases in the relevant sections.

1. disabling advertising in the MIUI settings (official method)

The easiest and safest method is to use built-in shell options. Xiaomi provides the option to disable some of the ads through the settings menu, but these options are often hidden or reset after updates.

Follow this path:

  1. Open the Settings. β†’ The phone.
  2. Tap 7-10 times on the MIUI version until the notification β€œYou became a developer” appears.
  3. Return to the main settings menu and go to Additional β†’ Special features β†’ Settings for developers.
  4. Activate the Disable MIUI Ads switch (if there is no such option, see the next section).

If there is no β€œDisable Advertising” option, try an alternative path:

  • πŸ“± Settings β†’ Annexes β†’ Application management β†’ Three dots (menu) β†’ Show all the processes
  • πŸ” Find the msa app (MIUI System Ads and turn it off.
  • 🚫 For Mi Video, Mi Music and GetApps apps, turn off notifications and background activity.

⚠️ Note: On some regional versions MIUI (For example, in India or China, there may be no option to disable ads. β„–3.

πŸ“Š What kind of Xiaomi model do you have?
Redmi Note 12/13
POCO X5/F5
Xiaomi 13/14
Redmi 10/11
other

2. Blocking advertising services through ADB (without root)

If standard settings don’t work, use USB debugging and ADB (Android Debug Bridge) commands, which doesn’t require superuser rights, but requires a computer and 10 minutes of time.

Step-by-step:

  1. Download and install Google’s Platform Tools (or ADB AppControl for Windows).
  2. On your phone, activate USB Debugging in Settings β†’ About Phone β†’ MIUI Version (shoot 7 times) β†’ Settings for developers.
  3. Connect the phone to the PC and type in the command line:
adb shell pm hide com.android.browser


adb shell pm hide com.miui.systemAdSolution




adb shell pm hide com.xiaomi.midrop




adb shell pm disable-user --user 0 com.miui.analytics




adb shell pm disable-user --user 0 com.xiaomi.ab

These commands are off:

  • 🌐 Built-in Mi Browser browser (main source of advertising).
  • πŸ“Š System analytical modules that collect data for targeted advertising.
  • πŸ“¦ GetApps (Xiaomi app store with aggressive advertising).

⚠️ Note: After the reboot, some applications may be activated again. To fix the result, repeat the commands or use the App Quarantine to block background activity.

Install Platform Tools on PC|

Enable debugging over USB on your phone |

Connect the phone with the original cable |

Check the connection of the team `adb devices`-->

3. Removing Advertising through Hosts File Editing

Advertising banners are downloaded from Xiaomi servers at specific URLs, if you block access to these addresses, the system will not be able to display ads, and to do this, edit the hosts file, the system block list.

Instructions:

  1. Download the Hosts Editor (root required) or Termux (no root required).
  2. In Termux, type:
pkg update && pkg upgrade


pkg install nano




nano /data/data/com.termux/files/usr/etc/hosts

Add these lines to the end of the file (block the main Xiaomi ad servers):

127.0.0.1 ad.mi.com


127.0.0.1 data.mistat.xiaomi.com




127.0.0.1 sdkconfig.ad.intl.xiaomi.com




127.0.0.1 api.brs.intl.miui.com




127.0.0.1 globalapi.ad.xiaomi.com

Save the changes (Ctrl+O β†’ Enter β†’ Ctrl+X) and restart the phone.

ServiceURL lock-inWhat's blocking
MIUI Adsad.mi.comMain banner advertising in the system
Mi Statisticsdata.mistat.xiaomi.comCollection of data on device use
GetAppsapi.brs.intl.miui.comAdvertising in the firm's app store
Push notificationsglobalapi.ad.xiaomi.comPop-up ads in the curtain

πŸ’‘

If the Internet disappears after editing the hosts file, check the syntax: each line should end with a line translation (click Enter after the last entry).

4. Installation of custom firmware (for advanced)

If none of the previous methods worked, the radical solution is to install an alternative firmware, which will completely remove all MIUI advertising modules, but will require unlocking the bootloader and potentially deprive you of warranty.

The best firmware options for Xiaomi:

  • πŸ“± Xiaomi.eu – modified MIUI without advertising or Chinese services. OTA-update.
  • πŸ€– LineageOS is a clean Android without unnecessary apps. GAPPS.
  • ⚑ Pixel Experience – firmware with Google Pixel interface and monthly security updates.

Step-by-step instructions for Xiaomi.eu:

  1. Unlock the bootloader through Mi Unlock Tool (you need a Mi Account and wait 7-15 days).
  2. Download the firmware for your model with XDA Developers.

⚠️ Attention: Installing custom firmware voids warranty and can result in a device blinking (inoperability) when errors occur. TWRP beforehand!

What to do if the phone is stuck on the logo after firmware?
If the device does not boot after installing the firmware, try: 1. Log in Fastboot Mode (Power + Vol Down button). 2. Run the command `fastboot flash boot twrp.img` (to restore the Recovery). 3. Repeat the firmware installation or restore the backup via TWRP β†’ Restore.

5.Use of third-party ad blockers

If you don’t want to edit your system files, installing specialized applications can be a compromise solution: they block ads at the DNS or VPN level without affecting the system components.

Top.-3 Advertising Blocking Apps on Xiaomi:

  • πŸ›‘οΈ Blokada – Blocks Advertising through VPN Free version with restrictions.
  • 🌍 AdGuard – supports filters for MIUI It has a "low battery consumption" mode".
  • πŸ”’ DNS66 β€” Open source software to block ads through change DNS (no root).

AdGuard settings for Xiaomi:

  1. Download AdGuard from Google Play.
  2. Enable HTTPS Filtering module in the settings.
  3. Add custom filters: ||ad.mi.com^ ||data.mistat.xiaomi.com^ ||sdkconfig.ad.intl.xiaomi.com^
  4. Activate App Protection for GetApps, Mi Video and Mi Browser.

The downside of this approach is that a VPN can increase battery consumption by 5-15%, but it works on any version of MIUI and does not require any interference with the system.

πŸ’‘

Third-party ad blockers (such as AdGuard) may conflict with banking applications due to the use of VPNs.

6. Resetting the phone to factory settings (last resort)

If the adverts are after installing third-party apps or updating the system, a full reset can sometimes help, and this method will delete all user data, so only use it if other methods have not worked.

How to reset Xiaomi without losing important data

  1. Back up via Settings β†’ About Phone β†’ Backup or Mi Cloud.
  2. Go to Settings β†’ About Phone β†’ Resetting β†’ Delete all data.
  3. After the reboot, do not restore data from the backup – this can return advertising modules.
  4. Set your phone as new by immediately disabling ads through Developer Settings (see method) β„–1).

If the ad came back after the reset, the problem is the firmware, and then only installing the custom version will help. MIUI (method β„–4) or switching to LineageOS.

7.How to prevent the return of ads after updates

Xiaomi regularly updates its advertising modules through MIUI System Updates to avoid the return of banners:

  • πŸ”„ Turn off automatic system updates in Settings β†’ The phone. β†’ Updating the system β†’ Three points. β†’ Settings β†’ Auto-update.
  • πŸ“΅ Freeze system applications through the App Quarantine or ADB:
adb shell pm disable-user --user 0 com.xiaomi.ab


adb shell pm disable-user --user 0 com.miui.analytics

For models with MIUI 14/15, it is also recommended to:

  • Delete your Mi Account (if you are not using cloud services).
  • Disable Personal Recommendations in Settings β†’ Applications β†’ App Management β†’ GetApps.

Important: After each major MIUI update (e.g., version 14 to version 15), the ad modules may return. Check settings 1-2 weeks after the update.

FAQ: Frequent questions about advertising on Xiaomi

❓ Why Advertising Appears Even After Disabling in Settings?
Xiaomi uses several channels of display advertising: system notifications, embedded applications (GetApps, Mi Video) and server push messages. Disabling one source does not block the others. To completely remove you need to combine methods (for example, ADB + editing hosts).
❓ Can you remove advertising without a computer?
Yes, but with limitations. Use: Blocking Apps (Blokada, DNS66). Manually disabling ads in Settings β†’ About Phone β†’ MIUI Version (tap 7 times for Developer Mode). Deleting the cache of GetApps and msa apps through Settings β†’ Apps. Complete cleaning without a PC will require root rights.
❓ Will the way to work with ADB post-refresh MIUI?
No, some of the commands will reset. After the update, you need to: Repeat the adb shell pm disable-user commands for advertising services. Check the hosts file (it can be overwritten). Update the filters in AdGuard/Blokada.
❓ Why does the custom firmware not work after installing NFC/camera?
This is a typical problem of informal firmware. Solutions: Install firmware designed specifically for your model (e.g. Xiaomi.eu for Redmi Note 12 Pro+). Check your device branch on XDA Developers - there may be patches. Return to stock MIUI via Mi Flash Tool.
❓ Is it legal to block ads on Xiaomi?
Yes, but with reservations: πŸ”Ή Disconnection through settings MIUI legally. πŸ”Ή Locking through hosts/ADB does not violate laws, but may be considered a violation of the user agreement of Xiaomi. πŸ”Ή In China and India, Xiaomi is actively fighting against the circumvention of advertising through the courts, but in Europe and Russia there is no precedent.