Why Xiaomi is getting ads and can it be removed forever?
Xiaomiβs MIUI-based smartphones often face intrusive ads in system apps, browsers, and even lock screens. This is not a coincidence, but part of the companyβs business model: free software with integrated ad modules that generate revenue for the manufacturer. However, most users find such banners annoying, especially when they appear in unexpected places, such as in the settings menu or when connecting to Wi-Fi.
The good news is that MIUI ads can be turned off almost completely, even without superuser rights (root). Bad β some methods require deep system settings, and after firmware updates, advertising can return. In this article, we will discuss 7 proven ways, including hidden settings, changing the region and using third-party tools. It is important to understand that complete removal of ads without consequences is possible only on official global firmware β on the Chinese versions (China ROM), some methods may not work due to manufacturer restrictions.
Before you start, check your firmware version in Settings β About Phone β MIUI. If you have China ROM (the name has "CN"), some menu items may not be available. Also note that after resetting or updating the system, the ads may appear again - you will have to repeat the procedure.
Method 1: Disabling personalized advertising in MIUI settings
The easiest and safest way to do this is to deactivate personalized ads through standard settings, which won't take away all the ads, but it will reduce the amount of ads, especially in Mi Browser, Mi Video and Music apps. Here's how to do this:
- Open Settings β Google β Advertising (if there is no item, skip the step).
- Click Reset Advertising ID and confirm the action.
- Go back to the main settings and go to Settings β Memory β Cleanup.
- Slip the gear icon in the upper right corner and select Disable recommendations.
Now letβs move on to the MIUI settings:
- π± Open the Settings. β Annexes β Application management.
- π In search, type in msa (this is Xiaomiβs advertising service).
- π« Select com.miui.msa.global (or similar) β Shut down. β Stop it.
- π Repeat the same for com.xiaomi.mipicks and com.miui.analytics.
Reset Google Advertising ID
Disable the "Cleaning" recommendations
Deactivate the MSA Services
Reboot the phone
-->
This method works on most global firmware (Global ROM), but on the Chinese version (China ROM) menu items may not be available. If after the reboot the ads remain, move to the next method.
β οΈ Note: Disabling system services (msa) may cause some features to crash, such as push notifications from Xiaomi. If you notice problems, return the settings back.
Method 2: Change region to Europe (for global firmware)
Xiaomi is showing less advertising to users in the European Union because of local data protection laws, and you can take advantage of this by changing the region of your phone. Importantly, this method only works on Global ROM and can reset some settings (for example, the date format).
Instructions:
- Open the Settings. β Additionally. β Region.
- Choose any European country, such as Germany or France.
- Confirm the change and restart the phone.
- After the reboot, check for ads in Mi Browser, Mi Video and on the lock screen.
If the advertisement has not completely disappeared, further disable:
- π B Settings β Google β Advertising β Disable personalization of advertising.
- π B Settings β Accounts. β Mi Account β Synchronization β Turn off Advertising and Mi Advertising.
This does not require superuser rights and is reversible, and the region can be reversible if necessary, but on Chinese firmware (China ROM), changing the region can block some features, such as Mi Pay or Mi Cloud.
Method 3: Use ADB-commands for deep disabling advertising
For advanced users, there is a method to disable ads via ADB (Android Debug Bridge), which allows you to block the system components responsible for displaying banners without obtaining root rights, the advantage of the method is that it works even on Chinese firmware, where standard settings are hidden.
What you need:
- π₯οΈ Computer with installed Xiaomi and ADB-tools drivers.
- π± Included debugging by USB on the phone (Settings) β The phone. β Version. MIUI β 7 times tap the version β return to β For developers β Debugging by USB).
- π USB-cable (preferably original).
Step-by-step:
- Connect the phone to the PC and confirm the debugging permission.
- Open the command line (Windows) or terminal (macOS/Linux) in the adb folder.
- Enter the command to check the connection: Adb devices must appear serial number of your device.
- Follow the following commands in turn: adb shell pm hide com.miui.msa.global adb shell pm hide com.xiaomi.mipicks adb shell pm hide com.miui.analytics adb shell pm hide com.miui.systemAdSolution
- Reboot your phone: adb reboot
What if the ADB canβt see the device?
After the reboot, the ads should disappear from the system applications. If some of the banners are left, additionally do:
adb shell settings put global hidden_api_policy 1β οΈ Note: pm hide commands temporarily disable system packets, but do not delete them. MIUI The ads can come back, you have to repeat the procedure.
Method 4: Install custom firmware (for experienced users)
If youβre willing to take drastic measures, installing custom firmware (like LineageOS, Pixel Experience or Xiaomi.eu) will completely remove all ads and unnecessary system applications, a method that requires unlocking the bootloader and may be unwarranted, but gives you complete control over the device.
The advantages of custom firmware:
- π Complete absence of advertising and bloatware (unnecessary applications).
- π Regular security updates from the community.
- π§ Advanced system settings (e.g., kernel management).
Cons:
- β οΈ Loss of warranty (if the phone is under warranty).
- π Risk of "bricking" in case of installation error.
- π± Some features of Xiaomi (such as Mi Pay or Mi Pay) IR-remote control may not work.
Recommended firmware for Xiaomi:
| Firmware | Features | Complexity of installation | Advertising support |
|---|---|---|---|
| Xiaomi.eu | Official MIUI without advertising and Chinese apps | Medium | β No. |
| LineageOS | Pure Android without MIUI shell | Tall. | β No. |
| Pixel Experience | Android with Pixel branded chips | Tall. | β No. |
| ArrowOS | Lightweight Android with settings | Tall. | β No. |
For custom firmware installation:
- Unlock bootloader through the official Xiaomi tool (requires a binding account Mi and wait 7-14 days).
- Install TWRP or another custom recaveri.
- Download the firmware from the XDA-Developers forum for your model.
- Fly through the Recovery with a full Wipe (Wipe β Format Data).
π‘
Installing custom firmware is the most reliable way to get rid of advertising forever, but it requires technical skills and can void the warranty.
Method 5: Blocking ads through hosts file (without root)
Another effective method is editing the hosts file, which blocks access to ad servers, which doesn't require root rights, but requires a special application, such as AdGuard or Blokada.
Instructions:
- Install AdGuard from Google Play or Blokada from the official website.
- Launch the app and turn on the protection.
- In the settings, select Ad Blocking and activate filters: π‘οΈ AdGuard Base filter π‘οΈ AdGuard Mobile Ads filter π‘οΈ EasyList China (for Chinese services)
Reboot the phone.
For manual editing hosts (power users only):
- π Download a ready-made hosts file with Xiaomi ad blocking, for example, Method 6: Disabling ads in individual applications If the ads appear only in certain applications (for example, in Mi Browser, Mi Video or Mi Music), it can be turned off point-by-point. Hereβs how to do it for the most troubled services: π Mi Browser (Xiaomi columnist) π± Open your browser and tap three dots at the bottom. β Settings. π Go to the Supplementary β Confidentiality. π« Disable: Personalized Ads Show news on the homepage of Content Recommendations π Restart the browser. π΅ Mi Music (music player) πΆ Open the application and go to Settings (cog icon). π Disable: Recommendations Personalized Content Show banners on the playback screen πΊ Mi Video (video player) π¬ Launch the application and tap on Profile β Settings. π« Deactivate: Personalized recommendations Autoplay Show ads before videos (if there is such a item) π‘If the app does not have settings to disable ads, try clearing its data: Settings β Annexes β [Title of the annex] β Warehouse β Clear the data. This will reset all settings, but it can remove intrusive banners. This method does not require technical skills and is reversible, but only works at the level of individual applications. To completely remove ads, combine it with other methods from the article. Method 7: If none of these things worked, and the ads became unbearable, you could do a complete phone reset. It's a radical solution, but it's guaranteed to remove all the settings, including the ad units. Before resetting, make a backup copy of the data! How to Reset Settings: Go to Settings β The phone. β Reset. Select Delete all data (factory reset). Confirm and wait for the reboot. After turning on the phone, do not restore the data from the backup. MIUI β It can bring back ads. Set your phone up like new: π± Turn off personalized advertising immediately (see Method 1). π Change the region to the European (see Method 2). π« Do not install unnecessary system applications (Mi Video, Mi Music, etc.). β οΈ Warning: Factory reset will remove all data from your phone, including photos, contacts and messages. If you didn't have a backup on your Google Account or PC, it won't be possible to recover information. Frequently asked questions (FAQ) β Why After Updating MIUI The commercial reappeared? Firmware updates often reset ad settings, especially if youβve used methods without root rights (e.g., root-rights, ADB You'll have to repeat the shutdown procedure after the update, and to avoid that, install custom firmware (e.g. Xiaomi.eu) that doesn't contain ad modules initially. β Can you remove ads on the lock screen? Ads on the lock screen appear from the service com.miui.systemAdSolution. To remove them: Use the method 3 (ADB-commands: adb shell pm hide com.miui.systemAdSolution Or install an alternative launcher (e.g. Nova Launcher) and turn off the standard lock screen in the settings. ROM) This method may not work β you will need custom firmware. β Will the ad blocker on the Redmi Note work? 10/11/12? Yes, all of the methods described are suitable for Redmi series smartphones (including Redmi Note). 10/11/12, Redmi 9/10 etc., because they work on the same shell. MIUI. Exception - some budget models in China ROM, where some settings may be blocked. For them it is recommended: 3 (ADB) or 5 (Install custom firmware (e.g. Xiaomi.eu). β Can you remove ads without a computer? Yes, it's good: 1 (switch-off MIUI). Method 2 (region change. Method 5 (applications like AdGuard or Blokada 6 (Point-off in problem apps.To completely remove ads without a PC, you will need root rights or custom firmware installation through TWRP (But you still need a computer at the unlocking stage of the bootloader). β Is it legal to turn off ads on Xiaomi? Yes, disabling ads through phone settings or third-party apps (such as AdGuard) is not illegal. You have the right to customize your device as you wish, unless you use pirated firmware or hacked tools. However: Unblocking the bootloader and installing custom firmware may take away warranties (at the service center's discretion). Using root rights to delete system files theoretically violates the terms of the MIUI license agreement, but in practice it does not have any consequences for the user.