That Old ThinkPad Needs An Open Source 2.5″ IDE SSD

So you fancy yourself a FOSS devotee, do you? Running GNU/Linux on your old ThinkPad, avoiding devices that need binary blobs? Got LibreBoot installed too? Not bad, not bad. But what about the hard drive? Can you be sure you aren’t leaking some freedoms out of that spinning rust?

Well, worry no more. Thanks to the work of [dosdude1], we now have an open source solid state drive that’s designed to work with any device which originally used a 2.5 inch IDE hard drive. The choice of releasing it under the GPL v3 versus an open hardware license might seem an odd choice at first, but turns out that’s actually what the GNU project recommends currently for circuit designs.

Fair warning: all the chips on the board are BGA.

Which is precisely what we’re talking about here — just a circuit design done up in KiCad. There’s no firmware required, and the PCB features very little beyond the four BGA152/BGA132 NAND flash chips and the SM2236 controller IC. You’ve just got to get the board fabricated, obtain (or salvage) the chips, and suddenly your retro laptop is sporting the latest in mass storage technology.

So how does it work? The SM2236 is actually a CompactFlash (CF) controller, and since IDE and CF interfaces are so similar, the PCB doesn’t have to do much to adapt from one to the other. Sprinkle in a few NANDs, and you’ve got yourself a native SSD suitable for old school machines. [dosdude1] says the board can slot four 64 GB chips, which should be more than enough given the age of the systems this gadget will likely be installed in. There are a few catches though: the NAND chips need to be supported by the SM2236, and they all have to match.

If you need something even smaller, [dosdude1] produced a 1.8 inch SSD using the same techniques back in October of last year.

Continue reading “That Old ThinkPad Needs An Open Source 2.5″ IDE SSD”

The SSD described, a green board with a ZIP connector, a controller chip and two out of four NAND chips populated. There's traces of flux on the chip, as it hasn't been washed after soldering yet.

ZIF HDDs Dying Out? Here’s An Open-Source 1.8″ SSD

A lot of old technology runs on parts no longer produced – HDDs happen to be one such part, with IDE drives specifically being long out of vogue, and going extinct to natural causes. There’s substitutes, but quite a few of them are either wonky or require expensive storage medium. Now, [dosdude1] has turned his attention to 1.8 ZIF IDE SSDs – FFC-connected hard drives that are particularly rare and therefore expensive to replace, found in laptops like the Macbook Air 1,1 2008 model. Unsatisfied with substitutes, he’s designed an entire SSD from the ground up around an IDE SSD controller and NAND chips. Then, he made the design open-source and filmed an assembly video so that we can build our own. Take a look, we’ve put it below the break!

For an open-source design, there’s a respectable amount of work shared with us. He’s reverse-engineered some IDE SSDs based on the SM2236 controller to design the schematic, and put the full KiCad files on GitHub. In the video, he shows us how to assemble this SSD using only a hot air station and a soldering iron, talks about NAND matching and programming software intricacies, and shows the SSD working in the aforementioned Macbook Air. Certainly, assembly would have been faster and easier with a stencil, but the tools used work great for what’s a self-assembly tutorial!

Continue reading “ZIF HDDs Dying Out? Here’s An Open-Source 1.8″ SSD”

M.2 For Hackers – Expand Your Laptop

You’ve seen M.2 cards in modern laptops already. If you’re buying an SSD today, it’s most likely an M.2 one. Many of our laptops contain M.2 WiFi cards, the consumer-oriented WWAN cards now come in M.2, and every now and then we see M.2 cards that defy our expectations. Nowadays, using M.2 is one of the most viable ways for adding new features to your laptop. I have found that the M.2 standard is quite accessible and also very hackable, and I would like to demonstrate that to you.

If you ever searched the Web trying to understand what makes M.2 tick, you might’ve found one of the many confusing articles which just transcribe stuff out of the M.2 specification PDF, and make things look more complicated than they actually are. Let’s instead look at M.2 real-world use. Today, I’ll show you the M.2 devices you will encounter in the wild, and teach you what you need to know to make use of them. In part 2, I will show you how to build your own M.2 cards and card-accepting devices, too!

Well Thought-Out, Mostly

You can genuinely appreciate the M.2 standard once you start looking into it, especially if you have worked with mPCIe devices for some amount of time. mPCIe is what we’ve been using for all these years, and it gradually became a mish-mash of hardly-compatible pinouts. As manufacturers thought up all kinds of devices they could embed, you’d find hacks like mSATA and WWAN coexistence extensions, and the lack of standardization is noticeable in things like mPCIe WWAN modems as soon as you need something like UART or PCM. The M.2 specification, thankfully, accounted for all of these lessons.

Continue reading “M.2 For Hackers – Expand Your Laptop”

Hackaday Links Column Banner

Hackaday Links: August 28, 2022

The countdown for the first step on humanity’s return to the Moon has begun. The countdown for Artemis 1 started on Saturday morning, and if all goes well, the un-crewed Orion spacecraft atop the giant Space Launch Systems (SLS) booster will liftoff from the storied Pad 39B at Cape Canaveral on Monday, August 29, at 8:33 AM EDT (1233 GMT). The mission is slated to last for about 42 days, which seems longish considering the longest manned Apollo missions only lasted around 12 days. But, without the constraint of storing enough consumables for a crew, Artemis is free to take the scenic route to the Moon, as it were. No matter what your position is on manned space exploration, it’s hard to deny that launching a rocket as big as the SLS is something to get excited about. After all, it’s been 50 years since anything remotely as powerful as the SLS has headed to space, and it’s an event that’s expected to draw 100,000 people to watch it in person. We’ll have to stick to the NASA live stream ourselves; having seen a Space Shuttle launch in person in 1990, we can’t express how much we envy anyone who gets to experience this launch up close.
Continue reading “Hackaday Links: August 28, 2022”

