How to Set Up an Installation from Unknown Sources on Xiaomi: A Safe Way

Installing apps from unknown sources on Xiaomi smartphones is a necessary feature for users who want to install APK-This may be necessary for testing beta versions of programs, using regionally blocked services or installing modified applications. However, the manufacturer by default limits this option for security reasons, requiring manual resolution in the settings.

In this article you will find the current instructions for all modern versions. MIUI (from 12 before 14), including customization features on different models - from budget Redmi to flagship Xiaomi 13/14. We will also discuss how to avoid common unblocking errors, what risks exist, and how to minimize security threats (11/12/13/14) and may require additional action on HyperOS devices.

Why do you need to install from unknown sources?

By default, Xiaomi blocks installation APK-Third-party files to protect users from malware, but there are legitimate reasons to enable this feature:

  • ๐Ÿ“ฑ Testing beta versions of apps (such as WhatsApp Beta or Google Apps for uncertified devices).
  • ๐ŸŒ Install regional apps that are not available on your Google Play (e.g. banking apps for other countries).
  • ๐Ÿ”ง Use modified versions of programs (for example, YouTube Vanced or Spotify Premium with unlocked features).
  • ๐Ÿ› ๏ธ Manual update of system applications if automatic update via Mi App Store does not work.

Without permission to install from unknown sources, you will see an error such as โ€œInstallation lockedโ€ or โ€œInstallation is prohibited from unknown sources to protect your phone.โ€ It is important to understand that enabling this option does not prevent the APK from checking for viruses โ€“ it only allows the system to skip the file past the standard Google Play Protect filter.

โš ๏ธ Attention: Installation APK from unreliable sources can cause malware to infect your device, steal data, or block your Mi Account. Always check files through VirusTotal before installing.

Preparation: Verification of MIUI and Android

Before setting up, make sure you know the firmware and Android version on your device, which is important because the path to settings may be different:

  1. Open the Settings. โ†’ The phone.
  2. Scroll down to the MIUI version section (e.g. MIUI 14.0.5 Global).
  3. Below will be the Android version (e.g. Android 13 TKQ1.221114.001).
MIUI versionThe corresponding version of AndroidFeatures of settings
MIUI 12โ€“12.5Android 10โ€“11Permission is given for each browser/file manager separately.
MIUI 13Android 12Added an additional confirmation request at the first installation.
MIUI 14Android 13โ€“14The setting is moved to the Applications โ†’ Special Access.
HyperOS 1.0Android 14You need to unlock the permission to install packages in the developer menu.

If you have HyperOS, turn on the developer mode before setting up:

  1. Go to Settings. โ†’ The phone.
  2. Tap 7 times on the MIUI version (you will be notified "You became a developer!").
  3. Return to Settings โ†’ Additional โ†’ For developers and activate the switch.
๐Ÿ“Š What version? MIUI You're using it?
MIUI 12 or older
MIUI 13
MIUI 14
HyperOS
I don't know.

Step-by-step instructions for MIUI 12โ€“14

The standard way to enable installation from unknown sources on most Xiaomi/Redmi/POCO devices is:

  1. Open Settings (the gear icon on the main screen).
  2. Go to the Appendix section โ†’ Application management.
  3. In the upper right corner, press three dots (โ‹ฎ) and select Special Access.
  4. Slip on Installation from Unknown Sources (or Install Packets on Some Firmware).
  5. Select the application you will install APK through (such as Files, Chrome, or Xiaomi File Manager).
  6. Activate the switch Allow installation from this source.

After that, you can install it. APK-files that you downloaded from the selected application, for example, if you've allowed Chrome to install, you can open them. APK straight from the browser downloads.

Download APK from a trusted source (e.g. APKMirror)

Check the file for viruses through VirusTotal

Allow installation for the desired application (Files/Chrome)

Save a backup of the data (in case of failure)

Charge your phone at least 50%-->

โš ๏ธ Note: On some devices (e.g. Redmi Note 10 Pro with a MIUI 13) after activation of permission, the system can request a password from the Mi Account. If you do not remember it, restore access in advance through the official website.

Features of setting up on HyperOS

HyperOS is Xiaomi's new shell, replacing MIUI in 2026, and it's a little different.

  1. Activate the Developer Mode (as described above).
  2. Go to Settings โ†’ Additional โ†’ For developers.
  3. Find the permission to install packages and tap it.
  4. Select an application (such as Files or Browser) and activate permission.

HyperOS may also require additional confirmation via biometrics (fingerprint or facial recognition) when the APK is first installed.

What if there is no "Special Access" clause?
On some firmware (e.g., for the European region), the section may be called Application Permissions or Additional Permissions. If there is no item at all, try: 1. Update MIUI to the latest version via Settings โ†’ System Update. 2. Reset to factory settings (pre-backup). 3. Install an alternative file manager (e.g., Solid Explorer) and give it permission.

How to install APK after unlocking?

After enabling permission to install from unknown sources, follow these steps:

  1. Download. APK-file on the device (for example, through a browser or Telegram).
  2. Open the files (or other manager you have been given permission to do so).
  3. Find the Downloads folder (or the one where the file was saved) and tap on the APK.
  4. Click Set and confirm the action.
  5. If the warning โ€œThis app could harm your deviceโ€ appears, click โ€œInstall it anywayโ€ (only if you trust the source!).

