How to allow the installation of applications from unknown sources on Xiaomi Redmi 8: a detailed guide

Installing apps from unknown sources on Xiaomi Redmi 8 is a necessary feature for users who want to go beyond the official Google Play store. APK-files downloaded from developer sites, alternative marketplaces or sent via instant messengers, but the manufacturer hides this option behind several layers of protection, citing concern for the security of the device.

In this article you will find the current ways to unlock for different versions. MIUI (including 14 and 15), learn about the hidden nuances of customization for specific browsers and file manager, and get a checklist for diagnosing typical errors. We will discuss why the option may disappear after the system update, how to return it, and what to do if Android blocks the installation even after all the manipulations. APK Redmi 8.

Why Xiaomi is blocking installations from unknown sources by default

Xiaomi is following Google’s policy, which since Android 8.0 Oreo has tightened control over the installation of third-party apps.

  • πŸ›‘οΈ Malware protection: According to Kaspersky, in 2023 12% APK-files from unofficial sources contained Trojans or spyware modules.
  • πŸ“± Maintaining stability MIUI: Untested applications can conflict with the shell, causing lags or reboots.
  • πŸ”’ Xiaomi and Google are interested in the monopoly of their markets (Mi App Store and Play Market).
  • πŸ“‰ Reducing support load: Technical problems due to third-party APK Increase the number of calls to service centers.

On Redmi 8, the lock is implemented on two levels:

  1. System – General setting in the Settings menu β†’ Applications β†’ Special access rights.
  2. Application – separate permissions for each installer (browser, file manager).

⚠️ Attention: On devices with MIUI Global after upgrading to Android 11+ The path to settings may be different. If you don't find "Unknown Sources", check the Settings section. β†’ Confidentiality β†’ Additionally.

Preparation of the device: what to do before unlocking

Before you turn on an installation from unknown sources, follow the mandatory steps:

Update. MIUI last-minute|Download. APK-file|Check the file for viruses (for example, via VirusTotal)|Create a backup copy of important data|Charge your phone at least 50%-->

Pay special attention to APK verification. Use services like VirusTotal or APKCombo Analyzer. Even if the file was downloaded from a popular resource (such as APKMirror), it could be replaced.

If you plan to install modified versions of apps (such as Spotify Premium or YouTube Vanced), consider:

  • πŸ”„ Such APK Google Play Protect is often required to be disabled (set up in the Play Market) β†’ Play Protect β†’ Cog badge β†’ Threat scanning).
  • πŸ”‘ Some modified apps request root rights, which on Redmi 8 requires unlocking the bootloader.

Install modified versions of applications (YouTube Vanced, Spotify)++)|Testing of beta versions of programs|Use of regionally blocked services|Installation of old versions of applications|Other-->

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

The algorithm depends on the version of MIUI and the way you install it (via browser or file manager).

Method 1: Using MIUI (Universal Method)

  1. Open the settings (cog icon on the desktop).
  2. Go to the Appendix section β†’ Application management.
  3. Click on the three dots in the top right corner and select Special Access Rights.
  4. Slip on the item Installation from unknown sources.
  5. Select the application you will install APK through (such as Files or Chrome).
  6. Activate the switch Allow installation from this source.

MIUI 14+ may require additional confirmation via SMS or graphical key if Intrusion Protection is enabled.

Method 2: File Manager (for MIUI 12 and older)

If the universal method does not work:

  1. Open the Files app (or another manager, such as Solid Explorer).
  2. Find the downloaded one. APK-file and tap it.
  3. In the window that appears, click Settings (usually at the bottom of the screen).
  4. The system will redirect you to the permissions menu for this application – activate the switch.
  5. Return to the file and try again.
What if the item "Unknown sources" is not in the settings?
On some firmware, Xiaomi hides this section. Try: 1. Install File Manager+ - it often bypasses the limitations of MIUI. 2. Enable Developer Mode (7 taps by build number in Settings β†’ About Phone) and check the section For Developers β†’ Installation via USB. 3. If nothing helps, upgrade MIUI to the latest version via Settings β†’ System Update.

MIUI versionThe path to settingsFeatures
MIUI 9–11Settings β†’ Additional β†’ Privacy β†’ Unknown sourcesThe resolution is given globally for all applications.
MIUI 12–13Settings β†’ Applications β†’ Special Rights β†’ Installation of Unknown ApplicationsThe resolution is tied to a specific installer (browser, file manager).
MIUI 14–15Settings β†’ Applications β†’ Application Management β†’ Special RightsConfirmation is required via a pattern lock or fingerprint.
MIUI for POCOSettings β†’ Applications β†’ Permissions β†’ Installation of packagesThe item may be called "Package Installation" instead of "Unknown Sources".

Solving Common Errors When Installing APKs

Even after you unlock it, you may encounter errors.

1. "Cannot install the application" error