SATAn Turns Hard Drive Cable Into Antenna To Defeat Air-Gapped Security

It seems like [Mordechai Guri]’s lab at Ben-Gurion University is the place where air-gapped computers go to die, or at least to give up their secrets. And this hack using a computer’s SATA cable as an antenna to exfiltrate data is another example of just how many side-channel attacks the typical PC makes available.

The exploit, deliciously designated “SATAn,” relies on the fact that the SATA 3.0 interface used in many computers has a bandwidth of 6.0 Gb/s, meaning that manipulating the computer’s IO would make it possible to transmit data from an air-gapped machine at around 6 GHz. It’s a complicated exploit, of course, and involves placing a transmitting program on the target machine using the usual methods, such as phishing or zero-day exploits. Once in place, the transmitting program uses a combination of read and write operations on the SATA disk to generate RF signals that encode the data to be exfiltrated, with the data lines inside the SATA cable acting as antennae.

SATAn is shown in action in the video below. It takes a while to transmit just a few bytes of data, and the range is less than a meter, but that could be enough for the exploit to succeed. The test setup uses an SDR — specifically, an ADALM PLUTO — and a laptop, but you can easily imagine a much smaller package being built for a stealthy walk-by style attack. [Mordechai] also offers a potential countermeasure for SATAn, which basically thrashes the hard drive to generate RF noise to mask any generated signals.

While probably limited in its practical applications, SATAn is an interesting side-channel attack to add to [Dr. Guri]’s list of exploits. From optical exfiltration using security cameras to turning power supplies into speakers, the vulnerabilities just keep piling up.

Continue reading “SATAn Turns Hard Drive Cable Into Antenna To Defeat Air-Gapped Security”

Two revisions of Wenting's custom SSD board - earlier revision on the left, later, sleeker and more complete, on the right.

Custom SSD Gives New Life To Handheld Atom PC

People don’t usually go as far as [Wenting Zhang] has – designing a new IDE SSD board for a portable x86 computer made in 2006. That said, it’s been jaw-dropping to witness the astounding amount of reverse-engineering and design effort being handwaved away.

The Benq S6 is a small MID (Miniaturized Internet Device) with an Atom CPU, an x86 machine in all but looks. Its non-standard SSD’s two gigabytes of storage, however, heavily limit the OS choice – Windows XP would hardly fit on there, and while a small Linux distro could manage better, it’s, and we quote, “not as exciting”. A lot of people would stop there and use an external drive, or a stack of adapters necessitating unsightly modifications to the case – [Wenting] went further and broke the “stack of adapters” stereotype into shards with his design journey.

Tracing quite a few complex multi-layer boards into a unified and working schematic is no mean feat, especially with the SSD PCB being a host to two BGA chips, and given the sheer amount of pins in the IDE interface of the laptop’s original drive. Even the requirement for the SSD to be initialized didn’t stop him – a short fight with the manufacturer’s software ensued, but was no match for [Wenting]’s skills. The end result is a drop-in replacement SSD even thinner than the stock one.

This project is well-documented for all of us to learn from! Source code and PCB files are on GitHub, and [Wenting] has covered the journey in three different places at once – on Hackaday.io, in a YouTube video embedded down below, and also on his Twitter in form of regular posts. Now, having seen this happen, we all have one less excuse to take up a project seemingly so complex.

Hackers play with SSD upgrades and repurposing every now and then, sometimes designing proprietary-to-SATA adapters, and sometimes reusing custom SSD modules we’ve managed to get a stack of. If case mods are acceptable to you aesthetics-wise, we’ve seen an SSD upgrade for a Surface Pro 3 made possible that way.

Continue reading “Custom SSD Gives New Life To Handheld Atom PC”

Xbox Series S Teardown Photo

Xbox Series S Teardown Shows A Glimpse At The Future

Console launch season is upon us. A time for billion dollar corporations ingratiate themselves with “Johnny Consumer” by promising the future of entertainment is finally available to one-and-all. The focus of this new generation of consoles has been the battle for 4K supremacy between Xbox Series X and PlayStation 5. Interestingly, Microsoft also created another iteration of their Xbox Series for those satisfied with games in 1080p, and thanks to [Dimitris] we have been able to see the internals of the Xbox Series S (XSS).

Xbox Series S Teardown SSD Photo
The Xbox Series S features standard m.2 slot that could be used for future storage expansion.

Microsoft’s choice to produce an all-digital console has greatly affected the internal design of the XSS. With the lack of a disc-drive there is only a single cable, the fan cable, tying the components together. The heat sink covering the 197mm² AMD APU takes up nearly 60% of the motherboard surface area. Though the XSS may be diminutive by modern console standards, its cooling fan is huge, somewhere in the 140 mm range. What little space is left by the heat sink and fan assembly is taken up by the internal power supply. As a fun nod, the PSU sports a Master Chief insignia to denote the location of the two-pronged connector beneath.

On the underside of the motherboard lies the biggest surprise of the “little brother” console. The system storage SSD is socketed rather than directly soldered to the board itself. The primary design goal of the XSS was to provide a cheaper alternative for players, but this standard m.2 slot reveals that Microsoft has plans for future expansion. This SSD, while not user-accessible in a traditional sense, will likely provide an alternative method to expanding storage outside of Microsoft’s proprietary external offerings. For a look at the teardown in process, [Dimitris’] video from his Modern Vintage Gamer YouTube channel is below.

Continue reading “Xbox Series S Teardown Shows A Glimpse At The Future”