How to return a remote system application to Xiaomi: from simple ways to ADB

Why System Applications Are Disappearing and Can They Be Restored?

Removing system applications on Xiaomi, Redmi or Poco is a common problem, especially among users who are trying to make room or get rid of junk software. Unlike conventional programs, system utilities (such as Camera, Phone, Settings or Security) are deeply integrated into MIUI, and removing them can cause device malfunctions, but you can still return them - and you don't always need root.

The reasons for the disappearance of system applications are different:

  • πŸ—‘οΈ Manual removal through ADB, Titanium Backup or file manager with superuser rights.
  • πŸ”„ Resetting to factory settings, after which some applications did not automatically recover.
  • πŸ“¦ Incorrect update MIUI, which has been destroyed by standard utilities (for example, FM-radio).
  • πŸ› οΈ Errors in modifying the firmware (installation of custom ROM patches).

In this article, we will discuss 5 working ways to return a remote system application - from simple (through hidden settings). MIUI) It is important: some methods require unlocked bootloader or debugging. USB, Prepare the device in advance.

πŸ“Š What system application you accidentally deleted?
Camera.
Phone.
Settings
Security
FM-radio
Other

Method 1: Recovery through MIUI Hidden Settings (without root)

If you delete an application without superuser rights (e.g., through the standard Settings β†’ Apps menu), it can be returned via the hidden MIUI menu.This method works on most Xiaomi devices with MIUI 12–14 firmware.

Instructions:

  1. Open the Phone app and type the combination: ##6484## (or #64663## for older versions).
  2. You will be taken to the MIUI Hidden Settings menu. Select Manage applications.
  3. In the list, find the remote app (e.g. com.android.camera for Camera) and click Install.
  4. Confirm the recovery and restart the device.

⚠️ Note: If nothing happens after entering the code, then your version MIUI It doesn't support this method. Try alternative methods.

Enable debugging over USB (Settings β†’ About Phone β†’ MIUI Version β†’ 7 times tap)

Connect your phone to Wi-Fi (to download missing components)

Charge the battery by at least 50%

Make sure there is enough space on the device (minimum 500 MB)-->

Method 2: Install the APK system application manually

If the application has been removed, but APK-You can find the file online, you can install it manually, but there's some nuances:

  • πŸ“Œ Version. APK must match your firmware version (e.g. com.android.camera for MIUI 14 is not suitable for MIUI 12).
  • πŸ”’ Systemic APK Require a Xiaomi signature – download only from trusted sources (e.g, MIUI APK Archive).
  • πŸ”„ After installation, you may need to reboot or reset the cache (Settings) β†’ Memory. β†’ Clear the cache).

How to determine:

  1. Download the APK of the desired application (for example, com.miui.gallery for Gallery).
  2. Transfer the file to your phone and open it through any file manager.
  3. If the installation is blocked, allow installation from unknown sources (Settings β†’ Privacy β†’ Special Permits).
  4. After installation, restart the device.

Example of commands to find the right APK (if you know the name of the package):

adb shell pm list packages | grep "camera"

adb shell am start -n com.android.camera/.Camera

(Replace com.android.camera with the right package).-->

Method 3: Recovery through ADB (without root but with PC)

If previous methods didn't work, you can use Android Debug Bridge (ADB), which doesn't require superuser rights, but you need a computer and USB debugging enabled.

Steps:

  1. Install ADB and Fastboot Tools on PC.
  2. Connect the phone to your computer and confirm debugging (Allow debugging over USB).
  3. Open the command line (cmd) in the adb folder and type:
adb shell


pm install-existing --user 0 com.android.camera

Replace com.android.camera with the desired application package. The complete list of system packages can be obtained by the command:

adb shell pm list packages -s

⚠️ Note: If the team returns a mistake INSTALL_FAILED_INVALID_APK, So the application file is corrupted or deleted completely, and then the only way to do that is to flash it.

Title of the annexPackage name (package name)Can I Restore It Through ADB?
Camera.com.android.cameraYes.
Phone.com.android.dialerYes.
Settingscom.android.settingsNo (requires firmware)
FM-radiocom.miui.fmYes.
Security (Security)com.miui.securitycenterPartially (reset may be required)

Method 4: Recovery through MIUI backup

If you backed up an application with MIUI Backup before you uninstalled it, it can only be returned from the archive if:

  • πŸ“ Backup was created before the application was removed.
  • πŸ”„ You didn't reset your phone to factory settings after you created the backup.
  • πŸ“± The device was not refashioned to another version. MIUI.

How to restore:

  1. Open Settings β†’ About Phone β†’ Backup and Reset β†’ Local Backups.
  2. Select the right backup and click Restore.
  3. In the data list, tick the Applications and confirm the recovery.

