Hacker News new | past | comments | ask | show | jobs | submit login
NAND Flash Data Recovery Cookbook (2013) [pdf] (archive.org)
58 points by userbinator on April 3, 2023 | hide | past | favorite | 5 comments



If you're looking to get data back without any hardware hacking, I highly recommend Disk Drill. It's recovered files from microSD cards most of my devices couldn't even detect.


Have you tried PhotoRec/TestDisk, I've found those really handy.

The former extracts files, using file carving, where it looks for magic bytes at the start/end of files,

so even if the file system is corrupt it can still find images etc.


A couple years ago I was trying to extract and interpret information from a NAND flash chip. I was able to get a dump of the bytes, and identified the pages and their spare areas. But I never was able to figure out the logical ordering of the pages. What all the bits in the spare areas meant, which pages were bad, etc. So I never was able to reconstruct a logical view of the disk.

I tried reading datasheets, but they didn't seem to have the full picture. Had I know about this document then I might have had a chance at figuring it out.


The datasheets just tell you how to read the physical structure. How the logical structure maps to that is via the FTL, which is going to be proprietary and need to be reverse-engineered almost 100% of the time.


Gotcha. That's the conclusion I came too as well. Never was able to fully RE it, but maybe someday I'll revisit it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: