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).
- Open “Settings” (the gear icon on the home screen or in the application menu).
- Go to the Appendix section → Application management.
- In the upper right corner, press three dots (⋮) and select Special Access.
- Slip on the item Install unknown applications.
- Select the application you plan to install APK through (such as File Manager, Chrome or Telegram).
- 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:
- Turn on Developer Mode on Redmi 9: go to Settings → About Phone and tap the MIUI version 7 times.
- Return to Settings → Additional → For developers and activate Debugging over USB.
- Connect the phone to your computer and confirm the debugging permission.
- Open the command prompt (or Terminal on Mac/Linux) and type:
adb shell settings put global install_non_market_apps 1Once 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?
Table: Comparison of ways to include "Unknown sources"
| Method | Difficulty | Tools required | Risks. | Suitable for |
|---|---|---|---|---|
| Standard (through settings) | ⭐ | Just a phone. | Minimum | Beginner users |
| Permission for a specific application | ⭐⭐ | Just a phone. | Low. | Users of MIUI 13/14 |
| ADB-team | ⭐⭐⭐ | PC, USB-cable, ADB | Medium (risk of resetting) | Advanced users |
| Use of Magisk | ⭐⭐⭐⭐ | Root rights, custom recovery | High (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.