How to remove ads on Xiaomi completely: working methods with 4PDA

Advertising in the firmware MIUI has long been a headache for owners of Xiaomi smartphones. Even after buying premium models like Xiaomi 14 Ultra or Redmi Note 13 Pro+, users are faced with intrusive banners in system applications, notifications and even on the lock screen. The 4PDA forum collects the most relevant ways to deal with this problem โ€“ from standard settings to deep modifications of the system.

In this article, we have compiled 2026 working methods, verified by users. 4PDA, including hidden settings MIUI, ADB-It's important to understand that some methods require unlocking the bootloader or superuser rights, which can affect the warranty and stability of the device. If you're not prepared for the risks, start with the safe options in the first sections.

Xiaomi regularly updates its ad-show mechanisms, so some methods may stop working after major updates MIUI. For example, in the version MIUI 15 changed the path to some of the system packages that are responsible for advertising. 4PDA.

1. Disabling Advertising through the standard MIUI settings

To start with, the basics are built-in MIUI options that donโ€™t require superuser rights or PC connectivity, which work on most models, including the POCO X6 Pro, Redmi 12 and Xiaomi 13T, but may vary depending on the firmware version.

The first step is to disable personalized ads. Go to Settings โ†’ Google โ†’ Advertising and deactivate the option โ€œPersonalized Ads.โ€ This will not remove all ads, but will reduce the number of targeted banners. Next, check the settings of the Mi Account:

  • ๐Ÿ“ฑ In the "Security" app: open the Cleanup section โ†’ Settings (โš™๏ธ) โ†’ Recommend and disable all switches.
  • ๐Ÿ” Searching. MIUI: Go to Settings. โ†’ Additionally. โ†’ Search and deactivate "Show recommendations".
  • ๐Ÿ“Š In "Themes": in the application settings, turn off "Recommendations" and "Personalization".
  • ๐Ÿ“ฐ In the "News" (Mi Browser): go to Settings โ†’ Privacy and uncheck โ€œPersonalized Newsโ€ and โ€œContent Recommendations".

Pay special attention to system applications like Mi Video, Music and File Manager, each with its own section with ad settings โ€” usually hidden under the button. โ‹ฎ (three dots) or in a user profile, for example, in Mi Video you need to go to Profile โ†’ Settings โ†’ Advertising and disabling all available options.

โš ๏ธ Attention: After update MIUI Some settings may be reset. Check them every 1-2 months or after installing new firmware versions.

๐Ÿ“Š What kind of Xiaomi model do you have?
Redmi Note 12/13
POCO X5/X6
Xiaomi 13/14
Redmi 10/11
Another model

2. Hidden MIUI settings: how to disable advertising through codes

V MIUI There are hidden menus that don't show up in the standard interface, but allow you to customize the system more deeply. One of them is "Developer Settings," which opens up access to additional settings. To activate this mode, go to Settings. โ†’ About the phone and 7 times click on "Version" MIUI". After that, a new section will appear in the main settings menu "For developers".

You can now use special codes to enter hidden menus:

  • ๐Ÿ“ž Turn off adverts in calls: type in dial ##4636##, select Phone Information and find the option to turn off adverts in calls (if any).
  • ๐Ÿ”ง Resetting the Advertising ID: ##2432546## opens the Advertising reset menu ID, What can reduce the amount of targeted advertising.
  • ๐Ÿ“Š System Diagnostics: Using #464##, you can check which apps request access to advertising services.

Another working method is to disable system applications via ADB. This does not require root rights, but you need to connect the smartphone to the PC and use the command:

adb shell pm hide com.miui.systemAdSolution

This command hides the main module responsible for displaying ads in MIUI. The full list of disabling packages can be found in the 4PDA theme on removing ads.

โš ๏ธ Note: Not all codes work on new versions MIUI 14/15. If nothing happens after you enter the code, your firmware doesn't support it. Don't try to re-enter the code, it can cause a crash.

โ˜‘๏ธ Preparation for ADB-team

Done: 0 / 4

3. ADB-commands for deep removal of advertising

