How to change the default browser to Xiaomi with MIUI 12: the complete guide

Xiaomi’s MIUI 12-based smartphones often come pre-installed with Mi Browser, which automatically becomes the default application for opening web links. However, many users prefer alternative solutions β€” Google Chrome, Mozilla Firefox or Yandex Browser β€” because of their advanced functionality, synchronization with other devices or lack of advertising. In this article, we will discuss all the available ways to change the default browser, including bypassing the typical MIUI limitations that may interfere with this process.

It’s important to understand that MIUI 12’s default application selection algorithm differs from standard Android. It’s actively promoting its own services, so changing the browser directly through settings doesn’t always work the first time. We’ll look at both the official methods through the phone’s menu and alternative approaches, from using third-party utilities to manually editing system settings (for power users), and we’ll also look at why settings can be reset after the MIUI update, and how to avoid it.

Why MIUI 12 is imposing its browser and can it be bypassed?

Xiaomi’s MIUI 12 shell is known for its aggressive policy of promoting its own apps. The Mi Browser browser is not only installed by default, but also integrated into system processes, making it difficult to replace. Here are the key reasons why changing your browser can be difficult:

  • πŸ”„ Automatic resetting of settings: After updates MIUI The system can independently return Mi Browser to the default status of the application, ignoring the user's choice.
  • πŸ›‘οΈ OS-level restrictions: In some regional firmware (for example, China), the default browser change is blocked at the code level.
  • πŸ“¦ Pre-installed services: Mi Browser is linked to other system components (e.g. Mi Account or Mi Cloud), making it difficult to remove it completely.
  • πŸ”— Link Redirection: Even if you choose a different browser, some system links (such as from Settings or Mi Video) can only open in Mi Browser.

However, it is possible to circumvent these limitations. In the following sections, we will look at working methods, from simple (through standard settings) to advanced (using ADB or third-party tools). If you are faced with a situation where after choosing an alternative browser links are still opened in Mi Browser, this is not a bug, but a feature of MIUI. The solution to the problem will help a comprehensive approach: a combination of system settings and additional utilities.

⚠️ Attention: On devices with MIUI 12 for the European Region (EEA) Changing the default browser is usually a no-brainer. If your smartphone is purchased in China or has global firmware with restrictions, you may need to unlock the bootloader or install custom firmware.

Method 1: Standard browser change via MIUI 12 settings

The most obvious and safe method is to use the built-in MIUI settings, which are suitable for most users and do not require additional tools.

  1. Open the settings on your Xiaomi smartphone.
  2. Go to the Appendix section β†’ Application management.
  3. Click on the three dots in the top right corner and select the Default Apps.
  4. Slip on Browser.
  5. In the list that appears, select the browser you want (such as Chrome or Firefox). If it is not in the list, pre-installe it from Google Play.
  6. Confirm your choice by pressing OK.

After that, all web links must open in the selected browser.

  • πŸ”„ If after restarting the device settings reset, repeat the procedure - this is a typical "fiction" MIUI 12.
  • πŸ“Œ Some system links (such as those from Mi Community or Themes) may ignore your choices and open in Mi Browser.
  • πŸ”’ On Chinese firmware (China) ROM) The default paragraph of the application may not be.

β˜‘οΈ Preparation for the browser change

Done: 0 / 4

If the standard method didn’t work, go to the alternative methods described below, and also look at your firmware version: in MIUI 12.5 and later, the default application selection algorithm was slightly changed, which may have affected the availability of options.

Method 2: Using third-party utilities to force a browser change

If MIUI 12 system settings ignore your choices, you can use third-party apps that allow you to manually assign link handlers.

  • πŸ› οΈ Default App Manager (from Google Play) - a utility for managing applications by default, including browsers. MIUI It allows you to avoid certain restrictions.
  • πŸ”§ SetEdit (requires root) – advanced system settings editor that can force a link handler to change http/https.
  • πŸ“± App Cloner – if a problem is in a particular application (e.g. Telegram opens links in Mi Browser), you can clone it and configure the link handler separately.

Let’s look at the example of Default App Manager:

  1. Install the app from Google Play and open it.
  2. Provide all necessary permissions (including access to application settings).
  3. In the main menu, select the Browser.
  4. Tap on the current browser (Mi Browser) and select an alternative from the list.
  5. Confirm the changes and restart the device.

