Deleting important files from a smartphone is one of the most common problems faced by users Android. Vacation photos, work documents, videos from memorable events, or even saved passwords can disappear in an instant: by mistake, after a factory reset, or after a system crash. Fortunately, in most cases, deleted data can be returned - if you act quickly and correctly.

In this article we will analyze all available methods of file recovery on Androiddevices: from standard operating system functions to professional tools with deep memory scanning. You will learn how data storage mechanisms work, why it is not always possible to return 100% of the information, and what actions immediately blocked possibility of recovery (for example, writing new files to replace deleted ones). We will pay special attention to the nuances for different versions Android (from Android 10 to Android 14) and popular brands - Samsung, Xiaomi, Google Pixel and others.

Before you begin recovery, remember: success depends on two factors - time (the sooner you start, the higher the chances) and delete method (accidental erasing through the gallery or formatting a memory card require different approaches). If the file was deleted a long time ago, and the memory on the device was actively used, the probability of its return tends to zero. But donโ€™t despair - even in such cases there are backup options.

๐Ÿ“Š How do you usually delete files on your smartphone?
Through the trash can in the gallery
Directly from folders
Format the memory card
Use a file manager

1. Check the recycle bin: standard recovery mechanism

Modern versions Android (starting from Android 11) and proprietary shells (One UI, MIUI, ColorOS) automatically send deleted files to trash โ€” temporary storage, where they remain from 15 to 60 days (depending on model). This is the first and easiest way to recover lost data.

How to check the trash:

  • ๐Ÿ“ฑ Gallery: open the application Gallery โ†’ tap on the three dots (menu) โ†’ select Trash or Recently deleted. On Samsung the path may look like this: Gallery โ†’ Albums โ†’ Trash.
  • ๐Ÿ“ File Manager: launch Files (or Mi File Manager to Xiaomi) โ†’ section Trash or Deleted files.
  • ๐Ÿ–ผ๏ธ Google Photos: if synchronization was enabled, check the web version Google Photos in the section Recycle Bin (stores files for 60 days).

In the Recycle Bin you can:

  • ๐Ÿ”„ Restore individual files (select them โ†’ click Restore).
  • ๐Ÿ—‘๏ธ Empty the recycle bin completely (this action irreversible!).
  • โณ View storage period (a timer is displayed next to each file before automatic deletion).
โš ๏ธ Attention: On some devices (for example, Huawei s EMUI) the cart can be disabled by default. To activate it, go to Gallery settings โ†’ Cart โ†’ Enable.
๐Ÿ’ก

If you do not find the cart in standard applications, try installing Files by Google from Play Market โ€”it has a universal section Trashthat works on most devices.

2. Restoring through backups: Google Drive and other clouds

If the Recycle Bin is empty or the file was deleted a long time ago, the next place to look is cloud storage. Many users do not even suspect that their data is automatically synchronized with Google Disk, Yandex Disk or proprietary clouds of manufacturers (Samsung Cloud, Mi Cloud).

