How to turn on “Unknown sources” on Xiaomi Redmi 9: full instructions with nuances

Why You Need “Unknown Sources” on Xiaomi Redmi 9 and When to Include Them

By default, Xiaomi Redmi 9 smartphones block the installation of applications from third-party sources – this is a standard security measure from the company. MIUI, It's designed to protect the device from malware, but sometimes users need to bypass this restriction, for example, to install it. APK-Files from trusted sources (such as APKMirror), testing beta versions of programs or using specialized software that is not available in Google Play.

Enabling Unknown Sources is a simple but nuanced process. On Redmi 9 (and other devices running MIUI 12/13/14), the algorithm is different from pure Android, and some settings can be hidden or blocked by the manufacturer. In this article, we will discuss all current ways to unlock, including bypassing restrictions for specific applications (for example, a browser or file manager), and also explain how to minimize the risks when installing APK.

⚠️ Important: Turning on this option reduces the level of protection of the device. APK only from trusted sources and always check application permissions before installation.

Method 1: Standard Enablement through “Security Settings”

The most obvious method is to activate the option in the security menu, which is suitable for most Redmi 9 users with any version of MIUI (12 to 14).

  1. Open “Settings” (the gear icon on the home screen or in the application menu).
  2. Go to the Appendix section → Application management.
  3. In the upper right corner, press three dots (⋮) and select Special Access.
  4. Slip on the item Install unknown applications.
  5. Select the application you plan to install APK through (such as File Manager, Chrome or Telegram).
  6. Activate the switch Allow installation from this source.

After that, you can install it. APK-files downloaded through the selected application.Please note: MIUI 14 Ways may be slightly different – instead of App Management, look for App Permissions.

Download. APK-file|Check the hash of the file (if possible)|Create a backup copy of the data|Charge your phone at least 50%|Turn it off. VPN (may block the installation)

-->

Method 2: Application-specific resolution (MIUI 13/14)

Starting with MIUI 13, Xiaomi tightened control over APK installation by allowing Unknown Sources to be enabled only for individual programs, which means that if you downloaded a file through a browser but are trying to install it through a file manager, the system will block the process. To avoid the “Installation locked” error, follow these steps:

  • 📱 For the browser: Open Settings → Annexes → Application management → Browser, then allow the installation of unknown applications.
  • 📁 For File Manager: Similarly, find Files (or File Manager) in the application list and activate permission.
  • 💬 For messengers: If APK came via Telegram or WhatsApp, permission must be included separately for each of them.

This approach is more secure, as it limits APK installation to trusted programs, but it requires more action if you use multiple sources to download files.

Through Google Play|From official sites (APKMirror, APKPure)|From Telegram channels | Through file manager |Another option

-->

Method 3: Bypassing restrictions through ADB (for power users)

If standard methods don’t work (e.g. due to corporate restrictions or custom firmware), you can enable the installation of unknown sources via ADB (Android Debug Bridge), which is suitable for advanced users and requires connecting the phone to a PC.

Here's what we need to do:

  1. Turn on Developer Mode on Redmi 9: go to Settings → About Phone and tap the MIUI version 7 times.
  2. Return to Settings → Additional → For developers and activate Debugging over USB.
  3. Connect the phone to your computer and confirm the debugging permission.
  4. Open the command prompt (or Terminal on Mac/Linux) and type:
adb shell settings put global install_non_market_apps 1

Once you have completed the command, restart the device.This method will unlock the APK installation globally, but may not work on all versions of MIUI due to manufacturer restrictions.

What to do if ADB is not working?
If the command returns the permission denied error, try an alternative method: 1. Install Shizuku (ADB application via Wi-Fi). 2. Use the command: adb shell pm install -r -t /path/to/apk 3. MIUI 14 may require a rollback to MIUI 12 or use Magisk.

Table: Comparison of ways to include "Unknown sources"

