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:
- Open the Settings app (the gear icon on the home screen).
- Go to the Appendix section β Application management.
- Click on the three dots in the top right corner and select Special Access.
- Slip on the item Install unknown applications.
- In the list, select an application that previously allowed APK installation (such as Files, Chrome, or Telegram).
- 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:
- Press the power button before the turn off menu appears.
- Hold your finger on the option to turn off β you will be prompted to go to Safe Mode.
- 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 0This 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_PACKAGESReplace 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
3. Reset of all permits
If previous methods didnβt help, reset permissions for all applications:
- Open Settings β Applications β Application Management.
- Click on three points β Reset application permissions.
- 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 cause | Decision |
|---|---|---|
| The option βInstall unknown applicationsβ is not in the menu | Hidden by the manufacturer in some regional firmware MIUI | Use it. ADB-command or reflash the device to the global version MIUI |
| After the shutdown, APK is still installed | Permission 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-team | An outdated version of ADB or an incorrect syntax | Update 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 failures | Disable permission via ADB or install a third-party file manager |
If none of the methods worked, check the integrity of the system files.
- Go to Settings β About the phone β System update.
- Press three points. β Verification of updates.
- 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:
- Turn off the Internet: Put your phone in flight mode so the virus can't transmit data.
- 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).
- Delete suspicious APKs: Click on the app β Delete. If the button is inactive, it is system software (possibly infected with MIUI itself).
- Scan your device with Google Play Protect and Xiaomiβs built-in antivirus.
- 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?
Why did the APK installation option turn on again after the MIUI update?
How do I know which apps have APK permission?
Will the banking application work if you disable the installation from unknown sources?
Can I turn off APK installation only for certain folders (e.g. Downloads)?
π‘
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.