Where to look for remote applications on Xiaomi: hidden folders, shopping cart and recovery methods

A remote application on Xiaomi isn't always a permanent loss. Unlike Android, MIUI offers several mechanisms for software recovery, from the built-in basket to system logs. But where exactly are the traces of deleted programs stored, and can they be returned without root rights? Let's take a look at the different versions of MIUI (12 to 14) and smartphone models (Redmi Note 12, POCO X5, Mi 11, etc.).

Many users mistakenly believe that after clicking Delete in Settings โ†’ Applications, files are erased instantly. In fact, MIUI often moves them to temporary storage, a hidden basket accessible through the file manager. However, this does not always work: system applications (such as com.miui.gallery) are deleted differently from user ones. Next is a detailed guide with visual markers, ADB commands and alternative methods.

If you accidentally delete an application, the first thing you do is check the MIUI Recycle Bin, which is the default on most MIUI 12+ devices. But there are some nuances: the Recycle Bin only stores files for 30 days, and its contents don't appear in the standard application menu.

๐Ÿ“Š What version? MIUI You're using it?
MIUI 12
MIUI 13
MIUI 14
Another version
I don't know.

1.Basket MIUI: remote APK-file

MIUI firmware since version 12.5 has built-in a recycle bin that temporarily moves deleted files, including.apk applications, but it doesn't work with all types of software:

  • ๐Ÿ“ฑ Custom apps (installed from Google Play or.apk): fall into the cart if they were removed through Settings โ†’ Applications or File Manager.
  • ๐Ÿšซ System applications (e.g. Camera, Gallery): Removed irrevocably (restored via ADB firmware).
  • ๐Ÿ”„ System Application Updates: May Stay in the Recycle Bin, but Recovering them Often Leads to Failures.

To check the basket:

  1. Open Mi File Manager (or another file manager with storage permissions).
  2. Go to Categories โ†’ Cart (or Trash in English version).
  3. Find files with the.apk extension โ€“ they can be restored by clicking on the icon of the basket with an arrow.

โš ๏ธ Note: If the Recycle Bin is empty but you are sure you have recently removed the application, check the file manager settings. MIUI The cart is disabled by default. To activate it, go to Manager Settings. โ†’ Basket โ†’ Turn it on.

Important: Restore.apk from the Recycle Bin is not the same as returning an application to the system. Once the file is restored, it will have to be installed manually (allowing installation from unknown sources to Settings โ†’ Security).

2. System folders: where MIUI stores traces of deleted applications

Even after deleting the app, its data can remain in hidden Android folders.

  • ๐Ÿ“ Cash and user data in /data/data/[package_name] (available only with root rights).
  • ๐Ÿ—ƒ๏ธ Residual files in /sdcard/Android/data/[package_name] (You can see without root).
  • ๐Ÿ“‹ Logs of installation in /data/system/package_cache (demand ADB).

To view these folders:

  1. Connect your smartphone to your PC and use ADB Shell: adb shell ls /data/data/ | grep "com.example" (replace com.example with the name of the application package).
  2. Or use a root-access file manager (such as Root Explorer).
folderContentsAccess without rootCan we restore it?
/data/data/[package]Application data, settings, cacheโŒ No.โš ๏ธ Partially (with root only)
/sdcard/Android/data/[package]External files (saves, downloads)โœ… Yes.โœ… Yes (copying)
/data/app/[package]APK-fileโŒ No.โŒ No (removed irrevocably)

Critical information: If an application has been removed via Settings โ†’ Applications โ†’ Delete, its.apk is erased from /data/app/ instantly, but data can remain in /data/data/ for up to 24 hours (depending on the MIUI version).

3. Recovery through ADB: Teams for Power Users

If the cart is empty and the application is critical (like Google Services or Mi Account), you can try to restore it via Android Debug Bridge (ADB).

  • ๐Ÿ”ง Restore System Applications Removed by Mistake.
  • ๐Ÿ“ฆ Re-install.apk from backup.
  • ๐Ÿ” View a list of packages ever installed.

Step-by-step:

โ˜‘๏ธ Recovery through ADB

Done: 0 / 5
  1. Check the list of all packages ever installed: adb shell pm list packages -u (flag -u shows remote applications).
  2. To restore a system application (e.g. Camera), use: adb shell cmd package install-existing [package_name] For example, for Xiaomi Camera: adb shell cmd package install-existing com.android.camera
  3. If you need to reinstall.apk from backup: adb install /path/to/app.apk

โš ๏ธ Note: Install-existing commands only work for system applications that have been disabled but not completely removed. /system/priv-app/, I'll need a reflash.

๐Ÿ’ก