If the utility doesn’t see your browser in the list, try the following steps:

  1. Open an alternative browser (such as Chrome) and manually open any web link.
  2. When the system offers to select an application to open, tick Always and select the desired browser.
  3. Repeat the process in Default App Manager.

⚠️ Note: Apps like SetEdit require root access, which can compromise the device’s warranty and stability, only use them if other methods fail and you understand the risks.

πŸ“Š What browser do you use on Xiaomi?
Mi Browser (standard)
Google Chrome
Mozilla Firefox
Yandex Browser
Other

Method 3: Manually change settings via ADB (for power users)

If the standard methods didn't work and you couldn't get root, you can use ADB, the Android Debug Bridge debugging tool, which doesn't require superuser rights, but it uses the command line. Here's how to do it:

First of all, prepare your computer and phone:

  • πŸ–₯️ Install. ADB and Fastboot Tools on PC.
  • πŸ“± Enable Developer Mode on Xiaomi: Go to Settings β†’ About the phone and 7 times tap on the version MIUI.
  • πŸ”Œ Turn on the debugging. USB In Settings β†’ Additionally. β†’ For developers.
  • πŸ”— Connect your phone to the PC by USB and select the File Transfer Mode (MTP).

Now run the following commands in the terminal (command line) of the PC:

adb devices

(This command checks the device's connection. If the phone doesn't show up, make sure the drivers are installed correctly.)

adb shell pm clear --user 0 com.android.browser

(Clears default settings for Mi Browser.)

adb shell cmd package set-home-activity com.android.chrome/com.google.android.apps.chrome.Main

(Replaces com.android.chrome with your browser package, for example, for Firefox use org.mozilla.firefox/.App.)

Once you've done the commands, restart your phone, and if you've done it right, the browser you've chosen will become the default app, which is especially useful for Chinese firmware, where standard settings are locked.

browserPackage name for ADBDefault installation command
Google Chromecom.android.chromeadb shell cmd package set-home-activity com.android.chrome/com.google.android.apps.chrome.Main
Mozilla Firefoxorg.mozilla.firefoxadb shell cmd package set-home-activity org.mozilla.firefox/.App
Yandex Browsercom.yandex.browseradb shell cmd package set-home-activity com.yandex.browser/.browser.BrowserActivity
Brave Browsercom.brave.browseradb shell cmd package set-home-activity com.brave.browser/BraveMainActivity

⚠️ Attention: Teams ADB They may reset other default settings (such as a launcher or a call app). Once completed, check the phone's health and manually restore the settings if necessary.

πŸ’‘

If your browser doesn’t change after using ADB, try first removing updates for Mi Browser via Settings β†’ Apps β†’ Mi Browser β†’ Three Dots β†’ Remove updates. This can reset its priority in the system.

Method 4: Disable Mi Browser through settings (if not needed at all)

If you don't plan on using the Mi Browser, you can disable it completely or delete it (as far as MIUI 12 allows), which not only frees up space, but also prevents automatic link opening.

Option 1: Disconnect (without root)

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. Find Mi Browser on the list and tap it.
  3. Click Disable (if the button is active).
  4. Confirm the action in the dialog window.

Option 2: Remove updates (reset to factory version)

  1. In the Mi Browser menu (see paragraphs 1-2 above), click on the three dots in the top corner.
  2. Select Remove Updates.
  3. Confirm the action. The browser will return to the factory version, which may reduce its "obsession".

Option 3: Removal via ADB (without root but with risk)

If the Mi Browser is not disabled, you can try to remove it via ADB:

adb shell pm uninstall --user 0 com.android.browser

