How to Put Play Market by Default on Xiaomi: A Complete Guide to Bypassing MIUI Blocks

Xiaomi, Redmi and POCO smartphones run on the MIUI branded shell, which by default promotes its own GetApps app store. This creates problems for users accustomed to the Google Play Market: applications from it are not installed automatically, updates are delayed, and some features (for example, Instant Apps) do not work at all. Worse, after resetting settings or updating the firmware, the Play Market is reset to an unpriority state, and the configuration process has to be repeated.

In this article, we’ll look at all the current ways to make Google Play the main store on Xiaomi, including bypassing the MIUI 14/15 restrictions, working with ADB rights, and even manually editing system files for advanced users, and pay special attention to common errors like β€œfailed to install a package” or β€œapp not selected”, which often occur when trying to change the store by default.

⚠️ Important: On devices with global firmware MIUI (For example, Redmi Note 12 Global, the problems are usually less than on Chinese versions (for example, Xiaomi 13 China). If your smartphone is bought in China, first check if it unlocks Google Play Services, without this, no method will work.

πŸ“Š What firmware you use on Xiaomi?
MIUI Global
MIUI China
MIUI Europe (castom)
Another.

Why Xiaomi is blocking Play Market by default

The root of the problem lies in Xiaomi’s policies and the features of the MIUI shell.

  • πŸ“± Promotion of own services: GetApps and Mi App Store bring companies revenue from advertising and affiliate programs. MIUI intentionally restricts Google Play to allow users to install apps from the branded store.
  • πŸ‡¨πŸ‡³ Regional restrictions: On Chinese firmware (China) ROM) Google Play Services is missing out of the box – it needs to be installed manually via Fastboot or Recovery.
  • πŸ”’ Security (as per Xiaomi): The company claims that control over the installation of applications reduces the risk of malware. MIUI locks out the automatic installation APK even from trusted sources.
  • πŸ“¦ Package conflict: B MIUI There is a built-in package manager com.miui.packageinstaller that intercepts the installation APK Ignore the default settings for the Play Market.

Fun fact: On some models (like the POCO F5 or Redmi K60) after upgrading to Android 14, the problem is exacerbated by the system starting to reset the Play Market rights every 24 hours, due to Google’s new security policy, which Xiaomi implemented with errors.

⚠️ Note: If you use custom firmware (e.g. Pixel Experience or LineageOS), the methods described below may not work. default_permissions.xml file /system/etc/permissions.

Method 1: Configure via the Default Apps menu (the easiest)

This method works on most devices with MIUI 12-15, but may require re-use after a reboot.

Step 1. Open Settings β†’ Applications β†’ Application Management.

Step 2. Slip on the three dots in the upper right corner and select the Default Apps.

Step 3: Find Package Installer and select Google Play Market (if it’s not listed, see spoiler below).

Step 4. Go back to Settings β†’ Apps, find Google Play Market, open its settings and enable rights:

  • πŸ”˜ Auto-start
  • πŸ”˜ Showing over other windows
  • πŸ”˜ Modification of system settings (if any)

⚠️ Attention: On some firmware (MIUI 14 China) may not be available in Packet Installer, in which case proceed to Method 2.

What if Google Play Market is not listed as a Play Store?
If the default app menu does not have Google Play Market, it means that the package installer (com.android.packageinstaller) is locked. Solution: 1. Install an alternative installer (such as SAI or App Installer from Play Market). 2. Go to Settings β†’ Applications β†’ Application Management β†’ Three Points β†’ Special Access β†’ Install Unknown Applications. 3. Allow APK installation for the selected installer. 4. Repeat steps from Method 1, but select an alternative installer instead of Google Play.

β˜‘οΈ Preparation before changing the default installer

Done: 0 / 4

Method 2: Use of the ADB-Teams (for experienced users)

If the standard method doesn’t work, you can force Play Market to be the default installer through ADB, which requires a connection to a computer, but gives a more stable result.

Step 1. Install ADB and Fastboot Tools on your PC. Enable USB Debugging on your phone (Settings β†’ About Phone β†’ MIUI Version – tap 7 times, then go back to Settings β†’ Additional β†’ For Developers).

Step 2. Connect your phone to your PC and do the following at the terminal:

adb devices

If the device is not detected, confirm the debugging permission on the smartphone screen.

Step 3. Enter a command to reset the current installer settings:

adb shell cmd package set-home-activity com.android.vending

Step 4. Now assign Play Market to the default installer:

adb shell cmd package install-existing com.android.vending

Step 5: Reboot your phone and check if Google Play appears on the installer list (Settings β†’ Apps β†’ Default Apps).

πŸ”Ή If the team doesn't work: Try an alternative:

adb shell pm grant com.android.vending android.permission.INSTALL_PACKAGES

πŸ’‘

After completion ADB-Add Google Play Market to β€œSecure Apps” (Settings) β†’ Battery β†’ Secure applications. This will prevent resetting after system optimization.

ADB Team TeamAppointmentWhen to use
adb shell cmd package set-home-activity com.android.vendingResets the current installer by defaultIf the Play Market is not listed
adb shell pm grant com.android.vending android.permission.INSTALL_PACKAGESPlay Market gives you the right to install packagesIf the APK installation error appears "Access denied"
adb shell am start -a android.intent.action.VIEW -d market://details?id=com.android.vendingForcedly opens Play MarketTo check the performance after changes

