How to turn off ads in the Xiaomi Gallery: the complete guide

Owners of Xiaomi, Redmi and POCO smartphones often face intrusive banner ads that appear when viewing photos, a problem that is especially relevant for users who are actively using the standard app to edit and view media files.

Fortunately, Xiaomi has provided several ways to minimize or completely eliminate ad integrations in system applications. Disabling ads does not require complex technical knowledge or obtaining superuser rights. In this article, we will discuss all available methods, from simple settings to more advanced solutions.

Itโ€™s important to understand that the interfaces of the MIUI shell and the new HyperOS may be slightly different, but the logic of the system services remains similar. Weโ€™ll look at the current ways for modern versions of firmware so that you can enjoy viewing photos without unnecessary visual noise.

Disabling MSA service in system settings

The main source of ad integrations in Xiaomi devices is the MSA (MIUI System Ads) system service, which is responsible for collecting user preferences and displaying targeted advertising in standard applications, including the Gallery. The first and most important step is to disable this service through the authorization menu.

To do this, you need to go to the Security Settings section. Find Passwords and Security and select Data Access or Authorization and Security. From the application list that opens, find msa and switch the slider to an inactive position. The system will alert you that a service shutdown may affect some features.

After switching the switch, a countdown timer lasts 10 seconds will appear. After this time, you need to press the Stop button. If you failed to turn off the service the first time and you received an error message, repeat the procedure 3-4 times in a row. Often Xiaomi servers are overloaded, and with several attempts the request for disconnection is successful.

โš ๏ธ Note: After disabling the msa service, the ads will not disappear instantly.The system takes time (from 15 minutes to 24 hours) to update the configuration files on the device.

๐Ÿ“Š Did you manage to shut down the service? MSA first-time?
Yes, it worked immediately / I had to try several times / It didnโ€™t work at all / I have a global firmware.

It is worth noting that on some global firmware versions, the service name may differ or be hidden.In this case, look for processes with names containing the words Ad, Service or Recommendation. Disabling system services is a safe operation and does not lead to loss of personal data or disruptions of the work of the smartphone.

Even after the main advertising service is disabled, the Gallery app itself may still have built-in recommendations, often masquerading as โ€œInterestingโ€, โ€œRecommendedโ€ or popping up when the photo is edited, and you need to change the settings of the app itself to remove them.

Open the Gallery app and go to the user profile or settings, which are usually in the upper right corner of the screen (human icon or gears). Find the Settings section and scroll through the list to Receive recommendations or Personalized recommendations. Turn off this switch.

This menu may also include the option to display ads, make sure that they are deactivated, and new versions of HyperOS can be set to a separate section called About Service or Privacy Policy, where you can also find the switches that are responsible for the content.

  • ๐Ÿ“ฑ Open the Gallery app and click on the profile avatar.
  • โš™๏ธ Go to the Settings menu at the bottom of the screen.
  • ๐Ÿšซ Find and turn off the option to receive recommendations.
  • โœ… Check if the banner with the offer to subscribe to cloud services has disappeared.

๐Ÿ’ก

If you canโ€™t find the settings inside the app, try pressing the empty space on the Galleryโ€™s home screen for a long time โ€“ sometimes the context menu opens this way.

Itโ€™s important to distinguish between ads and functional prompts. Functional prompts may appear when new editing features are first launched, but they are not usually third-party banner ads. Disabling recommendations completely makes the interface cleaner and speeds up the application as it stops loading advertising content in the background.

Using DNS to Block Advertising

A more radical but highly effective method is the use of private DNS-This method allows you to block advertising requests at the network connection level without requiring the installation of third-party software.

To set up, go to Settings of your smartphone, select Connection and Sharing (or Wi-Fi and Internet). DNS (Private DNS). The default is "Auto" or "Disconnected." Select hostname of the provider. DNS Enter the address of a trusted server that blocks ads.

dns.adguard.com

Once you enter the address, save the settings. A smartphone can lose its connection to the Internet for a second, after which the network will recover. Now all requests to known ad servers will be blocked. This is a universal solution that works on most devices running Android 9 and above.

ParameterDefault valueRecommended valueThe effect
DNS modeAuto/DisconnectedProvider host nameActivation of manual settings
Server address-dns.adguard.comLocking down trackers
Impact on speedStandard.MinimumWebsites can load a little faster
SecurityStandard.ElevatedEncryption DNS-request

๐Ÿ’ก

Using a private DNS is the most reliable way to remove ads not only in the Gallery, but throughout the Xiaomi system without installing additional applications.

