How to allow installation from unknown sources on Xiaomi Redmi: a complete guide with the nuances of MIUI

Installing apps from unknown sources on Xiaomi Redmi smartphones is a necessary feature for users who want to install APK-But the manufacturer deliberately limits this capability for security reasons, which often causes confusion. MIUI requires a separate setup for each browser or file manager through which you plan to install applications.

In this article, we will analyze not only the standard way to enable the option, but also the hidden nuances. MIUI 14+, You will learn how to circumvent the limitations of the system, why some of the system is not documented in the official Xiaomi reference. APK-Files are blocked even after unlocking, and how to safely test applications from third-party sources without risking data. 12/13, Redmi 10/11 and flagships of the K series, where the logic of the function may differ.

Why is Xiaomi blocking the installation from unknown sources?

According to Xiaomi Security Report 2023, more than 40% of infections on Android smartphones occur through the installation. APK from unverified sources. MIUI It uses a multi-level security system:

  • πŸ” Verification of signature APK β€” blocking files with corrupted or fake digital signatures.
  • πŸ›‘οΈ Real-time scanner – analysis of application behavior during the first installation.
  • πŸ“± Application permission binding – permission is only valid for a specific file manager or browser.

Interestingly, on devices with MIUI for the global market (such as the Redmi Note 12 Pro+ 5G), the verification is stricter than on Chinese versions of firmware, due to the requirements of Google Mobile Services (GMS), which obliges manufacturers to tighten control over third-party installations.

⚠️ Note: If you see a warning β€œInstallation blocked by the device administrator policy”, this means that the phone is active corporate profile (for example, from the employer) or antivirus application with extended rights. In this case, unlocking unknown sources may require resetting the device.

Standard Enablement Method: Step-by-step instructions for MIUI 12–14

The algorithm of actions depends on the version of MIUI and the model of the smartphone. Below is a universal instruction, relevant for Redmi based on Android 11-14:

  1. Download. APK-file in the memory of the phone (for example, through the Chrome browser or Xiaomi Browser).
  2. Open the file manager (Files or Explorer) and find the downloaded file.
  3. When you try to install, a warning window will appear. Click "Settings" (or "Allow from this source").
  4. Turn on the switch for the current application (for example, "Allow installation from Files").
  5. Return to the installation and confirm the action.

Important: the permission is only valid for the specific application through which you install the APK. For example, if you have allowed installation through Chrome, you will have to repeat the procedure when downloading the file via Telegram.

Download the file only from verified sources (APKMirror, APKPure)

Check the hash amount of the file (optional)

Disable VPN (may block signature verification)

Close antivirus applications (Avast, 360 Security)

-->

Hidden Settings: How to Enable Unknown Sources for All Apps

MIUI 13/14 has a global unlock capability, but it's hidden in developer mode, and it works on most Redmi models, including the Redmi K50, Redmi Note 12 Pro and later:

  1. Activate Developer Mode: Go to Settings β†’ About Phone β†’ MIUI Version and press 7 times in a row.
  2. Return to the main settings menu and open Additional β†’ for developers.
  3. Find the option β€œInstall via USB” and β€œDebug over USB” – turn on both.
  4. Connect the phone to the PC and execute the command to ADB: adb shell settings put global install_non_market_apps 1

After that, APK installation will be allowed for all applications without additional confirmation, but please note that this method:

  • πŸ”“ Resets after resetting settings.
  • πŸ›‘οΈ This may trigger warnings from Google Play Protect.
  • ⚠️ Does not work on devices with a locked bootloader (Redmi for the Chinese market).
What if the ADB does not recognize the device?
Make sure that Xiaomi drivers are installed USB Drivers (download from official website) If the problem persists, try: 1. Switch the connection mode USB to "File Transfer". 2. Disable/enable debugging by USB In the developer settings. 3. Use the original USB-cable (not all cables support data transmission).

Features for different Redmi models

The logic of the function may vary depending on the model and regional firmware, and the table below shows the key differences:

ModelMIUI versionFeatures of unlockingAdditional action
Redmi Note 12/1314 (Android 13)Requires confirmation via Mi Account at first installationLink Xiaomi account to Settings β†’ Account
Redmi 10/1112.5–13The option is hidden in Settings β†’ Applications β†’ Special accessEnable β€œInstall Unknown Applications” for each file manager
Redmi K50/K6014 (Android 14)Blocks APK with modified signatures (including patched games)Use Magisk to bypass the check (requires root)
Redmi 9A/9C12 (Android 10)There is no limit on the number of sourcesOne permit is enough for all managers.

On devices with MIUI for China (such as the Redmi K40 Pro), it may be necessary to link a phone number to a Mi Account to unlock it, which is due to local cybersecurity laws.

