How data recovery works in flash memory?
Because just like with magnetic media, normal "formatting" does not actually erase the sectors used for file data until the space needs to be reused. Until that happens, it is generally possible to reconstruct most of the data structures that describe the files, which is what data recovery software is doing.