How to completely disable advertising on Xiaomi: instructions for all devices

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).

πŸ“Š What kind of firmware do you use?
MIUI 14
HyperOS 1.0
HyperOS 2.0
Custom firmware (LineageOS, Pixel Experience, etc.)
I don't know.

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:

  1. Open the Phone app and enter the code ##4636##.
  2. In the menu that appears, select "Phone Information" (or "Usage Statistics").
  3. Tap 5-7 times on the MIUI version (or MIUI version) until the notification β€œYou are a developer!” appears.
  4. Go back to the basic settings and find a new Settings section β†’ Additional β†’ For developers.
  5. 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 1

After 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:

  1. Download and install ADB Tools (part of the Android SDK).
  2. Turn on the phone "Debugging by USB" in Settings β†’ For developers.
  3. 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 devices

If 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 annexPacket nameWhat's removed
Miui Daemoncom.miui.daemonService responsible for displaying advertising in system notifications
MSA (Miui System Ads)com.miui.systemAdSolutionThe main module of personalized advertising
Analyticscom.miui.analyticsCollection of usage statistics (can restore advertising)
Yellow Pagescom.miui.yellowpageAdvertising banners in the menu "Contacts" and "Phone"
Mi Browsercom.android.browserBrowser with built-in advertising (can be replaced with Chrome)

To remove the packet, use the command:

adb shell pm uninstall --user 0 name packet

Example 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?
1.Make sure drivers are ADB Install them (download them from Xiaomi or via Mi) PC Suite). 2. Try another one. USB-cable (preferably original). 3. Include in the developer settings the item "Debugging by USB (Security settings)" and select "Always Allow from this computer. 4. Restart your phone and PC then reconnect.

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:

  1. Unlocking the bootloader (officially via the Mi Unlock Tool, requires a Xiaomi account and waiting 7-15 days).
  2. Installation of custom recavery (for example, TWRP).
  3. 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):

  1. Go to Settings β†’ Account and Security β†’ Privacy β†’ Personalized Ads and turn off all sliders.
  2. Return to Settings β†’ About TV β†’ Software version and 7 times click on β€œPatchWall Version” to activate the developer mode.
  3. Now in Settings β†’ For developers, turn on β€œDebugging by ADB”.
  4. 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.ads

For 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):

  1. Install NetGuard from Google Play.
  2. Enable β€œTraffic Filtration” in the application settings.
  3. Add rules to block domains: *.ad.mi.com *.tracker.miui.com *.api.ad.xiaomi.com
  4. 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).

FAQ: Frequent questions about advertising on Xiaomi

πŸ” Why did the update come back to the adverts?
Updates MIUI or HyperOS often restore remote system applications and reset ad settings. To avoid this: Turn off automatic updates to Settings β†’ The phone. β†’ Updating the system β†’ βš™οΈ β†’ Auto Update: Use Magisk to block specific package updates (e.g. com.miui.systemAdSolution).
πŸ“΅ Can you remove ads on Redmi with global firmware?
Yes, but on global firmware (e.g. Redmi Note 12 Global), some methods may not work due to regional restrictions. Try: Install Xiaomi.eu (European firmware without ads). Use ADB to remove packets (see Method 3). Change region to "India" in Settings β†’ Additional β†’ Region - sometimes this opens up access to hidden ad settings.
⚠️ Is it safe to remove system applications through ADB?
Removing only the packages listed in this article is safe for the system. However: Do not delete applications called com.android., com.qualcomm., com.google.. Before deleting, backup via adb backup or TWRP. If you have problems after deleting (for example, the Camera is not working), restore the package with the command adb shell cmd package install-existing the name packet.
πŸ”„ How to return advertising if you need it for discounts in the Mi Store?
Some Xiaomi promotions (such as Mi Store discounts) require personalized ads to be turned on. To return them: Go to Settings β†’ Xiaomi Account β†’ Mi Account β†’ Privacy and enable Personalized Advertising Services. If you have removed packages through ADB, restore them with a command: adb shell cmd package install-existing com.miui.systemAdSolution Reboot your device. Discounts will be available in 24-48 hours.
πŸ“± Are these methods working on POCO and Black Shark?
Yes, POCO and Black Shark devices are MIUI/HyperOS based, so all of the methods described apply. Exceptions: POCO Launcher does not show ads, but system banners (for example, in Settings) remain. On Black Shark, you can additionally disable game ads in Settings β†’ Black Shark β†’ Game Center β†’ Advertising.