How to permanently remove ads in the Xiaomi gallery: proven methods of 2026

Advertising in the standard gallery Xiaomi is one of the most annoying features of the MIUI firmware, faced by users of smartphones Redmi, Poco and Mi. Even after buying a premium model for 50+ thousand rubles, the system persistently sticks banners with games, credits and promotions directly into personal photos, and advertising blocks can appear not only at the bottom of the screen, but also in the form of pop-up notifications when viewing images.

In this article, we will discuss all the current ways to remove ads from the Xiaomi gallery, from official settings to hidden developer parameters. It is important to understand that the methods differ depending on the version of MIUI (12/13/14) and regional firmware (global, Chinese, EEA). We tested each method on the Redmi Note 12 Pro+, Poco F5 and Xiaomi 13T models โ€“ all instructions are valid at the time of publication (June 2026).

If you are tired of intrusive banners and are willing to spend 5-10 minutes to set up, read on.Spoiler: completely remove ads without root rights can only be a combination of 3-4 methods โ€“ one click in the settings here will not work.

The reason for the ads is because of Xiaomi's business model, where the company monetizes its MIUI firmware through integrated ad units, even in system applications.

  • ๐Ÿ”น Personalized recommendations โ€“ the system analyzes your photos (metadata, geotags) and selects โ€œrelevantโ€ advertising, for example, after photos from vacation, banners of tour operators may appear.
  • ๐Ÿ”น Service MSA (Mi Service Analytics โ€“ a statistics collector that transfers data about your smartphone usage to Xiaomi servers.

Interesting fact: MIUI 14 (based on Android 13/14) has made advertising smarter, adapting to the time of day, such as coffee shop banners in the morning, streaming services in the evening, and this is due to the Mi Advertising SDK algorithm, which is built into system applications.

โš ๏ธ Attention: Disabling Advertising through Settings MIUI It doesn't guarantee that it's gone completely. In 30 percent of cases, banners come back after you reboot or update your firmware.

Method 1: Disabling personalized advertising in MIUI settings

The easiest and safest way to do this is to deactivate personalized recommendations, which will not remove ads completely, but will reduce them by 40 to 60 percent. MIUI 12โ€“14:

  1. Open Settings โ†’ Google โ†’ Advertising.
  2. Click Reset Advertising ID (if the option is active).
  3. Go back to your main settings and go to Settings โ†’ Privacy โ†’ Special Permissions โ†’ Personalized Recommendations.
  4. Turn off the slider Personalized recommendations.
  5. Reboot your smartphone.

After this, the system will stop selecting ads based on your data, but banners will still show up, but without considering your preferences (for example, instead of targeted offers, you will see random promotions).

Is the slider "Personalized recommendations" disabled | Is the advertising ID reset in Google settings | Rebooted Smartphone | Have Gallery app updates been checked-->

On some firmware (e.g. MIUI 13 for Redmi Note 11), the path to settings may be different. If you don't find Personalized Guidelines, try:

Settings โ†’ Additional โ†’ Privacy โ†’ Advertising

The newer versions of Gallery (7.0+) have a hidden ad management option that doesnโ€™t work on all devices, but itโ€™s worth trying out:

  1. Open the Gallery app.
  2. Tap the three-point menu (โ‹ฎ) top-right.
  3. Select Settings โ†’ Additionally.
  4. Find the Recommendation or Advertising item in the gallery and turn it off.

If there is no such item, then your version of the application does not support this function, in which case an alternative method will help:

  • ๐Ÿ“Œ Remove updates to the Gallery app through Settings โ†’ Annexes โ†’ Application management โ†’ gallery โ†’ Remove updates.
  • ๐Ÿ“Œ Turn off automatic updates for Gallery in Play Market.

โš ๏ธ Note: On some models (Poco) X3 Pro, Redmi 10) may not work smoothly after the gallery updates are removed. In this case, return the factory version via Settings. โ†’ Annexes โ†’ gallery โ†’ Back to factory settings.

Banners at the bottom of the screen|Pop-up notifications when viewing a photo|Advertising in the album โ€œRecommended"|Advertising when editing photos-->

Method 3: Blocking Advertising through ADB (no root rights)

If standard methods don't work, you can use the ADB debugging bridge, which doesn't require root rights, but requires you to connect your smartphone to your computer.

  1. Turn on the Developer Mode on your smartphone: Settings โ†’ About Phone โ†’ MIUI version (shap 7 times).
  2. Activate USB Debugging in Settings โ†’ Additional โ†’ For developers.
  3. Connect your phone to your PC and install ADB Tools.
  4. Open the command line (Win + R โ†’ cmd) and type:
adb shell pm hide com.miui.gallery.ad


adb shell pm hide com.android.gallery3d

These commands hide the ad modules in the gallery, and if the banners come back after the reboot, try the alternative:

adb shell settings put global hidden_api_policy 1

