Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
sincx
Jul 13, 2012

furiously masturbating to anime titties
I've noticed that it's fairly easy to recover accidentally deleted files from spinning hard drives using any decent recovery software (for example, Recuva or Testdisk/Photorec), as long as I don't wait too long after deletion.

But recovering accidentally deleted files from flash drives, SD cards, or SSDs in the same way seems impossible, even if I try to do it right after deletion. The recovery programs can see the files names and meta data, but the recovered files are gibberish. Opening them up in a hex editor shows random bytes.

Why does this happen? Does flash storage do something weird with unallocated sectors or wear leveling that prevents standard data recovery programs from working? I thought that wear leveling, etc. happen only on write, so theoretically recovering deleted files should work in the same way.

Anyone have any ideas?

Adbot
ADBOT LOVES YOU

sincx
Jul 13, 2012

furiously masturbating to anime titties

Don Lapre posted:

Have you tried photorec/testdisk

Unfortunately yes, as I mentioned in the OP. Testdisk has the same behavior as Recuva (sees filenames and metadata, but recovered files are gibberish), and PhotoRec scans but doesn't find files.

  • Locked thread