How to allow the installation of applications from unknown sources on Xiaomi Redmi 9: Safe Guide 2026

Installing apps from unknown sources on Xiaomi Redmi 9 is a procedure that every second smartphone owner faces. APK-A file from an alternative store, test a beta version of a program, or use specialized software not available on Google Play. However, the manufacturer imposes restrictions on such actions by default - this is part of the security policy. MIUI, designed to protect the device from malware.

In this article, we will discuss not only how to enable installation from unknown sources on Redmi. 9 different-story (MIUI 12/13/14), But we'll also talk about the hidden nuances of the process, and you'll learn why, after you update your system, your settings might reset, how to get around the limitations of specific applications (like browsers), and what to do if the option just doesn't appear on the menu. What system files are responsible for blocking the installation APK And how to check them through ADB, if the standard methods do not work.

Why Xiaomi is blocking APK installation by default

The ban on installing apps from unknown sources is not a whim of Xiaomi, but a requirement of Google for all Android 8.0+ devices.

  • πŸ›‘οΈ Malware protection: According to Kaspersky, 38% of mobile viruses were spread through fake malware in 2023 APK-files masquerading as popular games or utilities.
  • πŸ“¦ Ecosystem Control: Google and Xiaomi are interested in users installing software through official stores (Google Play or Mi App Store), where applications are moderated.
  • πŸ”„ Compatibility and stability: Unoptimized APK may conflict with the shell MIUI, causing CPU failures or overheating (especially relevant for the Redmi 9 with a Helio processor) G80).

Redmi 9 has two levels of locking:

  1. System: Prohibiting in security settings (Settings β†’ Applications β†’ Special Access β†’ Installation of Unknown Applications).
  2. Software: Filter through Mi Protect (Xiaomi built-in antivirus), which scans all downloaded APKs even after unlocking.

⚠️ Attention: On devices with MIUI Global (European firmware) after unlocking the installation of unknown sources may appear a notification "This application may harm your device" at each attempt to install APK. This is not a mistake, this is how Google Play Protect works. You can turn it off in the Google Play settings.

Preparation of the device: what to check before unlocking

Before you turn on the APK installation, follow 5 mandatory steps:

Update MIUI to the latest version (check in Settings β†’ About Phone β†’ System Update)

Download. APK-file only from verified sources (for example, APKMirror or the official developer site)

Check the free space on the device (needs a minimum of 500 MB for temporary installation files)

Disable VPN or proxy – they can block APK downloads

The battery charge must be at least 30% (at low charge, the system can interrupt the installation)

-->

Pay special attention to the MIUI version. Three firmware options are available on Redmi 9:

MIUI versionFeatures of unlockingYear of release
MIUI 12The option is hidden in Settings β†’ Privacy β†’ Additional. Once enabled, you need to reboot.2020–2021
MIUI 13The menu moved to Settings β†’ Applications β†’ Special Access. Supports unlocking for individual applications (e.g., Chrome only).2021–2022
MIUI 14Added verification of digital signature APK. When installing uncertified files, a warning with an error code appears INSTALL_FAILED_VERIFICATION_FAILURE.2022–2026

If you don’t know your version of MIUI, check it along the way: Settings β†’ About Phone β†’ MIUI Version. Redmi 9 may also have coded firmware designation, such as QJWMIXM (global version) or QJECNXM (Chinese).

MIUI 12|MIUI 13|MIUI 14|I don't know my version.|Another firmware-->

Step-by-step: how to allow APK installation on Redmi 9

The algorithm depends on the version of MIUI, but the overall scheme is the same. Consider a universal method that works on all versions of the firmware for Redmi 9:

Method 1: Through Security Settings (Standard)

  1. Open Settings (the gear icon on the main screen).
  2. Go to the Appendix section β†’ Special access (on MIUI 12 Ways May Be Different: Privacy β†’ Additionally).
  3. Select the Installation of Unknown Applications.
  4. In the list, find the application through which you will install APK (For example, file manager, Chrome or Mi Browser).
  5. Activate the switch Allow installation from this source.
  6. Confirm the action in the dialog box by pressing OK.

Then you can open it. APK-file via the selected application (for example, tap on the file in the File Manager), and the system will prompt you to install it.

πŸ’‘

If the list does not contain the desired application (e.g. Telegram), first try to open the APK through it. the system will automatically add it to the list of Install unknown applications.

Method 2: ADB (for experienced users)

If the standard method doesn’t work (e.g., gray or no option), you can unlock the installation via ADB (Android Debug Bridge), which requires a computer and a developer mode enabled.

  1. Activate Developer Mode on Redmi 9: Settings β†’ About Phone β†’ MIUI Version (Tap 7 times in a row)
  2. Return to Settings β†’ Additional β†’ For developers and enable USB debugging.
  3. Connect your phone to your PC, install Xiaomi drivers (download from the official website).
  4. Open the command line (Windows) or the terminal (macOS/Linux) Adb shell settings put global settings install_non_market_apps 1
  5. Reset the device.

⚠️ Attention: Team install_non_market_apps reset after updating MIUI. If after the update installation APK It is blocked again, repeat the procedure.

Method 3: Through TWRP (for custom firmware)

If your Redmi 9 has custom TWRP recovery installed, you can turn off APK signature verification via build.prop:

  1. Boot to TWRP (clip Power + Volume up when turned on).
  2. Select Advanced β†’ File Manager.
  3. Go to /system/build.prop.
  4. Find a line. ro.miui.securitycenter.install_app_verification and replace it with 0.
  5. Save the changes and reboot.

This method is risky – improper editing build.prop can lead to bootloop. Use it only if other methods have not worked.

