Open-Source File Carving vs. Hardware Recovery
PhotoRec Alternative for Hardware Failure

PhotoRec is a respected open-source file carving tool maintained by Christophe Grenier at CGSecurity. For logical data loss on a physically healthy drive, it does real work: scanning raw sectors for known file signatures and extracting recoverable data without writing to the source disk. If you accidentally deleted files or formatted a partition on a working drive, PhotoRec and its companion tool TestDisk are legitimate starting points. But if PhotoRec returned thousands of generically named files with no folder structure, produced corrupted outputs, or found nothing at all, the problem is likely below the software layer. File carving cannot fix broken heads, corrupted firmware, or NAND cells erased by TRIM.
When PhotoRec Is the Right Tool
PhotoRec scans a storage device sector by sector, looking for known file signatures (magic numbers like FF D8 FF for JPEG or 50 4B 03 04 for ZIP). When it finds a header, it reads forward until it reaches a matching footer or a predefined maximum file size. This approach works when:
- The drive spins up normally and is detected in BIOS/UEFI with its correct model number and capacity
- Files were stored contiguously (not fragmented across distant sectors). Small files like photos and documents are more likely to be contiguous than large files like videos or database archives
- The target is a mechanical hard drive (HDD), not an SSD. On HDDs, deleted data remains magnetically on the platters until overwritten. On SSDs with TRIM enabled, deleted data is erased by the controller within seconds
- The drive does not make clicking, beeping, or grinding sounds when powered on
In these scenarios, PhotoRec, TestDisk, R-Studio, and similar tools are appropriate first steps. If you want an alternative free method with more control over the imaging process, our ddrescue guide walks through sector-level cloning with GNU ddrescue on SystemRescue Linux before attempting any carving or filesystem repair.
Why PhotoRec Returns Corrupted or Unnamed Files
The most common complaint from PhotoRec users is a recup_dir folder filled with thousands of generically named files (f0001234.jpg, f0005678.mp4) with no folder hierarchy. Some of these files open correctly; others are corrupted or truncated. This is not a bug in PhotoRec. It is a fundamental limitation of signature-based file carving.
No Folder Structure or Filenames
PhotoRec ignores the filesystem. It does not read the Master File Table (NTFS), File Allocation Table (FAT), or any directory metadata. It scans raw sectors for binary signatures. Because it never consults the filesystem, it cannot know what a file was named, where it was stored, or when it was last modified. Every recovered file gets a sequential numeric name. If you need folder structure preserved, TestDisk (for partition repair) or R-Studio (for MFT reconstruction) are better starting points on a healthy drive.
Fragmented Files Come Out Corrupted
Operating systems do not store every file in a single contiguous block. Large files (videos, ZIP archives, PST mailboxes, virtual machine images) are often scattered across non-contiguous sectors. PhotoRec's carving algorithm reads from the header forward, assuming the next sector belongs to the same file. When it hits data from a different file, it merges it into the output without knowing the boundary. The resulting file has the correct header and extension but contains mixed data from multiple files. This is why recovered MP4 files show visual glitches, ZIP files fail CRC checks, and database files are internally inconsistent.
Massive False Positives
Some file types lack definitive binary signatures. Plain text files, for example, have no magic number header. Random binary data can be misidentified as text, producing thousands of junk .txt files that contain nothing useful. PhotoRec's broad signature database maximizes recall (finds as many potential files as possible) at the expense of precision (many of those "files" are not real). Sorting through thousands of false positives is time-consuming, and there is no automated way to separate genuine recoveries from noise.
Why File Carving Fails on Damaged Media
PhotoRec communicates with the drive through the operating system's storage API. It sends standard read commands, and the OS forwards them to the drive via SATA, NVMe, or USB. If the drive's hardware cannot service those reads, the software is stuck. Here is what happens at each failure point:
Degraded Read/Write Heads
When a head is partially failing, the drive's firmware retries each failed read multiple times before reporting an error to the OS. During those retries, the drive is unresponsive and PhotoRec freezes waiting for a sector response. If the heads are severely damaged, running a full sequential scan forces them across every platter surface. This accelerates scoring of the magnetic coating and can turn a partial failure into a total loss. PC-3000 addresses this by disabling the drive's internal retry logic, controlling read timeouts at the hardware level, and imaging accessible sectors first while skipping bad regions for later passes.
Firmware Corruption
Hard drives store their operating firmware in a reserved area on the platters called the Service Area (SA). If SA modules become corrupted, the drive may spin up but fail to initialize: it could report 0 bytes capacity, show the wrong model name, or enter a BSY (busy) state where it does not respond to any commands. PhotoRec cannot scan a drive that has not finished its initialization sequence. PC-3000 sends vendor-specific ATA commands (VSCs) directly to the controller to access, read, and repair firmware modules without going through the OS.
Drive Dropping Off the Bus
When a drive encounters persistent read errors, its firmware may reset the SATA or USB interface. The drive disappears from the OS, PhotoRec's scan stops, and you have to reconnect and restart. USB enclosures make this worse: consumer USB-SATA bridge chips have short timeout thresholds and drop the connection when the drive does not respond in time. This is why experienced users clone with ddrescue on a direct SATA connection before attempting any carving.
SMR Drives and Translator Drops
Many modern consumer HDDs (2TB+ portable drives from Seagate, Western Digital, and Toshiba) use Shingled Magnetic Recording (SMR). SMR drives maintain an internal translator that maps logical block addresses (LBAs) to physical locations on overlapping tracks. If this translator becomes corrupted or partially lost, the drive may appear to be the correct capacity but return zeros or stale data for large address ranges. PhotoRec will scan these regions and find nothing, even though the magnetic data is still on the platters. Rebuilding an SMR translator requires firmware-level access through PC-3000.
If PhotoRec freezes, the drive disconnects mid-scan, or you hear clicking: stop the scan and power down the drive. Each read attempt on failing hardware makes the final outcome worse. A drive that clicks or drops off the bus needs hardware-level recovery, not more software scans.
Why PhotoRec Finds Nothing on SSDs
If you ran PhotoRec on an SSD and it returned zero files, the tool is working correctly. The data is gone. Modern operating systems send a TRIM command (SATA) or DEALLOCATE command (NVMe) to the SSD controller the moment a file is deleted or a volume is formatted. This instructs the controller to erase the NAND flash cells that held the file. Unlike a mechanical hard drive where deleted data remains magnetically on the platter until something overwrites it, an SSD with TRIM active erases the cells at the flash level.
TRIM is enabled by default on Windows 7 and later, macOS 10.10.4 and later, and most Linux distributions with kernel 3.8 and above. If more than a few seconds passed between deletion and powering down the drive, TRIM has run. PhotoRec, Disk Drill, EaseUS, R-Studio, and every other recovery tool will scan those sectors and read only zeros.
The narrow exception is a scenario where TRIM did not execute: the SSD was in an external USB enclosure that does not pass TRIM commands, or the file deletion happened on a system where TRIM was manually disabled. In those cases, the data may still exist on the NAND and PhotoRec can find it. For SSD controller lockups (SATAFIRM S11 mode, SM2258XT 100% active time bug) where the drive is detected but unresponsive, the data is still on the NAND but requires SSD-specific firmware recovery using PC-3000 SSD to push the controller out of its lockup state or read the flash chips directly.
PhotoRec File Carving vs. PC-3000 Lab Recovery
PhotoRec and PC-3000 solve different problems. PhotoRec is free, open-source software that extracts files by signature from a functioning drive. PC-3000 is a PCIe hardware card that communicates with a drive's firmware directly, bypassing the OS. One is not a replacement for the other; they operate at different layers of the storage stack.
Feature Comparison
| Capability | PhotoRec (File Carving) | Lab Recovery (PC-3000) |
|---|---|---|
| Folder structure and filenames | Lost. All output renamed to f0001234.ext in recup_dir folders | Preserved via MFT / FAT / NTFS metadata reconstruction |
| Fragmented files (MP4, ZIP, PST) | Corrupted output. Carver assumes contiguous allocation | Reassembled using filesystem allocation maps and run lists |
| Drive with failing read/write heads | Accelerates damage. Sequential end-to-end scan | Targeted sector reads with head maps and reverse imaging |
| Firmware corruption (wrong capacity, BSY state) | Cannot access drive. Relies on OS device enumeration | Direct vendor-specific commands via PCIe hardware interface |
| SSD after TRIM / DEALLOCATE | Returns zeros. NAND cells already erased by controller | Controller diagnostics applied; recovery depends on TRIM timing |
| Cost | Free (GPL license) | HDD: $100-$2,000. SSD: $200-$1,500. No data, no fee. |
Pricing for Hardware-Level Recovery
PhotoRec is free. Our hardware recovery starts at $100 for HDDs and $200 for SSDs. These solve different problems: PhotoRec works when the drive is healthy and data is logically accessible. We handle cases where the hardware itself has failed. If software can solve your problem, it will cost less. If it cannot, no amount of software will change that. Evaluation is free and there is no charge if we cannot recover your data.
| Service Tier | Price | Description |
|---|---|---|
| Simple CopyLow complexity | $100 | Your drive works, you just need the data moved off it Functional drive; data transfer to new media Rush available: +$100 |
| File System RecoveryLow complexity | From $250 | Your drive isn't recognized by your computer, but it's not making unusual sounds File system corruption. Accessible with professional recovery software but not by the OS Starting price; final depends on complexity |
| Firmware RepairMedium complexity – PC-3000 required | $600–$900 | Your drive is completely inaccessible. It may be detected but shows the wrong size or won't respond Firmware corruption: ROM, modules, or translator tables corrupted; requires PC-3000 terminal access Standard drives at lower end; high-density drives at higher end |
| Head SwapHigh complexity – clean bench surgery50% deposit | $1,200–$1,500 | Your drive is clicking, beeping, or won't spin. The internal read/write heads have failed Head stack assembly failure. Transplanting heads from a matching donor drive on a clean bench 50% deposit required. Donor parts are consumed in the repair |
| Surface / Platter DamageHigh complexity – clean bench surgery50% deposit | $2,000 | Your drive was dropped, has visible damage, or a head crash scraped the platters Platter scoring or contamination. Requires platter cleaning and head swap 50% deposit required. Donor parts are consumed in the repair. Most difficult recovery type. |
Hardware Repair vs. Software Locks
Our "no data, no fee" policy applies to hardware recovery. We do not bill for unsuccessful physical repairs. If we replace a hard drive read/write head assembly or repair a liquid-damaged logic board to a bootable state, the hardware repair is complete and standard rates apply. If data remains inaccessible due to user-configured software locks, a forgotten passcode, or a remote wipe command, the physical repair is still billable. We cannot bypass user encryption or activation locks.
All tiers: Free evaluation and firm quote before any paid work. No data, no fee on simple copy, file system, and firmware tiers. Head swap and surface damage require a 50% deposit because donor parts are consumed in the attempt.
Target drive: The destination drive we copy recovered data onto. You can supply your own or we provide one at cost. For ultra-high-capacity drives (20TB and above), the target drive costs approximately $400+ due to the large media required. All prices are plus applicable tax.
| Service Tier | Price | Description |
|---|---|---|
| Simple CopyLow complexity | $200 | Your drive works, you just need the data moved off it Functional drive; data transfer to new media Rush available: +$100 |
| File System RecoveryLow complexity | From $250 | Your drive isn't showing up, but it's not physically damaged File system corruption. Visible to recovery software but not to OS Starting price; final depends on complexity |
| Circuit Board RepairMedium complexity – PC-3000 required | $600–$900 | Your drive won't power on or has shorted components PCB issues: failed voltage regulators, dead PMICs, shorted capacitors May require a donor drive (additional cost) |
| Firmware RecoveryMedium complexity – PC-3000 required | $900–$1,200 | Your drive is detected but shows the wrong name, wrong size, or no data Firmware corruption: ROM, modules, or system files corrupted Price depends on extent of bad areas in NAND |
| Advanced Board RebuildHigh complexity – precision microsoldering and BGA rework | $1,200–$1,500 | Your drive's circuit board is severely damaged and requires advanced micro-soldering Advanced component repair. Micro-soldering to revive native logic board or utilize specialized vendor protocols 50% deposit required upfront; donor drive cost additional |
Hardware Repair vs. Software Locks
Our "no data, no fee" policy applies to hardware recovery. We do not bill for unsuccessful physical repairs. If we replace a hard drive read/write head assembly or repair a liquid-damaged logic board to a bootable state, the hardware repair is complete and standard rates apply. If data remains inaccessible due to user-configured software locks, a forgotten passcode, or a remote wipe command, the physical repair is still billable. We cannot bypass user encryption or activation locks.
All tiers: Free evaluation and firm quote before any paid work. No data, no fee on all tiers (advanced board rebuild requires a 50% deposit because donor parts are consumed in the attempt).
Target drive: The destination drive we copy recovered data onto. You can supply your own or we provide one at cost. All prices are plus applicable tax.
Data Recovery Standards & Verification
Our Austin lab operates on a transparency-first model. We use industry-standard recovery tools, including PC-3000 and DeepSpar, combined with strict environmental controls to make sure your hard drive is handled safely and properly. This approach allows us to serve clients nationwide with consistent technical standards.
Open-drive work is performed in a ULPA-filtered laminar-flow bench, validated to 0.02 µm particle count, verified using TSI P-Trak instrumentation.
Transparent History
Serving clients nationwide via mail-in service since 2008. Our lead engineer holds PC-3000 and HEX Akademia certifications for hard drive firmware repair and mechanical recovery.
Media Coverage
Our repair work has been covered by The Wall Street Journal and Business Insider, with CBC News reporting on our pricing transparency. Louis Rossmann has testified in Right to Repair hearings in multiple states and founded the Repair Preservation Group.
Aligned Incentives
Our "No Data, No Charge" policy means we assume the risk of the recovery attempt, not the client.
Technical Oversight
Louis Rossmann
Louis Rossmann's well trained staff review our lab protocols to ensure technical accuracy and honest service. Since 2008, his focus has been on clear technical communication and accurate diagnostics rather than sales-driven explanations.
We believe in proving standards rather than just stating them. We use TSI P-Trak instrumentation to verify that clean-air benchmarks are met before any drive is opened.
See our clean bench validation data and particle test videoFrequently Asked Questions
Why are the files recovered by PhotoRec corrupted or unopenable?
Why is PhotoRec not finding any files on my SSD?
Is PhotoRec safe to use on a clicking hard drive?
What is the difference between PhotoRec and TestDisk?
What is the best alternative to PhotoRec for data recovery?
Related Recovery Resources
Full HDD recovery service overview
SSD firmware and controller recovery
When commercial GUI recovery software fails
When to use each approach
Safe ddrescue cloning for mild drive failures
Transparent cost breakdown
PhotoRec did not work and your drive sounds wrong?
Free evaluation, no data no fee. Ship your drive to our Austin lab and we will diagnose the hardware fault before you owe anything.