If standard settings didnโ€™t work, itโ€™s time to move on to more radical methods. ADB (Android Debug Bridge) allows you to disable the system packages responsible for displaying ads without obtaining root rights.This method works on most Xiaomi models, including the Redmi Note 12 Pro+ and POCO F5, but requires preliminary preparation.

First, install the Android SDK Platform Tools on your PC (you can download from the official website).

  1. Connect your smartphone to your PC and allow debugging over USB.
  2. Open the command prompt (or PowerShell) in the adb.exe folder.
  3. Enter the command to check the connection: adb devices If the device appears in the list, you can continue.
  4. Follow the commands to disable ad packages (example for MIUI 14): adb shell pm uninstall --user 0 com.miui.analytic adb shell pm uninstall --user 0 com.xiaomi.midrop adb shell pm uninstall --user 0 com.miui.systemAdSolution adb shell pm uninstall --user 0 com.android.browser

The full list of packages for your model can be found in the 4PDA themes for a particular device, for example, for the POCO X3 Pro you will need to disable additional services like com.miui.videoplayer and com.miui.player.

PackageAppointmentCan I turn it off?
com.miui.analyticCollecting analytics and displaying targeted advertisingYes.
com.xiaomi.midropAdvertising in Mi Drop (file transfer)Yes.
com.miui.systemAdSolutionMain Module of Advertising in MIUIYes.
com.android.browserMi Browser with built-in advertisingYes (can be replaced with Chrome)
com.miui.videoplayerAdvertising in a standard playerYes (if you use a third-party player)

Once packets are disabled via ADB, they can only be returned via resetting settings or re-installing via the same install flag command instead of uninstall.If you accidentally disable an important system component, this can lead to unstable smartphone operation.

๐Ÿ’ก

Before execution ADB-If you have problems after you disable the packets, you can return them with the adb shell cmd package install-existing command. <packet>.

4. Removal of advertising through root rights

If youโ€™re willing to take drastic measures, getting root rights will give you access to completely removing ad modules, a method thatโ€™s suitable for power users, as it requires unlocking the bootloader and installing a customized recap (such as TWRP). The 4PDA has detailed unlock instructions for each model โ€” for example, for Xiaomi 12T or Redmi K50.

Once rooted, you can use applications like AdAway or Blokada that block ad domains at the system level, and you can manually delete ad files through a root-access Explorer. In MIUI, for example, ads are often stored in ways that are:

  • ๐Ÿ“ /system/priv-app/MiuiSystemAdSolution
  • ๐Ÿ“ /data/app/com.miui.analytic-*
  • ๐Ÿ“ /system/app/MSA (Mobile Services Ads)

For automatic removal of advertising, we recommend using a script MIUI Debloater from users 4PDA. It removes not only advertising modules, but also unnecessary system applications, speeding up the smartphone. MIUI".

โš ๏ธ Attention: Unlocking the bootloader resets all data on the device! Xiaomi can also refuse warranty service if it finds traces of root rights. On new models (for example, Xiaomi 14), unlocking can be difficult due to anti-Rollback protection.

What happens if you remove the system application?
Removing critical system packages (e.g. com.android.phone) can cause the device to โ€œbrickโ€ โ€” the phone will stop turning on or lose communication. Always check the packet list before deleting and back up via TWRP.

5. Alternative firmware: how to get rid of advertising forever

If none of these methods worked, then you have custom firmware installed, which is a radical solution that removes MIUI completely and replaces it with pure Android or a modified version without ads, and 4PDA has the following firmware:

  • ๐ŸŒ Pixel Experience โ€“ pure Android with Google Services support.
  • ๐Ÿ”„ LineageOS - light firmware without unnecessary services.
  • ๐Ÿ“ฑ MIUI Pro - modified version MIUI without advertising and with additional functions.
  • ๐Ÿ›ก๏ธ Havoc-OS โ€“ firmware with advanced privacy settings.

The installation process includes unlocking the bootloader, firmware custom recovery (TWRP or OrangeFox) and directly installing the new firmware. For each Xiaomi 4PDA model, there is a separate theme with instructions and links to files. For example, for the Redmi Note 11 Pro+, Pixel Experience 13 firmware will suit, and for POCO F4, LineageOS 20.

