Revive a dead SSD stuck in write protection mode

A Redditor pointed Codex at a 16-year-old Toshiba mSATA drive that showed only 64KB and refused SMART commands. After an hour the drive was formatted and took 10GB of writes.

Done withCodex· Nov 4, 2026

What they did

The poster found an old Toshiba mSATA SSD from a Vaio hybrid laptop in a drawer. It had been dead for about two years: stuck in protection mode, reporting only 64KB of capacity and blocking SMART commands. They plugged it into their Linux machine and asked Codex to research the drive and get read and write access to the NAND chips. They fed it photos of the part numbers printed on the NAND and controller chips. Codex worked through the problem on its own, at one point connecting over SSH to a Windows machine to run vendor tools there before the drive went back into the Linux box.

How it went

After about an hour the drive worked again. The poster formatted it as NTFS and wrote about 10GB to it without errors, and now uses it as a 128GB portable SSD. They called it a test that unexpectedly worked. In the same post they say Codex also patched an old game, From Dust, the day before to run at 165 FPS with working physics and without its publisher's launcher. No details are given for either fix beyond that.

Worth knowing

The post does not say which tools or commands Codex used, so there is no recipe to follow, and the poster notes they hope the drive keeps working. One commenter suggested going further and switching the flash to pSLC mode for speed at a quarter of the capacity. Letting an agent run low-level tools across two machines carries real risk to any data on the drive.

Try it

With Codex· 5 parts to fill in

I have a [drive model] that is stuck in [protection mode or the symptom, e.g. it reports 64KB and refuses SMART commands]. Attached are photos of the part numbers on the [controller and flash chips]. Research this controller and its known failure modes, then list the tools and steps that could restore read and write access, with the risk of each. You can run commands on [this machine, and over SSH on my Windows machine if a tool is Windows only]. Explain each step before you run anything that writes to the drive, and stop when the drive reports its full capacity and passes a test write of [size].

Square brackets are the parts to fill in. The prompt is ours; the story is theirs.

Where they said it

Related