How to change the way you open a file to Android Xiaomi

The current MIUI operating system and its newer version of HyperOS offer users huge personalization opportunities, but sometimes standard system behavior can be questionable. One of the common situations faced by owners of Xiaomi, Redmi and Poco smartphones is the automatic opening of certain types of files in in inappropriate applications. For example, instead of viewing images in the gallery, the system launches a document editor, or video files are opened in the browser instead of a video player.

This is because of the default app mechanism that Android uses to speed things up, remembers your past choices or relies on predefined priorities to avoid asking you every time you open a document. However, if the priority was chosen incorrectly or the priorities went wrong after the system update, the user has to look for a solution. In this article, we will discuss in detail all available methods to change the way files are opened.

You don't need to be a technical person to fix this situation. All the necessary tools are already built into the MIUI shell. We'll look at the standard methods through system settings, options for resetting specific programs and more advanced ways through the developer menu. Understanding how the Android file system works will help you manage your device effectively and avoid confusion in the future.

The default application mechanism in MIUI

The Android operating system that underpins Xiaomi smartphones uses a MIME-type system to identify files. When you try to run a file, the system reads its extension and extension to MIME, then accesses the database of installed applications. If the default application for this type of file is already set, Android immediately sends a command to launch, bypassing the selection stage. This is convenient for speed, but creates problems when you need to change the program.

There is a hierarchy of priorities in the MIUI shell. System applications like Explorer or Gallery often have a higher weight in this hierarchy than third-party software downloaded from Google Play. That's why even after installing a new, more functional player or reader, old files can continue to open in standard utilities. To change this order, you need to intervene in the settings of file associations.

Why is the system ignoring the new player?
The Android system believes that once you have selected a particular app and ticked "Always," your choice is final, blocking the selection pop-up until you forcefully reset the old app or change priorities in the special menu.

It is important to understand the difference between β€œopen with” and β€œuse by default.” The first option is a one-time promotion, while the second one fixes program by file type on a permanent basis. On Redmi and Poco smartphones, the algorithm for these functions is identical, but the names of menu items may vary slightly depending on the firmware version and region.

Method of resetting the settings of the current application-processor

The most effective and safest way to change the way a file is opened is to reset the settings of the program that is currently opening incorrectly, and the logic is simple: if we forget the system choice, it will have to ask you again than open the document, which works 95% of the time on devices with a MIUI shell.

First, you need to determine which application is intercepting the opening of the file, PDF-The files open in the browser, even though you want to use a specialized reader, you need to find the browser itself or the system viewer in the list of applications, and then the algorithm becomes standard and does not require root rights.

β˜‘οΈ Algorithm of resetting priorities

Done: 0 / 4

Let's take a closer look at the step-by-step process. Go to the main settings menu of your Xiaomi smartphone. Find the Apps section and select All Apps. In the list that opens, find a program that is currently processing files incorrectly (for example, Explorer, Chrome or Gallery).

Once you log in to the app card, scroll down to the default box. If the program has any fixed associations, you'll see a sign like "Opens supported file types." Click on this line, you'll be taken to the control menu where you'll have a Reset button or Clear Defaults. Once you click, the system will unblock, and the next file launch will reappear the selection menu.

⚠️ Note: Resetting your default settings does not delete your personal data, browser history or app cache.This action only affects system file associations, so your logins and passwords will remain safe.

Use the "Open with" menu for a one-time selection

Often, users don't need to change the global settings of the system, but only once open a file in another program. In such cases, you don't need to go into deep settings, just use the context menu. However, in MIUI, there is a caveat: if the application is already fixed as the main one, the selection menu may not appear automatically.

To force the selection menu, use the file manager. Open the standard Explorer app or any other file manager installed on your Xiaomi. Find the file you want and press it with a long press (hold your finger for about a second).

The system will give you a list of all the programs installed that can handle this format, and it's important to be careful here: at the bottom of the list there's usually a switch or checkbox "Always" (or "Use by default").

  • πŸ“‚ If you want to select a program just for this time, leave the tick blank and just click on the app icon.
  • πŸ”’ If you want to secure a new choice forever, be sure to activate the Always switch before launching.
  • πŸ”„ If you are wrong, you can always go back to the previous method with resetting settings.

πŸ’‘

If you don't have the app you want in the Open with list, it may not be listed as a file handler, so check the settings of the app itself, sometimes it has a "Register as a PDF/Video viewer" check box.

This is especially useful when you have multiple customized programs installed, for example, you may need a lightweight viewer to work with graphics, and a powerful editor. Using a one-time choice, you keep the system flexible without having to attach one application to all the files.

Globally configure file associations through a Manager

