Xiaomi smartphone owners often face the desire to free up memory or remove annoying advertising by removing preinstalled components of the operating system. However, in the pursuit of clean MIUI 12 interface, users sometimes delete the extra, accidentally affecting critical system services, without which it is impossible to correctly work the device. Recovering remote system applications is a solvable task, but requires careful attention and understanding the structure of Android.
The problem is exacerbated by the fact that the standard “Delete” button in the application management menu is often not available for system software, and users are forced to resort to third-party utilities or to remove it. ADB-These are the methods that create risks, because the reverse return process is not always obvious and requires a connection to a computer or performing complex manipulations in the recovery menu. In this article, we will discuss in detail all the available ways to return functionality to your Xiaomi.
Before you start taking action, you need to assess the scale of the problem: whether only the label is missing from the desktop or the application is removed from the system completely, and the choice of solution depends on the choice of method, since in the first case a simple launcher reset is enough, and in the second case a deeper intervention in the software part of the smartphone will be required.
Diagnosing the problem: removal or concealment
The first step is to always make a thorough diagnosis of what exactly happened to your device. Often users confuse removing an application with disabling it or simply hiding a shortcut from the home screen, which is much easier than completely reinstalling system components. Check the Tools folder and all the apps menus, as MIUI 12 often automatically groups software after major updates.
If an application is not in the installed program list, you need to figure out how it was removed, which could have happened through ADB AppControl, console commands or specialized uninstallers that require root rights. Understanding the removal mechanism will help you choose the right recovery vector, since some methods leave traces in the system that can be used to roll back changes.
It is also important to check whether the problem is due to a failure of the launcher System Launcher. If the system processes are running in the background, but the icons are not displayed, then file recovery is not required - it is enough to clear the shell cache. APK-file-section /system/app or /system/priv-app, We will have to take more radical measures.
💡
Before any manipulations, make a full backup of data via Mi Cloud or locally, as restoring system partitions may result in the loss of user files.
Using a Developer Menu to Restore
One built-in tool that can help solve missing components is the developer menu, although it is not designed to directly reinstal remote components. APK-file resets in this section can force the integrity check of system services. → About the phone and several times click on the version MIUI.
The Developer menu that opens will highlight options related to updating Google Play apps and services. Sometimes, forcing update checks through Settings → Apps → All Apps → Google Play Services allows you to return deleted standard components if they were marked as system but temporarily deactivated, a method that is least invasive and safe for inexperienced users.
⚠️ Note: Do not disable the “Download through” option in the developer menu USB» or "Debugging by" USB» In the diagnostic process, if you plan to use your computer for further recovery, it will break the connection.
It’s also worth trying to reset all apps, which will return the default permissions and states, although the files themselves won’t restore it, a procedure that can “revive” shortcuts if the app just went into deep sleep or was mistakenly frozen by the MIUI 12 energy saving system.
Recovery through ADB and Command Prompt
The most effective and professional way to return remote system applications is to use the Android debugging bridge (ADB). This method requires connecting the smartphone to the computer through USB-cable and availability of an installed driver ADB Driver on PC: The method is to send a command to the system to re-install a standard package that is listed in the database but is not in the user section.
To start, you need to enable USB debugging in the developer menu and connect the device. On the computer in the command line, after going to the folder with the platform tools, you enter the command to check the connection of adb devices. If the device appears in the list, you can proceed to install packages using the pm install-existing command, which causes the system to reinstall the application on its packet name.
adb shell pm install-existing com.android.calculator2
adb shell pm install-existing com.miui.securitycenterThe difficulty of this method is to know the exact name of the package of the application being removed, which often differs from its displayed name. For example, a calculator may be called com.android.calculator2, and the task manager is com.miui.securitycenter. You can find a list of packages online or using the adb shell pm list packages command that displays the entire list of installed software.
☑️ Preparation for recovery through ADB
If the standard installation command doesn’t work, you can try using more advanced graphical shells for ADB, such as ADB AppControl.This Windows program automatically scans the device, shows a list of remote system applications and allows you to restore them in one click, which makes it much easier for those who do not want to work with the console.
Resetting and complete system rollback
In situations where remote applications cause critical interface errors or constant reboots, the only reliable solution is to completely reset the device to factory settings. Wipe Data completely cleans the user partition and restores the original set of system applications that the device had when it was purchased.
Resets can be done via the Recovery Mode menu, which requires turning off your smartphone and pressing the Volume Up + Power button combination before the Mi logo appears. In the Recovery menu, which is managed by volume buttons, you need to select the Wipe Data item and confirm the action. The process will take a few minutes, after which the phone will be as new.
| Method | Difficulty | Data retention | Efficiency |
|---|---|---|---|
| ADB Teams | Tall. | Yes. | Tall. |
| Resetting settings | Medium | No. | Maximum |
| APK installation | Low. | Yes. | Low. |
| Flip-flashing | Very high. | No. | Maximum |
💡
Wipe Data is the only way to guarantee that all system partitions will be restored to their original state without flashing the device.
An alternative to a full reset via Recovery is the “Reset All Settings” feature on the Android menu itself, available via Settings → About Phone → Reset. However, this method may not affect some system partitions if access rights have been changed, so Recovery mode is preferable for deep recovery.
Hand-mounted APK-system-application files
A less reliable but sometimes working method is manual installation. APK-Filing applications from trusted sources, and you need to find the exact version of the application that matches your version. MIUI 12 and Android versions, as version incompatibility can lead to installation errors or unstable performance.
If the downloaded file is stored in the phone's memory and you try to install it as a normal application, if the system issues an error "App not installed" or "Requires system resolution", then it cannot be installed in the usual way, in such cases, root rights and a file manager with superuser rights, such as Root Explorer or MT Manager, are required.
⚠️ Attention: Installation of system APK-Files from random sources can cause malware to infect your device or disrupt critical security services.
If root access is available APK-file is copied to the directory /system/app or /system/priv-app, Then he is manually assigned access rights rw-r.--r-- (644). Once the system is restarted, it must pick up the new app as its native application, a method that requires a high level of skill and an understanding of the Android file structure.
Reflashing the device as an extreme measure
If none of the above methods worked, or if the malfunction of system applications led to a “bootloop” (cyclical reboot), the last argument remains – a complete flashing of the device. Using the Mi Flash Tool utility allows you to pour a clean image of the operating system, completely replacing all system partitions with reference ones.
This will require you to download the official firmware for your specific model from the developer’s website, transfer the phone to Fastboot mode (clamping Volume Down + Power) and connect to your PC. It is important to choose Clean All mode to avoid conflicts between the old file system and new system files.
Risks of flashing
The flashing process takes from 5 to 15 minutes and requires a stable Internet connection and serviceable service. USB-Interrupting the recording process can cause the motherboard to fail completely, so this method should only be resorted to in case of emergency, when other methods have been exhausted.
Prevention and backup
To avoid problems with system software recovery in the future, it is recommended to create full backups of the system in advance. MIUI 12 has a local redundancy functionality that allows you to save the list of applications and their data. Regular creation of such backups will quickly return to working condition in case of errors.
It is also important to use caution to remove ads and system debris. Before removing any unknown process, you should study its purpose on the Internet so as not to disrupt the work of dependent services. Healthy skepticism and verification of information is the best protection against software failures.