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

Advertising in the standard Xiaomi gallery is one of the most annoying features of MIUI firmware. Even after buying a premium smartphone like Xiaomi 14 Ultra or the budget Redmi 12, users encounter intrusive banners in the most unexpected place - where personal photos are stored. The manufacturer explains this with "personalized recommendations", but in practice, advertising interferes with viewing images, slows down the application and spoils the overall impression of the phone.

In this article, we will discuss all the current ways to disable ads in the Xiaomi gallery, including hidden MIUI settings, methods without root rights and even radical solutions for advanced users. Importantly, some methods may differ depending on the firmware version (for example, MIUI 14 vs HyperOS) and regional build (Global, EEA, China).

Before you start, check your firmware version: go to Settings β†’ About Phone β†’ MIUI version. If you have POCO or Black Shark, some menu items may be called differently – we will warn you about this separately.

1. disable personalized advertising in MIUI settings

The easiest and safest way to do this is to deactivate the personalized recommendation system right in your smartphone settings, which works on all Xiaomi, Redmi and POCO models with MIUI 12 and later firmware, including HyperOS.

Instructions:

  • πŸ“± Open Settings and go to Memory (on some models – Applications).
  • πŸ” Find and select the Gallery app (or Photos on the POCO).

One important caveat: some firmware (China ROM) may not have this item, so try the alternative route: Settings β†’ Google β†’ Advertising and disable Personalized Ads there, which won’t eliminate banners completely, but will reduce the number of banners.

πŸ“Š What kind of Xiaomi model do you have?
Xiaomi 13/14 series
Redmi Note 12/13
POCO F5/X5
Black Shark
Another model

⚠️ Note: After you turn off ads, some smart features in the gallery may disappear, such as automatic event albums or facial recognition. If they are important to you, use the methods in the following sections.

If the ads appear even after disabling personalized recommendations, the problem may lie in the app's cached data.Resetting the gallery to factory settings often helps eliminate intrusive banners, especially after a firmware update.

How to reset:

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Find the gallery and tap it.
  3. Choose a storage (or memory)
  4. Click Clear the cache, then Clear the data.
  5. Confirm action. The app will restart with factory settings.

What happens after the dump:

  • πŸ“‚ All your albums will disappear (photos and videos will remain in place).
  • πŸ”„ Reset the sorting and display settings of miniatures.
  • πŸ”’ You may need to re-authorize access to files.

Backup important albums in Google Photos

Remember the current display settings

Make sure your photos are synced to the cloud

Connect your phone to charge (the process can take a few minutes)-->

This method works on 90% of Xiaomi 2020-2026 models, but does not guarantee 100% results. If the ad returns after a few days, move on to the following methods.

3.Use of ADB-commands for deep disabling advertising

For users ready for more complex manipulations, there is a way to disable ads through the Internet. ADB (Android Debug Bridge. It doesn't require root rights, but it will require a computer and a computer. USB-The method works on all versions of the cable. MIUI, including HyperOS.

Step-by-step:

  1. Download and install Google Platform Tools (or any other) ADB-driver).
  2. Turn on the phone Developer Mode: go to Settings β†’ About phone and 7 times tap on the MIUI version.
  3. Return to Settings β†’ Additional β†’ For developers and enable USB debugging.
  4. Connect the phone to the PC and enter in the command line (terminal):
adb shell pm disable-user --user 0 com.miui.gallery.ads


adb shell pm disable-user --user 0 com.xiaomi.midrop.ads

Once you've done the commands, reboot your phone. The gallery ads should disappear.

Team team.What's he doing?Applicability
com.miui.gallery.adsDisables the advertising module in the galleryAll models Xiaomi/Redmi/POCO
com.xiaomi.midrop.adsBlocking Ads in Mi Drop FeatureOnly for MIUI 12-14
com.miui.systemAdSolutionDisables system advertisingCan cause errors in HyperOS

⚠️ Note: Some commands (e.g., disabling com.miui.systemAdSolution) may cause your phone to run in an unstable way. Use only those specified in the instructions if you are unsure of your actions.

πŸ’‘

If, after the execution, ADB-Teams adverts are back, check out gallery updates in Google Play.Sometimes Xiaomi restores ad modules through updates.

If none of these methods worked, the radical solution is to abandon the standard Xiaomi gallery in favor of third-party apps, many of which are not only devoid of advertising, but also offer advanced editing and photo organization features.

Top.-3 free-to-advertise:

  • πŸ“Œ Google Photos – Automatic sorting, cloud storage (15 GB free), search by content of the photo. Minus: requires authorization in Google account.
  • πŸ“Œ Simple Gallery Pro is open source, dark theme support, album encryption. There's a paid version with advanced features.
  • πŸ“Œ Aves – minimalist design, support RAW, No analytics. It's completely free.

How to make an alternative gallery the main one:

  1. Install the selected application from Google Play.
  2. Open any photo through the standard gallery, click "Open with" and select a new app.
  3. In the window that appears, check the box Always (or Use by default).
  4. Go to Settings β†’ Applications β†’ By default and select a new gallery to open images.

Advantages of third-party galleries:

  • βœ… No advertising and data collection for targeted ads.
  • βœ… New formats are updated and supported more often (e.g, AVIF or HEIC).
  • βœ… You can sync with the clouds (Google Drive, Dropbox, Yandex Drive).
