Modern Xiaomi smartphones running on the MIUI shell or the latest HyperOS have a flexible file management system that automatically adapts to the user’s habits. However, sometimes the system does not choose the application that you would prefer to use for a particular type of content, be it PDF documents, music tracks or videos. When your phone stubbornly opens pictures in the gallery instead of a graphics editor or starts a video in a standard player instead of VLC, it causes irritation and slows down your workflow.
The problem is that Android remembers your last choice of action as a “default” and no longer asks you what to open the file with. To change the default appyou need to force clear these saved settings in the system. In this article, we will analyze in detail the mechanisms of the Xiaomi shell, methods for resetting file associations and methods for manually selecting the desired software for any data formats.
There are several approaches to solving this problem: from simply resetting the settings of a specific application to deep clearing system preferences through the engineering menu or ADB. We will look at the safest and most effective methods that do not require rooting and are suitable for most models, including Redmi and Poco. Understanding the logic of the application manager will help you take control of the device.
The principle of file associations in MIUI and HyperOS
The Android operating system uses a mechanism Intent Filters (intent filters) to determine which application should respond to a particular file type. When you first open a document .docx, the system scans the installed software and offers a list of apps that declare support for this format. If you click "Always", a hard link is created in the system registry, which the usual removal of the application does not always break correctly.
In shells from Xiaomi this process is complicated by the presence of native system applications, such as Files or Music, which have a high priority. The system tries to keep the user inside its ecosystem, so standard viewers often take over control even in the presence of third-party analogues. Application priority is determined not only by installation time, but also by system signatures.
⚠️ Attention: Forced stop of system applications through the developer settings can lead to unstable conductor operation. Do not disable components marked "System Process" unless you are sure of their purpose.
To change system behavior, you will need to access the application management menu, where cache data and default settings are stored. It is important to understand that resetting these settings will not delete your personal files, but will return the phone's behavior to the "first launch" state in the context of app selection. This is a safe operation and often solves problems with stuck associations.
If you have a custom theme installed, the settings menu may look different. Temporarily switch to the standard "Classic" theme to search for the necessary items.
Resetting the default settings for a specific application
The most gentle and correct method is to clear the settings of the application that is currently opening files incorrectly. For example, if a PDF opens in a browser, but you want to see it in Adobe Reader, you need to reset your browser settings. To do this, go to Settings → Applications → All applications and find the current opener app in the list.
Inside the application card, find the "Open by default" section. Here you will see a "Remove Defaults" or "Reset Values" button. Clicking this button breaks the connection between file types and this app. The next time you try to open a file, the system will again ask you which application to use and offer to select a new one.
- 📂 Go to the phone settings and select the "Applications" section.
- 🔍 Find in the list the app that is currently opening files incorrectly.
- 🗑️ Click on the "Open by default" item and execute reset.
- ✅ Try opening the file again and select the desired app with the "Always" option.
This method works in 90% of cases and does not affect other system settings. However, if the reset button is greyed out, it means the app has no explicit default settings and the problem may lie in the system file manager. In such situations, a deeper approach to configuration is required.
Configuration through the "Files" menu and task manager
Sometimes the problem lies not in the application itself, but in the explorer that initiates the opening. The standard Xiaomi file manager has its own internal association settings. Try changing the opening method through the context menu of the file itself. Tap and hold on a file in File Explorer until the action menu appears.
Select Open With (or More Apps). Select the desired app from the list that appears. It's critical not to click "Always" right away if you want to test the functionality. First, select "Only once" to ensure that the application works correctly with this data type. If everything is in order, repeat the action and secure the choice.
| File type | Standard application | Recommended alternative | Change complexity |
|---|---|---|---|
| PDF document | Mi Viewer | Adobe Acrobat / Xodo | Low |
| MKV Video | Mi Video | VLC Player / MX Player | Medium |
| ZIP Archive | File Manager | ZArchiver / RAR | Low |
| TXT Text | Notes | QuickEdit / Word | High |
In some versions HyperOS the selection algorithm has been changed: the system now more often offers the choice of application, even if the default value was previously set. This is done to increase flexibility of use. If the standard Explorer ignores your choice, try installing a third-party file manager, for example, Files by Google or Solid Explorer, which have a more transparent logic for working with Intents.
☑️ Check before resetting the settings
Global reset of application preferences
If a single reset does not help, you can use the global preference reset function. This operation will return all application settings to factory defaults, including permissions, notifications, and most importantly, default apps. Your personal data (photos, contacts, messages) will be will be completely saved, but you will have to re-issue permissions to the camera and microphone.
To perform this procedure, go to Settings → Applications → All applications. In the upper right corner of the screen, click on the three dots (action menu) and select "Reset application settings". The system will request confirmation of the action, warning about the consequences. Confirm the operation and the phone will reload the configuration of all packages.
⚠️ Attention: After a global reset, all your alarms may be disabled, and instant messenger notifications will stop coming until you configure it again. Be prepared to spend 10-15 minutes restoring the usual configuration.
This method is “heavy artillery” and is recommended only if a lot of association conflicts have accumulated in the system. Often, users are faced with a situation where one application intercepts all types of files in a row - in this case, a global reset is the only effective solution.
What to do if the reset button is inactive?
If the option to reset default settings is not clickable (gray), try first force stopping the application, clearing its cache, and only then go to the settings menu again. In rare cases, temporarily disabling the application helps.
Using third-party launchers and file managers
The standard Xiaomi interface sometimes limits your choice. Installing an alternative launcher or file manager can radically change the logic of working with files. Third-party applications often ignore MIUI system priorities and use pure Android selection mechanism, which is more logical and predictable.
It is recommended to use proven solutions such as Total Commander or FX File Explorer. In the settings of these applications there is often a “File Associations” item, where you can manually specify which app should open which format. This gives the user maximum control over the system without having to go into deep Android settings.
When using a third-party explorer, the process of opening a file looks different: you select a file, click on the "Open" icon inside the manager, and it itself brings up a selection dialog box. This bypasses shell system locks. This approach is especially useful for specific formats, such as drawings .dwg or code .pythat the standard system may not recognize correctly.
Third-party file managers allow you to assign apps for opening files regardless of the MIUI system settings, which is the most flexible solution for advanced users.
Advanced methods: ADB and hidden settings
For users who want complete control over the system, there is the option of managing packages through USB debugging (ADB). This method requires connecting your smartphone to your computer and installing drivers. Using command adb shell pm reset-preferred-activities you can instantly reset all settings on your device to default, which is similar to the menu in Settings, but works more reliably.
adb shell pm clear --user 0 com.android.packageinstaller
You can also force an app to open a specific type of content using commands am start, although this requires knowing the exact package names and MIME types. For example, to open a PDF through a specific application, you need to know its internal identifier. This method is more suitable for automating processes or solving complex bugs than for everyday use.
If you decide to use ADB, make sure that "USB Debugging" is enabled on your phone in the "For Developers" menu. Do not use commands pm disable-user for system applications if you do not know exactly their function - this may lead to software brick devices that will have to be repaired by flashing.
⚠️ Attention: Using the ADB command line carries risks. An error in entering a command can remove critical system components. Use this method only if you understand the essence of the actions being performed.
Frequently asked questions (FAQ)
Why, after resetting the settings, does the phone again select an unnecessary application?
This happens because there are several applications left in the system that support this format, and one of them has a higher system priority. Try selecting the desired app the next time you open the file, and be sure to click “Always” to commit your choice. Also check whether the unwanted application is a system component of Xiaomi.
Is it possible to remove standard Xiaomi applications so that they do not interfere?
Most standard applications (Music, Video, Gallery) cannot be deleted in the usual way without superuser rights. They can only be disabled in the settings, but this does not always guarantee that they will stop intercepting files. It’s safer to simply reset their settings to default.
How to change the app for opening links in the browser?
The logic is the same: go to the settings of the browser that opens by default, find the item “Opening links” or “Supported links” and click “Delete settings”. Then, when you click on the link in the messenger, select the desired browser.
Does a system update affect reset settings?
Major shell updates (for example, switching from MIUI 14 to HyperOS) can reset all user preferences, including default apps. After a major update, it is recommended to check the file association settings again.
What to do if the application you need is not in the list when opening a file?
Make sure that the application is actually installed and is compatible with your version of Android. Some older apps may not declare support for new file formats. Try opening the file through the menu of the application itself ("File → Open"), and not through Explorer.