How to completely disable recommendations in the Xiaomi gallery: 5 proven ways

Xiaomiโ€™s MIUI-based built-in gallery is one of the most controversial firmware elements, offering easy-to-view photos, basic editing tools, and cloud backups, while aggressively imposing recommendations such as banner ads, suggestions to install new apps, editing tips, and even content from โ€œinterestingโ€ publics, which not only take up space on the screen but consume up to 15 percent additional RAM each time a gallery is opened, which is critical for budget models like the Redmi 9A or Poco M3.

Compounding the problem, Xiaomi regularly updates its recommendation algorithms to make them more intrusive. For example, MIUI 14 has personalized selections based on analyzing your photos (even without the explicit consent of the user), and HyperOS has integrated with Xiaomi GetApps, which feeds โ€œusefulโ€ apps right into the gallery interface. Fortunately, there are ways to disable this functionality from standard settings to deep system edits. In this article, we will examine all the current methods, including those that Xiaomi specifically hides from users.

The recommendations in Xiaomi Gallery are part of the MIUI Ads ecosystem, a free firmware monetization system, and even if you've never clicked on banner ads, the algorithms continue to collect data about your behavior:

  • ๐Ÿ“Š Photo analysis: the system scans the metadata of the images (geolocation, shooting time, filters used) to form โ€œinterestingโ€ proposals.
  • ๐Ÿ”„ Mi Account integration: If you are logged in, recommendations are pulled from your search history in Mi Browser and activity in Mi Community.
  • ๐Ÿ“ฑ Connecting to other apps: The gallery is sharing data with Mi Video, Music and even Xiaomi Cloud to offer โ€œrelevantโ€ content.

Technically, you can only remove the recommendation mechanism completely with root rights or custom firmware. However, in 90% of cases, it is enough to disable key settings and restrict the application's access to data. It is important to understand that after the MIUI update, some parameters can be reset, so we recommend combining several methods for a stable result.

โš ๏ธ Note: On models with HyperOS (e.g. Xiaomi 14 or Redmi Note 13 Pro)+) Part of the settings moved to the section Special features โ†’ System applications. If you don't find the menu items in the instructions, check this section.

The simplest method that works on most devices without any additional manipulation is suitable for Xiaomi, Redmi, Poco and Black Shark on MIUI 12-14 and HyperOS:

  1. Open the Gallery app.
  2. Slap the icon. โ‹ฎ (three points) in upper right corner.
  3. Select the Settings item.
  4. Go to the Recommendations or Personalization section (the name depends on the firmware version).
  5. Turn off all sliders: ๐Ÿ”˜ Show recommendations ๐Ÿ”˜ Personalized content ๐Ÿ”˜ Offers from Xiaomi ๐Ÿ”˜ Advertising in the gallery (if any)

Save the changes and restart the application.

On some devices (e.g. Redmi Note 11 Pro), you may need to further disable the option to Show Interesting Content in the Cloud section of the same gallery settings. If recommendations continue to appear after the restart, clear the app cache:

Settings โ†’ Applications โ†’ Application Management โ†’ Gallery โ†’ Storage โ†’ Clear cache

Disable mobile internet and Wi-Fi (to avoid synchronization of settings)

Check out the MIUI/HyperOS version in About Phone

Backup of important photos

Close all background applications-->

Method 2: Blocking through "Special Opportunities" (hidden method)

This is a method that works for devices where standard settings do not give full control over recommendations, and works by restricting the rights of the Gallery application at the system level:

  1. Open the Settings. โ†’ Special facilities.
  2. Go to Special Opportunity Services (or System Applications in HyperOS).
  3. Find the Gallery (could be called com.miui.gallery).
  4. Disable all permissions related to: ๐Ÿ“ก Internet access ๐Ÿ“ Geolocation ๐Ÿ“Š Analytics and improvements ๐Ÿ”„ Background activity

Applications โ†’ Application Management โ†’ Gallery โ†’ Permissions

Warehouse

Camera.

Microphone

This method does not remove recommendations completely, but makes them extremely rare as the application loses access to data for personalization.

๐Ÿ’ก

If the gallery starts to issue errors after the permissions are turned off, return the rights to the Warehouse and the Camera, but leave the blocking on the Internet and Geolocation, which will reduce the number of recommendations without critical failures.

Method 3: Use ADB-deep-switch

For users willing to take more drastic measures, it is possible to disable recommendations via ADB (Android Debug Bridge), which requires connecting the phone to a computer, but gives the best result.

You'll need:

  • ๐Ÿ–ฅ๏ธ Computer with installed ADB Tools.
  • ๐Ÿ“ฑ Included Debugging by USB on the phone (Settings) โ†’ The phone. โ†’ Version. MIUI โ€” Tap 7 times, then return to the additional โ†’ For developers).
  • ๐Ÿ”Œ USB-cable (preferably original).

Instructions:

  1. Connect your phone to your PC and open the command prompt (or Terminal on Mac/Linux) in the adb folder.
  2. Enter the command to check the connection: Adb devices must appear serial number of your device.
  3. Execute the command to disable recommendations: adb shell pm disable-user --user 0 com.miui.gallery.ads If the command doesnโ€™t work, try the alternative: adb shell settings put global. hidden_api_policy 1
  4. For HyperOS devices add: adb shell pm uninstall --user 0 com.xiaomi.mirecommender
  5. Reboot the phone.

After these commands are completed, the ad units and recommendations will disappear from the gallery. If they appear again in the future (for example, after an update), repeat the procedure.