Before using ADB, back up your data via adb backup -apk -shared -all -f backup.ab. This will save all applications and their data to a single file.

4. MIUI backups: How to bring an application back from the cloud

Xiaomi offers two types of backups where remote application data can be stored:

  1. Local backup (created in Settings โ†’ About Phone โ†’ Backup) Stores a list of installed applications and their data (but not the.apk itself).
  2. Xiaomi Cloud (requires authorization to Mi Account) Stores the last 3 copies, but only restores system settings and some application data.

To restore the application from backup:

  1. Go to Settings โ†’ About Phone โ†’ Backup โ†’ Restore.
  2. Select the date of the copy when the application was still installed.
  3. Check the Applications and their data (if available).
  4. Confirm the recovery and restart the device.

Limitations of the method:

  • โŒ It does not restore.apk itself โ€“ only data and shortcuts.
  • โŒ Not all apps (e.g. Google Play Services is not restored).
  • โš ๏ธ Can overwrite current data (take backup before recovery!).
What to do if the backup is damaged?
If the error "File is corrupted" appears during recovery, try: 1. Download a copy to your PC via cloud.mi.com. 2. Rename the file to backup.ab and restore it via ADB: adb restore backup.ab 3. If it does not help, the copy is irrevocably corrupted.

5. Third-party tools: data recovery programs

If the built-in MIUI methods didn't work, you can use third-party utilities that scan internal memory for residual.apk files and data. The best options for Xiaomi are:

ProgrammeType of recoveryNeed root?Cost
DiskDiggerAPK, photos, documentsโŒ No (baseline mode)Free / $14.99
EaseUS MobiSaverAPK, application data, messagesโœ… Yes (for deep scanning)$39.95
Dr.Fone (Wondershare)APK, cache, settingsโœ… Yes.$59.95

Instructions for DiskDigger (without root):

  1. Install the program from Google Play.
  2. Select the Basic Scan (without root).
  3. Mark the file types: APK and Others.
  4. Wait for the scan to be completed and save the files found to the memory card.

โš ๏ธ Note: Programs without root only find.apk that have not been overwritten with new data. If you install a lot of new programs or shoot videos after uninstalling the application, the chances of recovery drop dramatically.

6. Features for different Xiaomi models

The application removal algorithm may vary depending on the model and version of MIUI. The following are the key differences:

  • ๐Ÿ“ฑ Redmi Note 10/11/12: Recycle Bin is enabled by default, but system applications (such as Mi Video) are permanently removed.

For models with MIUI 14 (such as the Redmi Note 12 Pro+), Smart Storage is added, which automatically cleans the cart when space is scarce.

  1. Go to Settings โ†’ Storage โ†’ Smart Storage โ†’
  2. Turn off the auto-cleaning option.

๐Ÿ’ก

On devices with MIUI 13+, system applications are not completely removed, but deactivated. They can be returned via Settings โ†’ Apps โ†’ Show All โ†’ Turned off (without ADB).

7 What not to do when restoring applications

Some actions may permanently delete residual data or damage the system.

  • ๐Ÿšซ Factory resets โ€“ this erases all traces of remote applications, including backups MIUI.

If you have already reset, the only way to return the application is to install it again from an official source (such as Google Play or APKMirror).

FAQ: Frequent questions about restoring apps on Xiaomi

Can a remote system application (e.g. Camera) be restored without ADB?
No, system applications (com.android.camera, com.miui.gallery) require either ADB or flashing, and in some cases, resetting helps, but it will delete all data.
Where they're stored APK-Files of installed applications on Xiaomi?
Active applications are in /data/app/ (user) and /system/priv-app/ (system). Once deleted,.apk is erased, but data can remain in /data/data/ for up to 24 hours.
Why does the application not start after recovery from the cart?
This happens if:.apk file is corrupted (check its hash amount); there are no dependencies (e.g. Google Play Services for some games); MIUI version is not compatible with the application (relevant to old.apk); Solution: download the latest version of the application from an official source.
How to find out the name of the remote application package for ADB?
If you don't remember the name of the package, use: Google Play Site - the application URL shows its package (for example, com.whatsapp); Adb shell pm list packages -f | grep "keyword" (replace keyword with part of the name); Logs of installation in /data/system/packages.xml (requires root).
Can I recover the application data (save, logins) after it is deleted?
Yes, but only if: ๐Ÿ”น The app backed up Google Drive or Mi Cloud. ๐Ÿ”น You used Titanium Backup or analogues before deleting. ๐Ÿ”น The data remained in /sdcard/Android/data/[package] (For games with cloud-based saves (e.g., through Google Play Games), the data will be automatically restored after re-installation.