System applications on Xiaomi are the basis of stable operation of MIUI, but sometimes they disappear from the screen, stop opening or delete by mistake. Users face this problem after unsuccessful updates, manual removal through ADB, use of "memory optimizers" or even after resetting. Unlike conventional programs from Google Play, system software cannot be restored by simple re-downloading - special methods are required.
In this article, we will discuss 5 working ways to return remote or damaged system applications: from simple (through hidden MIUI settings) to advanced (manual installation of.apk via ADB). All instructions are relevant for Xiaomi, Redmi and Poco smartphones based on MIUI 12-14 (including HyperOS).
Why Xiaomi System Apps Are Losing
The reasons for the disappearance of system applications fall into two categories: software failures and user actions, most often due to:
- π Failed update MIUI β If the firmware is installed with errors, some components can fall off.
- ποΈ Manual removal through ADB β A popular way to get rid of bloatware (pre-installed software) often leads to the removal of critical services.
- π§Ή Use of cleaners β programs like Clean Master or MIUI Optimizers can delete system files incorrectly.
- β‘ Factory resets β sometimes after a hard reset, some applications are not automatically restored.
- π οΈ Incorrect root access β changing rights or deleting files in /system backup.
It's important to distinguish hidden apps from those that are actually remote, for example, MIUI can simply hide the Theme or Security icon in the menu of all apps, in which case it's enough to turn on the display via settings. If the application is physically removed (for example, by commanding pm uninstall -k --user 0 com.miui.securitycenter), more complex manipulations will be required.
β οΈ Note: Some system applications (e.g., com.xiaomi.midrop for Mi Drop) can only be restored through full flashing if they have been removed along with dependent libraries in the same file. /system/priv-app.
Method 1: Enabling Hidden System Applications through MIUI Settings
If the app icon is missing from the home screen or menu, but the software itself has not been removed, it can be returned via standard settings, which works for most pre-installed services like Theme, Security, Calendar or Records.
Instructions:
- Open Settings β Applications β Application Management.
- Slip on three dots in the upper right corner and select Show All Apps.
- In the list, find the application you want (for example, Security for Security) and open its page.
- Click Enable (if the button is active) or Show notifications.
- Return to the home screen, swipe down and type the name of the app in the search β the icon should appear.
If the app doesn't appear on the list even after you turn it on, try restarting your phone. Some services (such as Mi Video) may require additional action:
Check the availability of the application in Settings β Applications
Enable the display of the icon in the launcher settings
Reset the device
Update MIUI last-minute-->
This method will not help if the application has been physically removed (for example, through ADB or TWRP).
Method 2: Recovery through MIUI Lab (hidden menu)
MIUI contains a hidden Lab menu (or MIUI Hidden Settings) where you can return some system components, which works for applications that have been disabled by the system but not completely removed.
How to open a laboratory:
- Go to Settings. β The phone.
- Tap 5-7 times on the line MIUI version until the message appears "You became a developer!".
- Return to the main settings menu and open Additional settings β Laboratory (or Advanced Settings β Special features β Lab on new versions).
- Find the Application Recovery or App Reset section.
- Select the desired application from the list and click Restore.
In the Lab, you can also reset a particular system application if it doesn't work properly, for example, for Mi Browser or Music, it can help you get back the standard settings.
β οΈ Note: Some firmware (especially custom) may not have a Lab section or be empty.
What to do if there is no "laboratory" item?
Method 3: Install the system APK manually via ADB
If the application was removed by pm uninstall or TWRP, it can be restored by installing the original.apk file from firmware, which requires the USB debugging mode enabled and the ADB drivers installed on the computer.
Step-by-step:
- Download the firmware for your model from the official Xiaomi website (Download β ROM section). Choose the same version of MIUI that is installed on the phone.
- Unpack the archive with firmware and find the folder system/priv-app or system/app β there are stored system.apk files.
- Copy the file you want (e.g., SecurityCenter.apk for Security) to your computer.
- Connect the phone to your PC, open the command line in the ADB folder and execute: adb install -r -d --fastdeploy path to file.apk Flag -r means reinstallation, -d - allows downgrading of the version.
- Reset the device.
If the installation is completed by an error INSTALL_FAILED_INVALID_APK, signifier:
- πΉ The.apk file is corrupted or not intended for your version MIUI.
- πΉ The application has dependencies (e.g. libraries in the /system/lib), which also need to be restored.
- πΉ The phone has a modified firmware installed (for example, MIUI by xiaomi.eu, where the structure of the system files is changed.
For applications like Mi Drop or Mi Remote, you may need to install additional files from system/framework or system/etc/permissions folders.
π‘
If you don't know the exact name APK-Open the firmware in the archiver and search for keywords (for example, βsecurityβ for βSecurityβ or βthemeβ for βTheme").
Method 4: Recovery via TWRP (for devices with unlocked bootloader)
If your Xiaomi has a custom TWRP recavator installed, you can restore system applications through backup or manual file installation.This method is suitable for power users and requires an unlocked bootloader.
Recovery options:
| Method | When to use | Team/action |
|---|---|---|
| Recovery from the backup | If you have previously created a backup copy in TWRP | In TWRP, select Restore β System and point the way to the backup. |
| APK manual installation | If there is an original.apk from firmware | Copy the file to /system/priv-app/ via ADB push or TWRP file manager |
| Installation via zip | If there is a modified flashable zip with the application | In TWRP, select Install β Specify zip file |
| Correction of rights | If the application is installed but does not work | In TWRP, go to Advanced β File Manager, find the folder with the application, and set the rights to 755 (or 644 for files) |
Example of installing.apk via TWRP:
- Download the desired.apk (for example, MiuiGallery.apk for Gallery).
- Move the file to your phone (for example, to internal memory in the Download folder).
- Boot to TWRP (hold Power + Volume up when turned on).
- Select Advanced β File Manager.
- Go to /system/priv-app/ and create a folder with the name of the remote application (e.g. Gallery2).
- Copy.apk to this folder and set permissions to 644.
- Reboot to the system.
β οΈ Note: Incorrectly changing files in /system This can lead to bootloop (locked phone turn on).Always back up before manipulation!
π‘
Use TWRP only if you are confident in your actions. It is safer for beginners to use methods through ADB or flashing.
Method 5: Complete flashing (extreme case)
If none of these methods work, you have to reinstall MIUI via Fastboot or Recovery, a radical way that will return all system applications to their original state, but also delete user data (if you don't backup).
Step-by-step instructions for firmware through Fastboot:
- Download the official firmware for your model from the Xiaomi Firmware website (choose Fastboot ROM).
- Unpack the archive in a folder on your computer.
- Connect your phone to your PC in Fastboot mode (hold Power + Volume down when turned on).
- Open the command line in the firmware folder and execute: fastboot flash all (or fastboot flash all -w for a full reset).
- Wait for the finish (5-10 minutes) and restart the phone.
An alternative option is to install the firmware through Recovery:
- π± Download Recovery ROM (zip-archive).
- π Rename the file to update.zip Put it in the root of internal memory.
- π Load to Stock Recovery (hold power) + Loudness up).
- π±οΈ Choose Install. update.zip and confirm installation.
After flashing all system applications will be restored, but:
- π΅ User data (photos, messages, applications) will be deleted if a backup is not made.
- π The phone may be blocked (you will need to log in to your Mi Account if you were tied in).
- π You may need to reset your network and accounts.
π‘
Before you run your firmware, save important data (contacts, photos) to an external drive or to the cloud. For backup SMS and applications, use Mi Mover or Swift Backup (root required).
Frequent Mistakes and How to Avoid Them
When you restore system applications, users often face typical problems, and here's how to solve them:
| Mistake. | Reason. | Decision |
|---|---|---|
| App not installed when installing APK | Incompatible version of MIUI or processor architecture | Download.apk from the same firmware version as on your phone |
| The application is installed but not opened | No dependencies or incorrect rights | Install all files from the application folder in firmware (.odex,.so) |
| The icon does not appear after restoration. | Launcher didn't update the cache | Restart your phone or reset your launcher settings in Settings β Applications β Launcher |
| INSTALL_FAILED_DEXOPT into ADB | Damaged Dalvik cache | Clear the cache via TWRP or adb shell pm clear-globaldexopt command |
| Phone gets fixated on logo after changes | Damaged system files | Swipe your phone through Fastboot (see Method 5) |
If you use custom firmware (like LineageOS or Pixel Experience), Xiaomi system applications may not work due to the lack of proprietary libraries, in which case the only way out is to return to the official MIUI.