The Drive Was Formatted, Will the Photos Come Back? An SD Card, Phone, and Computer Recovery Guide

TL;DR: Whether photos will come back after a format depends on the format type and the device's storage technology. A quick format only zeroes out the file table; the data stays on the NAND or HDD platters, and the chance of recovery is high. A full format fills every sector with zeros, and in practice there is no return. On SSDs and modern SD cards, if TRIM is active, the data is genuinely erased within hours. On an HDD there is a chance even months later. The first rule is clear: do not use the device, do not write new data, and bring it to a laboratory as soon as possible.

This article is a support piece, focused on format and photo recovery, for the Data Recovery Guide 2026 pillar article. We look at a technical level at the "I formatted it by accident" scenario on phones, cameras, and computers.

The Difference Between a "Quick Format" and a "Full Format"

"Format" is not a single operation. In practice there are two types, and the chance of return changes entirely depending on which it is.

A quick format zeroes out the file system metadata (FAT, MFT, or the exFAT bitmap). As stated in Microsoft's NTFS documentation, NTFS keeps file records in the $MFT. During a quick format the $MFT is rewritten, but the photo, video, and document contents within the data clusters remain where they are. The same holds for the FAT-based structure described in the exFAT specification: the file table is zeroed, while the raw byte sequence in the clusters stays.

A full format, starting with Windows Vista, writes a zero to every sector. That is, for a 256 GB disk, 256 GB of zeros are written. Because the sectors are physically overwritten, the content is genuinely lost. From this point on, even raw data carving yields no result.

For cameras, phones, and Android, the "format" button is almost always a quick format. On a computer, if the user leaves the "Quick format" box checked, it is again a quick format. This is why most format cases are technically in the recoverable category.

The Chance of Recovery by Device Type

As important as the format type is the second variable: the hardware underlying the storage. An HDD and an SSD respond very differently to the same format command.

HDD (Mechanical Disk)

There is no TRIM command on an HDD. The data written to the magnetic platter remains physically in place until new data is written over it. On an HDD that has had a quick format, tools such as R-Studio, TestDisk, and PhotoRec show a high success rate even months, even years, later. The real risk is new files being written to the disk after the format; every new write may cover the old sectors.

SSD and NVMe

The situation on an SSD is entirely different. The wear leveling and garbage collection mechanisms described in JEDEC's NAND flash standards (jedec.org) mean the SSD controller is constantly reorganizing cells in the background. If the operating system sends a TRIM command during the format, the controller marks these blocks as "erasable" and garbage collection kicks in. Within minutes, the NAND cells are genuinely zeroed. In an SSD format case, early intervention is essential; there is no luxury of saying "we will look tomorrow."

SD Card (Camera and Phone)

An SD card is a small NAND flash system. It has wear leveling, but the implementation of TRIM varies by manufacturer and by card. On most cameras and phones, the SD format command is a quick format, refreshing only the FAT/exFAT table. This is why the success rate with file signature carving is generally high; JPEG and RAW files in particular are extracted easily from signatures.

Phone Internal Storage

On modern phones, internal storage is encrypted. Android 10 and later use file-based encryption, and on the iPhone the Secure Enclave manages the keys. On most models a factory reset is an operation that deletes the encryption key; even if the data is on the NAND, it cannot be decrypted because the key is gone. Moreover, a factory reset triggers TRIM. This is why photo recovery after a factory reset is not possible on most modern devices. Older Android versions (the era when encryption was not mandatory) are the exception.

Camera (DSLR, Mirrorless, Action Cam)

The vast majority of cameras use a removable SD or CF card. If the format was done from the camera menu, it is almost always a quick format. If no new shots were taken on the card, the carving success rate is very high.

"I Formatted It by Accident, What Should I Do?"

The first minutes are decisive. Apply in order:

  1. Do not use the device. If it is a phone, put it in airplane mode; if it is a camera, turn it off; if it is a card, remove it from the computer.
  2. Do not write new files. Even taking a single photo can write over the old sectors.
  3. Turn off synchronization. Google Photos, iCloud, and OneDrive may sync the new state in the background and also update the copy on the cloud side. Cut the connection.
  4. Check disk management. Confirm with Windows Disk Management or macOS Disk Utility that the disk is still recognized, but do not click on the format, initialize, or delete suggestions.
  5. Decide. If there is a quick format and logical damage, recovery software is an option. If physical damage is suspected, go directly to a professional.

Do-It-Yourself vs. Professional Recovery

Logical Damage (Quick Format)

In this category, recovery software works. R-Studio, EaseUS Data Recovery, Disk Drill, and the free PhotoRec/TestDisk are well-known options. There are three critical rules:

  • Do not install the software on the disk to be recovered. Install the system on another computer or a different disk. A program installed on the same disk may cover the sectors you are trying to recover.
  • Write the recovered files to a different destination. Never write back to the same SD card, the same phone, or the same disk.
  • First take a byte-for-byte clone of the disk and perform the recovery on the clone. Not touching the original media at all is the safe path.

Physical Damage

If there is a broken connector, NAND wear, a control chip failure, or water or impact damage, software attempts make the situation worse. If the card says "not recognized," the camera gives a "card error," or the computer warns "please format," the card may also be logically stuck. In a professional laboratory, raw NAND reading is performed with chip-off, JTAG, or control chip adapters. This operation is not a process that can be repeated at home.

What Is File Signature Carving?