What to do if the option "Install unknown applications" is inactive

Sometimes the switch in the settings is gray and does not respond to pressing.

  • πŸ”’ Parental Controls: Check if it is included in Settings β†’ Accounts and synchronization β†’ Family access. Turn off restrictions.
  • πŸ“± Work profile: Some Redmi 9 with corporate firmware (Android Enterprise) installation APK The solution is to reset the device to factory settings.
  • πŸ› οΈ Damaged System Files: If the option is gone after the update, reset via Settings β†’ Additionally. β†’ Recovery and discharge β†’ Resetting settings (data not deleted).
  • πŸ”§ Restrictions of regional firmware: On Chinese versions MIUI (QJECNXM) You may need to link your Mi Account to unlock it. Create an account at account.xiaomi.com.
How to check the firmware region?
Open the Phone app and enter the code ##4636##. In the Phone Information menu, find Region of Sale. If CN is listed, you have Chinese firmware, Global is international.

If none of these methods worked, there are two options:

  1. Install custom firmware (such as LineageOS or Pixel Experience) where there are no Xiaomi restrictions.
  2. Use alternative installation methods: 🌐 Install APK through ADB Sideload: adb install path/to/file.apk πŸ“² Use of installation applications, for example SAI (Split APKs Installer from F-Droid.

Risks and how to minimize them

Allowing installation from unknown sources gives access not only to useful APKs but also to potential threats.The main risks on Redmi 9:

Threat.Effects of consequencesHow to protect yourself
MalwareData theft, espionage, device locking (redemption for unlocking).Install APKs only from trusted sources (ApkMirror, developer's GitHub). Check the hash file (for example, via VirusTotal) before installing.
Incompatible applicationsOverheating of the processor, fast battery discharge, MIUI flights.Check the APK requirements for the Android version (Redmi 9 has Android 10/11). Use App Inspector to analyze the permissions.
Fake updatesInstall phishing versions of apps (such as fake WhatsApp to steal SMS).Compare the APK digital signature with the official one (via apksigner in Android Studio).

To reduce the risks:

  1. After installing the APK, immediately disable the permission for the source in Settings β†’ Install unknown applications.
  2. Use Mi Protect to scan files: Security β†’ Scan.
  3. Set up Google Play Protect: Open Google Play β†’ Menu β†’ Play Protect β†’ Settings β†’ Enable Scan Your Device for Threats

For enterprise users, Xiaomi offers the Mi Enterprise App Store, a private app store where an administrator can download internal APKs for employees. To activate it, contact Xiaomi to request a corporate account.

Frequent mistakes and their solutions

When installing an APK on Redmi 9, there may be errors.

Mistake.Reason.Decision
INSTALL_FAILED_VERIFICATION_FAILUREMIUI 14 includes APK signature verification.Turn it off through ADB: adb shell settings put global package_verifier_user_consent 1
App not installedConflict with the already installed version of the application.Remove the old app and re-install. If it doesn't work, clear the cache to Settings β†’ Apps β†’ Package Installer.
Parse errorDamaged. APK-file or incompatibility with Android 10/11.Download the file again. Check for support for the arm64-v8a architecture (Redmi 9 processor does not support x86).
INSTALL_FAILED_INVALID_APKThe APK is modified or signed incorrectly.Use the original file. To verify the signature, use the command: aapt dump badging file.apk | grep package

If the error persists, try:

  1. Install APKs from another source (e.g., if it doesn’t work through File Manager, try Chrome).
  2. Temporarily disable Mi Protect in Security β†’ Settings β†’ Real-time protection.
  3. Check if the installer is blocked by the system: Settings β†’ Applications β†’ Package Installer β†’ Permissions.
Can I install APK on Redmi 9 without unlocking Unknown Sources?
No, it is technically impossible without root rights or exploiting vulnerabilities (like DirtyCow, but they are closed in the latest versions of MIUI). However, you can install APK through ADB without enabling the option in the settings, but that requires a computer.
Why is the APK installation option blocked again after the MIUI update?
It's standard behavior. MIUI β€” after major updates (e.g., with MIUI 13 on MIUI 14) All permits are reset to factory, so you can do it again or use it. ADB-Settings put global install_non_market_apps 1.
How to check if it is safe APK-pre-installation?
Use these tools: VirusTotal (virustotal.com) - upload a file to check for viruses. APKLab (an Android app) - analyzes the APK code for suspicious permissions. Exodus Privacy (exodus-privacy.eu.org) - checks for trackers in the application. Also pay attention to: file size (too small APK can be empty). Packet name (should match the official, for example, com.whatsapp for WhatsApp).
Can I install Google Play on the Chinese version of Redmi 9?
Yes, but it requires manual installation of Google services (GApps).Instruction: Download the GApps package for Android 10 (For example, NikGApps from nikgapps.com. ZIP-file and install APK manually (first) GoogleServicesFramework.apk, Then the rest. Reset the device. ⚠️ Attention: On Chinese firmware (QJECNXM) Google Play may not work as well (e.g., not update) and the solution is to flash the global version. MIUI via Fastboot.
How to roll back changes if after installing the APK, the phone began to brake?
Follow these steps: Remove the problem app: Settings β†’ Applications β†’ Delete. Clear the system cache: Settings β†’ Additional β†’ Memory β†’ Clear the cache. If the brakes are saved, reset to factory (without deleting data): Settings β†’ Additional β†’ Recovery and Reset β†’ Resetting. In extreme cases, perform a full reset via Recovery (clip Power + Volume up when turned on). If the problem is a system conflict (for example, after installing a modified Xposed), you may need to flash through Fastboot.