It should be remembered that some free applications may stop working correctly if their functionality is tied to the display of advertising, but for the System Gallery, this method is completely safe and does not violate the integrity of the software.

Disconnecting Mi Video and Mi Music

Advertising in the Xiaomi Gallery often comes not directly from the photo app itself, but through related media services such as Mi Video and Mi Music.These apps have deep integrations with the system and can stream banner ads into the Gallery interface, especially in the Video sections or when creating collages.

To eliminate this source of irritation, you need to find and disable the services that are responsible for the operation of these players. The process is similar to turning off MSA. Go to the Passwords and Security menu โ†’ Access to data. In the list, find the processes miui.video, miui.player or music.

Turn off the network sliders for these services. If the system requires confirmation, agree. After that, ads related to video content and music recommendations will stop loading, which is especially true for users who use third-party players like VLC or MX Player.

  • ๐ŸŽต Find the process related to Mi Music in the list of services.
  • ๐ŸŽฌ Disable data access for the Mi Video service.
  • ๐Ÿ”„ Restart the device to apply changes.
  • ๐Ÿ–ผ๏ธ Check the gallery for banner ads.

โš ๏ธ Warning: Disabling network services for Mi Video and Mi Music will cause these apps to stop downloading album covers and online content.

If you are actively using standard Xiaomi players and you need online content, this method may be less preferable to you, in which case you can limit yourself to turning off recommendations within the application players themselves, without completely blocking their access to the Internet.

Sometimes banner ads can get stuck in the app cache or canned into local configuration files. If you turn off all services but the ads still appear, a complete cleanup of the Gallery app data will help, and this will not delete your photos, but reset the display settings.

Go to Settings โ†’ Applications โ†’ All Apps. Find Gallery in the list. Click Clean (or Memory) and select Clean Everything. Then open the Gallery again, and it will look like the first time you run it.

In some cases, cleaning up MIUI Daemon or Analytics data also helps, and these components collect usage statistics and can store temporary files with advertising modules, and the cleaning procedure is identical: find them in the application list, go to memory and clean the data.

โ˜‘๏ธ Checklist for full cleaning

Done: 0 / 1

Once the Gallery settings are reset, the system may suggest that you turn on the recommendations again, so be careful and immediately uncheck the boxes, which will establish a "clean" profile of the application usage.

Alternative solutions and third-party galleries

If the built-in Xiaomi Gallery continues to annoy with its obsession even after all the settings, it makes sense to consider installing an alternative app.Third-party galleries often run faster, have richer functionality and are guaranteed to contain no Xiaomi system advertising.

One of the best solutions is Google Photos, which is pre-installed on most devices and offers unlimited storage (in compressed quality), powerful object and face search, and great editing tools. Another popular option is Simple Gallery (or its forks, since the original was purchased), which is minimalist and open source.

For users who care about speed and no extra features, apps like AGallery or 1Gallery can be used to minimize battery life and open instantly, and installing a gallery will completely ignore the standard application.

How to make a third-party gallery the main default?
Go to Settings โ†’ Applications โ†’ App Management โ†’ Three dots in the corner โ†’ Settings โ†’ Default Apps. In โ€œGalleryโ€ or โ€œPhotosโ€, select the installed application (for example, Google Photos).

Using third-party software is not only a way to get rid of advertising, but also an opportunity to access new features that Xiaomi did not implement in its standard application. RAW-Formats or Advanced Metadata Management.

Frequently Asked Questions (FAQ)

Does disabling ads affect smartphone warranty?
No, disabling advertising services, changing DNS settings or cleaning these applications are software manipulations that are available to any user. This does not violate the manufacturer's warranty obligations, since it does not require unlocking the bootloader or obtaining Root rights.
Will the ads disappear after the firmware update?
When you update your system, you can reset to factory settings. After a major update (for example, from MIUI 13 to 14 or HyperOS), it is recommended to recheck the status of the msa service and the recommendations settings, since the updated Gallery application can activate them again by default.
Is it safe to use? DNS-filtering?
Yes, use of proven DNS-servers such as AdGuard DNS, They only filter requests to known ad networks, but remember that your ISP is a very safe one. DNS You will see your history of visits, so choose reliable service providers.
Why do you only see ads in some sections of the gallery?
Ad integrations are often tied to specific modules: Videos, Screenshots, or Editor. If you rarely use these sections, ads may not show up where you are most often, and disabling recommendations in settings should remove banners from all sections.