Causes and solutions:

  • πŸ“Œ Damaged. APK: Download the file again. Check the checksum (MD5) developer's website.
  • πŸ“Œ Android incompatible: Make sure the version is APK It supports Android 9 Pie (on the Redmi 8 out of the box is it).
  • πŸ“Œ Install version conflict: Remove the old app through Settings β†’ Annexes.

Warning "Installation locked"

If the system blocks the installation even after the permissions:

  1. Open Settings β†’ Apps β†’ Google Play Protection and turn off scanning.
  2. Reboot the phone.
  3. Try installing APK through another installer (e.g., SAI – Split APK Installer from Play Market).

3. "Package damaged" error

Most often occurs when downloading via mobile Internet.

  • 🌐 Download. APK only through Wi-Fi.
  • πŸ“₯ Use downloaders that support resumption (for example, ADM).
  • πŸ”„ Check the available space on the device (needs at least 500 MB).

πŸ’‘

If APK not installed due to error "INSTALL_FAILED_INVALID_APK", Try renaming the file by removing the Cyrillic alphabet and spaces, telegram_x_8.9.4.apk instead of Telegram X 8.9.4 (premium.apk.

How to minimize risks when installing an APK

Installing applications from unknown sources always carries risks. Follow these rules to protect Redmi 8:

  • πŸ” Check the sources: Download APK only from official developer sites or verified repositories (APKMirror, APKPure).
  • πŸ›‘οΈ Use antivirus: Install Malwarebytes or Bitdefender to scan files before installation.
  • πŸ”„ Update. MIUI: In new versions of firmware closed vulnerabilities that are used by malicious APK.
  • πŸ“‹ Control permissions: After installation, check what rights the application requests in Settings β†’ Annexes β†’ Permits.

Pay attention to the behavior of the application after installation:

  • ⚠️ If it requests access to SMS, calls, or geolocation without an obvious reason, delete it.
  • ⚠️ If the phone starts to warm or discharge quickly - check the activity of the application in Settings β†’ Battery.

⚠️ Attention: Redmi 8 with an unlocked bootloader has a higher risk of infection. Malware can root and damage system files. If you don't use custom firmware, it's best not to unlock the bootloader.

πŸ’‘

Even if the APK is installed from a reliable source, check it regularly through Google Play Protect (turns on automatically after you reboot).

Alternative ways to install applications without unlocking

If you don’t want to include installation from unknown sources, consider these methods:

Installation via ADB (without the inclusion of "Unknown Sources")

You will need a computer and the developer mode enabled:

adb install path/to/file.apk

The advantage: the system does not block the installation, as the file is transmitted via Android Debug Bridge.

2. Use of alternative markets

Some app stores (such as Aurora Store or F-Droid) allow you to install APKs without including unknown sources, as they have their own verification mechanisms.

3. reset to factory settings with APK pre-installing

Suitable for system administrators:

  1. Download the desired APK to the memory card.
  2. Reset through Settings β†’ About Phone β†’ Reset settings.
  3. When you first set up your phone, use the file manager to install the APK before connecting to the internet.
How to get around the block with Google Play Protect?
1. Open Play Market β†’ Profile β†’ Play Protect β†’ Settings (cogs). 2. Turn off the option to Scan the device for threats. 3. Turn off the option to Improve malware detection (if any). 4. Reboot your phone. Attention: This reduces the overall security of the device!

Frequently asked questions

Can I enable installation from unknown sources on Redmi 8 without superuser rights?
Yes, root rights are not required. All of the methods described in this article run on standard MIUI firmware without additional modifications, but if you want to install system APKs (like modified Google services), you may need Magisk or custom recovery.
Why did the β€œUnknown Sources” option disappear after the MIUI update?
With MIUI 12, Xiaomi moved this setting to Special Access Rights. Also, after major updates (like Android 9 to Android 10), the system resets some permissions. Check: Update Google Play Services to the Play Market. Clear the cache to Settings β†’ Apps β†’ All Apps β†’ Settings.
How to roll back changes if after installing the APK phone began to lag?
Try first: Remove the problem app through Settings β†’ Apps. Clear the cache to Settings β†’ Memory β†’ Cleanup. Reboot your phone in Safe Mode (hold the shutdown button β†’ β€œReboot Safe Mode”). If that doesn’t help, reset to factory settings (Warning: delete all data!).
Can we determine APK on the Redmi 8 through OTG-cable?
Yes, but you will need to: Connect the flash drive through OTG-Adapter: Allow installation from unknown sources for Files (or other manager) application. APK If the phone can't see the flash drive, check the format (should be) FAT32 or exFAT and the adapter's serviceability.
Will the APK installation work if the Redmi 8 is enabled with parental controls?
No, parental control in MIUI It blocks: Install applications from unknown sources. Change security settings. Download files from the browser. To unlock, you need to: Go to Settings β†’ Parental control. PIN-code (set when you set up control) Disable current user restrictions.