How to enable installation from unknown sources on Xiaomi Redmi 4: all ways

Xiaomi Redmi 4 is still a popular device even after years due to its reliable hardware and flexible MIUI firmware. However, owners often face a limitation: the system by default blocks the installation of applications (.apk) from third-party sources - not through Google Play. This prevents you from installing modified versions of programs, beta tests or applications from alternative stores like APKMirror or RuStore.

In this article, we will discuss all the current ways to unlock APK installation on Redmi 4 (including Redmi 4 Pro, Redmi 4 Prime and Redmi 4A models) running MIUI 8-14. We will pay special attention to the nuances of different firmware versions, since the logic of security settings has changed with the release of Android 8+. We will also discuss risks (viruses, incompatibility) and alternative methods - for example, through ADB or third-party launchers.

If you've tried to turn on the option before, but it's gray or disappears after the reboot, here's a solution. Instructions are adapted to the unique feature of Redmi 4: there's no Special Rights section in some MIUI builds.

Why is Xiaomi blocking APK installations from unknown sources?

The restriction was imposed not only by Xiaomi, but also by Google for security reasons. According to Kaspersky, more than 30% of Android malware is spread through fake malware. APK-On Redmi 4, the lock works on two levels:

  • πŸ”’ System layer: Android (starting with version 8.0) requires explicit permission for each source (browser, file manager).
  • πŸ›‘οΈ MIUI-level: Xiaomi adds an additional layer of protection – the option β€œInstall from unknown sources” in the security settings.

On Redmi 4 with MIUI 9–11 (Android 6–7), it was enough to turn on one switch; new versions (MIUI 12+, Android 8+) would have to allow installation for each application separately, for example, for Chrome or File Manager, which complicates the process, but reduces the risk of accidental installation of the virus.

⚠️ Attention: On devices with MIUI Global Stable may be blocked again after resetting, due to Xiaomi’s policy for European regions.

Method 1: Standard Enablement via Security Settings (MIUI 8–11)

This method is suitable for Redmi 4 on Android 6.0-7.1 (MIUI firmware 8-11). If you have a newer version, go to Method 2.

  1. Open Settings β†’ Additional β†’ Privacy.
  2. Scroll down to Security and tap on Installation from unknown sources.
  3. Move the slider to the ON position (should turn blue).
  4. Confirm the action in the dialog box by pressing OK.

If the option is inactive (grey), the reasons may be as follows:

  • πŸ”„ The device is linked to a Mi Account with restrictions (e.g. corporate policy).
  • πŸ” Developer Mode is activated but not unlocked OEM Unlock.
  • πŸ“± Installed custom firmware with modified rights.

β˜‘οΈ Check before turning on the option

Done: 0 / 4

After you turn it on, try to install it. APK-File through File Manager or Explorer. If the error "Installation locked", clear the cache of the application Package Installer:

  1. Go to Settings β†’ Applications β†’ All applications.
  2. Find the Package Installer.
  3. Tap Clear cache and erase data.

Method 2: Application-specific resolution (MIUI 12–14, Android 8+)

Starting with Android 8.0 Oreo, Google has tightened security policies, so that you don't give permission globally, but for every installer app, for example, if you downloaded an APK through Chrome, you have to allow it to be installed for that particular app.

Instructions for Redmi 4 with MIUI 12-14:

  1. Download. APK-The file and try to open it. The system will give you an error with the Settings button.
  2. Settings will open the Allow installation menu from this source.
  3. Turn on the tumbler for the app (such as Chrome or Files).
  4. Return to the installation and try again.

If the Settings button does not appear, find the section manually:

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Slip on the three dots in the upper right corner and select Special Access.
  3. Go to the Installation from unknown sources.
  4. Select an app (such as Mi Browser) and enable permission.
Installation appendixThe path to permitsNote
ChromeSettings β†’ Applications β†’ Chrome β†’ Permissions β†’ Install unknown applicationsIt only works for APKs downloaded through this browser.
Files (Mi File Manager)Settings β†’ Applications β†’ Files β†’ Special accessSuitable for installation from a memory card
TelegramSettings β†’ Applications β†’ Telegram β†’ PermissionsWe need to allow access to files.
SAF (Storage Access Framework)Settings β†’ Additional β†’ Privacy β†’ Special permissionsFor installation via ADB or Total Commander

⚠️ Attention: Redmi 4s MIUI 13+ after updating OTA To avoid this, disable Automatic Reset permissions in Settings before updating. β†’ The phone. β†’ Updating the system β†’ Settings (βš™οΈ).

πŸ“Š What kind of firmware do you use on Redmi 4?
MIUI Global Stable
MIUI China Stable
MIUI Europe (xiaomi.eu)
LineageOS (Pixel Experience)
I don't know.

Method 3: Through ADB (for power users)

If standard methods do not work (for example, the option is blocked by Mi Account policy), you can use the option. ADB β€” And this is a debugging tool for Android. USB-Debugging and suitable for users familiar with the command line.

Step-by-step:

  1. Turn on Developer Mode: Go to Settings β†’ About Phone. Tap 7 times on the MIUI version until the notification appears You became a developer!

USB-debugging

  • Back to Settings β†’ Additionally. β†’ For developers.
  • Turn on USB debugging and confirm the permission.
  • Get Redmi on board. 4 The command is: adb shell settings put global install_non_market_apps 1
  • Reset the device.

Advantages of the method:

  • πŸ”“ It works even if the standard option is blocked.
  • πŸ”„ Does not require rooting or ADB.
  • πŸ“± Compatible with MIUI 8–14.

Disadvantages:

  • ⚠️ Launcher consumes additional memory (around 100-150 MB).
  • πŸ”„ After removal of the launcher, the permit may be reset.

πŸ’‘

If the option still doesn’t appear after installing the launcher, try clearing the Package Installer application data (as in Method 1).

Risks and how to minimize them

Permission to install from unknown sources opens up access to potentially dangerous software. According to Avast, in 2023, 1 in 5 APK-The files from third-party sources contained malicious code:

  • 🦠 Viruses and spyware: Fake versions of popular apps (like WhatsApp or TikTok) can steal data.
  • πŸ“± Incompatibility: APK, New Android versions may not work on Redmi 4 (Android 6-7).
  • πŸ”‹ Overheating and battery discharge: Unoptimized applications increase the load on the processor.