Advantages of custom firmware:

    Disadvantages:

    • โŒ Loss of warranty and possible problems with OTA-update.
    • โŒ Certain functions (e.g, IR Blaster or Game Turbo may not work.
    • โŒ Risk of "brike" in case of improper installation.

    Important: Before installing the firmware, check that it is compatible with your model! Installing firmware from another model will cause the device to fail.

    ๐Ÿ’ก

    Custom firmware is the most reliable way to get rid of advertising, but it requires technical skills. If you're a beginner, start with root-free methods or contact the 4PDA forum for help.

    6. Additional methods: VPN, DNS and blockers

    If you don't want to interfere with system settings, you can use external tools to block ads, which do not remove ad modules from MIUI, but prevent them from working at the network or application level.

    1. Blocking through DNS

    Change. DNS-servers on your device that filter advertising domains:

    • ๐Ÿ”’ AdGuard DNS: 176.103.130.130 and 176.103.130.131
    • ๐Ÿ›ก๏ธ Cloudflare Family: 1.1.1.3 and 1.0.0.3
    • ๐ŸŒ NextDNS: Registration Requires, but Allows You to Configure Your Own Filters.

    To change DNS, go to Settings โ†’ Wi-Fi โ†’ Additional โ†’ IP Settings โ†’ Static and enter addresses in the DNS 1 and DNS 2 fields.

    Blocking applications

    Install one of these apps from Google Play:

    • ๐Ÿ›ก๏ธ Blokada โ€“ Blocks Advertising at Level VPN rootless.
    • ๐Ÿ” AdGuard โ€“ filters traffic and removes banners in the browser.
    • ๐Ÿ“ฑ NetGuard โ€“ controls the access of applications to the network.

    3. VPN with ad blocking

    Some of them VPN-Services like ProtonVPN or Windscribe have built-in ad filters, and it's not as effective as the way that they work. ADB or custom firmware, but it is easy to set up and does not require changes in the system.

    โš ๏ธ Attention: Advertising blockers at the level VPN If payments or authorization stop working after installation, temporarily disable the blocker.

    7. Frequent mistakes and how to avoid them

    When trying to remove ads, users often face typical problems, and here are the most common mistakes and ways to solve them:

    Problem.Reason.Decision
    Advertising returns after MIUI updateThe system restored the disconnected packetsRepeat. ADB-commands or use script to automatically disable
    Some functions do not work after packet removalCritical system component removedRestore the package via ADB or reset your settings
    The smartphone does not turn on after firmwareIncorrectly installed custom firmwareFlow the original MIUI via Fastboot (instructions on 4PDA)
    Blokada/AdGuard does not block adsThe application has no rights or conflicts with VPNCheck VPN settings and add the app to exceptions

    Another common mistake is using outdated instructions, such as MIUI 13, which used a method to disable ads by editing a build.prop file, but MIUI 14/15 stopped using this method. Always check the relevance of information on 4PDA or other thematic forums.

    If after all the manipulations the advertisement still appears, check:

      FAQ: Answers to Frequent Questions

      โ“ Can you remove ads on Xiaomi without rooting and ADB?
      Yes, but not completely. Through standard settings (Settings) โ†’ Ads) can be turned off some banners, but system advertising in applications like "Themes" or "Security" will remain. ADB-root.
      โ“ Why After Disabling Packages Through ADB commercials are back?
      Youโ€™ve probably upgraded MIUI, which automatically restores some system applications, repeat commands, or use a script to permanently disable (e.g. MIUI Debloater from 4PDA themes).
      โ“ Will the way to work with ADB Xiaomi 14s MIUI 15?
      Yes, but the package list may have changed. Check the actual data in your 4PDA model theme. For example, MIUI 15 has introduced new ad modules like com.miui.personalassistant.
      โ“ Can I return the disabled packets back?
      Yes, the adb shell cmd package install-existing command <name packet>. If you don't remember the names of the packages, look them up in the list of installed applications through adb shell pm list packages.
      โ“ Which custom firmware is best for POCO X5 Pro?
      The Pixel Experience 13 (pure Android) and MIUI Pro (modified MIUI without ads) are popular for this model. For links to firmware and instructions, look for the POCO X5 Pro branch on 4PDA.