Introduction / Why This Is Needed
Data loss on an Android device is a common and unpleasant situation. Accidental file deletion, a factory reset, phone damage, or a virus attack can deprive you of important photos, contacts, documents, and messages. The good news: in many cases, deleted data can be recovered. In this guide, we'll cover proven recovery methods that work on most Android 8.0+ devices. After completing it, you'll be able to restore lost information yourself without resorting to expensive services.
Requirements / Preparation
Before you begin, make sure you have:
- A computer with Windows, macOS, or Linux (for PC-based methods).
- A USB cable (original or high-quality equivalent) to connect your phone.
- USB debugging enabled:
- Go to
Settings→About phone→Build number(tap 7 times). - Go back to
Settings→Developer options→ enableUSB debugging.
- Go to
- Sufficient free space on your computer to save recovered files.
- A chosen recovery method (see below). Prepare the necessary software:
- For the cloud method: access to your Google account.
- For the PC method: Dr.Fone, DiskDigger, or EaseUS MobiSaver (free versions have limitations).
- For the on-device method: DiskDigger or PhotoRec app (requires root for full scanning).
⚠️ Important: Stop using your phone immediately after data loss. Every new record (photo, message, app) reduces the chances of successful recovery.
Method 1: Recovery via Cloud Backup (Google Drive)
If you had synchronization with Google Drive enabled, much of your data may already be stored in the cloud.
Step 1: Check Your Google Backups
- On your computer, open disk.google.com and sign in with the same Google account as on your phone.
- In the left menu, select
Backups(orBackup & sync). - Find the backup for your Android device (usually named by model and date).
- Expand the backup and check if it contains the needed data types:
Photos & videos,Contacts,Calendar,SMS(if the "SMS Backup" app was used).
Step 2: Restore Contacts and Calendar
- Go to contacts.google.com.
- In the left menu, click
Manage→Import. - Select the backup file (usually in
.vcfformat for contacts) from theAndroid/datafolder in your Google Drive backup. - After import, contacts will appear in your account and automatically sync with your phone if sync is enabled.
Step 3: Restore Photos and Videos via Google Photos
- Install the Google Photos app on your phone if you don't have it.
- Sign in with the same Google account.
- Open the menu (three stripes) →
Library→PhotosorCamera. - All photos and videos that were in the cloud will appear in the app. To download them to your device:
- Select the desired files → tap
⋮(three dots) →Save to device.
- Select the desired files → tap
💡 Tip: If the backup was deleted from Google Drive, check the Trash (in Google Drive) — files are stored there for 30 days.
Method 2: Recovery via Computer (ADB and Third-Party Programs)
This method is effective if there's no cloud backup or if data was deleted locally.
Step 1: Install ADB and Drivers
- Download SDK Platform-Tools from the official Android Developer site (developer.android.com/tools/releases/platform-tools).
- Extract the archive to a convenient folder (e.g.,
C:\adb). - Install USB drivers for your device:
- For Samsung: Samsung USB Driver.
- For others: drivers usually install automatically on first connection (if USB debugging is enabled).
Step 2: Verify Device Connection
- Connect your phone to the computer via USB.
- On the phone, allow USB debugging (a pop-up will appear).
- Open Command Prompt (Windows) or Terminal (macOS/Linux) and navigate to the ADB folder:
cd C:\adb - Enter the command:
Your device ID should appear in the list. If it saysadb devicesunauthorized, confirm debugging on the phone.
Step 3: Create an Internal Memory Image (Optional, but Recommended)
For the highest chance of success, create a full data partition copy. This requires root or an unlocked bootloader. If you don't have root, skip this step and move to scanning with programs.
With root:
adb shell
su
dd if=/dev/block/by-name/userdata of=/sdcard/userdata.img bs=4096
exit
exit
adb pull /sdcard/userdata.img C:\recovery\
Without root, you can try scanning directly via ADB, but capabilities are limited.
Step 4: Use a Recovery Program (Example with Dr.Fone)
- Download and install Dr.Fone — Data Recovery (Android) from the official site drfone.wondershare.com.
- Launch the program and select
Data Recovery. - Connect your phone (USB debugging enabled).
- In the program, select file types to scan (e.g.,
Photos,Videos,Contacts,Messages). - Click
Scan. The process may take 10 minutes to several hours depending on memory size. - After completion, review found files (marked as "Recoverable").
- Select the desired ones and click
Recover, specifying a folder on your computer (NOT on the phone!).
⚠️ Important: The free version of Dr.Fone only shows previews. A license is required for actual recovery. Alternatives: DiskDigger (free version for non-root), EaseUS MobiSaver (free limit 500 MB).
Step 5: If Programs Don't Detect Data — Try PhotoRec (Free)
PhotoRec is a powerful free tool but without a graphical interface.
- Download PhotoRec from www.cgsecurity.org.
- Run
photorec_win.exe(Windows) or the equivalent file for your OS. - Select the disk corresponding to your device (often
USBorSD/MMC). - Specify the file system (usually
FAT32orext4for Android). - Choose a folder to save recovered files (on your computer!).
- Start scanning. PhotoRec finds files by signatures (jpeg, png, mp4, doc, etc.). File names will be changed, but content will be preserved.
Method 3: Recovery Directly on the Device (Without a PC)
If a computer isn't available, you can use apps on your phone. Effectiveness is lower, but often works for photos and videos.
Step 1: Install DiskDigger for Android
- Open the Google Play Store.
- Search for DiskDigger Photo Recovery (the free version recovers only cached thumbnails; full recovery requires root or the paid version).
- Install the app.
Step 2: Perform the Scan
- Launch DiskDigger.
- Select file types to search for (
JPG,PNG,MP4,DOC, etc.). - Tap
Start scan. - After completion, mark the desired files (you can preview them).
- Tap
Saveand choose a folder on the phone (recommendedInternal storage/Recovered, not the original folder).
💡 Tip: If your phone doesn't have root, DiskDigger may only find files that were cached (e.g., thumbnails in the gallery). Full memory access requires root.
Step 3: Alternative Apps
- PhotoRec for Android (requires root, a port of classic PhotoRec).
- Undeleter Recover Files & Data (free version with limitations).
- Google Photos: if photos were synced, they might remain in the cloud even after deletion from the phone (see Method 1).
Verifying the Results
After recovery:
- Open the folder where you saved the files on your computer.
- Check integrity: play videos, open documents, import contacts to your phone.
- If files are corrupted (black squares, errors opening), try:
- Other programs (e.g., Stellar Data Recovery for Android).
- Recover from another backup (if multiple exist).
- Ensure recovered data is copied to a safe location (outside the phone).
Common Issues
Issue 1: ADB Doesn't Detect the Device
- Cause: Drivers not installed or USB debugging not authorized.
- Solution: Install drivers for your model. Reconnect the cable, on the phone select
File Transferinstead ofCharging. Restart the ADB server:adb kill-serverthenadb start-server.
Issue 2: Program Finds 0 Files
- Cause: Data was overwritten or encrypted (e.g., on Samsung with encryption enabled).
- Solution: Chances are low. Try PhotoRec — it sometimes finds files that graphical programs miss. If data is critical, contact a professional recovery service.
Issue 3: Recovered Files Won't Open
- Cause: Files are damaged or partially overwritten.
- Solution: Use programs for repairing damaged media files (e.g., DivFix++ for video, Stellar Repair for Photo). Unfortunately, if overwriting was intensive, recovery is impossible.
Issue 4: Insufficient Permissions (Root) for Full Scanning
- Cause: Without root, programs cannot read system partitions.
- Solution: If root isn't installed or planned, focus on user partitions (gallery, downloads). For system data (SMS, logs), chances are minimal.
Prevention: How to Avoid Losing Data Again
- Set up automatic backups:
- Google Drive:
Settings→Google→Backup→ enableBack up my phone. - For photos: Google Photos app →
Settings→Backup & sync→ enable.
- Google Drive:
- Use third-party cloud services: Dropbox, Yandex.Disk, Mega — install apps and enable auto-upload for
DCIM,Downloadfolders. - Regularly copy important files to your computer once a month via USB.
- Don't delete files without checking: use a Recycle Bin on your phone (if supported) or apps like Dumpster.
- Avoid pirate sites and suspicious APK files — they often contain viruses that delete data.
Final Recommendations
Data recovery on Android is a process that requires patience. Your highest chances of success are if you start actions immediately after loss and haven't used the phone. Start with the cloud backup (Google Drive) — it's the simplest and safest method. If that doesn't work, move to PC methods with ADB and specialized programs. Remember: never save recovered files back to the phone until you've fully verified them — this could overwrite other deleted data. Set up regular backups so you never face this problem again.