Once installed, the app will appear on the menu. If it doesn't start, check:

  • ๐Ÿ”„ Compatibility APK with your version of Android (for example, the Android 12 app wonโ€™t run on Android 10).
  • ๐Ÿ›ก๏ธ Availability of all necessary permissions in Settings โ†’ Annexes โ†’ Application management โ†’ [name] โ†’ Permits.
  • ๐Ÿ“ฅ Integrity of the downloaded file (damaged) APK never set).

1. delete the previous version of this application (if any).

2. Enable debugging over USB in the developer settings.

3. Use another file manager to run APK.-->

Typical errors and their solutions

When setting up an installation from unknown sources, users often face problems.

Mistake.Reason.Decision
"Installation blocked by administrator"The kiosk mode or corporate policy has been activated.Turn off the mode in Settings โ†’ Special features โ†’ Kiosk mode.
"Unknown error of code -24"Conflict with the existing version of the application.Remove the old app and re-install.
"APK is not supported"The file is designed for a different processor architecture (ARM/x86).Download the APK version for arm64-v8a (for most Xiaomi).
"Mi Account password required"It is blocked by the anti-theft system Find Device.Enter the password from your Mi Account or turn off Find Device in the settings.

If after all the manipulations the installation still does not pass, try:

  • ๐Ÿ”„ Reboot your device โ€“ sometimes helps to reset time constraints.
  • ๐Ÿ“ฑ Install APK through ADB (power-user):
adb install path/to/file.apk

To do this, you will need a USB debugging and a computer with Xiaomi drivers installed.

๐Ÿ’ก

If you install APKs frequently, consider using the SPLIT APK Installer (SAI) from F-Droid.This app makes it easy to install batch APKs (for example, for applications with multiple configuration files).

Security: How to minimize risks?

Allowing installations from unknown sources opens up potential vulnerabilities, and follow these rules to protect your device:

  • ๐Ÿ›ก๏ธ Download. APK only from verified sources: APKMirror (checks files for changes), APTidej (specializes in modified applications), official developer sites (for example, Telegram or other software). VK beta-version).
  • ๐Ÿ” Check files before installing: Hash amount (compare with the official on the developer's website). APK (The file must match the original.
  • ๐Ÿ”„ Update regularly MIUI: New firmware versions close vulnerabilities used by malware.
  • ๐Ÿšซ Do not give permission to install files to little-known file managers or browsers.

โš ๏ธ Note: Some banking applications (e.g., SberBank Online or Tinkoff) may block work on devices with an approved installation from unknown sources. If financial services stop working after setting up, disable permission or use the second user profile (on Android 12)+).

FAQ: Answers to Frequent Questions

Can I enable installation from unknown sources without a Mi Account password?
On most Xiaomi devices with MIUI 13+, the system requires the password from the Mi Account to be entered when you first activate this permission. This is not an official requirement, it is a security measure against device theft. If you do not remember the password, restore it through the official website or create a new account (but this will lead to loss of associated data). On some firmware for the Chinese market (for example, Xiaomi.cn), this request may not be available, but such firmware is not intended for global use and may have problems with Google services.
Why did the permissions to install APK reset after the MIUI update?
Major system updates (e.g., MIUI 13 to MIUI 14) reset some security settings, including permissions to install from unknown sources. This is standard practice to protect users from outdated vulnerabilities. To avoid problems after the update: Back up the list of installed APKs (e.g., via App Backup & Restore) Before upgrading. After updating, re-enable permission for the desired applications (as described in the instructions above). Check the operation of critical applications (banking, messengers) - some may require reinstallation.
How to install APK on Xiaomi with a blocked bootloader?
A bootloader does not affect the ability to install APKs from unknown sources โ€” these are different levels of security. You can freely install applications even if the bootloader is blocked (this is only necessary for custom recovery or ROM firmware). However, if the device is activated with Find Device, the system can block the installation of APKs, requiring a password from the Mi Account. In this case: Disable Find Device in Settings โ†’ Xiaomi Account โ†’ Find Device. Or enter the password from the account when you request.
Can I install Google Play on Xiaomi without unlocking the bootloader?
Yes, most global versions of Xiaomi/Redmi/POCO already have Google services pre-installed. If they are not available (e.g., on devices for the Chinese market), you can install them manually: Download the Google Installer package (e.g., with APKMirror). Allow installation from unknown sources for Files or Browser. Install Google Installer and follow the instructions in the application. This does not require unlocking the bootloader and works on most devices with MIUI 12+. However, some models (e.g. Redmi K40 Gaming) may require additional permissions for Google Play Services.
What if the application is immediately closed after installing the APK?
If the app is installed but not launched (takes off immediately after opening), the reasons may be: Incompatible with the Android version - check the application requirements. Lack of necessary permissions - go to Settings โ†’ Annexes โ†’ [name] โ†’ Permits and include all required. MIUI Optimization โ€“ Turn off optimization for this application: Go to Settings โ†’ Annexes โ†’ App management. Select the problem app. Slip it on three points (โ‹ฎ) and select Disconnect. MIUI Optimization. Damaged cache -- clear the app cache in the same settings. If nothing works, try finding an alternative version. APK (For example, for a different processor architecture, or contact the developer.