adb shell pm enable com.miui.gallery.ads
What if the ADB does not recognize the device?
1. Make sure that Xiaomi drivers are installed (download from the official website). 2. Try another one. USB-cable (cheap cables often donโ€™t support data transfer). 3. Enable the Debugging option in the developer settings USB (security parameters) and Unlocking OEM. 4.Reboot your phone and PC, then reconnect.

If all previous methods have failed or you donโ€™t want to put up with MIUI features, the most reliable way is to install a third-party gallery.This will completely eliminate the recommendations, but will require you to abandon some features (for example, cloud sync with Mi Cloud).

Best alternatives:

AnnexPlusesConsReference
Google Photoโœ… Free cloud (15GB), smart search, automatic backupโŒ Requires Google authorization, collects data for personalized advertisingPlay Market
Simple Galleryโœ… Advertising-free, open source, dark theme supportโŒ No cloud sync, limited editing toolsPlay Market
A+ Galleryโœ… Lightweight, gesture support, hidden foldersโŒ Interface in English, no Russian-language supportPlay Market
F-Stop Galleryโœ… Advanced tags and filters, support RAWโŒ Paid (300-500) โ‚ฝ), beginner-to-be interfacePlay Market

To make a third-party gallery the default app:

  1. Install the selected application from the Play Market.
  2. Open Settings โ†’ Applications โ†’ Default Applications โ†’ Gallery.
  3. Select the installed gallery from the list.
  4. Disable or freeze the standard gallery through Settings โ†’ Applications โ†’ Application Management โ†’ Gallery โ†’ Disable.

โš ๏ธ Note: On some devices (Xiaomi) 13T, Redmi K60) You can't turn off a standard gallery without root rights, so you just have to hide its icon from the home screen and use an alternative app.

Standard MIUI

Google Photo

Simple Gallery

Another (I will write in the comments)-->

Method 5: Editing system files (for advanced users)

This method involves changing system files and requires root rights or custom recovery (such as TWRP), which is suitable for users who are willing to risk system stability for the sake of complete control.

Instructions:

  1. Install Root Explorer or any other file manager with root support.
  2. Go to /system/priv-app/MiuiGallery/MiuiGallery.apk or (for newer versions): /system/app/Gallery2/Gallery2.apk
  3. Copy the MiuiGallery.apk file to your computer and open it with APK Editor.
  4. Find the lines in the manifesto (AndroidManifest.xml) containing: com.miui.gallery.ads com.xiaomi.mirecommender and delete them.
  5. Save the changes, sign the APK and install it back on your phone by replacing the original file.
  6. Clear the cache and gallery data, then restart the device.

This method is guaranteed to remove all advertising modules from the gallery, but has risks:

  • ๐Ÿšจ Violation of system integrity can lead to bootloop ( looped boot).
  • ๐Ÿ”„ After updating MIUI Changes will have to be repeated.
  • ๐Ÿ›ก๏ธ Some gallery features (e.g., video editing) may stop working.

๐Ÿ’ก

Editing of systems APK-If you are not sure about your skills, use methods 1-3 or install an alternative gallery.

What to do if recommendations are returned after the update

Xiaomi regularly updates its ad-show mechanisms, so even after a successful shutdown, recommendations may reappear.

  1. Check the versions of the applications: ๐Ÿ“ฑ Open the Settings. โ†’ Annexes โ†’ Application management โ†’ gallery โ†’ Version. ๐Ÿ” Compare the latest updates on APKCombo. ๐Ÿ“‰ If the version has changed, repeat the disconnection through ADB or setting.

Take a look at the old version of the gallery.

1. Download the old version of APK from a trusted source (e.g., APKMirror).


2. Remove updates via Settings โ†’ of the Appendix โ†’ Gallery โ†’ โ‹ฎ โ†’ Remove updates.




3. Install the downloaded APK (allow installation from unknown sources).

Block gallery updates

Settings โ†’ Apps โ†’ Application Management โ†’ Gallery โ†’ โ‹ฎ โ†’ Disable Auto Update

If the problem is repeated too often, consider a custom firmware option (like LineageOS or Pixel Experience) that doesnโ€™t have Xiaomiโ€™s built-in ad modules.

Can I turn off recommendations without root and ADB?
Yes, it's enough to use Method 1 (gallery settings) and Method 2 (special features) that work on 80% of devices without additional tools. If the recommendations remain, try Method 4 - installing an alternative gallery.
Why did the gallery stop after the recommendations were turned off?
This is because the app has lost access to some system resources (e.g., the Internet to download thumbnails). Try: Clear the gallery cache (Settings โ†’ Apps โ†’ Gallery โ†’ Storage โ†’ Clear cache); Return the Warehouse permission, but leave the lock on the Internet and Geolocation; Reboot the phone.
Will it work? ADB-Xiaomi with HyperOS?
For HyperOS, use adb shell pm uninstall --user 0 com.xiaomi.mirecommender adb shell pm disable-user --user 0 com.miui.gallery.ads If the first command issues an error, skip it and run the second one.
Can I return standard recommendations if I need them?
Yes. For this: If you used ADB: adb shell pm enable com.miui.gallery.ads If you turned it off in the settings, just turn the sliders back on to Gallery Settings โ†’ Recommendations. If you deleted system files, you'll need to reflash your phone or update your MIUI.
Is there a risk of losing photos when you turn off the gallery?
No, disabling the recommendations or the gallery itself doesn't delete your photos. DCIM internal memory or SD-But the map: ๐Ÿ”น If you remove gallery updates, cloud albums (such as those from Mi Cloud) may be temporarily unavailable. ๐Ÿ”น When installing custom firmware, it is recommended to make a backup copy of the photo on a PC.