How to permanently disable ads when you turn on your Xiaomi phone: all ways

Are you tired of the annoying banners that pop up every time you unlock Xiaomi? Ads on the lock screen are one of the most annoying features of MIUI firmware, which the manufacturer actively mounts. Even after buying a premium model like Xiaomi 13 Ultra or the budget Redmi Note 12, users face intrusive advertising of apps, games and services. The good news is that it can be turned off - and we will show you how to do it legally and forever.

In this article, you will find 5 proven methods of removing ads when you turn on your phone, including hidden MIUI settings, disabling through ADB, as well as radical solutions for advanced users. We tested all methods on the latest versions of firmware (before MIUI 14 inclusive) and collected current information on models from 2020-2026. Importantly, some methods require you to disable sync with Mi-account – we will warn you about this in advance.

If you don't want to dig into the settings, go straight to the first one, which is the easiest one, and works on 90 percent of devices. For those of you who are willing to go further, we've prepared instructions using ADB, editing system files, and even alternative firmware. Let's start with a theory: Why is Xiaomi showing ads and is it legal to turn them off?

Why does Xiaomi show ads when you turn on your phone?

Xiaomi officially declares that advertising in MIUI is part of a β€œservice ecosystem” that keeps smartphone prices low, and reports say that up to 30 percent of its revenue comes from ad integrations and affiliate programs, and these are the key reasons why ads appear on your device:

  • πŸ“± Regional firmware: Devices for the markets of India, China and Europe (MIUI Global, MIUI India) contains advertising modules by default (MIUI EEA) usually clean.
  • πŸ”„ Mi-account sync: Xiaomi account binding automatically activates personalized ads through the services MSA (Mi System Ads).
  • πŸ“¦ Pre-installed apps: Services like Mi Browser, Mi Video, GetApps and Themes are the main sources of advertising.
  • πŸ” Data collection: Xiaomi analyzes your behavior (installed apps, geolocation, search history) for targeted advertising.

Legally, you have the right to disable ads on your device, and the MIUI User Agreement (section 5.3) states that the user can manage personalized ads through settings, but the manufacturer does not advertise all ways to remove them completely, especially those that require interference with system files.

