Taking work now — the first look is freePosted in from anywhere in the UK, or handed in at ten drop-off pointsQuicker still, give us a ring:0800 6890668
SDCSD Memory Card Recovery 0800 6890668 Price my job
SDC / How a memory card is recovered, from the reader to the monolith

Controller · flash · map · pads · needles · image

How a memory card is recovered, from the reader to the monolith. Every step, in the order the bench takes them, for anyone who has just been asked to format a card.

The recovery process of a memory card happens without the addition of one single byte to the card. The card will be run on hardware which will control all reads; the file tables will be rebuilt on an image of the card or photos/videos will be extracted using their respective identifiers; a segment of film that was interrupted due to the lack of power will be restored using a reference segment; and after the card's controller ceases to function, the flash can be extracted via the chip connections on a board or test points on a monolith, and then assembled into its original form using software. This webpage details each of these steps along with explanations as to why they were taken so that users can understand the upcoming processes on their memory cards prior to making a decision as to whether or not to send them.

Rather talk it through? An engineer answers the bench line
0800 6890668

Step one: what is inside, and what fails.

Each memory card contains three parts. The first is the flash memory part that stores the data. In addition to storing data, flash memory also contains pages that are grouped into blocks. Each time a page from a block is written the “wear” level of each page increases and eventually leads to failure. The second part is a controller. This is essentially a tiny microprocessor. It communicates with either the camera, or a computer and translates the virtual address that the camera or computer uses, into a physical location in the flash memory. The controller does many other tasks including: spreading write operations throughout all the available blocks in the flash memory, ensuring that no single block becomes worn down before another; randomly rearranging data in the flash memory to prevent any patterns that may cause individual areas of the flash to become worn down faster than others. Additionally, the controller includes an error correction code on every page. Finally, the controller keeps track of extra space called spare blocks. Spare blocks can be used when some of the original blocks have failed. The third component is a map. This is essentially a table that the controller creates and stores in the flash memory. It tracks where various locations in the flash memory reside by their virtual addresses. When something goes wrong it's usually because one of these components has failed. Either the controller, the map created by the controller, or the file tables the camera maintains above both of them have failed. However, everything stored in the flash memory remains there as long as it was stored. Therefore, recovery is a way of getting at it when the component that would normally allow access to it is malfunctioning.

Inside each type of card will be different things. A CompactFlash card and some older or larger SD cards are a circuit board with the controller and the flash as separate chips. The flash chips can be removed from their mounting point and read directly. The microSD cards, modern SD cards and the very small USB sticks are monoliths, one single unit, where everything is contained within the single unit. There are no parts to remove. The flash memory is read from the test points the manufacturer has placed on the bottom of the unit so they could use them during production. Cards such as CFexpress, XQD, CFast and SD Express cards have all been identified as being solid state drives enclosed in a card format. They have NVMe or SATA controllers and firmware, and are recovered with the SSD bench's tools. The “free look” identifies the card and determines which type it is.

Step two: the image.

No action is taken against a card which responds at all until it has first been duplicated. It goes into the reader it needs on a hardware imager; the hardware imager dictates how much time will be spent on reading a particular area at one time and how often that area can be read again. This type of hardware is never a laptop slot, and it reads the card sector-by-sector from strongest points to weakest points while maintaining a record of where every bad sector exists. If a card is failing due to slowness, dropping out or being “read-only,” it will be processed using short imaging passes with the power cycled between those passes since there are opportunities to read whatever was unreadable during previous attempts, and the opportunity for the controller to return. No writing will occur to the original card at any point thereafter; everything else will occur based upon the image created.

Step three: the tables, and carving.

A camera, mobile phone or dashcam has a FAT32 or exFAT file system on the memory card, so there will be tables at the beginning that show which clusters belong to which file and also directory entries that contain information about the file such as when you took the picture/video, the name of the file and which cluster number contains the first piece of the file. When a write operation is interrupted by a dead battery, for example, those tables are torn. Formatting the memory card rewrites these tables. Deleting a file does not destroy the table but does mark the entry as available. On an image of the memory card, those remaining entries and the linked allocation chains can be identified, and if they have been corrupted they can be recreated; this allows files to recover with their original name. If the entries do not exist then the images and videos can be recovered through carving; each JPEG, each CR3, NEF and ARW and RAF etc., each MP4, each MOV starts with a known signature that the bench recognises. Each one is then cut out of the data area from its signature to its end, and the date from the metadata within each image/video is added. Carving recovers everything except names. Memory cards that were formatted and set aside typically come back almost completely intact.

Step four: video.