Even when the file system metadata (file name, folder structure, size, date) is deleted, every file has its own byte signature. Tools such as PhotoRec scan the disk from beginning to end searching for these signatures:

  • JPEG: the FF D8 FF E0 or FF D8 FF E1 header.
  • PNG: 89 50 4E 47 0D 0A 1A 0A.
  • MP4 and MOV: the ftyp atom header.
  • RAW formats: Nikon NEF, Canon CR2, Sony ARW, Adobe DNG, each with its own TIFF-based signature.
  • Office: DOCX, XLSX, and PPTX are actually ZIP archives, so they begin with 50 4B 03 04.

As a result of carving, the file name is lost; the files generally come out with sequential names such as f000001.jpg and f000002.nef. The content comes through, and the name information has to be edited by hand afterward.

Which File Formats Can Be Recovered?

In practice, a standard laboratory extracts the following formats on a signature basis: JPEG, PNG, HEIC, WebP, GIF, TIFF; RAW (NEF, CR2, CR3, ARW, DNG, RAF, ORF); MP4, MOV, MKV, AVI, 3GP; WAV, MP3, FLAC, AAC; PDF, DOCX, XLSX, PPTX, ODT; PSD, AI, INDD; ZIP, RAR, 7Z. New phone formats (HEIC, HEVC) are supported in the latest-generation carving engines.

A Last Chance for a TRIM-Enabled SSD and SD Card

If TRIM was triggered after the format command, the only thing to be gained is time. Powering off the device (cutting the power) before the SSD controller's garbage collection cycle completes can keep the remaining data on the NAND. In practice:

  • Power off the SSD immediately after the format and unplug the cable.
  • Remove the SD card as well, without writing new data to it.
  • Bring it to a laboratory within hours; the longer you wait, the greater the chance the controller is triggered.

In this process, even plugging the device into a computer to "take a look" can trigger garbage collection.

The Silent Support of Cloud Backup

A significant portion of format cases are actually resolved by checking the cloud backup. Google Photos, iCloud Photos, and OneDrive Camera Roll are active by default for most users. Photos sent to the cloud side before the format generally remain. Points to watch:

  • If synchronization runs two-way, the "empty" state after the format may also be reflected to the cloud. This is why it is important to cut the device's cloud synchronization as soon as you notice the format.
  • Deleted items are generally kept in a "Trash" or "Recently Deleted" folder for 30 to 60 days. Check before this period expires.
  • The fact that your cloud account has logged in to another device may mean the local copies there serve as a backup.

The Professional Recovery Process

In the DSET laboratory, a format case goes through this flow:

  1. Device diagnosis. Is it logical or physical; is it recognized; is the controller healthy?
  2. Cloning. A byte-for-byte image of the original media is taken. All subsequent operations work on this image.
  3. File system rebuild. If the $MFT, FAT, or exFAT bitmap is intact, the metadata is recovered, and the file names and folder structure come back.
  4. Carving. If the metadata was destroyed, a signature-based scan is performed and the files are extracted by type.
  5. Verification. Whether the resulting files open, whether they are corrupted, whether the video frames are complete; every file is checked.
  6. Delivery. The customer sees the results on their own disk, approves them, and then takes delivery.

All stages of the process are detailed in the Data Recovery Guide 2026.

Cost

The cost of format recovery is not a single price tag. The decisive variables:

  • The device type (HDD, SSD, SD, phone).
  • The damage type (logical or physical).
  • The amount of data and the variety of formats requested.
  • Urgency (express service brings an additional cost).

At DSET, the discovery stage is free. If no data comes out, no fee is charged. A price can only be given concretely after the technical diagnosis.

KVKK and Privacy

Photos and phone backups may be of a special category under the Law on the Protection of Personal Data. In line with the data controller obligations the KVKK defines (kvkk.gov.tr), DSET applies the following measures: a written data processing agreement, an NDA, an air-gapped laboratory network, an image destruction protocol after the operation, and no third-party sharing without customer approval.

FAQ

Is there a difference between a quick format and a full format in terms of data recovery?

There is a very large difference. In a quick format the data stays in the sectors, and recovery is generally possible. Because a full format writes a zero to every sector, in practice there is no return.

Will photos come back after a phone factory reset?

On modern Android (10 and above) and all iPhones, because a factory reset deletes the encryption key, the photos cannot be decrypted. On older Android devices, if encryption was not active, there is a chance. The most reliable path is to check the cloud backup and any other devices linked to the account.

The SD card says "please format" and I did not click; is the data there?

Most likely the data is intact. This warning generally indicates that the file system header is corrupted, not that the cells have been zeroed. Do not click, remove the card, and bring it to an expert.

What does "do not install the software on the disk to be recovered" mean?

If you want to recover your C: drive, installing the recovery software on the C: drive means writing the program over the very sectors you want to recover. This destroys part of the recoverable data. The software should always be on a separate disk.

If I intervene immediately on a camera SD, what is the chance?

On an SD that has had a quick format and on which no new shots were taken, if it is brought in within the first hours, the great majority of photos and RAW files can be extracted by carving.

Do the free PhotoRec and TestDisk work?

Yes. They are open-source and technically sound tools. Correct use is critical: run them from a separate computer, write the target to a different disk, and if possible work on a clone of the original media. It requires knowledge and patience; for a critical family archive, a professional is still the safer path.

I reset my iPhone to factory settings; will it come back?

If there is an iCloud backup, it can be restored from there. Local data, because the Secure Enclave key is deleted, will in practice not come back.

Working With DSET

A format case cannot wait. Stop using your device now, do not write new data, and get in touch as soon as possible. For broader context you can read the Data Recovery Guide 2026.

DSET Data Recovery Laboratory Hacettepe Teknokent, Ankara Phone: +90 536 662 38 09 Free discovery; if no data comes out, no fee.


Sources: