Disable installation from unknown sources on Xiaomi Redmi 10: the full guide

Protecting your smartphone from malware is one of the key tasks of modern mobile operating systems. MIUI function of installing applications from unknown sources (APK-The default is locked for user safety, but after manually enabling this setting (for example, for installing third-party launchers or games), many forget to return the settings to their original state, which creates potential risks of virus infection or data leakage.

In this article, we will discuss how to properly disable installations from unknown sources on Redmi 10 (including Redmi 10 2022, Redmi 10A, Redmi 10C and other modifications based on MIUI 12/13/14). You will learn not only the standard way through the settings, but also alternative methods for cases when the option is inactive or hidden.

Why it is important to disable the installation from unknown sources

The APK installation function from third-party sources (.apk files) is initially intended for developers and power users, but activating it opens up several critical vulnerabilities:

  • 🦠 Viruses and spyware: Attackers often disguise malware as legitimate applications (such as modified versions of popular games or "hacked" programs).
  • πŸ“± Incompatibility with MIUI: Third-party APK They may interfere with Xiaomi system services, causing sensor, camera or push notifications to crash.
  • πŸ”’ Google Play Protect bypass: Android’s built-in protection doesn’t scan manually installed files, increasing the risk of Trojans or adware hitting your device.
  • πŸ“‰ Loss of warranty: Installing uncertified firmware or applications may be grounds for denial of warranty repair (especially relevant for Redmi 10 models purchased in official stores).

On Xiaomi Redmi 10 with MIUI 13+, the installation function from unknown sources is divided by application (for example, for the browser, file manager or Telegram separately).This means that even if you disable the option globally, some programs may retain permission to install APK.

⚠️ Note: If you have previously installed applications through ADB (Android Debug Bridge, a standard shutdown in settings may not work, in which case you will need to reset permissions via adb shell pm revoke β€” more about this in the section on alternative methods.

Standard method: disabling through MIUI settings

The easiest method is to use the built-in security menu, and the instructions are valid for all versions of MIUI 12-14 on Redmi 10:

  1. Open the Settings app (the gear icon on the home screen).
  2. Go to the Appendix section β†’ Application management.
  3. Click on the three dots in the top right corner and select Special Access.
  4. Slip on the item Install unknown applications.
  5. In the list, select an application that previously allowed APK installation (such as Files, Chrome, or Telegram).
  6. Transfer the slider Allow installation from this source to the off position.

Repeat steps 5-6 for all applications that have resolution enabled, and if the list is empty, the function is already off globally.

Open "Settings β†’ Applications β†’ Special Access"

Selected item "Installation of unknown applications"

The slider is translated to the "off" position for all applications in the list.

Rebooted smartphone to apply changes-->

After disabling, try to install a test. APK-The system must give an error: "Installation is blocked. To protect your phone, installing applications from unknown sources is prohibited".

Alternative methods of shutdown

If the standard method does not work (for example, the option is inactive or not in the menu), use one of the alternative options:

1. via Safe Mode (Safe Mode)

Safe Mode only loads Redmi 10 with system applications, blocking third-party services that may interfere with changing settings:

  1. Press the power button before the turn off menu appears.
  2. Hold your finger on the option to turn off – you will be prompted to go to Safe Mode.
  3. Confirm the transition. After download, repeat the standard instruction for disabling the APK installation.

If the option became available in safe mode, the problem is in one of the installed applications (most often the culprits are APK Installer, SAI (Split APK Installer) or modified versions of Google Play).

2. With the help of ADB-team

For power users: disable via Android Debug Bridge (requires a PC and enabled debugging over USB).

adb shell settings put global install_non_market_apps 0

This command globally prohibits installation from unknown sources. To apply changes to a particular application (e.g., file manager), use:

adb shell pm revoke com.android.fileexplorer INSTALL_PACKAGES

Replace com.android.fileexplorer with the batch name of the desired application (you can find out through adb shell pm list packages).

How to enable USB debugging on Redmi 10
1. Go to Settings β†’ About Phone. 2. Tap 7 times on MIUI Version to activate Developer Mode. 3. Go back to Settings β†’ Additional β†’ Developers. 4. Enable the USB Debugging option and confirm your PC connection permission.

3. Reset of all permits

If previous methods didn’t help, reset permissions for all applications:

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Click on three points β†’ Reset application permissions.
  3. Confirm action. This will return all permissions to the factory settings, including APK installation.

⚠️ Warning: Resetting permissions will also disable access to contacts, camera and microphone for all applications, and after the procedure, you will need to manually configure permissions for instant messengers, social networks and other programs.

Challenges and solutions

When you disable the installation from unknown sources, Redmi 10 users often encounter typical errors.

Problem.Possible causeDecision
The option β€œInstall unknown applications” is not in the menuHidden by the manufacturer in some regional firmware MIUIUse it. ADB-command or reflash the device to the global version MIUI
After the shutdown, APK is still installedPermission is issued via ADB or system application (e.g. Package Installer)Perform permission reset or use the adb shell pm revoke command
Error "Not found" appears when entering ADB-teamAn outdated version of ADB or an incorrect syntaxUpdate ADB to the latest version and check the correctness of the command
You cannot disable the installation for system applications (e.g. Files)Limit MIUI to prevent critical failuresDisable permission via ADB or install a third-party file manager

If none of the methods worked, check the integrity of the system files.

  1. Go to Settings β†’ About the phone β†’ System update.
  2. Press three points. β†’ Verification of updates.
  3. If you have an update, install it. This can restore damaged security settings.

Yeah, often |Yes, but rarely |No, never |I don't know what it-->

Additional security measures

Disabling the installation from unknown sources is only the first step to protecting Redmi 10.

  • πŸ›‘οΈ Enable Google Play Protect: Play Store β†’ Menus. β†’ Play Protect β†’ Scan the device. This feature automatically checks installed applications for threats.
  • πŸ” Activate the built-in antivirus MIUI: Settings β†’ Security β†’ Scanning. β†’ Unlike Play Protect, it also analyzes system files.
  • πŸ“± Set up the installation lock through SMS/MMM: B Settings β†’ SIM-maps and mobile networks β†’ Block installation disable the Installation option through MMS (relevant MIUI 14).
  • πŸ”„ Update regularly MIUI: Xiaomi firmware often contains patches for vulnerabilities. check monthly updates.

Parents’ Tip: If your child is using a smartphone, activate Parental Controls in Settings β†’ Xiaomi Accounts β†’ Family Safety, which will block the installation of any apps without your confirmation.

πŸ’‘

Back up important data before resetting permissions or updating MIUI. To do this, go to Settings β†’ About Phone β†’ Backup and Reset and select Local Backup.

What to do if the virus is already installed

If you suspect that Redmi 10 has been infiltrated by malware through an APK installed, follow the algorithm:

  1. Turn off the Internet: Put your phone in flight mode so the virus can't transmit data.
  2. Check the list of applications: Settings β†’ Applications β†’ Application management. Pay attention to programs with suspicious names (for example, System Update, Flash Player or Cleaner from unknown developers).
  3. Delete suspicious APKs: Click on the app β†’ Delete. If the button is inactive, it is system software (possibly infected with MIUI itself).
  4. Scan your device with Google Play Protect and Xiaomi’s built-in antivirus.
  5. Perform a factory reset (if the virus is not removed): Settings β†’ About phone β†’ Backup and reset β†’ Reset settings.

After reset, do not restore data from the backup, it may contain infected files, install apps only from Google Play and immediately disable the installation from unknown sources.

⚠️ Note: Some viruses disguise themselves as system services (e.g. com.android.system) and manually deleting such files can cause a device to blink (completely inoperable.

FAQ: Frequent questions

Can I permanently block the installation of APK so that even through ADB it can not be turned on?
Yes, but it would require unlocking the bootloader and installing custom firmware (like LineageOS) with the option disabled, which is not possible on standard MIUI, which is a security limitation for Android.
Why did the APK installation option turn on again after the MIUI update?
This is a well-known error in Xiaomi firmware for some regions: After major updates (for example, from MIUI 13 to MIUI 14), permissions are reset to factory ones.
How do I know which apps have APK permission?
Use it. ADB-Adb shell dumpsys package | grep "INSTALL_PACKAGES" It will display a list of all packages with the appropriate resolution. Alternatively, manually check in Settings. β†’ Annexes β†’ Special access β†’ Installation of unknown applications.
Will the banking application work if you disable the installation from unknown sources?
Yes, it does not affect the operation of banking programs (for example, Sberbank Online or Tinkoff), shutting down only affects the ability to install new APKs, but does not block already installed applications.
Can I turn off APK installation only for certain folders (e.g. Downloads)?
No, MIUI does not support this separation. The option works either globally or for specific applications (e.g. Files only or Chrome).To restrict folder access, use Safe Folder in Xiaomi's standard file manager.

πŸ’‘

Disabling the installation from unknown sources is a necessary but not sufficient security step, combined with regular virus scanning, MIUI updates, and careful file downloading behavior.