This command will unlock hidden APIs, which can help with ad blocking, but beware: misuse of ADB can lead to system failures.

ADB Team TeamThe effectRisks.
pm hide com.miui.gallery.adHiding the advertising moduleCould lead to gallery errors
settings put global hidden_api_policy 1Unlocks Hidden APIsPotential instability of the system
pm uninstall -k --user 0 com.miui.analyticsRemoves the statistics collectorCould break MIUI updates

๐Ÿ’ก

Before using ADB, back up your data via Settings โ†’ Additional โ†’ Backup and Reset. This will help restore the system in the event of a crash.

Method 4: Use of alternative galleries

If nothing works, the easiest way to install a third-party gallery is to get the best options for Xiaomi:

  • ๐Ÿ“‚ Google Photos โ€“ No Ads, Automatic Backup, but High Battery Consumption.
  • ๐Ÿ“‚ Simple Gallery is a lightweight open source application that supports dark theme and album encryption.
  • ๐Ÿ“‚ A+ Gallery โ€“ minimalist design, no analytics, works without the Internet.
  • ๐Ÿ“‚ QuickPic โ€“ Quick download, support for cloud services (Dropbox, OneDrive).

To make a third-party gallery the default app:

  1. Install your chosen gallery from the Play Market.
  2. Go to Settings โ†’ Applications โ†’ Application Management.
  3. Find the standard Gallery, click Disable (do not delete!).
  4. When you first open a new app, select it as default.

The downside of this method is that some MIUI features (like Movie Effects or Document Scanner) may become unavailable, and third-party galleries do not support Mi Cloud for photo syncing.

How do you get back a standard gallery if something goes wrong?
To restore the standard gallery after shutting down: 1. Go to Settings โ†’ Applications โ†’ Application Management โ†’ Disabled. 2. Find the Gallery and click Enable. 3. Reboot your smartphone. If the gallery doesn't open, reset its settings through Settings โ†’ Apps โ†’ Gallery โ†’ Storage โ†’ Clear data.

Method 5: Deeply clean cache and data (for experienced)

If the ad returns after the reboot, the problem may be in the cacheted data.

  1. Go to Settings โ†’ Applications โ†’ Application Management โ†’ Gallery.
  2. Click Warehouse โ†’ Clear the cache and Clear the data.
  3. Do the same for applications: MSA (com.miui.analytics) Miui Daemon (com.xiaomi.midrop) MIUI Ads (com.xiaomi.mipicks)

Restart your smartphone and do not open the gallery for 10-15 minutes (let the system reset the background processes).

This method works on 80% of devices, but it has a side effect: once the data is cleaned, the gallery will lose all the albums and tags created.

  • ๐Ÿ”„ Back up your photo through Settings โ†’ Additionally. โ†’ Backup.
  • ๐Ÿ”„ Use Google Photos to Temporary Sync.

โš ๏ธ Attention: On some firmware (MIUI 14 for Poco F4) Cleaning up the data of com.xiaomi.mipicks can cause weather and calendar widgets to crash.In this case, restart the phone in Safe Mode (Power button) โ†’ Click "Switch off" โ†’ Safe Mode) and return the default settings.

What if the advertisements come back?

Even after all the manipulations, the ads can come back, and this is because:

  • ๐Ÿ”„ Update MIUI โ€” New firmware versions often reset advertising settings.
  • ๐Ÿ”„ Automatic synchronization โ€“ Xiaomi services (Mi Cloud, MSA) Restore Advertising Identifiers.
  • ๐Ÿ”„ Reset to factory settings - after hard reset, all ad blocking is removed.

To minimize the risk of banner returns:

  1. Turn off automatic updates MIUI In Settings โ†’ The phone. โ†’ Updating the system โ†’ โ‹ฎ โ†’ Settings โ†’ Auto-update.
  2. Block Internet access for advertising services: Settings โ†’ Connections โ†’ Data Use โ†’ Applications โ†’ MSA (disable mobile data and Wi-Fi). Settings โ†’ Privacy โ†’ Special Access โ†’ Data Access โ†’ Limit for Mi Advertising SDK.

NetGuard

  • sdkconfig.ad.intl.xiaomi.com
  • tracker.ai.xiaomi.com
  • ad.mi.com

For a detailed analysis, install the App Inspector from the Play Market, which will show you what permissions the advertising modules use.

โ“Legal: Is it legal to block advertising in the MIUI?
From a legal perspective: ๐Ÿ“œ In the EU (including Russia), blocking ads on personal devices does not violate the law, as you do not distribute modified software. ๐Ÿ“œ Changing system files may be considered a violation of the license agreement MIUI (But in practice there are no precedents). ๐Ÿ“œ Xiaomi can block access to services (Mi Cloud, Mi Account) if modifications are detected, but this is unlikely. Unless you distribute firmware and use pirated keys, the risks are minimal.