How to completely disable the package installer on Xiaomi: 5 proven ways

Xiaomi package installer is the built-in system application com.android.packageinstaller, which is responsible for the installation APK-For most users, it seems useless: there are constant notifications about the installation lock, and the process is accompanied by security warnings. Disabling this component may disrupt some functions MIUI, Especially if you’re actively using third-party app stores or rooted features.

In this article, we will discuss all the current ways to deactivate the package installer on Xiaomi, Redmi and POCO smartphones, from standard settings to hidden ADB commands. Each method has been tested on MIUI 13/14/15 firmware (including global and Chinese versions) and is suitable for models from Mi 10 to Xiaomi 14 Ultra. Importantly, some steps require unlocking the bootloader or superuser rights - we will warn you about this in advance.

Why do users want to disable the package installer?

The main reason is intrusive notifications such as β€œInstallation blocked due to security settings” that appear even when you try to update applications through APKMirror or APKPure, despite the permission to install from unknown sources. The second problem is system slowdown: on weak devices (for example, Redmi 9A or POCO M3), the installer can hang while scanning files.

Other common complaints:

  • πŸ”„ Conflicts with alternative installers (e.g, SAI App Installer)
  • πŸ›‘οΈ False protections for safe APK (including modified versions of applications)
  • πŸ“± Inability to install automatically via Tasker or MacroDroid
  • πŸ”§ Errors when manually updating firmware via fastboot or recovery

However, before disabling, please note that without a package installer, you will not be able to install APKs through the standard MIUI file manager. Alternative methods (such as adb install) will remain operational, but will require additional action.

πŸ“Š As you usually set APK Xiaomi?
Through the standard installer
Through ADB
Alternative Installers (SAI, etc.)
I don't manually install APK.

Method 1: Disconnect via standard MIUI settings

The simplest method that works without root and ADB. Suitable for MIUI 12-15 on most models, including the Xiaomi 12T, Redmi Note 11 and POCO F4. Important: after disabling some features (for example, update via Updater) may require manual resolution.

Instructions:

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Click on the three dots in the upper right corner and select Show System Processes.
  3. Find the Package Installer (or Package Installer in English firmware) in the list.
  4. Slip it, then select Disable (if the button is inactive – see Method 2).
  5. Confirm the action in the dialog window.

β˜‘οΈ Preparation for installer shutdown

Done: 0 / 4

⚠️ Note: On some firmware (for example, MIUI China Stable) This method can cause Google Play Protect to crash. If Play Market apps stop updating after the shutdown, return the settings back or use an alternative method.

Method 2: Deactivation via MIUI Hidden Settings (without root)

Hidden menu MIUI Hidden Settings allows you to disable system components that are not available in the standard interface. MIUI 13-14 and does not require superuser rights, but may require activation of the developer mode.

Steps:

  1. Activate Developer Mode: Go to Settings β†’ About Phone and tap the MIUI version 7 times.
  2. Return to Settings β†’ Additional β†’ For developers and enable USB debugging.
  3. Install QuickShortcutMaker (or MIUI Hidden Settings from APKMirror).
  4. In the search, type in Package Installer and select activity called com.android.packageinstaller.PackageInstallerActivity.
  5. Slip it, then select Disable or Hide.
Xiaomi modelSupporting the methodDo you need USB debugging?Possible side effects
Xiaomi 13/13 ProYes.Yes.Update errors via OTA
Redmi Note 12 Pro+Yes.No.Conflicts with Google Play Services
POCO F5Yes.Yes.The installation is not working through SAI
Mi 11 LitePartially.Yes.Reboot required

πŸ’‘ Useful tip: If after the shutdown, system updates stopped working, temporarily turn the installer back on, update, and then deactivate it again:

adb shell pm enable com.android.packageinstaller

Method 3: Disconnect via ADB (without root but with PC)

The method for power users, which is guaranteed to work on all versions of MIUI. Requires the connection of the smartphone to the computer and installed ADB drivers.

Step-by-step:

  1. Download Google’s Platform Tools and unpack the archive.
  2. Connect your phone to your PC via USB, select File Transfer mode.
  3. Open the command prompt (or Terminal on Mac/Linux) in the adb folder.
  4. Enter the commands in turn: adb devices adb shell pm hide com.android.packageinstaller
  5. Reset the device.

