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.
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) โ selectTrashorRecently deleted. On Samsung the path may look like this:Gallery โ Albums โ Trash. - ๐ File Manager: launch
Files(or Mi File Manager to Xiaomi) โ sectionTrashorDeleted 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:
- Open drive.google.com on a PC or in a mobile browser.
- In the menu on the left, select
Trash(stores files for 30 days). - To restore system data (contacts, SMS, settings), go to
Settings โ Backupon your phone.
- 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
ArchiveorBackups. - ๐ 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
MTPorADBdevices. - ๐ฑ 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.
- Download and install DiskDigger on PC (official website).
- Connect your smartphone to the computer in
File transfer (MTP) mode. - Launch the app and select the drive of your device (usually
Internal Storageor the name of the phone model). - Click
Nextand wait for the scan to complete (may take from 10 minutes to several hours). - View the found files, highlight the ones you need and click
Recover(restore).
Step-by-step guide for DiskDigger:
To restore via ADB (Advanced Debug Bridge) you will need developer rights:
adb shellsu
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 inMTPmode, some apps may not see the internal memory. In this case, use the modePTP(for photos) or activateUSB debugginginDeveloper 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:
- Remove the card from the phone and connect it to the PC via a card reader (do not use the phone as an intermediary!).
- Run a recovery app (for example, PhotoRec or TestDisk - free open source utilities).
- Select the memory card in the list of drives and run deep scan (deep scan).
- After completion, review the found files. Pay attention to the names - they may be distorted (for example,
DSC_0001.jpgwill turn intoFILE0001.JPG). - 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:
- Unlock
Bootloader(instructions depend on the model; for Xiaomi you need to obtain permission through Mi Unlock). - Install custom recovery (TWRP) via
fastboot:fastboot flash recovery twrp.imgfastboot boot twrp.img - V TWRP select
Mount โ Systemand connect the phone to the PC. - Use DiskDigger or EaseUS MobiSaver to scan the partition
/data.
To restore deleted applications:
- Install Titanium Backup (requires root).
- Go to the section
Backupsand find the deleted application. - Click
Recover(optionData + APKwill 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:
- Delete and reinstall WhatsApp.
- When you first launch the application, it will offer to restore chats from a backup copy.
- If the copy is old, try renaming the file
msgstore.db.crypt14tomsgstore.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,
JFIFfor.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 inFastboot 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
Removein the notification menu before physically removing the card. - ๐ Regular formatting: once every 3-6 months, format the card via PC (not phone!) in
FAT32orexFAT. - ๐ Checking for errors: use
chkdskin Windows (chkdsk E: /f, whereE:is the card letter). - ๐ก๏ธ Write protection: on cards with a switch
Lockfix it in positionLockedwhen transferring.
Avoid cheap cards without a brand - they are often counterfeited and fail after a few months.