How to transfer albums from the standard Xiaomi gallery to Google Photos?
1. Open Google Photos and log in. 2. Go to Settings (profile icon β†’ "Photo Settings"). 3. Select "Backup and Sync" and enable the function. 4. Wait until the download is completed (may take several hours depending on the number of photos). 5. Delete the standard gallery or turn off its notifications to avoid duplication.

5. Disabling Advertising through Mi Account Settings

Many users are unaware that some of the ads in MIUI are tied to a Xiaomi account. Even if you are not logged in to Mi Account, the system can show "recommendations" based on the device.

Instructions:

  1. Go to account.xiaomi.com and log in.
  2. In the menu, select Privacy β†’ Personalized Recommendations.
  3. Turn off all sliders associated with Ads and Miui Recommendations.
  4. Save the changes and restart the phone.

What does it mean?

  • πŸ›‘ Data collection for targeted advertising is stopped.
  • πŸ“‰ The number of banners in the gallery, browser and other system applications is reduced.
  • πŸ”„ Settings apply to all devices associated with a Mi Account.

Note that this method will not eliminate ads completely, but will significantly reduce the amount of ads. To completely remove banners, combine it with other methods from the article.

6. Radical methods: firmware and root

If you're willing to go to extreme lengths, you can completely remove the ad modules from the firmware. This requires unlocking the bootloader, installing custom recavers (like TWRP) and root rights. This method is only suitable for advanced users!

What can be done with root:

  • πŸ—‘οΈ Remove the system applications responsible for advertising (com.miui.systemAdSolution, com.xiaomi.msa.global).
  • πŸ”§ Edit build.prop files to block ad servers.
  • πŸ›‘οΈ Install AdAway or Blokada for system-wide ad blocking.

Risks:

  • ⚠️ Loss of warranty (if the phone is under warranty).
  • ⚠️ Possible "brick" (turning the phone into a "brick") with a firmware error.
  • ⚠️ Disruption of certain features (e.g. Mi Pay or Game Turbo).

If you decide to take this step, follow the official guides for unlocking the bootloader on the XDA Developers forum. For beginners, we recommend using ready-made firmware without advertising, such as MIUI EU or Pixel Experience.

πŸ’‘

Before you run your firmware, make sure to back up your data via TWRP or Mi PC Suite. Without a backup, it will be impossible to restore photos and contacts after a failed firmware!

7. Frequent mistakes and how to avoid them

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

Problem.Reason.Decision
Advertising returns after gallery updateXiaomi has restored advertising modules through the updateTurn off the auto-renewal of the gallery in Google Play or use it ADB-team
It's not working. ADB-pm disable-userNo USB debugging or outdated driversCheck Connection, Update Platform Tools, Reboot PC
After the gallery was dropped, photos were missing.Data cleanup removes thumbnail cachePhoto in place, just restart your phone or open the DCIM folder manually
I can't find the "Personalized Advertising" item.Obsolete version of MIUI or regional firmwareUpdate your firmware or use alternative methods (ADB, third-party gallery)

If none of the methods worked, check:

  • πŸ”„ Firmware region: to China ROM more advertising than on Global/EEA. You can change your region through your Mi Account.
  • πŸ“¦ Gallery version: some updates return ads. APK.
  • πŸ›‘οΈ Antivirus: It can be blocked ADB-Teams. temporarily shut down protection.

FAQ: Answers to Frequent Questions

❓ Why does a gallery ad appear in other apps after it’s turned off (like a browser or music player)?
Advertising in MIUI It's managed by multiple modules. Disabling banners in the gallery doesn't affect other system applications. To remove ads completely: Use ADB-commands to disable all advertising services (see section 3). Install an alternative launcher (such as Nova Launcher) and a browser (Firefox or Brave). In the Mi Account settings, disable all options related to personalization. On HyperOS, part of the advertising is built into the core of the system - you can remove it only through custom firmware.
❓ Can you turn off ads in the gallery on Xiaomi without a computer?
Yes, there are two ways to avoid PCs: Through MIUI settings: disable personalized ads (section 1) and reset gallery data (section 2). Through third-party apps: install Simple Gallery or Google Photos and make it the main one (section 4). If these methods did not work, only the firmware through TWRP remains, but you already need a computer to do it.
❓ Will Xiaomi Gallery Work Without Advertising After Resetting Phone to Factory Settings?
No, a Hard Reset will return all settings to the original state, including the ad modules. ADB-The side of the gallery (like Google Photos) will remain, but they will have to be reset by default. To avoid reconfiguring, back up the list of apps and settings using Mi. PC Titanium Backup or Suite (requires root).
❓ Why not? POCO F5 No β€œPersonalized Advertising” in the Gallery Settings?
Smartphones POCO They are working on a modified version. MIUI titled POCO Launcher. it has some ad modules disabled by default, but some banners may remain.Solutions: Try the way: Settings β†’ Annexes β†’ Application management β†’ gallery β†’ Permits β†’ Advertising. Use it. ADB-Section 3 teams – they work on POCO. Update your firmware to the latest version of HyperOS, which has less advertising. If nothing works, install an alternative gallery (Section 4).
❓ Is it legal to disable advertising in MIUI? Will not block the account Xiaomi?
Disabling personalized advertising through settings is completely legal, it is your right as a user. Xiaomi does not block accounts for such actions. However: Using ADB or root may violate the warranty conditions (but does not lead to account blocking). Installation of custom firmware (MIUI EU, LineageOS) is not officially supported, but thousands of users do so without consequences. Xiaomi can restore advertising modules through updates - this is not a lock, but standard behavior of the system. If you are afraid of losing the warranty, use only methods without root (sections 1-4).