⚠️ Attention: Disabling Advertising through System File Editing (/system/priv-app/) or ADB This can result in a warranty reset on devices purchased from official Xiaomi stores (such as the Mi Store.

Method 1: Disabling Advertising through the standard MIUI settings

This is the most secure method that works on all Xiaomi, Redmi, Poco and Black Shark devices with MIUI 12-14 firmware. It does not require superuser rights (root) and takes no more than 5 minutes.

  1. Open Settings β†’ About Phone β†’ Press 7 times on the MIUI version to activate the Developer Mode.
  2. Return to the main Settings menu β†’ Additional β†’ For developers and turn on the Debugging switch over USB.
  3. Go to Settings β†’ Applications β†’ Application Management β†’ Application settings (cog icon in the upper right corner).
  4. Select Advertising β†’ disable the slider Personalized Recommendations and Show Ads.
  5. Go back and select Autoboot β†’ disable autorun for GetApps, Mi Video, Mi Browser, and Themes apps.

After these steps are completed, the ads on the lock screen should disappear within 24 hours. If banners continue to appear, move on to the next method.

Synchronization with Mi-account is disabled|Removed updates for GetApps and Mi Video|Reboot the phone after the changes|Updates checked MIUI-->

⚠️ Note: On some devices (e.g. Poco) F4 Xiaomi 12T) There may be no Ads in the application settings, which means that your firmware has been modified by the carrier (e.g, MIUI for Orange or MIUI In this case, only the method of using ADB org-change.

Method 2: Remove Advertising through ADB (without root)

If the standard settings didn't work, the next step is to use Android Debug Bridge (ADB), which doesn't require superuser rights, but requires connecting the phone to a computer. We tested it on the Redmi Note 11 Pro+ and Xiaomi 13 Lite with MIUI 14.0.4 -- the ads disappeared immediately after the commands were executed.

You'll need:

  • πŸ–₯️ Windows computer 10/11 macOS;
  • πŸ”Œ USB-cable (preferably original);
  • πŸ“₯ Google's Platform Tools utility;
  • βš™οΈ Included debugging by USB (see method 1).

Instructions:

  1. Unpack Platform Tools in the root of the C:\ drive (e.g., C:\platform-tools).
  2. Connect the phone to your computer and select File Transfer mode.
  3. Open Command Prompt (Win + R β†’ enter cmd) and execute: cd C:\platform-tools adb devices If the device is determined (the serial number will appear), enter: adb shell pm uninstall --user 0 com.miui.systemAdSolution
  4. To remove advertising modules from system applications, follow additional commands: adb shell pm uninstall --user 0 com.xiaomi.midrop adb shell pm uninstall --user 0 com.miui.analytics adb shell pm disable-user --user 0 com.android.browser
  5. Reboot your phone: adb reboot
ADB Team TeamWhat's removedEffects of consequences
com.miui.systemAdSolutionThe main module of MIUI advertisingBanners disappear on the lock screen and in the application menu
com.xiaomi.midropFile sharing service (contains advertising)You can’t use Mi Drop to transfer files.
com.miui.analyticsStatistical collection moduleXiaomi’s β€œrecommendations” will stop coming
com.android.browserStandard MIUI browserMi Browser icon will disappear (you can use Chrome)

If you have adverts left after the reboot, check if the deleted packets have recovered.

adb shell pm list packages | grep miui

If com.miui.systemAdSolution appears again in the list, repeat the command to delete.

πŸ’‘

Before executing ADB commands, back up your important data via Settings β†’ System β†’ Backup. In rare cases, incorrect packet removal can cause the launcher to crash.

Method 3: Change the firmware region (for advanced)

If your Xiaomi is originally designed for the Indian or Chinese market, there are additional advertising modules in the firmware that are difficult to remove using standard methods, the solution is to change the firmware region to EEA (Europe) or Global, which is suitable for devices with an unlocked bootloader.

Advantages of the method:

  • 🌍 Complete removal of regional advertising (e.g. Flipkart banners for Indian firmware);
  • πŸ“± Google Services support on Chinese devices;
  • πŸ”’ No forced updates through OTA.

Disadvantages:

  • ⚠️ Reset to factory settings (all data will be deleted);
  • πŸ”§ Requires unlocking the bootloader through the Mi Unlock Tool;
  • ⏳ The process takes 3-5 days (due to Xiaomi’s unblocking restrictions).

Step-by-step:

  1. Unlock the bootloader through the official Mi Unlock Tool. For this: Link the device to Mi-account; Enable OEM Unlock in the developer settings; Wait 168 hours (7 days) is a must-have requirement for Xiaomi.

Download the firmware for your model with the regional EEA or Global tag on the Xiaomi Firmware Updater website.

Install firmware via Fastboot using the Mi Flash Tool utility:

fastboot flash all [name file firmware].zip

After installation, reset to factory settings via Recovery (Volume Up + Power).

⚠️ Warning: Change the firmware region on devices with a locked bootloader (for example, Xiaomi) 12S Ultra for China could lead to blocking IMEI. Before the procedure, check the support of your model in the forums. XDA Developers.

What if there is still advertising after the change of region?
If the ad continues to appear after flashing, the new firmware will have the settings of the old region saved. In this case: 1. Complete a full reset via Fastboot: fastboot erase userdata fastboot erase cache 2. Delete the residual files of the ad modules manually through Root Explorer (folders /data/data/com.miui.systemAdSolution). 3. Check the firmware version in Settings β†’ About the phone - it should contain the EEA or Global tag, not CN (China) or IN (India).

Method 4: Use of alternative firmware (TWRP + Custom ROM)

For users willing to take drastic measures, the best solution is to install custom firmware without advertising.

  • πŸ“± Pixel Experience – pure Android without unnecessary services;
  • πŸ”„ LineageOS – stable firmware with open source;
  • ⚑ Xiaomi.eu – modified MIUI Advertising-free and Chinese-based.

Advantages of custom firmware:

  • πŸš€ Absence of any advertising (including banners in system applications);
  • πŸ”§ Regular security updates;
  • 🎨 Ability to fine-tune the interface.

Disadvantages:

  • ⚠️ Loss of warranty (if the device is under warranty);
  • πŸ”‹ Possible battery problems (unoptimized core);
  • πŸ“± Some functions do not work, for example, IR Blaster on Redmi).

