Advertising on Xiaomi, Redmi and POCO smartphones has become one of the most annoying features of MIUI firmware. Even after buying a device, users encounter banners in the settings menu, advertising fluffs in the notification curtain and intrusive offers in system applications. The manufacturer positions this as “personalized recommendations”, but in practice it is just a way of monetizing through the user experience.
In this article, we will look at all the current ways to remove ads on Xiaomi, from basic settings to deep modifications to the system. It is important to understand that some methods require technical skills, and the wrong actions can lead to a loss of warranty or failure of the device, we will specify the level of complexity of each method and warn against typical errors.
If you're willing to spend 10 or 30 minutes setting up to get rid of advertising forever, read on. Let's start with the simplest methods and gradually move on to the advanced ones.
1. Disabling Advertising in Standard MIUI Settings
The first thing to try is the built-in MIUI options, which won't remove ads completely, but will reduce them significantly, and are suitable for users who don't want to risk system stability.
Go to Settings → Mi → Mi Advertising account (or Settings → Additional → Special features → Advertising services in new versions of MIUI).
- 🔘 Disable the “Personalized Recommendations” slider (this is the main source of targeted advertising).
- 🔘 Turn off “Show ads in Mi Browser” (if you use a standard browser).
- 📱 Delete data in the Settings section → Annexes → Application management → Ms. (or) MSA Global) is a system application responsible for displaying ads.
Also check the settings of individual applications:
- 📱 Mi Video: Profile → Settings → Advertising preferences → Turn off all sliders.
- 📱 Mi Browser: Settings → Confidentiality → Personalized advertising → turn off.
- 📱 Topics: Profile → Settings → Advertising services → turn off.
⚠️ Note: After disabling ads in settings, some system applications (such as Mi Video or Themes) may stop updating through the Play Market. → The phone. → Update of the PO.
2. Blocking advertising servers through hosts file
If standard settings don't work, the next step is to block the ad servers at the system level, and this works by editing the hosts file, which redirects requests to ad domains to "empty» IP-address.
This will require:
- Install a file manager with access to root folders (e.g. Solid Explorer or FX File Explorer).
- Go to /system/etc/hosts (you may need permission to edit system files).
- Add the following lines to the end of the file (or replace it with a ready-made anti-advertising hosts):
127.0.0.1 ad.mi.com
127.0.0.1 globalapi.ad.xiaomi.com
127.0.0.1 sdkconfig.ad.xiaomi.com
127.0.0.1 tracking.miui.com
127.0.0.1 data.mistat.xiaomi.com
127.0.0.1 o2o.api.xiaomi.comOnce saved, restart the device. This method blocks most advertising requests, but has limitations:
- ✅ Works without root rights (if the file manager supports editing system files).
- ❌ Does not block ads in certain third-party apps (e.g., games).
- ❌ After updating MIUI The hosts file may be reset – you will have to repeat the procedure.
💡
If you don’t have permission to edit the hosts file, try using the AdAway app (requires root) or Blokada app (works without root via VPN).
3. Uninstall system applications without root (ADB)
Many of Xiaomi’s ad modules are built into system applications that cannot be removed by standard means, but can be disabled via ADB (Android Debug Bridge) without root permissions, which is safer than being completely removed because it doesn’t disrupt the system.
For this:
- Enable USB debugging in Settings → About Phone → MIUI version (click 7 times, then go back to Additional → For Developers).
- Connect your phone to your PC, install ADB Tools, and execute the commands:
adb shell
pm uninstall -k --user 0 com.miui.systemAdSolution
pm uninstall -k --user 0 com.xiaomi.midrop
pm uninstall -k --user 0 com.miui.analytics
pm uninstall -k --user 0 com.miui.cloudservice
pm uninstall -k --user 0 com.xiaomi.joyoseThese teams will shut down:
| Annex | Appointment | Can I remove it? |
|---|---|---|
| com.miui.systemAdSolution | The main module of advertising display in MIUI | Yeah (safe) |
| com.xiaomi.midrop | Mi Drop (advertising when transferring files) | Yes. |
| com.miui.analytics | Statistics collection (can be restored) | Better turn it off. |
| com.miui.cloudservice | Xiaomi Cloud Services (Advertising in Backups) | Yeah, but you'll lose sync. |
⚠️ Note: Deleting com.miui.cloudservice will result in loss of synchronization of notes, contacts and photos with Mi Cloud. If you use this service, it is better to simply disable notifications from the application in the settings.
Install drivers ADB PC-only|Enable debugging on USB phone-on|Download platform tools ADB|Connect the phone to USB (file transfer)|Check the connection with the adb device command-->
4. Getting root rights and deep cleaning of the system
If you're willing to take drastic measures, getting root rights will give you access to the complete removal of ad modules, which is suitable for advanced users, because:
- 🔓 Violates the warranty (if the device is warranty-free).
- 🔓 It may result in the inability to update MIUI through OTA.
- 🔓 Requires unlocking the bootloader, which resets all data.
The process includes several stages:
- Unlock the bootloader through the official Mi Unlock Tool (requires a Mi Account binding and a wait of 7-30 days).
- Installation of custom recavery (for example, TWRP).
- Magisk firmware for root rights.
- Remove advertising packages via Titanium Backup or manually.
Once root is obtained, you can uninstall the following system applications (via Root Explorer or Magisk Module):
/system/priv-app/MiuiDaemon
/system/priv-app/Analytics
/system/app/MSA
/system/app/MiuiBrowser
/system/app/QuickAppsIt is also recommended to install a Magisk module called Disable MIUI Advertising – it automatically blocks advertising requests at the kernel level.
What happens if you delete the MSA (com.miui.systemAdSolution)?
5. Use of alternative firmware (LineageOS, Pixel Experience)
The most drastic way to get rid of advertising is to install custom firmware, such as LineageOS or Pixel Experience, which are stripped of all proprietary Xiaomi modules, including advertising SDKs.
Pros of the method:
- ✅ Complete absence of advertising and telemetry.
- ✅ Cleaner and faster Android (no shell) MIUI).
- ✅ Regular security updates.
Cons:
- ❌ Loss of function MIUI (Second Space, Game Turbo, and the Game Turbo).
- ❌ Possible camera or sensor issues (GCam reset required).
- ❌ No official support (manual updates).
Installation process:
- Unlock the bootloader (as in the previous method).
- Install TWRP or OrangeFox Recovery.
- Switch firmware and GApps (if you need Google services).
- Switch Magisk for root (optional).
A list of supported devices and instructions can be found on the XDA Developers forum or LineageOS website.
💡
Custom firmware is the only way to permanently get rid of Xiaomi’s advertising and telemetry, but it requires technical skills and abandons MIUI’s proprietary features.
6. Blocking Advertising via DNS or VPN
If you don't want to interfere with system files, you can block ads at the network level.
- 🌍 DNS-Advertising filtering servers (e.g. AdGuard) DNS or NextDNS).
- 🔒 VPN Ad blocking (e.g. Blokada, AdGuard) VPN).
- 📱 Local firewalls (such as NetGuard or AFWall)+ root-user).
AdGuard DNS setup:
- Go to Settings → Connections → Private DNS.
- Select “DNS Provider Host Name” and type:
dns.adguard-dns.comOr for more aggressive filtering:
unicast.adguard-dns.comFor Blokada:
- Download the app from the official website (not from the Play Market – there is a stripped-down version).
- Turn it on. VPN-mode and activate the ad blocking.
⚠️ Note: Some banking applications and services (for example, SberBank Online or Public Services) may block work when using customized services. DNS or VPN. In this case, add them to the exceptions in the AdGuard or Blokada settings.
7. Disabling notifications from system applications
Even after the ad is blocked, some Xiaomi apps continue to send offers, which can be manually disabled:
Go to Settings → Applications → Application Management and for each of the following applications, turn off notifications:
- 📱 Mi Video (com.miui.video) – advertising movies and TV series.
- 📱 Topics (com.android.themes) – Notifications about new topics.
- 📱 Mi Browser (com.android.browser) - news push.
- 📱 Cleaner (com.miui.cleanmaster) - Memory Cleanup Suggestions.
- 📱 Mi Community (com.xiaomi.channel) – Notifications for new posts.
Also check the Settings → Notifications → Additional → System Notifications and disable:
- 🔕 «Recommendations MIUI».
- 🔕 «Use advice».
- 🔕 «Security updates (if they are too intrusive).
If you have notifications from com.miui.systemAdSolution, it means that the application has not been completely removed. ADB-team:
adb shell pm uninstall -k --user 0 com.miui.systemAdSolution