Installing system applications on Xiaomi smartphones is a challenge faced by both beginners and experienced users. APK-Files, system utilities integrated into firmware MIUI And require a special approach: from manual placement in a folder /system/priv-app beforehand ADB The wrong actions can cause malfunctions in the device, so it is important to understand the nuances of each method.
In this article, we will analyze all the current ways to install system applications on Xiaomi, Redmi and other devices. POCO β standard-tool MIUI You'll learn how to avoid errors, what applications can be safely integrated into the system, and what to do if the device stops working correctly after installation. ADB team `pm install --system`, It is often overlooked in reviews, but it works even on locked root-enabled devices.
What are System Applications and Why Install Them
System applications are programs built into firmware MIUI and have extended rights compared to the usual APK. They start when the system starts, can run in the background without restrictions and are often responsible for critical functions: calls, SMS, OS updates or integration with Xiaomi services (e.g. Mi Cloud or Security).
Reasons for manual installation:
- π Recover Remote Apps β If you accidentally uninstall Mi Video, Calculator or FM Radio through ADB Titanium Backup.
- π± Port apps from other devices β for example, installing Pixelβs Google Camera as a system for improving photos.
- π§ Firmware Customization β Replacing standard utilities (e.g., Mi Browser on Chrome) while retaining system privileges.
- π οΈ Error correction β if after updating MIUI Services have stopped working (e.g. Mi Share or Quick Ball).
However, there are risks: improper installation can lead to bootloop ( looped boot), loss of functionality (for example, camera failure), or malfunctions. MIUI. Therefore, before the beginning, it is necessary:
- π Make a backup through Mi Cloud or TWRP.
- π Charge the device to at least 50%.
- π‘ Check the appβs compatibility with your Xiaomi model and version MIUI.
β οΈ Note: Installation of system applications on devices with a locked bootloader and without root rights is possible only through ADB On some models (e.g. Xiaomi 13 Pro or Redmi Note 12), this can cause a reset. DRM-Keys and loss of Widevine quality L1 (no HD Netflix).
Device Preparation: Unlocking the bootloader and root rights
Most methods of installing system applications require an unlocked bootloader and/or superuser rights (root). ADB individually APK, But it doesn't work on all versions. MIUI.
Step 1 Unlocking the bootloader
The official way from Xiaomi:
- Link your Mi Account to your device in Settings β Xiaomi Account.
- Go to the Mi Unlock website and download the Mi Unlock Tool.
- Start the device in Fastboot mode (hold Power). + Volβ switch off).
- Connect your smartphone to your PC and follow the instructions in the Mi Unlock Tool (it may take 7-30 days to unlock).
Step 2: Getting root rights
After unlocking the loader:
- Install a custom Recovery TWRP For your model (download from the official website).
- Download the latest version of Magisk from GitHub.
- Reboot to TWRP (hold on to the power + Vol+) and sew Magisk.zip.
Important: On new Xiaomi devices (e.g. Xiaomi 14 or Redmi) K70) Unlocking can lead to loss of warranty and reset of Widevine L1 (no HD Before the procedure, check the compatibility of your model with Magisk on the forums. XDA Developers.
β οΈ Attention: On some firmware MIUI (for example, MIUI 14 for POCO F5) After installing Magisk, Google Pay and banking applications will stop working.
Method 1: Installation through ADB (rootless, but with limitations)
This is a method that works for devices that have an unlocked bootloader, but no root permission. APK As a system application through the adb install command --system, However, it does not work on all versions. MIUI (Mostly on the old slates before MIUI 12).
Instructions:
- Download and install ADB Tools on PC.
- Turn on USB Debugging on your smartphone: Settings β About Phone β MIUI Version (click 7 times), then Settings β Additional β For Developers β Debugging over USB.
- Connect the device to the PC and execute in the terminal: adb devices (should display your device).
- Download. APK system application (for example, with APKMirror) and place it in the folder with adb.
- Execute the command: adb install --system filename.apk If an error occurs INSTALL_FAILED_INVALID_INSTALL_LOCATION, Try it out: adb shell pm install -r -t --system name file.apk
Limitations of the method:
- β Not working. MIUI 13+ rootless.
- β Not all. APK This can be installed in this way (e.g. Google Camera requires manual placement in the camera). /system).
- β After restarting, the application may disappear (if the application is not available). MIUI clears the cache of the system partition).
USB debugging enabled
Installed ADB drivers on PC
APK-file downloaded from a verified source
The device is connected in file transfer mode (MTP)
-->
If the team fails, try an alternative method through ADB Shell:
adb shell
su
mount -o rw,remount /system
cp /sdcard/file name.apk /system/priv-app/
chmod 644 /system/priv-app/file name.apk
rebootβ οΈ Note: On devices with Dynamic Partitions (e.g. Xiaomi) 12T or Redmi K50) copying /system This can cause a download failure, in which case use only methods through TWRP magisk.
Method 2: Installation through TWRP (unlockable)
Castom Recovery TWRP β The most reliable way to install system applications, as it allows you to directly edit partitions /system and /vendor. The method requires an unlocked boot loader and installed TWRP.
Step-by-step:
- Download the right one. APK (for example, MiuiCamera.apk for a ported camera) and place it on a memory card or internal memory.
- Reboot to TWRP (hold on to the power + Vol+ switch off).
- In TWRP, select Advanced β File Manager.
- Move to the /system/priv-app (or /system/app for conventional system applications).
- Press Install and select yours. APK-file.
- After installation, set the rights 644 (long press on the file) β Permissions).
- Reset the device.
Advantages of the method:
- β It works on all versions. MIUI (including MIUI 14).
- β Allows you to install modified APK (For example, GCam with support XML-config).
- β You can remove standard Xiaomi apps without consequences.
Disadvantages:
- β requires an unlocked loader and TWRP.
- β Installation error can lead to bootloop.
What to do after installation through TWRP plug-in?
To simplify the process, scripts can be used to TWRP, copyable APK You can go to the right folder and set the rights:
#!/sbin/sh
cp /sdcard/MiuiCamera.apk /system/priv-app/MiuiCamera/
chmod 644 /system/priv-app/MiuiCamera/MiuiCamera.apk
chown root:root /system/priv-app/MiuiCamera/MiuiCamera.apkMethod 3: Using Magisk and Modules
Magisk allows you to install system applications without direct partition editing /system, This reduces the risk of bootloop, and it's suitable for root-enabled devices with Magisk installed.
Instructions:
- Download. APK system application (e.g., system application, GoogleDialer.apk subset).
- Install the App Systemizer module from the Magisk repository: 1. Open Magisk β Modules. β + β Download from the Internet. 2. Find App Systemizer and install.
Pros of the method:
- β No editing required. /system β reduced risk of failure.
- β You can easily roll back changes by removing the module in Magisk.
- β Supports the majority APK, including modified versions.
Cons:
- β Not all applications work properly in module mode (for example, Mi Share may not see other devices).
- β Requires Magisk and root rights.
π‘
If the application does not appear in the menu after installing the module, check the folder. /data/adb/modules If you don't have a systemize.list file, reinstall the module.
For advanced users, there is an alternative - manual creation of a Magisk module:
- Create a folder. /sdcard/Module.
- Create a structure inside of it: /sdcard/Module/ βββ system/ β βββ priv-app/ β βββ Your Appendix/ β βββ Your App.apk. βββ module.prop
- In the module.prop file, specify: id=system_app_installer name=System App Installer version=1.0 versionCode=1 author=YourName description=Installs APK as system app
- In Magisk, select Install β Select a file and specify the Module folder.
Method 4: Recover Remote System Applications Through MIUI
If you have removed a standard Xiaomi app (such as Mi Music, Mi Browser, or Cleaner) and want to return it, you donβt always need to. ADB or TWRP. In some cases, the built-in recovery function will help. MIUI.
How to return a remote application:
- Open Settings β Applications β Application Management.
- Click on the three dots in the top right corner and select Show All Apps.
- Find the remote application in the list (it will be marked as Not installed).
- Then click on it and select the setup (if available).
If this method does not work, try:
- π Resetting settings through Settings β The phone. β Resetting (returns all standard applications but deletes user data).
- π₯ Update MIUI β Sometimes the firmware automatically restores missing components.
- π¦ Installation through APK β download the original APK Xiaomi Firmware Updater and install manually.
For models POCO (for example, POCO X5 Pro) has a separate method through POCO Launcher:
- Keep an empty space on the main screen.
- Select Launcher Settings β Restore standard applications.
β οΈ Attention: On devices with MIUI Global, some system applications (such as Mi Video or Mi Community) may not recover through standard methods. APK firmware for your model.
Compatibility table with MIUI versions
Not all ways to install system applications work on new versions. MIUI. Below is a compatibility table for popular methods:
| Method | MIUI 12 and older | MIUI 13 | MIUI 14 | Root is required. | TWRP is required. |
|---|---|---|---|---|---|
| ADB (--system) | β Yes. | β No (mistake) | β No. | β No. | β No. |
| TWRP (hand-mount) | β Yes. | β Yes. | β Yes. | β No. | β Yes. |
| Magisk (App Systemizer) | β Yes. | β Yes. | β Yes. | β Yes. | β No. |
| Recovery through MIUI | β Partially. | β Yes. | β Yes. | β No. | β No. |
| Fastboot (image firmware) | β Yes. | β Yes. | β Yes. | β No. | β No. |
For devices on MIUI 14 (e.g. Xiaomi 13 Ultra or Redmi Note 12 Pro)+) best-practice β TWRP and Magisk, the method through ADB New firmware blocked by Xiaomi security policies.
Frequent mistakes and their solutions
When installing system applications, users often face typical problems, and consider the most common errors and how to fix them:
1. Mistake. INSTALL_FAILED_INVALID_INSTALL_LOCATION into ADB
Reason: MIUI Blocks installation to system partition without root rights.
Decision:
- Try the adb shell pm install command -r -t --system name file.apk.
- If it doesnβt help, use it. TWRP magisk.
2.The application is installed but not launched
Reasons:
- Incompatibility APK Android version or MIUI.
- No dependencies (e.g., Google Camera requires libarcore libraries).
- Incorrect access rights to the file (should be 644)
Decision:
- Check the error log through adb logcat.
- Install missing libraries (e.g. Google Camera Services).
- Reinstall. APK right-handed.
3. Bootloop after installation
Cause: Damage to system files or conflict with existing applications.
Decision:
- Boot in. TWRP and remove the problem APK from /system/priv-app.
- If the system does not load, swipe the full image MIUI via Fastboot.
- For devices with Dynamic Partitions (e.g. Xiaomi) 12S) Use Fastboot Enhance to Restore.
4.The app disappears after restarting
Reason: MIUI clears the cache of the system partition or APK foldered.
Decision:
- Install. APK into /system/priv-app (for systemic) or /system/app (user-friendly).
- Check the file rights: it must be 644 (rw-r)--r--).
- Turn off optimization in Settings β Battery β Optimizing the battery for this application.
π‘
Before installing a system application, always check its compatibility with your Xiaomi model and version. MIUI. For example, Google Camera for POCO F4 It wonβt work on the Redmi Note 11 without modifications.