Important: Recovery from the backup can overwrite current data (SMS, calls, settings). Before the procedure, make a new backup of important files.

What to do if the backup is damaged?
If MIUI Backup gives you a recovery error, try: 1. Move the MIUI/backup/AllBackup folder to your PC and check it with antivirus. 2. Delete the backup.xml file inside the archive (sometimes it contains errors). 3. Restore the backup on another device with the same version of MIUI.

Method 5: Flashing the device (extreme case)

If none of these methods work, you just have to reflash the phone, which is a radical way that will bring back all the system applications, but erase user data.

  • πŸ”„ Update via Recovery (saves data but requires official firmware).
  • πŸ“₯ Clean installation via Fastboot (full reset, but guaranteed to restore all system files).
  • πŸ› οΈ Install custom firmware (e.g. Pixel Experience or LineageOS, but lose support) MIUI-fit).

Instructions for Fastboot firmware (on the example of Redmi Note 10 Pro):

  1. Download the official firmware for your model from the Xiaomi Firmware website.
  2. Unpack the archive and place the folder in the root of the C:\ disk.
  3. Connect your phone in Fastboot mode (clip Volume Down + Power when the device is off).
  4. Launch the file. flash_all.bat (for Windows) or run a command in cmd:
fastboot flash all

⚠️ Note: Fastboot flashing will delete all data, including photos and apps. Backup your PC or cloud. Also make sure the firmware version is compatible with your model - the wrong file can brick your device.

πŸ’‘

If after flashing the phone does not turn on or stuck on the logo MIUI, Try to go to Recovery (Loudness up). + Food) and do the wipe data/factory reset.

Frequent Mistakes and How to Avoid Them

When trying to return a system application, users often face typical problems, and here are the most common ways to solve them:

Mistake.Reason.Decision
INSTALL_FAILED_INVALID_APKAPK file is corrupted or not compatible with MIUI versionDownload the original APK from MIUI APK Archive or use ADB
The application is installed but not openedNo dependencies (libraries or services)Install missing packages (e.g. com.google.android.gms for Google services)
After recovery, data (for example, call history) is lostThe app has been reinstalled from scratchRecover data from the backup or sync with the Mi Account
adb: device unauthorizedNot confirmed debugging on USB on the phoneDisconnect/connect the cable and confirm the request on the phone

Another common problem is the disappearance of the application after updating. MIUI. This is because the new firmware version may not include some utilities (e.g, FM-radio IR-The remote control, in which case it will help:

  • πŸ” Searching for alternatives APK for your version MIUI.
  • πŸ“Œ Reverse to previous firmware (if the function is critically important).
  • πŸ› οΈ Use of third-party analogues (e.g. Spirit) FM instead of a standard radio).
Can I return a remote system application without a computer?
Yes, but only if it's been deactivated, not removed completely. Try: Go to Settings β†’ Applications β†’ Application Management β†’ All applications. Click on the three dots in the top right corner and select Show Systems. Find the right app and click Enable. If the app is not on the list, you can't do without a PC.
I deleted Settings. How do I get it back?
com.android.settings is one of the most critical apps: πŸ”§ Try to restore it through ADB (pm install-existing --user 0 com.android.settings). πŸ”„ If it doesn’t work, it’s just a Fastboot flash. ⚠️ Without β€œSettings” you will not be able to enable debugging by USB, if ADB It was not activated in advance, you will have to sew the device manually.
Once the app is restored, it crashes all the time.
That means that: πŸ“Œ Version. APK Not compatible with your firmware (download another build). πŸ”„ No dependencies (install Google Play Services or MIUI Framework). πŸ—‘οΈ Application cache is corrupted (clear data: Settings) β†’ Annexes β†’ [name] β†’ Warehouse β†’ If nothing helps, try removing updates for that app (if they were installed through the Play Market).
Can I return a remote app to Xiaomi with a blocked bootloader?
Yes, but the choice of methods is limited: βœ… MIUI Hidden Settings (if supported by your firmware). βœ… Installation APK (If the file does not require root rights). βœ… Recovery from the backup (if it was created before removal). ADB Or Fastboot requires unlocking the bootloader. If it's locked and other methods don't work, contact Xiaomi's service center - they can reflash the device officially.
How to find out the package name of a remote application?
If you don’t know the exact name of the package, use one of the ways: See the list of system packages through the ADB: adb shell pm list packages -s Find the application in the database APKMirror - in URL Use apps like Package Name Viewer (available on the Play Market) Examples of popular packages: Camera: com.android.camera Phone: com.android.dialer or com.android.contacts Messages: com.android.mms FM-radio: com.miui.fm