Redmi Note 12/13|Redmi 10/11|Redmi K50/K60|Redmi 9A/9C|Another model-->

Solving Common Errors When Installing APK

Even after the option is turned on, users often encounter errors, and here are the most common problems and solutions:

1. "Can't analyze the package" error

Reasons:

  • πŸ“„ Damaged. APK-file (incomplete download).
  • πŸ”§ Incompatible with the Android version (for example, APK Android 12 on Redmi 9 with Android 10).
  • πŸ›‘οΈ Block Google Play Protect (disabled in Google Play settings).

Solution: Re-download the file, check compatibility in the APK description, or use APK Extractor to analyze the manifest.

2. Warning: "This application may harm your device"

This error occurs if:

  • πŸ•΅οΈ APK Contains uncertified signatures (often in modified games).
  • πŸ“± The device is bound to corporate policy (for example, through Microsoft Intune).
  • πŸ”„ The firmware has been updated without resetting settings.

Bypass: Install APK via ADB with the command:

adb install -r -t path/to/file.apk

The -t flag allows you to install an application with a test certificate.

⚠️ Note: If you see an error "INSTALL_FAILED_VERIFICATION_FAILURE" installing ADB, This means that the device has activated system integrity check (for example, on Redmi with a locked bootloader), in which case only unlocking the bootloader or using official sources will help.

How to minimize risks when installing an APK

Installing applications from unknown sources always carries risks.

  • πŸ” Check the source: download APK only from verified sites (APKMirror, APKPure, official sites of developers).
  • πŸ“‹ Analyze permissions: Before installing, check what rights the application requests (e.g. access to the app). SMS geolocation without cause - red flag).
  • πŸ›‘οΈ Use the Sandbox: Apps like Shelter or Island let you run untrusted apps APK isolated.
  • πŸ”„ Regularly scan the system: built-in antivirus MIUI (Settings β†’ Security) or Malwarebytes.

For advanced users, you can use XPrivacyLua on root-enabled devices to restrict applications from accessing sensitive data, but this requires unlocking the bootloader, which will void the warranty on most Redmi models.

πŸ’‘

Before installing an APK, check its hash amount (SHA-1) with the Hash Droid utility (available on Google Play) to make sure the file has not been modified by malicious hackers.

Alternative ways to install applications without unlocking

If the inclusion of unknown sources is not possible for some reason, consider these methods:

  1. Through Google Play (if the app is in store): sometimes APK is blocked due to regional restrictions. Use a VPN to change region on Google Play.
  2. With Aurora Store: This is an alternative client for Google Play that allows you to install apps without a Google account (requires the inclusion of unknown sources for the Aurora Store itself).
  3. Through PC-Application version: some messengers (e.g. Telegram) allow you to send APK-file-to-device.
  4. Using the Web Version (PWA): If the application has a web interface (such as Twitter Lite), add it to the home screen via the browser.

For corporate users: if the installation is blocked by company policy, request access to the IT-department or use Work Profile to isolate work and personal data.

πŸ’‘

On devices with MIUI 14+, you can temporarily disable APK signature verification via Developer Mode (Disable MIUI Verification), but this reduces overall system security.

FAQ: Frequent questions about installation from unknown sources

Can I turn on unknown sources on Redmi without a Mi Account?
There is no Mi Account required on global versions of MIUI (e.g. Redmi Note 12 Global), but Chinese firmware (e.g. Redmi K60 China) may require a phone number to be linked to unlock.
Why did the permissions to install APK reset after the MIUI update?
This is standard MIUI behavior in major updates (e.g., version 13 to version 14), resets permissions for unknown sources for security reasons, and you have to re-enable the option for each file manager.
How to install APK on Redmi with a blocked bootloader?
On devices with a locked bootloader (most Redmi for the global market) installation via ADB Unlocking unknown sources is possible, but with limitations: You can not install applications that require modification of system files (for example, Xposed). APK The only way to get around this is by officially unlocking the bootloader through the Mi Unlock Tool (revokes the warranty).
Is it safe to install APKs from Telegram channels?
The risk depends on the source: official developer channels (e.g., the source of the risk, @duolingo For beta versions, it's usually safe, but channels with hacked apps often spread malware: πŸ”— Link to the original developer site in the channel description. πŸ“Š Number of subscribers and comments in comments. πŸ›‘οΈ Hash file amount (must match the official file amount).
Why is Redmi Note 11 not using the Unknown Sources option?
In MIUI 13+, the option is moved to the Special Access section inside the app menu. To find it, open Settings β†’ Applications β†’ Application Management. Select the app (e.g. Chrome) you want to install APK through. Click on "Special Access β†’ Install Unknown Applications." If there is no option at all, upgrade to the latest version.