The problem with choosing a default application on Xiaomi is familiar to many users: the system persistently opens files with the wrong software, and the Open with the help menu does not have the necessary option. Especially often this happens after updating MIUI or installing third-party applications that aggressively โcaptureโ formats. You can restore factory settings of file associations in several ways, from standard Android tools to hidden firmware functions.
On Redmi smartphones, POCO And in other Xiaomi lines, the reset algorithm is different from the pure Android. The manufacturer has modified the settings menu by adding its own limitations. MIUI 14/15 There's no direct "Reset Default" button, which you can find on Samsung or Google Pixel, and you'll have to use workarounds through your app settings, ADB-commands or even cache reset.
In this article, we will discuss all working methods for returning factory associations, including solutions for cases where the system blocks changes, and pay special attention to the nuances of MIUI 13-15 firmware and models with HyperOS, where the logic of the Open with Help menu has changed dramatically.
Why Xiaomi is dropping apps by default?
The main reason is the conflict between system and user settings: When you manually select a program to open a file (for example,.jpg through the Gallery instead of Google Photos), Android captures this in the package.xml database. However, MIUI periodically resets these settings in two scenarios:
- ๐ Firmware update: After installing the new version MIUI HyperOS can return factory associations to key formats (e.g.,.apk will open through the Packet Installer, not through the File Manager).
- ๐ฆ Remove/reinstall applications: If you delete a program that was selected by default, Android automatically reassigns the format to another software โ often illogically (for example,.pdf can open through the browser instead of Adobe Acrobat).
- ๐ ๏ธ System Optimization: Security Cleanup sometimes resets default settings, considering them to be โjunkโ data.
- ๐ค Third-party application activities: Some programs (e.g, ES Explorer or Total Commander: When you install, you capture file formats, even if you didnโt give permission.
Another feature of MIUI 14+ is that it can block changing associations for system applications (such as Music or Video) to โprotect user experience,โ but in practice, it makes it impossible to return factory settings through the standard menu.
โ ๏ธ Warning: If the settings change again on their own after the reset, check your smartphone for viruses. Some malware is swapping file associations to redirect users to advertising sites.
Method 1: Reset via application settings
The easiest method is to return the default settings for a particular application, which works if the problem affects only one or two formats (for example,.mp3 or.pdf).
Instructions:
- Open Settings โ Applications โ Application Management.
- Select a program that opens files incorrectly (e.g., the browser if it has captured.pdf).
- Tap on Open by default (or default settings in new versions of MIUI).
- Click Reset default settings (if the button is inactive โ see the reason below).
Then, the next time you open the file, the system will prompt you to select the application again, and if the program you want isn't on the list, install it again from Google Play.
Make sure the right application is installed
Close all open files
Connect your smartphone to charging (in case of a long operation)
Check the space in the memory (needs at least 500 MB)
-->
Method 2: Cleaning the cache and data โSettingsโ
If a reset for a single application doesnโt work, the problem may lie in the corrupted data of the system component of Settings (com.android.settings), a method that is more radical, but often solves the problem globally.
How to do this:
- Go to Settings. โ Annexes โ Application management โ Three points (โฎ) โ Show system-based.
- Find the Settings app (icon with a gear).
- Open Warehouse โ Clear the cache and Clear the data.
- Reboot your smartphone.
After the reboot, all default settings will be reset, including file associations.Warning: This method will also reset:
- ๐ Fingerprint/face settings
- ๐ถ Saved Wi-Fi networks (you will have to enter passwords again)
- ๐ Sound and notification profiles
โ ๏ธ Note: Some Xiaomi models (e.g. Redmi Note 12 Pro)+) Cleaning the settings data may cause resetting of regional settings. After the procedure, check the language and time zone settings.
Once a week.
Once a month
Only after the updates
Never had a problem.
-->
Method 3: Use ADB-Teams (for experienced teams)
If standard methods donโt work, Android Debug Bridge (ADB), a computer debugging tool, requires USB debugging and is suitable for users who are ready to work with the command line.
Step-by-step:
- Activate Developer Mode: Go to Settings โ About Phone โ MIUI version and tap 7 times on this item.
- Return to Settings โ Additional โ For developers and enable USB debugging.
- Connect your smartphone to your PC, install ADB-tools and execute the command:
adb shell pm clear-defaults com.android.settingsTo reset the associations of a particular application (e.g. Gallery):
adb shell pm clear com.miui.galleryOnce you have completed the commands, restart the device, a method that is guaranteed to work even on Xiaomi with HyperOS, where standard settings are blocked.
Why can the Reset button be inactive?
Method 4: Reset all settings (without data loss)
If previous methods didnโt work, try a โsoftโ reset via the recovery menu, which doesnโt delete user files, but returns all system settings to factory settings.
Instructions:
- Turn off your smartphone.
- Press the Power button + Volume up until the Mi logo appears.
- From the Recovery menu, select Wipe & Reset โ Reset settings (use volume buttons for navigation, power for confirmation).
- Confirm the action and wait for the reboot.
After the procedure:
- โ All file associations will be reset.
- โ Photos, videos and installed applications will be saved.
- โ You will have to reconfigure Wi-Fi, Bluetooth and accounts.
โ ๏ธ Note: On HyperOS models (e.g. Xiaomi 14), the Recovery menu may be different. If you don't have Reset settings, select Wipe data, but this will result in a complete reset!
Table: Compatibility of methods with MIUI versions
| Method | MIUI 12โ12.5 | MIUI 13โ14 | HyperOS | Notes |
|---|---|---|---|---|
| Reset via application settings | โ Yes. | โ ๏ธ Partially. | โ No. | New versions are blocked for system applications |
| Cleaning the Settings cache | โ Yes. | โ Yes. | โ Yes. | Resets all system parameters |
| ADB-team | โ Yes. | โ Yes. | โ Yes. | Requires debugging over USB |
| Reset via Recovery | โ Yes. | โ Yes. | โ ๏ธ Limited. | HyperOS may not have an option |
What do you do if nothing helps?
If all of the above methods did not work, the problem may be related to:
- Damage to system files: In this case, only flashing through Fastboot or MI Flash Tool will help.
- Virus: Install Malwarebytes or Dr.Web and scan the device.
- Manufacturer restrictions: On some models (such as the POCO F5 with HyperOS), Xiaomi has completely blocked changing associations for system applications.
For diagnosis, do:
adb shell dumpsys packageLook for lines with preferred activities in the output line, which will show the current file associations.
๐ก
If the system reassigns formats after reset, try disabling battery optimization for the problem application: Settings โ Applications โ Application Management โ Battery โ No restrictions.
FAQ: Frequent questions
Can I return the factory settings to Open with Help without a computer?
Why do some formats open with the wrong application after reset?
Will the reset of associations delete my files?
How to prevent automatic change of default settings?
Does this work on POCO and Black Shark?
๐ก
On smartphones Xiaomi with MIUI 14+ HyperOS and standard resetting associations are often blocked. ADB-commands or cleaning the "Settings" cache are the most reliable methods.