MethodDifficultyTools requiredRisks.Suitable for
Standard (through settings)Just a phone.MinimumBeginner users
Permission for a specific application⭐⭐Just a phone.Low.Users of MIUI 13/14
ADB-team⭐⭐⭐PC, USB-cable, ADBMedium (risk of resetting)Advanced users
Use of Magisk⭐⭐⭐⭐Root rights, custom recoveryHigh (loss of warranty)Enthusiasts and developers

Frequent mistakes and their solutions

Even after you turn on Unknown sources, Redmi 9 users may run into problems, and here are the most common mistakes and ways to fix them:

  • 🚫 «Installation locked": Make sure permission is enabled for the very application you're trying to install through APK. For example, if a file is downloaded via Chrome but installed through the File Manager, you need to allow installation for both.
  • 🔒 «App not installed: Check if your version of Android supports this APK (For example, the Android 12 app won’t install on Android 10. Also make sure the file isn’t corrupted (compare its hash with the original).
  • ⚠️ «This app could harm your device": Google Play Protect Warning. If you're sure of the source, click "Install Still. Otherwise delete the file.
  • 🔄 «Unknown error" when installing: Restart your phone, clear the cache of Google Play Services (Settings → Annexes → Google Play Services → Warehouse → Clear the cache and try again.

💡

If APK not installed, try to rename the file, removing the Cyrillic alphabet and special characters from the name (for example, replace the application_v1.2.apk on app_v1_2.apk).

Important for Redmi 9 users with MIUI Global: On some firmware, the Unknown Sources option may be hidden due to regional restrictions, in which case, resetting to factory settings (Settings → About Phone → Resetting) or switching to MIUI Europa (unofficial firmware) will help.

How to Protect Your Phone After Enabling Unknown Sources

Allowing APK installation from third-party sources opens up potential vulnerabilities, and to minimize risks, follow these guidelines:

⚠️ Warning: Never install APK Sources that offer hacked versions of paid apps (such as Spotify Premium or Netflix) often contain spyware or mining scripts that could steal your data or damage your system.

  • 🛡️ Use antivirus: Install Malwarebytes or Bitdefender to scan downloaded files.
  • 🔍 Check the Permits: Before Installation APK Check what permissions the application requests (e.g. access to the app) SMS geolocation without cause - red flag).
  • 🔗 Download only from official sources: Prefer APKMirror, APKPure or developer sites. Avoid torrents and file sharing.
  • 🔄 Update regularly: Outdated versions APK This may contain unpatched vulnerabilities. Enable automatic updates in Google Play.

If, after installing an unknown APK, the phone starts to brake, overheat or show unusual activity (such as traffic consumption in the background), immediately uninstall the application and check the system for viruses.

💡

Enabling Unknown Sources does not cancel Google Play Protect.This tool continues to scan installed APKs for threats, but it can be turned off in security settings.

FAQ: Answers to Frequent Questions

Can I turn on Unknown Sources on Redmi 9 without accessing settings (e.g. if my phone is locked)?
No, activating this option requires access to the Settings menu. If the phone is locked (for example, with a password or a pattern lock), first unlock it through Mi Account (if a Xiaomi account is attached) or reset it through Recovery Mode (the data will be deleted).
Why did the Unknown Sources option shut down again after the MIUI update?
This is standard MIUI behavior — after major system updates, some security settings are reset to default values. You have to re-enable the permission for the desired applications. To avoid this, back up the settings through Settings → Additional → Backup and Reset before upgrading.
How do I know which application is asking for permission to install an APK?
When you try to install an APK, the system shows a pop-up asking, "Do I allow this source to install unknown apps?" This window shows the name of the app (e.g. Chrome or File Manager). If the window doesn't appear, check if it is blocked by antivirus or Google Play Protect.
Can I turn on Unknown Sources for all applications at once?
No, MIUI doesn't provide this option. You need to enable permission separately for each application you plan to install APK through. This is done to improve security, so malware can't independently obtain installation rights.
What if the APK option is not installed after you turn on?
Try the following steps: Make sure the file is not corrupted (try to download it again). Check if there is enough memory on the device. Turn off VPNs or proxy, they can block installation. If the APK is designed for a different processor architecture (e.g. arm64 instead of arm), it will not install. Check this information on the developer's website.