This command will only delete the browser for the current user, without affecting system files.

  • ⚠️ Certain functions MIUI (Mi Account or Themes may not work properly.
  • πŸ”„ After updating MIUI browser can be restored.
  • πŸ“Œ On Chinese firmware, this command may not work due to system protection.
What happens if you completely remove the Mi Browser?
On some MIUI 12 firmware, removing Mi Browser leads to errors when opening links from system applications (such as Settings or Mi Video), in which case you will have to restore the browser through resetting or flashing.

Problems and Solutions: Why is the browser not changing?

Even after you have completed all the instructions, you may find that MIUI 12 is stubbornly ignoring your choices, and let’s look at the typical problems and ways to solve them:

Problem.Possible causeDecision
After restarting, the browser is reset to Mi BrowserMiuiSystemUI system service resets settingsUse ADB to force a change (see Method 3) or disable battery optimization for an alternative browser
The default application list does not have the desired browserThe browser is not registered as a link handler http/httpsOpen your browser, click on any link and select it as the default application manually.
Some links are only opened in Mi BrowserSystem applications (Mi Video, Themes) are tightly tied to Mi BrowserUse App Cloner to create a copy of the app with another link handler
There is no "Default Apps" item in the settingsChinese firmware (China ROM) with limited settingsInstall Global ROM or use ADB

If none of these methods worked, your firmware may have unique limitations, in which case you should consider the following alternatives:

  • πŸ”„ Update MIUI: In new versions (e.g, MIUI 13/14) Default application selection policies may be softer.
  • πŸ“± Install custom firmware: Firmware like LineageOS or Pixel Experience has no restrictions MIUI.
  • πŸ› οΈ Use of alternative launchers: Some launchers (like Nova Launcher) allow for flexible customization of link handlers.

πŸ’‘

If you use Chinese ROM, the most reliable way to change your browser is to install a global version of MIUI via Fastboot or Recovery, which requires unlocking the bootloader, but is guaranteed to solve the problem.

Additional tips: how to avoid resetting settings?

One of the most common problems with changing your browser to MIUI 12 is automatically resetting your settings after you update your system or reboot your device, and to minimize the risk, follow these guidelines:

  • πŸ”„ Turn off automatic updates MIUI: Go to Settings. β†’ The phone. β†’ Update the system and disable Auto Update.This will prevent unexpected resets.
  • πŸ“΅ Freeze the Mi Browser with the help of ADB: Adb shell pm disable-user --user 0 com.android.browser will disable the browser without deleting, which will reduce the risk of conflicts.
  • πŸ”‹ Add an alternative browser to battery optimization exceptions: Go to Settings β†’ Battery β†’ Optimize your battery, find your browser and choose Without Limits.
  • πŸ”’ Use Tasker to automatically restore settings: The script in Tasker can check the current browser by default and return your choices if necessary.

If you often experience resets, try the following trick:

  1. Install an alternative browser and make it the default application (see Method 1).
  2. Open Settings β†’ Applications β†’ Mi Browser β†’ Memory and click Clear Data and Clear Cache.
  3. Reboot the phone.
  4. Re-select the alternative browser in the default settings.

This method resets the Mi Browser’s β€œpriority” in the system, which can help to cement your choices.

FAQ: Frequent questions about changing the browser to Xiaomi

Can I remove Mi Browser completely without root?
Most of the firmware. MIUI 12 You can’t completely remove Mi Browser without root, but you can disable it or remove updates (see Method). 4). On Chinese firmware, even a shutdown can be blocked.The alternative is to use ADB For removal only by the current user (pm uninstall) --user 0 com.android.browser).
After you change your browser, some links still open in Mi Browser. Why?
This is a feature of MIUI: some system applications (e.g. Mi Video, Themes, Mi Community) are tightly tied to Mi Browser. Solutions: Use App Cloner to create a copy of the application with another link handler. Install Global ROM, where there are fewer such restrictions. Use ADB to force the handlers to reassign (see Method 3).
How do I get my Mi Browser back if something goes wrong?
If you have problems with settings or ADB, you can return Mi Browser by going to Settings β†’ Applications β†’ Application Management. Find Mi Browser and click On (if disabled). If the browser is remote, install it from Google Play or reset the phone to factory settings. To recover through ADB, use the command: adb shell cmd package install-existing com.android.browser
Will this work on MIUI 13/14?
In MIUI 13 and MIUI 14, the default application selection algorithm is changed, but the basic principles remain the same. The standard way through settings (Method 1) is usually more stable, and the need for ADB or third-party utilities is less common. However, on Chinese firmware, restrictions may persist. For precise instructions, specify the version of your firmware in Settings β†’ About Phone β†’ MIUI version.
Can I change the default browser without a computer?
Yes, if the standard method (Method 1) or third-party utilities (Method 2) worked, but for firmware with severe constraints (e.g. China). ROM) without ADB (So it's hard to do without a computer. The alternative is to use the cloud. ADB-services (e.g. services, ADB AppControl, but they require an internet connection and may be less reliable.