How to permanently disable Xiaomi Gallery Advertising: The Complete 2026 Guide

Advertising in the standard gallery Xiaomi, Redmi and Poco has become one of the most annoying features of the MIUI firmware. Banners under photos, recommendations of β€œinteresting” pictures and pop-up offers sometimes occupy up to 30% of the screen, preventing a comfortable viewing of personal photos.

Compounding the problem, with each update to MIUI 12/13/14, the algorithms for displaying ads become more aggressive, and the standard settings for disabling them are often reset or hidden deeper in the menu. This article will help remove all ad units from the gallery without root rights, using both official methods and workarounds for different versions of the firmware. We tested all methods on models from the Redmi Note 10 Pro to Xiaomi 13 Ultra β€” the results are summarized in the comparison table below.

The root of the problem lies in Xiaomi’s business model: the company makes money not only from selling devices, but also from integrated advertising in branded services. com.miui.gallery is one of the key applications that show:

  • πŸ“’ Banners under albums ("Recommended wallpaper", "Top photos of the week")
  • πŸ” Download Mi Video or Mi Community Pop-ups
  • πŸ–ΌοΈ Advertising pictures masquerading as user photos (often marked "Sponsor")
  • 🎯 Personalized offers based on analysis of your pictures (recognition of places, objects)

Technically, the ads are loaded via MSA (Mi Service Analytics) and Miui Ad Framework services, and even if you turn off the impressions in the settings, some banners may return after:

  • πŸ”„ Firmware updates (especially major versions) MIUI)
  • πŸ“± Resetting the device
  • πŸ”§ Resetting the settings of the Gallery application
πŸ“Š How often do you see ads in the Xiaomi Gallery?
All the time, on every album.
Sometimes, 1-2 banners a day
No advertising, but it's been there before.
I've never seen an advert.

Method 1: Disabling Advertising through MIUI Settings (Official Method)

The safest, but least effective way is to use the built-in system options, which are suitable for users who do not want to interfere with system files. MIUI 12.5–14:

  1. Open the Gallery app and tap on the three dots in the upper right corner.
  2. Select Settings β†’ General settings.
  3. Scroll down to the Recommendations section and disable:

About the programme

hidden settings of the developer

Disable Ads

⚠️ Note: On some devices (e.g. Poco) F4 s MIUI 13.0.6) the "Show ads" item may not be available.

β˜‘οΈ Preparing for the Advertising Disconnection

Done: 0 / 4

Method 2: Blocking Advertising through MSA (Mi Service Analytics)

MSA is responsible for collecting analytics and displaying targeted ads, and disabling it will remove most banners not only in the gallery, but also in other system applications (Mi Music, Mi Video, Themes).

  1. Go to Settings β†’ Memory β†’ Autoboot.
  2. Find the MSA (or Mi Service Analytics) list and turn off auto-start.
  3. Go back to the basic settings, select Applications β†’ Application Management.
  4. In the search, type in the MSA, open the application page and:

Reset the device.

πŸ’‘ Useful advice: After the shutdown MSA function MIUI They may not work properly (for example, weather in the curtain of notifications) to return them, just turn on the service auto-start again, but leave the permissions blocked.

MethodEfficiencyRisks.Reboot required
Gallery settings⭐⭐ (cleans 30-40% promotion)No.No.
MSA shutdown⭐⭐⭐⭐ (cleans 80-90%)Weather widgets can breakYes.
ADB-team⭐⭐⭐⭐⭐ (scavenge 100%)Resetting when updating MIUIYes.
Outside galleries⭐⭐⭐⭐ (no advertising)Loss of MIUI functions (editor, cloud)No.

Method 3: ADB-commands to remove ads completely (without root)

For advanced users who are ready to connect a smartphone to a PC, there is a method using Android Debug Bridge (ADB), which blocks advertising identifiers at the system level.

  1. Turn on Developer Mode: Settings β†’ About Phone β†’ MIUI Version (shap 7 times)
  2. Activate USB Debugging in Settings β†’ Additional β†’ For developers.
  3. Download ADB Tools and unpack it on PC.
  4. Connect the phone to your computer and execute in the command line:
  5. Enter the commands one by one:

πŸ”Ή How to transfer data:

  1. Install a new gallery from Google Play.
  2. In the settings of the standard Xiaomi gallery, export your albums to the DCIM/Exported folder.
  3. In the new gallery, import photos from this folder.
  4. Turn off the auto-run of the standard gallery in Settings β†’ Memory β†’ Auto-boot.

⚠️ Note: When using third-party galleries, you will lose access to the:

  • πŸ–ŒοΈ Built-in photo editor with effects MIUI.
  • ☁️ Automatic synchronization with Mi Cloud (manual export required).
  • πŸ“± Quickly viewing photos through the notification curtain.

Method 5: Editing System Files (for Advanced)

If you have root access or an unlocked bootloader, you can manually remove the ad units, which is 100% effective, but you need to be careful.

  1. Install Root Explorer or FX File Manager.
  2. Follow the path:
  3. Delete or rename (add.bak) files:

Clear the cache and gallery data in the application settings.

Reset the device.

πŸ’‘ Useful tip: Before deleting system files, make a backup copy through TWRP team:

adb backup -apk -obb -shared -all -f backup.ab

πŸ’‘

Editing system files without root is fraught with device brilliance, and use this method only if you understand the risks and know how to restore firmware through Fastboot.

What to do if the ad returns after the update

MIUI updates often reset user settings, returning ads.

  1. Turn off the automatic gallery update:
  2. Use the DNS blocker:

Tasker

:

  • Trigger: "System Event β†’ Software Update."
  • Action: β€œComplete ADB-commands” (from Method 3).

πŸ”Ή If the adverts reappeared:

  • πŸ”„ Repeat the steps from Method 2 (disconnection) MSA).
  • πŸ“§ Write in support of Xiaomi with the requirement to disable advertising (spoiler letter template).
Complaint template in support of Xiaomi
Subject: Requirement to disable advertising in the gallery Text: Good afternoon! I am the owner of the device [model], firmware [version] MIUI]. In the standard application Gallery displays intrusive advertising that violates p. 4.2 Xiaomi's user agreement not to post third-party content without user consent: 1. Disable the display of ads in my account [Mi Account]. 2. Provide instructions on the complete removal of advertising modules, and if there is no reaction, I will have to contact Rospotrebnadzor with a complaint about violation of the law. 10 FZ, "On Advertising." With respect].

❓ Why does it appear again after the ad is turned off in the settings?
Services MSA And Miui Ad Framework resets user settings periodically, especially after updates. This is due to Xiaomi's monetization policy - Forcedly returns ads as "recommended content." To consolidate the result, combine Method 2 (disable). MSA) ethod 3 (ADB-team).
❓ Can you turn off advertising without a computer?
Yes, use Method 1 (gallery settings) and Method 2 (disable MSA). For more efficiency, install AdGuard or Blokada from Google Play. These apps intercept DNS-level advertising requests without requiring root rights or a PC connection.
❓ Will the gallery work without ads after a phone reset?
No, factory reset will return all system applications to their original state, including the ad modules. To avoid this: Before reset, write down all executed commands (ADB) and paths to deleted files. After reset, repeat the steps from Method 3 or Method 5. Use TWRP backup if you have an unlocked bootloader.
❓ Why some albums don’t have ads, but others do?
Algorithms MIUI analyze the contents of photos and show advertisements in albums with: πŸ“Έ Large number of photos (more than 50 photos). 🏷️ Geolocation tags (especially popular places). πŸ‘— Recognised objects (clothing, food, equipment - for targeted advertising). πŸ—“οΈ Recent dates (photos over 6 months are less likely to be monetized) To reduce the amount of advertising, move important photos to albums with neutral titles (such as "Archive") and disable geotags in the camera settings.
❓Legal: Is Xiaomi Legally Showing Ads in Gallery?
From a legal point of view, the practice is controversial: βœ… Permitted: Display of "recommended content" is spelled out in the User Agreement MIUI (3.5). ❌ Violation: There is no explicit consent of the user to analyze personal photos for targeted advertising (Article 9 of the Federal Law "On Personal Data"). πŸ”„ Bypass: In the EU and the USA, Xiaomi produces firmware without advertising, which confirms its optionality. If you believe that your rights have been violated, you can file a complaint with Rospotrebnadzor or the FAS with reference to Art. 10 of the Federal Law "On Advertising" (imposing services).