Method 3: Editing system files (for advanced)

If previous methods failed, you can still manually edit configuration files, which requires root rights or an unlocked bootloader, but you can guarantee 100% results.

Step 1. Get root access with Magisk or unlock the bootloader through Fastboot (instructions for Xiaomi: official website).

Step 2: Install a file manager with root support (such as Root Explorer or Mixplorer).

Step 3. Follow the path: /system/etc/permissions/

Find the platform.xml file and open it in the text editor.

Step 4. Find the line:

<permission name="android.permission.INSTALL_PACKAGES" >

Add it after it:

<group gid="media_rw" />

Step 5: Save the file, set the rights to 644 (rw-r--r---), and restart the phone.

⚠️ Attention: Incorrect editing platform.xml This can cause a cyclic reboot. Before you change, back up the file!

πŸ’‘

Editing system files is the only way to permanently fix the Play Market by default on Chinese firmware (China ROM).

Solving Common Errors When Changing the Installator

Even after you have successfully set up the Play Market, you may still have errors, and here are the most common ways to fix them:

  • ❌ "Failed to install package" β†’ Clear the cache and data of Google Play Services (Settings) β†’ Annexes β†’ Google Play Services β†’ Warehouse β†’ Clear the cache/data).
  • ❌ "Appendix not selected" β†’ Remove updates to com.miui.packageinstaller via ADB: adb shell pm uninstall -k --user 0 com.miui.packageinstaller
  • ❌ "Google Play Services has stopped working" β†’ Reinstall Google Play via APKMirror (download the version for the game). arm64 universally).
  • ❌ "The device is not certified" β†’ Register your device with Google Device Registration (Google Services Framework) ID, which can be obtained through Device ID).

πŸ”Ή Special case: On Xiaomi 13T Redmi Note 12 Pro+ Android 13/14 There may be an error "MIUI This file type does not support:

  1. Download APK files to your computer.
  2. Connect the phone in File Transfer (MTP) mode.
  3. Move the APK to the Download folder on your phone.
  4. Install it through Google Files (it has a built-in installer).

How to prevent resets after the MIUI update

After updating the firmware, MIUI often resets the default settings.

  • πŸ”„ Turn off automatic updates MIUI: Settings β†’ The phone. β†’ Updating the system β†’ Three points. β†’ Settings β†’ Auto-update (off).
  • πŸ“₯ Use local updates: Download firmware manually from the official site and install through System Update β†’ Select a firmware file.
  • πŸ”§ Create a task in Automate or Tasker: Set up automatic execution ADB-Teams from Method 2 after rebooting.

πŸ’‘

If the MIUI Play Market resets again after the update, try rolling back to the previous firmware version via Fastboot.Instructions for specific models, look for on the XDA Developers forum.

Alternative ways to install apps without Play Market

If none of the methods worked, you can use workarounds:

  • 🌐 Aurora Store: An alternative client for Google Play that allows you to download apps without being tied to an account.
  • πŸ“¦ APKMirror: A reliable source APK-Supports automatic updates via APKMirror Installer.
  • πŸ”— AppGallery (Huawei): A good alternative for Chinese firmware, but not all apps are available.
  • πŸ› οΈ SAI (Split APK Installer: Can install APK, APKM and XAPK circumvention MIUI.

⚠️ Note: When using third-party sources (APKMirror, Aurora Store) disable automatic app updates in the Play Market to avoid version conflicts.

FAQ: Frequent questions about setting up Play Market on Xiaomi

❓ Why Play Market Resets Again After Reboot?
It has to do with background optimization. MIUI. Solution: Add Google Play Market to Secure Apps (Settings) β†’ Battery. Turn off Auto Cleanup. RAM (Settings β†’ Battery β†’ Optimization. Use it. ADB-command for permanent assignment of rights (see Method 2).
❓ Can Play Market Be Mainstream Without a Computer?
Yes, but with limitations: Global firmware is sufficient with the method from Method 1. Chinese firmware will require an alternative installer (e.g. SAI). Android 12+ may require a browser-based bypass: open the APK link in Chrome and select Open in Play Market.
❓ Why Xiaomi 13 Ultra Play Market doesn’t install apps?
On Xiaomi flagships (for example, 13 Ultra, 14 Pro) often involves blocking installations from unknown sources at the system level. install_non_market_apps 1 If it doesn’t work, check if Google Play Protect is disabled. β†’ Google β†’ Security).
❓ How to Check that Play Market is Now the Main Installer?
Two ways: Download any one APK-A file (e.g. with APKMirror) and tap on it. A window with the Google Play logo should open. Enter adb shell dumpsys package at the terminal. | grep "installerPackageName" The output should be the line com.android.vending.
❓ Does this method work for POCO and Black Shark?
Yes, but with nuances: POCO (e.g. F5, X5 Pro) uses MIUI for POCO, where the constraints are milder. Method 1 is enough. Black Shark (e.g. Black Shark 5) has its own shell, but MIUI. This may require editing system files.