⚠️ Note: On some firmware (for example, MIUI China Developer) pm hide may not work. In this case, use an alternative:

adb shell pm disable-user --user 0 com.android.packageinstaller
What if the ADB can’t see the device?
1. Make sure that the debugging is enabled by USB (Settings β†’ For developers. 2. Reinstall drivers ADB universal ADB Driver. 3. Check the cable - some USB-The cables do not support data transmission. 4. Try another one. USB-port (preferably) USB 2.0).

πŸ”§ Key conclusion: The method through ADB β€” The most reliable one for disabling the installer without loss of functionality. It can be easily canceled by the command adb shell pm enable com.android.packageinstaller.

Method 4: Remove via TWRP (routed devices only)

If you have customized recavators (like TWRP) installed and the bootloader unlocked, you can completely remove the package installer, which is irreversible β€” you need to reflash the system partition to restore it.

Instructions:

  1. Download the Magisk module to remove system applications (e.g. System App Remover).
  2. Reboot to TWRP (clip Power + Volume up).
  3. Install. ZIP-module file via Install.
  4. After the reboot, open Magisk Manager, find the module, and select com.android.packageinstaller to remove.

⚠️ Attention: Removal of system APK This can cause a bootloop on some firmware. Create a full backup before the procedure. TWRP β†’ Backup, including System and Boot sections.

πŸ’‘

If after removal, OTA updates stopped working, download firmware manually from the official Xiaomi website and install via TWRP.

Method 5: Blocking through Xposed/EdXposed (for advanced)

For users with Xposed Framework or EdXposed, it is possible to block the packet installer at the system level, which allows you not to physically delete the APK, but simply disable its call with other applications.

Steps required:

  1. Install EdXposed via Magisk (EdXposed-YAHFA module).
  2. Download the Greenify or AppOpsX module.
  3. In the module settings, find com.android.packageinstaller and block access to:

πŸ’‘ Useful tip: If you use Greenify, add the package installer to the list of β€œfrozen” applications.

What do you do if nothing works?

If none of these methods helped, check the following points:

  • πŸ” Version. MIUI: Nana MIUI 15 and newer some system-specific APK Protected from change. Try to roll back on MIUI 14.
  • πŸ” bootloader status: On a locked bootloader (especially on Xiaomi 14 and later), disabling system applications may not be possible.
  • πŸ› οΈ Conflicts with Magisk: If you use the root, upgrade to the latest version of Magisk (26.0)+) Check the modules for compatibility.
  • πŸ“± Regional firmware: On MIUI China MIUI EEA There are different restrictions. Try changing your region through Settings. β†’ Additional settings β†’ Region.

If the problem persists, consider alternative options:

  • πŸ”„ Use it. SAI (Split APK Installer – it bypasses the standard Xiaomi installer.
  • πŸ“¦ Set up. APK Adb install (also works with the installer disabled).
  • πŸ”§ Reflash the device to custom firmware (e.g. Pixel Experience or LineageOS) where there are no restrictions MIUI.

πŸ’‘

On newer models (Xiaomi 13 Ultra, Redmi K60 and later), disabling the package installer can cause Google Play to crash, in which case, use the ADB method with the pm hide command instead of completely disabling.

FAQ: Frequent questions about disabling the package installer

Can I turn off the package installer without a computer?
Yes, use Method 1 (standard settings) or Method 2 (MIUI Hidden Settings). This does not require a PC, but it may require activation of the developer mode.
Will APK installation work via Telegram/Browser after shutdown?
No, standard installation via browser or messengers will stop working. Use alternative methods: adb install, SAI or file managers with installation support (for example, FX File Explorer).
How do I get the package installer back?
If you disable via settings or ADB, use the commands: adb shell pm enable com.android.packageinstaller adb shell pm unhide com.android.packageinstaller For remote via TWRP, you will need to flash the system partition.
Why are MIUI updates not working after the shutdown?
Packet installer used by system for inspection and installation OTA-To update, temporarily turn it back on (see question above), then turn it off after installing the update.
Can you only disable notifications from the installer without touching the module itself?
Yes, go to Settings β†’ Notifications β†’ Packet Installer and turn off all switches. This won’t block APK installation, but it will get rid of pop-ups.