Introduction and Project Summary

Every year, countless people lose access to important files when their USB flash drives suddenly stop working. Whether it’s precious family photos, thesis projects, or critical business documents, the data is often still physically stored on the memory chip. It’s just locked away because the drive’s controller has hung or the filesystem has become corrupted. Your computer says the drive needs to be formatted, but formatting means losing everything.

Our project, FlashRescue, is an affordable, do-it-yourself tool that brings these “dead” USB drives back to life. Professional data recovery services charge anywhere from $300 to $1,500. FlashRescue delivers the same capability for under $75 in hardware.

The system works by sitting between your computer and the corrupted drive. Our custom 6-layer PCB features a TUSB8020B USB 3.0 hub controller for active signal conditioning at 5 gigabits per second, a MOSFET switching circuit that power cycles hung controllers with sub-10-millisecond precision, and an EEPROM for storing recovery parameters. On the software side, our Python-based recovery engine bypasses the filesystem entirely, reading raw sectors directly from the physical device. It reconstructs FAT32 directory structures, follows cluster chains to rebuild files with their original names, and when the filesystem is completely destroyed, it carves files byte by byte using signature detection and entropy analysis.

In testing across drives from SanDisk, Kingston, and Lexar, we achieved 100% file recovery on FAT32 filesystems. Boot sector corruption, quick formats, deleted files, all recovered. The full pipeline images a 64 gigabyte drive in under two minutes and completes end to end recovery in under five.

FlashRescue empowers individuals, students, and small businesses to rescue their files when normal computers have given up entirely.