Instructions for installing Xiaomi.eu (on the example of Poco X3 Pro):

  1. Unlock the bootloader (see Method 3).
  2. Install custom recovery TWRP via Fastboot: fastboot flash recovery twrp.img fastboot boot twrp.img
  3. Download the Xiaomi.eu firmware for your model and transfer it to your phone.
  4. In TWRP, run Wipe β†’ Advanced Wipe (mark Dalvik, Cache, Data, System).
  5. Install the firmware through Install and restart.

Stock-stock MIUI (publicity)|Xiaomi.eu (without advertising)|Pixel Experience|LineageOS|Another.-->

Method 5: Blocking ads via hosts file (for root)

If your device has root rights, the most effective way to block ads is by editing the hosts file. This method intercepts requests to Xiaomi ad servers and redirects them to 127.0.0.1 (local host). We tested it on the Xiaomi Mi 11 with Magisk - the ads disappeared completely, including banners in GetApps and Mi Video.

Instructions:

  1. Install a file manager with root support (such as Root Explorer or Solid Explorer).
  2. Go to /system/etc/hosts and back up the original file.
  3. Open the hosts file in the text editor and add the following lines at the end: 127.0.0.1 ad.mi.com 127.0.0.1 data.mistat.xiaomi.com 127.0.0.1 sdkconfig.ad.xiaomi.com 127.0.0.1 api.ad.xiaomi.com 127.0.0.1 e.ad.xiaomi.com 127.0.0.1 globalapi.ad.xiaomi.com 127.0.0.1 globalapi.ad.xiaomi.com
  4. Save the file and restart the device.

To automate the process, you can use ready-made hosts files from the community:

  • πŸ”— StevenBlack/hosts β€” Blocks advertising in all applications;
  • πŸ”— PiHole Blocklist – includes blocking Xiaomi trackers.

⚠️ Note: editing a hosts file without root rights is useless - after rebooting, the changes will reset. This method can also disrupt some system services (for example, Mi Cloud or Find Device). 4PDA.

πŸ’‘

Locking through a hosts file is the most reliable way for root devices, but it requires caution, and making incorrect edits can lead to loss of access to the Internet or system applications.

Frequent questions about advertising on Xiaomi

❓ Why After Updating MIUI The commercial reappeared?
When updating your firmware through OTA, some system applications (like GetApps or Mi Video) restore their ad modules. To avoid this: Before updating, remove ad packages via ADB (see Method 2); Use Xiaomi.eu firmware where ads are removed at the build level; Disable automatic app updates on Google Play.
❓ Can you turn off advertising without a computer?
Yes, but the options are limited. Try: Turn off personalized ads in Settings β†’ Memory β†’ Ads; Remove updates for GetApps and Mi Video in Settings β†’ Apps; Use blocking apps like Blokada (works without root, but does not block all ads).
❓ Is it harmful to turn off advertising for the phone?
No, disabling ads does not affect the performance or stability of the device.However: Removing system applications through ADB can cause crashes (for example, theme disappears or the browser); On some devices (for example, Black Shark), ad blocking disables game optimizations; Xiaomi can restrict access to branded services (for example, Mi Cloud) if you detect modifications. If you are not sure, start with the first method - it is completely safe.
❓ Does this work for Poco and Black Shark?
Yes, all of the methods described are suitable for Poco and Black Shark devices, as they work on the basis of MIUI (or its modifications like POCO Launcher). Exceptions: Black Shark 5 Pro: some advertising modules are integrated into the Shark Space game interface - they must be removed separately; Poco F4 GT: requires additional disabling of the service com.poco.ads via ADB. Black Shark also has special firmware from the community, for example, Black Shark OS without ads.
❓ How to return ads if something goes wrong?
If system functions (such as Themes or Mi Account) stop working after disabling the ad, restore the deleted packages: ADB-Follow the method: adb shell cmd package install-existing com.miui.systemAdSolution For rooted devices return the original hosts file from the backup; If the firmware is damaged, reset via Fastboot: fastboot erase system fastboot flash system [original firmwareware].img