How to check backups:

  • ๐ŸŒ Google Drive:
    1. Open drive.google.com on a PC or in a mobile browser.
    2. In the menu on the left, select Trash (stores files for 30 days).
    3. To restore system data (contacts, SMS, settings), go to Settings โ†’ Backup on your phone.
  • โ˜๏ธ Branded clouds:
    • On Samsung: Settings โ†’ Accounts and archiving โ†’ Samsung Cloud.
    • On Xiaomi: Settings โ†’ Mi Account โ†’ Mi Cloud.
    • On Huawei: Settings โ†’ Huawei ID โ†’ Cloud.
  • Features of recovery from the cloud:

    • ๐Ÿ“ฅ Photos and videos often duplicated in Google Photos (if autoload was enabled). Check the folder Archive or Backups.
    • ๐Ÿ“„ Documents and notes can be stored in Google Docs or Keep (if you saved them there).
    • ๐Ÿ”„ Contacts and SMS are restored via Settings โ†’ System โ†’ Backup (requires the same account Google, as when creating a copy).
    Cloud Retention period for deleted files Max. free storage volume Supported data
    Google Drive 30 days (cart) 15 GB Photos, videos, documents, contacts, SMS
    Samsung Cloud 15 days 15 GB Photos, videos, notes, calendar
    Mi Cloud 10 days 5 GB Photos, video, contacts, SMS, records
    Yandex Disk 30 days 10 GB Any files
    โš ๏ธ Attention: If you used the Free up space to Google Photosfunction, the original files may have been deleted from the device after uploading to the cloud. In this case, you can only restore them from the trash Google Photos (60 days).

    3. Using a PC: recovery via ADB and specialized apps

    If the files are not found in the recycle bin or the cloud, it's time to move on to deep memory scan. To do this you will need a computer and special software. This method is suitable for data recovery after:

    • ๐Ÿ—ƒ๏ธ Formatting a memory card or internal storage.
    • ๐Ÿ”„ Resetting settings (Hard Reset).
    • ๐Ÿฆ  Virus attacks or file failures systems.

    The most effective apps for recovery:

    • ๐Ÿ› ๏ธ DiskDigger (there is a free version) - scans both internal memory and SD cards, supports recovery of photos, videos and documents.
    • ๐Ÿ’พ Recuva (only for Windows) - works with devices connected via MTP or ADB devices.
    • ๐Ÿ“ฑ EaseUS MobiSaver - paid software with a high percentage of successful recovery, including WhatsAppmessages.
    • ๐Ÿ” Dr.Fone - supports more than 6000 models Android, restores data even after a reset.
    • Step-by-step guide for DiskDigger:

      1. Download and install DiskDigger on PC (official website).
      2. Connect your smartphone to the computer in File transfer (MTP) mode.
      3. Launch the app and select the drive of your device (usually Internal Storage or the name of the phone model).
      4. Click Next and wait for the scan to complete (may take from 10 minutes to several hours).
      5. View the found files, highlight the ones you need and click Recover (restore).

      To restore via ADB (Advanced Debug Bridge) you will need developer rights:

      adb shell
      

      su

      cd /data/data/com.android.providers.media/databases

      sqlite3 external-*.db

      SELECT * FROM files WHERE _data LIKE '%.jpg';

      This command will list all .jpgfiles in the media provider database. Restoration will require additional manipulations with pull and push.

      โš ๏ธ Attention: When connecting the phone to the PC in MTP mode, some apps may not see the internal memory. In this case, use the mode PTP (for photos) or activate USB debugging in Developer settings.

      Disable Wi-Fi and mobile data on your phone|Charge your device to at least 50%|Use the original USB cable|Do not connect your phone to other devices while scanning|Save the recovered files to your PC, not to your phone-->

      4. Recovery from a memory card: features and risks

      MicroSD cards is one of the most vulnerable places for data loss. They are often formatted by mistake and are susceptible to physical damage and file system failures. Fortunately, recovery from a memory card is usually easier than from an internal drive, thanks to a separate file system (FAT32 or exFAT).

      How to recover files from SD cards:

      1. Remove the card from the phone and connect it to the PC via a card reader (do not use the phone as an intermediary!).
      2. Run a recovery app (for example, PhotoRec or TestDisk - free open source utilities).
      3. Select the memory card in the list of drives and run deep scan (deep scan).
      4. After completion, review the found files. Pay attention to the names - they may be distorted (for example, DSC_0001.jpg will turn into FILE0001.JPG).
      5. Save the recovered data to the PC hard drive, and not back to the card!

      Typical problems and solutions:

      • ๐Ÿšซ The card is not detected: try another card reader or port USB. If the card is physically damaged, contact the service center.
      • ๐Ÿ”„ RAW file system: use TestDisk to restore the partition (Analyse โ†’ Search).
      • ๐Ÿ“› Format requests: do not agree under any circumstances โ€”this will lead to irretrievable loss of data.
      Symptom Possible cause Solution
      The card is not readable Damage to the contacts or controller Clean the contacts with alcohol, try another card reader
      Files open with errors Damaged sectors Use PhotoRec to extract raw data
      Card asks for formatting File system failure Restore the table partitions via TestDisk
      Why is it not worth restoring files back to the memory card?

      When saving recovered data to the same card, new files may overwrite sectors that have not yet been scanned, which will lead to the loss of part of the data. Always save the results to another storage device (PC, external HDD).

      5. deleted applications

      If standard methods did not help, and files were deleted from system folders (for example, /data/data/), you may need root accessThis is a risky method, since:

      • ๐Ÿ”“ Violates the device warranty.
      • ๐Ÿ›ก๏ธ Increases vulnerability to viruses.
      • ๐Ÿ”„ May lead to brick (turning the phone into a โ€œbrickโ€).

      Advantages of root for recovery:

      • ๐Ÿ“‚ Access to hidden folders (/data/, /system/).
      • ๐Ÿ” Ability to use Titanium Backup to restore applications and their data.
      • ๐Ÿ› ๏ธ Working with SQLite-bases (for example, message history in WhatsApp).

      How to get root and restore files:

      1. Unlock Bootloader (instructions depend on the model; for Xiaomi you need to obtain permission through Mi Unlock).
      2. Install custom recovery (TWRP) via fastboot:
        fastboot flash recovery twrp.img
        

        fastboot boot twrp.img

      3. V TWRP select Mount โ†’ System and connect the phone to the PC.
      4. Use DiskDigger or EaseUS MobiSaver to scan the partition /data.

      To restore deleted applications:

      • Install Titanium Backup (requires root).
      • Go to the section Backups and find the deleted application.
      • Click Recover (option Data + APK will also return app settings).
      โš ๏ธ Attention: On devices with Android 10+ and file system F2FS (for example, Samsung Galaxy S20+), recovery via root may not be possible due to encryption metadata. Check the file system type through DiskInfo.

      6. Professional services: when nothing helps

      If all of the above methods did not produce results, and the files are critically important (for example, the only photographs from an event or work documents), you should contact specialized laboratories. They use professional equipment for:

      • ๐Ÿ”ฌ Chip-off recovery โ€”extracting data directly from memory chips (effective even after formatting).
      • ๐Ÿ› ๏ธ Controller repair โ€”if the memory card or internal drive is not detected.
      • ๐Ÿ” RAW data analysis โ€”recovery of fragmented files.

      How to choose a reliable service:

      • ๐Ÿ“Œ Reviews: check independent sites (for example, Review or Yandex.Maps).
      • ๐Ÿ’ฐ Price: the average cost of restoration is from 3,000 to 15,000 rubles (depending on complexity).
      • ๐Ÿ“„ Agreement: be sure to enter into an official agreement indicating terms and guarantees.
      • ๐Ÿ”’ Privacy: clarify how your data is stored (reliable laboratories provide NDA).

      Top 5 laboratories in Russia (by data for 2026):

      • HddSurgery (Moscow, St. Petersburg) - specializes in mobile devices.
      • Data Recovery (branches in 10 cities) - works with eMMC and UFSdrives.
      • Kaspersky Lab โ€” recovers data after virus attacks.
      • FlashFix (Ekaterinburg, Novosibirsk) - chip-off recovery for Android.
      • SaveData (online applications) - field teams in the regions.
      โš ๏ธ Attention: Avoid โ€œhandicraftsmenโ€ who offer restoration โ€œfor 500 rublesโ€. There is a high risk of permanent data loss due to unskilled actions. Also, do not send the device by mail without preliminary diagnostics - transportation may worsen the damage.

      7. Loss prevention: how to protect data in the future

      The best way to combat file loss is prevention. Even if you were able to recover your data now, there is no guarantee that your success will be repeated next time. Follow these rules to minimize risks:

      Automatic backup:

      • โ˜๏ธ Set up auto-upload of photos in Google Photos (Settings โ†’ Backup and synchronization).
      • ๐Ÿ“ฑ Enable data backup Android to Settings โ†’ System โ†’ Backup (saves contacts, SMS, application settings).
      • ๐Ÿ’พ Regularly copy important files to an external HDD or SSD (for example, once a month).

      Secure deletion:

      • ๐Ÿ—‘๏ธ Before deleting, check that files are not sent to the trash.
      • ๐Ÿ”„ For sensitive data, use irrevocable erasing (applications like Secure Eraser overwrite files with zeros).
      • ๐Ÿ“› Avoid formatting the memory card via your phone - use a PC and specialized utilities (SD Formatter).

      Hardware protection:

      • ๐Ÿ›ก๏ธ Install an antivirus (for example, Kaspersky Mobile or Bitdefender) to protect against ransomware.
      • ๐Ÿ”‹ Monitor your battery health - a sudden power outage while recording data can lead to file damage.
      • ๐Ÿ“ฑ Avoid cheap memory cards of unknown brands - they fail more often.
      ๐Ÿ’ก

      Regular backup to 3 places (cloud + PC + external drive) reduces the risk of permanent data loss to 1%.

      FAQ: Frequently asked questions about recovering files on Android

      Is it possible to restore files after resetting the settings (Hard Reset)?

      Yes, but with reservations. After Hard Reset the internal memory of the phone is formatted, but the data is not physically erased - it is marked as available for overwriting. The chances of recovery depend on:

      • ๐Ÿ•’ Time: if less than a day has passed since the reset and you have not written down new files, the probability is high.
      • ๐Ÿ“ฑ Phone models: on devices with UFS 3.1 (for example, Samsung Galaxy S22) recovery is more difficult due to hardware encryption.
      • ๐Ÿ› ๏ธ Method: you will need apps like Dr.Fone or contacting the laboratory.

      Important: do not connect the phone to the Internet after the reset - this may trigger an automatic update that will overwrite some of the data.

      How to restore deleted messages in WhatsApp?

      WhatsApp stores backup copies of chats in /sdcard/WhatsApp/Databases. To restore messages:

      1. Delete and reinstall WhatsApp.
      2. When you first launch the application, it will offer to restore chats from a backup copy.
      3. If the copy is old, try renaming the file msgstore.db.crypt14 to msgstore.db.crypt12 (for old versions).

      To restore without a backup, use EaseUS MobiSaver (root required).

      Why do recovery apps find files, but they do not open?

      This is a typical problem when restoring fragmented or partially overwritten files. Possible reasons:

      • ๐Ÿ“Š Fragmentation: the file was split into parts, and the app did not recover all the fragments.
      • ๐Ÿ”  Header corruption: the file does not have a signature (for example, JFIF for .jpg).
      • ๐Ÿ–ฅ๏ธ Incompatibility Software: some apps recover "raw" data that needs to be converted.

      Solution: try opening the file in specialized apps (for example, PhotoRec for photos or VLC for videos with errors).

      Is it possible to recover files from a phone that does not turn on?

      Yes, but itโ€™s complicated process. Options:

      • ๐Ÿ”Œ Connecting to a PC in Fastboot: if the phone responds to charging, try logging in Fastboot Mode (Power + Vol Downand flashing custom recovery (TWRP) to access the data.
      • ๐Ÿ› ๏ธ Removing the memory chipmode: in laboratories they can remove the eMMC/UFSdrive and read the data directly.
      • ๐Ÿ”‹ Replacing the battery: sometimes the phone does not turn on due to a dead or swollen battery.

      If the screen is broken, but the phone works, connect it to the PC and use Vysor or scrcpy to control from the computer.

      How to protect a memory card from data loss?

      Follow these rules:

      • โน๏ธ Safely remove: always use Remove in the notification menu before physically removing the card.
      • ๐Ÿ”„ Regular formatting: once every 3-6 months, format the card via PC (not phone!) in FAT32 or exFAT.
      • ๐Ÿ“› Checking for errors: use chkdsk in Windows (chkdsk E: /f, where E: is the card letter).
      • ๐Ÿ›ก๏ธ Write protection: on cards with a switch Lock fix it in position Locked when transferring.

      Avoid cheap cards without a brand - they are often counterfeited and fail after a few months.