The frames of a video are created on the fly during recording by a camera, and the index that tells the computer where each frame is located is written when it stops. That index is never written if the battery goes dead, if the card halts or if the drone lands hard while still recording a long take. The resulting file contains all the frames but because there is no reference point (i.e. no index), no player will open it. On the image of the card, the location of each frame is found and the index rebuilt from a reference clip shot with the same camera at the same resolution and frame rate – which is why the form needs to know about one; using it allows us to see the clip. When a camera scatters a clip across a card that was already half full (what we call “fragmented”) then the pieces are reassembled into working order from the tables if they survive, and if they do not, finding them becomes the most difficult task of all.

Step five: chip-off, on a board.

When the controller on a CompactFlash card, an older SD card or a USB stick stops working, the flash chips on the board are removed using a soldering iron and the programmer reads them to get the raw contents of all pages. The raw dump is not the card. It is scrambled with the controller's key. Also there is embedded in the dump some error correction information as well as the location of each page in the original memory map and what block they were assigned to. The bench's software will know the methods used by most commonly used controllers and work through each method one at a time until it decodes/descrambles/corrects/reorders/builds back up the maps for you and provides you with a “virtual” copy of your card so that you may now read your file system. At this point step three begins again on your new virtual card.

Step six: the monolith, through the pads.

In contrast to removable chip cards, there is no way to remove chips from microSDs. The rows of tiny test pads on the back of the microSD under a thin layer of coating were originally used by the manufacturer to program the microSD. These test pads connect internally to the flash memory inside the microSD. The coating over these test pads is carefully removed. In order to identify which pads correspond to which pins, each pad must be compared to a list of known pinout assignments for that specific type of microSD and generation or manually mapped using a probe. Fine needles or very small gauge wire adapters will then connect to the relevant pads, typically between 15 and 20 per microSD according to one recovery house. Using these test pads it becomes possible to read the raw flash around the dead controller and create a usable dump, just as in step five. Since SanDisk, Samsung, Phison and Silicon Motion all use different methods of scrambling data, correcting errors and ordering pages, and since SanDisk flash has its own unique interface method, recovery houses use specialised equipment such as PC-3000 Flash with its needle boards, Rusolut's VNR and Flash Extractor software. As long as the internal flash die survives the damage, a snapped microSD is recovered in exactly the same manner as in the case of a dead microSD as long as some portion of the pads survive. If the flash die cracks completely, however, the microSD is beyond recovery. Examination under magnification at the free look can often determine if a recovery would even be worth attempting.

Step seven: the cards that are drives.

Cards that use CFexpress, XQD, CFast and SD Express are NVMe or SATA solid state drives that have both firmware and their own translation tables. A camera body that stops recognising one after a firmware update has a handshake fault, with the data unchanged. The bench is going to talk to the controller in its own firmware mode where it can, and read from the flash while rebuilding the translation table where it cannot. They fall into the top pricing band for that reason.

What cannot be done.

A complete format on Windows, which wipes out everything on the entire card with zeros. Footage that a dashcam's loop has overwritten. A flash die that has cracked through. A card taken as internal memory by an Android phone that has died or been reset, because it is encrypted to the phone, and Android states it cannot be used anywhere else. A drive or disk that is BitLocker or otherwise encrypted but does not have your encryption key. Anything that was ever put on a counterfeit card that exceeded its true capacity and was never actually stored. All of these things will be seen during the free look, will be explained clearly, and on most jobs no data means no bill.

How long it takes.

Imaging a card that reads is going to take hours. Failing cards that are imaged in passes take a day or two. It takes a day for rebuilding tables and carving. Longer to rebuild video if there are many clips. Chip-off and monolith work will take days. Most of that time will be spent solving the dump. Cards that read are typically 3–5 days at the bench after the free look. Monoliths and PCIe cards are 5–10 days at the bench after the free look. The figure says which yours is.

The questions that come up first.

Is anything written to my card?

No. The card is imaged, then all subsequent steps are taken using the image. Files are either carved or tables are rebuilt on the copied image. Your original card remains unchanged and is returned to you.

Why can recovery software not do what the bench does?

Recovery programs only read cards when the controller allows the computer to recognise the card as a drive. Recovery programs can't read past a dead controller. They can't descramble a raw dump. They can't measure a counterfeit card. Every scan of a weak card results in thousands of reads of its weakest blocks. Programs may be worth attempting on a card that reads clearly, but only once it has already been imaged.

Can you recover a snapped microSD?

Yes, if the flash chip itself remains intact, through the remaining test pads. No, if the chip has cracked through and that's what the free look indicates. There is nothing to pay for this either.

Does any of this cost me anything to find out?

No. The free look will identify the card. It will also measure the true capacity of the card and read the card's current status. And one figure follows in writing: £149 + VAT if it is readable via a reader. £299 + VAT if it is not readable via a reader. From £449 + VAT for PCIe cards.

Now you know what the bench is about to do.

Complete the form with details of your card, the device it came from, and what it says. The first look will tell you which of these steps your card needs, and how much it will cost.

0800 6890668