Some versions of HyperOS and MIUI have a centralized application manager by default, which allows you to view and change all the attached file types in one place without digging into the settings of each program separately, and this is the most advanced way to manage the system.

To get into this section, open your smartphone Settings and in the search bar at the top, type the word "Default" and the system will suggest you go to the corresponding menu. Here you will see categories: browser, calls, SMS, as well as the section for file processing applications. In new versions of Android based on MIUI 14 and above, this item may be called "Default Apps" or "Application Management".

Inside this menu, you can often find a reset option that's a radical method that will bring the system back to factory status in terms of associations, and use it if you've been installing a lot of software and you're confused about priorities.

Type of actionWhere to find out.The effectSecurity
Resetting a specific annexSettings β†’ Applications β†’ [Name] β†’ By DefaultRemove the fixation for only one programTall.
Choice "Open with help"Contextual menu of the file in the conductorA one-time opening or a new default choiceTall.
Resetting all preferencesSettings β†’ Applications β†’ Menu (three points) β†’ ResetResets all associations in the systemMedium (requires time to adjust)
Removal of updatesSystem application cardReturns the factory version of the handlerLow (can remove functions)

Using the table above will help you choose the most appropriate scenario. For most users, the optimal point reset of a particular application is, since it does not disrupt the rest of the system.

πŸ“Š How do you prefer to open files?
Automatically, as long as you can.
Manually choose each time
Only verified system applications
Third-party professional programmes

Solving problems with Xiaomi system applications

A special category is when a file tries to open a Xiaomi system application that cannot be removed by standard methods, often a gallery, video player or music player from the manufacturer, if they work incorrectly or you do not like their functionality, simply changing the settings may not be enough.

In such cases, it is recommended not to try to "break" the system application, but to configure the alternative correctly. Install a high-quality third-party counterpart from the Google Play store, for example, VLC for video or MX Player. Once installed, the new software often suggests becoming the main handler.

If you don't get an automatic offer, use the force-stop method. Go to Settings β†’ Applications β†’ All applications, find a system player (like Video or Mi Video) click Stop. Then try to open the video file. Since the system application is stopped, the system will have to look for an alternative among the installed software.

⚠️ Note: Do not attempt to remove Xiaomi system applications through ADB or root rights if you're not sure what they're supposed to do, and removing critical components can lead to a cyclical smartphone reboot).

Also worth checking is the settings of the file manager itself. Xiaomi's Explorer app has its own internal display settings. Go to the Explorer menu (three bars), select Settings, and look for View Files. Sometimes you can switch the display mode there, which indirectly affects how the system interprets the contents of folders.

What to do if the selection menu does not appear

There are times when all of the methods described have been tried, but when you click on a file, an unnecessary program is still silently launched, which may indicate a software failure in the cache of the Package Installer or Android System system service, in which a deeper cleaning of the system temporary data is required.

Try clearing the cache of the installer service itself. In the application list, turn on the system processes display (usually a switch in a three-point menu); Find the Package Installer process or Package Manager; go to its storage and click Clear cache; don't confuse it with Clear all data, although it's often safe for system services, it's better to start with cache.

Another reason could be conflicting software: If you've recently installed new launchers or file managers, they may have taken over control, try temporarily disabling newly installed applications related to files and check the system's behavior.

πŸ’‘

If none of the software methods work, the problem may be to damage the file association registry, which can only help you reset your phone to Factory Reset, but remember to back up your data.

In rare cases, a system update helps. Check for MIUI or HyperOS updates. Developers often fix file association bugs in security patches. Go to Settings β†’ About phone and click on the MIUI version to check.

Frequently Asked Questions (FAQ)

Can I permanently delete the standard Gallery app and upload Google Photos?
You can’t completely remove the Xiaomi system gallery without root rights, but you can make Google Photos the default application for opening pictures. To do this, reset the settings of the MIUI gallery and select Google Photos with the β€œAlways” tick when opening any photo.
Why do all the files open again after Android update?
When a major update to Android (like 12 to 13) often resets user preferences and file associations for stability, you’ll have to re-select priority apps for the main file types.
Does the choice of file manager affect the speed of opening files?
The file manager itself simply points the way to the file, the speed of opening depends on which processing application (player, reader) you choose, but heavy managers with ads can index the contents of folders longer.
How to return all file opening settings to factory settings?
Go to Settings β†’ Apps, click the three-dot menu in the corner, and select Reset App Settings (or Reset Preferences).This will return all associations to the out-of-the-box state, and the phone will ask you again for each file type.
Is it safe to use third-party conductors like Total Commander?
Yes, third-party file managers are completely safe, they don't replace system files, they only provide an alternative interface to work with them, and you can delete them or change them back at any time.