Ads on Xiaomi and Redmi smartphones running MIUI 12 are one of the most annoying features of the brand shell, appearing in the settings menu, on the lock screen, in system applications and even in notification panels, the manufacturer positions this as βpersonalized recommendationsβ, but users perceive it as intrusive marketing. Fortunately, there are several ways to get rid of advertising β from standard settings to deep system interventions.
In this article, we will discuss all the current methods of removing advertising in the MIUI 12, including formal and informal solutions, you will learn how to disable ads through the phone menu, using the ADB-We will consider the nuances for different regions (global, Chinese, European firmware) and the possible consequences after the disabling of advertising services.
Important: Some methods require unlocking the bootloader or the rights of the superuser (root).If you are not ready for such manipulation, focus on the safe ways from the first sections of the article.
Official settings MIUI 12: what can be turned off without risk
To start with, the most basic is the built-in shell options: Xiaomi provides limited control over advertising, but even these settings will help reduce the number of banners by 30-50%.
The main points that need to be checked:
- π± Advertising in the Settings menu: go to Settings β The phone. β Version. MIUI (tap 7 times to activate the developer mode, then return to Settings β Additionally. β Special facilities β Advertising recommendations and disable slider.
- π Lock screen: Settings β Lock screen β Additionally. β Advertising notifications (turn off all switches).
- π System applications: in each application (Weather, Music, Themes) open the settings (βοΈ) and look for "Advertising Recommendations" or "Personalized Advertising".
Note that some firmware (especially Chinese) may not have these items or may be called otherwise. For example, Mi Browser disables ads through Settings β Privacy β Personalized recommendations.
β οΈ Attention: After update MIUI before the new version (for example, from 12.0.1 to 12.5.3) all advertising settings are reset!
2. ADB-Teams: Deep Shutdown of Advertising Services
If standard settings don't work, it's time to move on to more radical measures. ADB-It allows you to disable system services that are responsible for displaying ads without obtaining root rights. MIUI 12, but requires connecting the phone to a computer.
You'll need:
- π₯οΈ Computer with Windows/macOS/Linux and installed Xiaomi drivers.
- π± Developer mode enabled and debugging by USB (In Settings β The phone. β Version. MIUI Tap 7 times, then in Settings β Additionally. β For developers, turn on debugging).
- π§ Utility. ADB (You can download from the official Android website).
After preparation, execute the following commands in the terminal (command line):
adb shell pm hide com.android.browser
adb shell pm hide com.miui.analytics
adb shell pm hide com.xiaomi.ab
adb shell pm hide com.miui.systemAdSolution
adb shell pm hide com.miui.msa.globalThese commands hide (not remove!) the system applications responsible for collecting analytics and displaying ads, and after the phone is rebooted, the banners should disappear from most places.
Install Xiaomi drivers on PC
Enable the developer mode on the phone
Activate debugging over USB
Download and unpack ADB Tools
Connect your phone to your PC with the original cable-->
β οΈ Note: On some firmware (especially Chinese) the pm hide commands may not work. In this case, try replacing hide with a disable-user, but this will require an unlocked bootloader.
3. Root access: complete removal of advertising modules
If you're willing to go to extremes, root access allows you to completely remove advertising services from the system, which is 100% effective, but has risks:
- π« Loss of warranty (if the phone is under warranty).
- π Possible problems with OTA-update.
- π‘οΈ The risk of βbrickingβ with incorrect actions.
To obtain the root rights to MIUI 12, you will need to:
- Unlock the bootloader through the official Xiaomi tool (binding to the Mi Account is mandatory!).
- Install custom Recovery (e.g., TWRP).
- Switch to Magisk for root rights management.
Once root is available, remove the following system applications (via Root Explorer or ADB with superuser rights):
com.android.browser
com.miui.analytics
com.xiaomi.ab
com.miui.systemAdSolution
com.miui.msa.global
com.miui.player (unless you use a standard player)It is also recommended to freeze services via Magisk or Titanium Backup, if you do not want to delete them forever.
What happens if you remove system applications?
4. Alternative methods: blocking ads without root
If ADB and root donβt work for you, there are a few other ways to reduce the amount of advertising youβll find:
1. Use of alternative launchers
Install a third-party launcher (like Nova Launcher or Lawnchair) and disable the standard MIUI Launcher. This will remove ads from the home screen and appbar.
2. DNS lockdown
Set up a private DNS in Settings β Connections β Private DNS:
- π dns.adguard.com (blocks ads and trackers).
- π‘οΈ 1.1.1.3 (Cloudflare with malicious site filtering).
3.Advert blocking applications
Install Blokada or AdGuard (does not require root, but create) VPN-They filter traffic and block ad requests at the network level.
| Method | Efficiency | Difficulty | Risks. |
|---|---|---|---|
| Official settings of MIUI | 30β50% | β | No. |
| ADB-team | 70β90% | ββ | Reset after updates |
| Root + Removal of Applications | 100% | βββ | Loss of warranty, risk of "brick" |
| Alternative launchers | 60% | β | Does not block advertising in the settings |
| Blokada/AdGuard | 80% | β | Increased battery consumption |
π‘
If, after application, ADB-Teams adverts are back, check if the settings have reset after the update MIUI. Repeat the procedure or use Tasker to automatically execute commands after the reboot.
5. Features for different regions (global vs Chinese firmware)
The number of ads in MIUI 12 depends on the regional firmware:
- π Global: Less advertising, but still present in system applications.
- π¨π³ Chinese (China): maximum number of banners, including ads in Settings and Security Center.
- πͺπΊ European (EEA): Minimum advertising (because of the GDPR), But some banners remain.
Chinese firmware (even with a lot of language packs) has a lot more advertising, and standard shutdown methods often donβt work, in which case only ADB or flashing to the global version will help.
To check your firmware, go to Settings β About Phone β MIUI version. If there is CN at the end of the name is Chinese firmware, Global or EEA is international.
β οΈ Warning: Flashing from Chinese to global requires unlocking the bootloader and can lead to data loss. On some models (e.g. Redmi Note 9 Pro for China), global firmware may not work stable!
Frequent problems and their solutions
Problem 1: After the ADB ad was turned off, it reappeared.
Solution: Xiaomi periodically resets ad settings when updating. Repeat commands or use the script for automatic application after the reboot.
Problem 2: There is no βAdvertising Recommendationsβ clause in the Settings.
Solution: This is typical of Chinese firmware. Try the ADB method or install an alternative launcher.
Problem 3: After receiving root, it stopped working OTA-update.
Solution: Remove Magisk before upgrading or install firmware manually via TWRP.
Problem 4: Blokada or AdGuard do not block ads in system applications.
Solution: These tools block network requests, but cannot affect local advertising in the Internet. MIUI. Combine them with ADB-team.
π‘
Chinese firmware (MIUI CN) has 2-3 times more ads than global ones. If you bought a phone in China, consider flashing it on MIUI Global or MIUI EEA to reduce banner count.