Banning apps from installing on Xiaomi smartphones is a pressing task for parents who want to protect their children from unwanted content, or for users who want to protect their device from malware. Unlike the iPhone, where restrictions are imposed through Screen time, the MIUI shell offers several alternative methods, from built-in features to third-party solutions. The problem is that standard settings are often hidden in the depths of the menu, and some methods (for example, through ADB) require technical skills.
In this article, we will discuss 5 working ways to block the installation of applications on Xiaomi β from simple (via Security Settings) to advanced (using Google Play Console for corporate devices). MIUI (12-14 and models (Redmi Note 12, POCO X5, Xiaomi 13T You will also learn how to circumvent restrictions if you forget your password and what to do if system applications stop updating after blocking.
Method: Parental Control in MIUI (for children)
The most obvious and safe method is to use built-in parental controls, which not only prevents new apps from being installed, but also limits the time of use, blocks purchases on Google Play, and filters content by age. The feature is available on all Xiaomi smartphones with MIUI 10 and newer.
To activate it:
- π± Open the Settings. β Special facilities β Parental control.
- π Create. PIN-code (remember it! If you lose it, you'll have to reset your settings).
- πΆ Select a child profile (or create a new one).
- π« In the Application Restrictions section, enable the option to Disable the Installation of New Applications.
Important: This method only works for affiliate accounts, so if you want to limit yourself or another adult user, go to the following ways.
2. Method: Blocking through MIUI security settings
V MIUI There is a hidden feature that allows you to prevent the installation of applications from unknown sources (including: APK-Files) and even restrict access to Google Play, a method that is suitable for protecting your device from accidental malware installation.
Instructions:
- Go to Settings β Applications β Application Management β Application settings.
- Select Special Access β Install Unknown Applications.
- For each browser (Chrome, Mi Browser) and file manager, disable APK installation permission.
- Return to Settings β Google β Security and enable Scanning of the device for malware.
βοΈ Checking the locking of the installation
Restriction: This method does not block installation via Google Play. For a complete ban, read the following section.
3. Method: Google Play Restrictions (for all users)
If you want to prevent the installation of any applications (including from Google Play), you can use Profile Limitations (for Android 5.0-9.0) or Google Play Console (for corporate devices).
Steps for a family account:
- π Open families.google.com on PC.
- π¨βπ©βπ§βπ¦ Create a family group and add a member (like a child).
- π± On Xiaomi smartphone, log in to your childβs account.
- π§ In Google Play, go to Settings β Family control β Set limits and select Disable Application Installation.
For enterprise devices:
1. Register with Google Play Console as administrator.
2. Create a policy for devices that do not install applications.
3. Link the device via the EMM- solution (e.g., Mi Workplace).What if Google Play ignores the restrictions?
Method 4: Use of ADB (for advanced users)
If standard methods donβt work, you can block the installation of applications via ADB (Android Debug Bridge), which requires connecting your smartphone to your PC and knowing the command line, but gives you a 100% guarantee of blocking, including system updates.
Step-by-step:
- Enable Developer Mode on Xiaomi: Settings β About Phone β MIUI version (click 7 times).
- Activate USB Debugging in Settings β Additional β For developers.
- Connect the phone to your PC and execute the command: adb shell pm disable-user --user 0 com.android.packageinstaller This will disable the standard APK installer.
- To block Google Play, use: adb shell pm hide com.android.vending (root rights required).
π‘
Before using ADB, back up your data via Settings β Additional β Backup. Incorrect commands can cause the system to crash.
Warning: Once you disable packageinstaller, you will not be able to install any applications, including system updates.
adb shell pm enable com.android.packageinstaller5. Method: Third-party applications (AppLock, Norton Family)
If the built-in MIUI tools don't suit you, you can use third-party software, for example:
- π AppLock (from DoMobile Lab) β blocks access to Google Play and installer APK password-wise.
- π‘οΈ Norton Family β allows you to remotely control the installation of applications on childrenβs devices.
- π± Kids Place β creates a βsandboxβ with a limited set of applications.
The downside of this method is reliance on third-party software, which may itself contain vulnerabilities, and some applications (such as AppLock) can easily get by through Safe Mode.
π‘
Third-party blockers are convenient, but they don't offer 100% protection, and combine them with built-in MIUI or ADB tools for reliability.
Frequent problems and solutions
When setting up the application ban, Xiaomi users often encounter typical errors.
| Problem. | Reason. | Decision |
|---|---|---|
| Restrictions are reset after rebooting | Mistakes in MIUI Optimization | Turn off optimization in Settings β Additional β Special features β MIUI Optimization |
| Parental controls are not working. | An outdated version of MIUI or reset settings | Update to MIUI 14 or re-create your childβs profile |
| ADB-commands not executed | Drivers not installed or debugging disabled | Install Mi PC Suite and check USB connection |
| Google Play ignores restrictions | Conflict with account settings | Delete and add your childβs account to Settings β |
Important: Some models (POCO F3, Redmi K50) may stop running system application updates after the installation is blocked. To avoid this, add an exception for com.miui.systemAdSolution via ADB:
adb shell pm enable com.miui.systemAdSolutionHow to unlock the installation if you forget the password
If you have blocked the installation of applications but forgot PIN-Password or code, there are several ways to return access:
- Reset via Mi Account: Go to account.xiaomi.com. Restore access to the Mi Account linked to your phone. Enter your account details on your smartphone, which will relieve some restrictions.
Hard Reset (full reset):
If other methods do not help, reset through Recovery:
- Turn off the phone.
- Press the Power button + Volume up.
- Choose Wipe Data β Factory Reset.
β οΈ Warning: This method will delete all data on the device, including photos and messages. Try backing up your device using Mi Cloud.
For devices with unlocked bootloader can be used TWRP and edit the file /data/system/package_install_blocked, But it requires technical skills.