Why is it that Xiaomi devices are using ads and can it be removed forever?
Xiaomi devices are some of the most popular on the market due to their price/quality ratio, but many users face intrusive advertising in system applications, on the lock screen and even in the settings menu. The reason lies in the companyβs business model: MIUI (and now HyperOS) contains built-in ad modules that load banners from Xiaomi servers, which allows the brand to keep prices lower than those of competitors.
The good news is that ads can be turned off almost completely β at least 90% of the places where they appear. Bad: some methods require unlocking the bootloader or root rights, which makes it impossible to guarantee. In this article, we will analyze all the working methods from simple (through settings) to advanced (using ADB and modified firmware), and also tell you which Xiaomi models allow you to remove ads without risk to the system.
Itβs important to understand that even after disabling ads, they can appear in third-party apps (such as Mi Browser or Mi Video), which can only help if you remove these apps or replace them with alternatives from Google Play.
Method 1: Disabling personalized advertising in MIUI/HyperOS settings
The easiest and safest method is to deactivate personalized recommendations through the settings menu, which will not eliminate ads completely, but will significantly reduce the amount of advertising, and the instructions are relevant for MIUI 12/13/14 and HyperOS (starting with version 1.0).
Go to: Settings β Xiaomi Account β Mi Account β Privacy β Personalized recommendations
Turn off the Personalized Advertising Services slider, and then go back to the basic settings and find:
Settings β Additional β Special features β Notifications and status bar β Show recommendations
Turn off all sliders here as well.
- π Where to look: Menu item names may vary slightly depending on the firmware version. If you don't find "Personalized Recommendations," try the Settings path. β Memory. β Cleanup β Settings β Advertising.
- βοΈ For HyperOS: In the new shell, the path could be: Settings β Accounts and synchronization β Mi Account β Privacy settings β Advertising services.
- π± Exceptions: Some models (e.g. Redmi Note 12 for the European market) may not have this item due to regional restrictions.
β οΈ Note: Disabling personalized ads does not remove banners in system applications like Mi Music or Mi Video).
Method 2: Manually disabling advertising through hidden settings (without root)
MIUI and HyperOS have hidden options that allow you to disable ads without using root or ADB. This method works on most devices, including the Xiaomi 13/14, Redmi Note 11/12 and POCO F/X series.
You'll need to type in the Testing app (hidden by default) to activate it:
- Open the Phone app and enter the code ##4636##.
- In the menu that appears, select "Phone Information" (or "Usage Statistics").
- Tap 5-7 times on the MIUI version (or MIUI version) until the notification βYou are a developer!β appears.
- Go back to the basic settings and find a new Settings section β Additional β For developers.
- Activate the Developer Mode slider and find the Testing (or Testing) item.
Now in the Testing app, enter the following commands alternately (via the input field at the top of the screen):
setprop persist.sys.miui_optimize 0
setprop persist.sys.miui_analytics 0
setprop persist.sys.xiaomi_no_check_update 1After you type in each command, click "Run." Then restart the device. Ads should disappear from:
- π± Lock screen
- π§ Menu settings (section "Recommendations")
- π Applications Files, Downloads, Browser
β οΈ Note: On some devices (e.g. Xiaomi) 12T HyperOS, these commands can be reset once the firmware updates. You'll have to repeat the procedure again.
Developer mode activated
Annex βTestingβ has been installed
All 3 teams are introduced (see above)
Backup of important data is made
Device rebooted.-->
Method 3: Remove system applications with ads (ADB required)
If previous methods have failed, the next step is to remove embedded apps that show ads. This can be done without root, but you will need ADB (Android Debug Bridge).The method works on all Xiaomi devices, including POCO and Redmi, but requires caution: removing critical applications can lead to unstable system operation.
First, prepare the computer:
- Download and install ADB Tools (part of the Android SDK).
- Turn on the phone "Debugging by USB" in Settings β For developers.
- Connect the phone to the PC and confirm the debugging request.
Now open the command prompt (or Terminal on Mac/Linux) in the adb.exe folder and type:
adb devicesIf the device appears in the list, follow the command to remove unnecessary applications. Below is a list of safe packets to remove (advertising modules):
| Title of the annex | Packet name | What's removed |
|---|---|---|
| Miui Daemon | com.miui.daemon | Service responsible for displaying advertising in system notifications |
| MSA (Miui System Ads) | com.miui.systemAdSolution | The main module of personalized advertising |
| Analytics | com.miui.analytics | Collection of usage statistics (can restore advertising) |
| Yellow Pages | com.miui.yellowpage | Advertising banners in the menu "Contacts" and "Phone" |
| Mi Browser | com.android.browser | Browser with built-in advertising (can be replaced with Chrome) |
To remove the packet, use the command:
adb shell pm uninstall --user 0 name packetExample of MSA removal:
adb shell pm uninstall --user 0 com.miui.systemAdSolutionβ οΈ Note: Do not delete packages called com.android. or com.qualcomm. - this may lead to the inability to boot the system. If after deleting problems arise, restore the application command: adb shell cmd package install-existing name packet
What if the ADB canβt see the device?
Method 4: Use custom firmware (for advanced users)
If you're willing to sacrifice official firmware for no advertising, the best option is to install custom firmware.
- π± LineageOS β βcleanβ Android without unnecessary services Xiaomi.
- π§ Pixel Experience β firmware with Google Pixel interface and minimalist design.
- β‘ Xiaomi.eu β modified MIUI/HyperOS Advertising-free and Chinese-based.
- π‘οΈ ArrowOS β Lightweight firmware with a focus on privacy.
The installation process shall include:
- Unlocking the bootloader (officially via the Mi Unlock Tool, requires a Xiaomi account and waiting 7-15 days).
- Installation of custom recavery (for example, TWRP).
- Flash (firmware) of the selected custom firmware via fastboot or TWRP.
Advantages:
- β Total lack of advertising (including system applications).
- β Regular security updates from the community.
- β Ability to fine-tune the interface.
Disadvantages:
- β Loss of official guarantee.
- β Risk of "bricking" the device in case of error.
- β Certain functions (e.g, IR-blaster NFC) They may work unstablely.
π‘
Before you run your firmware, check your model support on the XDA Developers forum or in the Xiaomi custom firmware telegram chats.
Method 5: Disable Advertising on Xiaomi TVs (Mi TV, Redmi TV)
Xiaomiβs smart TVs (Mi TV A2, Redmi Smart TV X, Mi TV Q2, etc.) are also affected by home screen and menu advertising, and the methods are different from smartphones, but also effective.
Instructions for PatchWall (shell on Mi TV):
- Go to Settings β Account and Security β Privacy β Personalized Ads and turn off all sliders.
- Return to Settings β About TV β Software version and 7 times click on βPatchWall Versionβ to activate the developer mode.
- Now in Settings β For developers, turn on βDebugging by ADBβ.
- Connect the TV to the same Wi-Fi network as the computer and type in Terminal (or CMD):
adb connect IP_your TV:5555
adb shell pm uninstall --user 0 com.mitv.tvhome
adb shell pm uninstall --user 0 com.miui.tv.adsFor Redmi TV with Google TV:
- π Remove Mi Home and Mi Video apps via Settings β Annexes.
- πΊ Turn off recommendations in Settings β Screen. β Recommendations on the home screen.
- π§ Use it. ADB To remove com.xiaomi.mitv.appstore and com.miui.systemAdSolution.
β οΈ Note: On Xiaomi TVs with Google TV (Like Mi. TV Q2 2023) removing system applications may cause the launcher to crash, in which case only resetting to factory settings will help.
Method 6: Alternative methods (DNS blocking, Firewall)
If you donβt want to remove system applications or use ADB, you can block Xiaomiβs ad servers at the network level.
- π Change of change DNS: Use it. 1.1.1.1 (Cloudflare or 8.8.8.8 (Google DNS) customized Wi-Fi/This blocks some of the ad domains.
- π₯ Firewall applications: NetGuard or AFWall+ (requires root) allow you to block access to ad servers for individual applications.
- π‘ Locked Router: Set up a router to block the domains.miui.com,.xiaomi.com, *.ad.mi.com via OpenWRT or Pi-hole.
To block through NetGuard (without root):
- Install NetGuard from Google Play.
- Enable βTraffic Filtrationβ in the application settings.
- Add rules to block domains: *.ad.mi.com *.tracker.miui.com *.api.ad.xiaomi.com
- Reset the device.
This method is less reliable than packet removal, but does not require any system intervention and is suitable for warranty devices.
π‘
DNS blocking and firewalls do not remove ads completely, but reduce the number of ads by 60-80%. For 100% of the result, combine this method with disabling personalized recommendations (Method 1).