sodcalculator

10 Tech How-To

How to Recover Data from Android After Format

Guide 10-23922 · Updated · Step by step

Formatting your Android device wipes all personal data—photos, contacts, messages, and app files—but that doesn’t always mean it’s gone forever. In many cases, the old data remains on the storage until overwritten by new files, so acting quickly and correctly can bring it back. This guide explains what to do immediately after a format, the best recovery methods for different situations, and how to avoid common mistakes that permanently destroy your chances.

What You’ll Need

  • A computer (Windows, Mac, or Linux) with an internet connection
  • A USB cable compatible with your Android phone
  • Data recovery software (free or paid) installed on the computer—options include DiskDigger, Recuva, PhotoRec, or Dr.Fone
  • If your phone still boots: enable USB debugging in Developer Options (Settings > About Phone > tap Build Number 7 times)
  • If your phone doesn’t boot: a microSD card reader or an OTG adapter to access the storage directly
  • A stable Wi-Fi connection for cloud-based recovery (if applicable)
  • Patience—do not use the phone for anything else until recovery is attempted

Step-by-Step

  1. Stop using the phone immediately. After a format, any new app install, photo, message, or even a system update can overwrite the deleted data. Put the phone in airplane mode and turn off auto-sync, or power it off entirely if you can.
  2. Check cloud backups first. Before any technical recovery, log into Google Photos, Google Drive, or your manufacturer’s cloud (Samsung Cloud, Xiaomi Cloud, etc.) on a computer. Many people format after a factory reset, and often the data was already backed up. Restore from there if available—it’s the simplest and most complete method.
  3. If the phone still boots, enable USB debugging. Go to Settings > About Phone, tap “Build Number” seven times to unlock Developer Options, then go to Settings > Developer Options and enable USB debugging. This allows recovery software to access the internal storage.
  4. Connect your phone to the computer via USB. Choose “File Transfer” or “MTP” mode when prompted. If the phone asks for permission to allow USB debugging, accept it.
  5. Install and run data recovery software on the computer. Download a reputable tool like DiskDigger (for rooted or unrooted devices), Recuva (works with external SD cards), or PhotoRec (free and open-source). Avoid installing the software on the same phone you’re recovering from.
  6. Select your device or SD card as the scan target. In the recovery software, choose the Android phone’s internal storage or the SD card. If the phone isn’t recognized, remove the microSD card (if any) and insert it into a card reader connected to the computer.
  7. Run a deep scan. A quick scan may find recently deleted files, but a deep scan searches for remnants of formatted data. This can take from 30 minutes to several hours depending on storage size. Let it finish completely.
  8. Preview and recover files. After the scan, the software will list recoverable files. Preview photos and documents to verify they’re intact, then select the ones you need and recover them to a folder on your computer—never back to the same phone.
  9. If the phone doesn’t boot, use ADB or a custom recovery. For advanced users, boot into recovery mode (usually Power + Volume Down) and use ADB commands like adb pull to copy data from the /data partition, or use a custom recovery like TWRP to mount and extract files. This requires the bootloader to be unlocked and may void warranty.
  10. Consider professional data recovery services. If the data is critical and software fails, a professional lab can physically read the flash memory chips. This is expensive but sometimes the only option for hardware-damaged devices.

Common Mistakes

  • Using the phone after formatting. Even a single photo or a WhatsApp message can overwrite the exact sectors where your old data resides. The more you use it, the lower your chances.
  • Recovering files back to the same phone. Saving recovered files to the same storage you’re recovering from can overwrite other recoverable data. Always save to a computer or external drive.
  • Ignoring cloud backups. Many people attempt complex recovery when a simple Google Photos login would restore everything. Check cloud services first.
  • Using unreliable or sketchy recovery apps. Some apps claim to recover data but actually install malware or just show fake results. Stick to well-known, reputable software.
  • Formatting again or doing a factory reset after the first format. This destroys any remaining traces. Never format twice hoping to “start fresh” before recovery.
  • Not enabling USB debugging before the format. If you hadn’t enabled it, the computer may not be able to access the internal storage after the format, making software recovery much harder.

Tips

  • Act within 24–48 hours. The longer you wait, the more likely the system will write new data over the old. Time is critical.
  • Use a read-only connection. When connecting to the computer, choose “No data transfer” or “Charge only” if you’re not using software that needs MTP. This prevents accidental writes.
  • For microSD cards, remove them from the phone. If your phone has an external SD card, take it out and use a card reader. This isolates the card and prevents the phone from writing to it.
  • Rooted phones have better chances. If your phone is rooted, recovery software can access the raw NAND flash memory, which increases the chance of recovering formatted data. Rooting voids warranty and has risks, so weigh that carefully.
  • Keep a regular backup routine. The best recovery is not needing one. Set up automatic Google One, Samsung Cloud, or local backups to avoid this situation in the future.

Troubleshooting

  • Computer doesn’t recognize the phone. Try a different USB cable, a different port, or install the phone’s USB drivers. Ensure USB debugging is enabled. If using a card reader, check that the reader works with another card.
  • Recovery software doesn’t see the internal storage. On many modern Androids, the internal storage is encrypted and not accessible via MTP. In that case, you may need to root the device or use a custom recovery. Alternatively, if the data was on an SD card, use a card reader.
  • Scan finds files but they won’t open. This often means the files are corrupted. Try a different recovery tool, or look for the same file in cloud backups. Sometimes the file header is intact, and a hex editor can repair it, but that’s advanced.
  • Phone is stuck in boot loop after format. Don’t panic. Boot into recovery mode (Power + Volume Down) and try “Wipe cache partition” or reflash the stock firmware. This won’t help with data recovery but will get the phone working again. For data, you’d need to extract the storage via custom recovery.
  • Recovery software crashes or takes forever. Close other programs, ensure the phone has enough battery (keep it plugged in), and try a different USB port. If the scan is stuck at a certain percentage, it may be a driver issue—restart and try again.
  • You formatted the SD card in the phone. Remove the SD card and use a card reader on the computer. The phone may have encrypted the card, making it unreadable without the phone. In that case, you’d need to decrypt it first, which usually requires the phone to boot.

Frequently Asked Questions

Can I recover data after a factory reset?

Yes, but it depends. If the reset didn’t overwrite the storage, recovery software can often find old data. On modern phones with encryption and TRIM, the chances are lower, but still worth trying. Cloud backups are the most reliable route.

Is it possible to recover data from a formatted phone without a computer?

Generally no. On-device recovery apps can’t access the storage while the OS is running, and they risk overwriting data. Some apps work if the phone is rooted and you use a custom recovery, but a computer is almost always needed.

How long does data recovery take?

A quick scan can take 10–20 minutes, but a deep scan on a 64GB phone can take several hours. The time depends on the storage size, the software, and the computer’s speed. Patience is essential.

Will rooting my phone help with data recovery?

Yes, rooting gives recovery software raw access to the storage, which can find more data. However, rooting is a complex process that voids warranty and carries risks. Only do it if you’re comfortable with the technical steps.

Can I recover data from a phone with a broken screen?

If the phone still boots and USB debugging is enabled, you can connect it to a computer and use software. If the screen is completely dead, you may need a USB OTG adapter with a mouse to navigate, or use ADB commands if the phone is recognized.

What’s the success rate for recovering data after a format?

It varies widely. On older phones with SD cards and no encryption, success rates can be high. On modern phones with full-disk encryption and TRIM, the data may be permanently gone. There’s no guarantee, but trying is better than giving up.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →