How The First IPod Was Blown Wide Open

If someone makes a device, someone else will want to break it open and run their own software on it. When the original manufacturer is Apple this is never made easy, and as [Daniel Stenberg] reminds us in the case of one of the earlier iPod models it required an unusual approach.

In short, an HTML file was found which triggered a reboot, meaning a buffer overrun had been found in the firmware. After much experimenting, the memory location was found which would flash the backlight, and from there a piece of ARM code could be injected which would dump the firmware very slowly bitwise by flashing the light. Enough code could be extracted to find the address of the USB serial port, allowing new code to be made which dumped the firmware via USB. We remember the earliest models using FireWire instead of USB, so perhaps we can zero in on the 3rd or 4th generation. From there enough could be deduced to run the Rockbox music player firmware. We remember seeing friends doing this back in the day, something which was for a while the height of open-source coolness.

Fast forward twenty years or so, and we’re still covering people chipping away at Apple’s defenses. We don’t know whether a first-generation iPod could run Doom, but we know Rockbox was capable of it on other players.

Classic IPods Are Super Upgradeable In 2022

The classic iPod was the MP3 player to beat back in the day, loaded with storage and with its characteristic click-wheel interface. [Ellie] had an iPod Video laying around, one of the more capable models that came out near the end of the product’s run, and set out upgrading it for duty in the pandemic-wracked badlands of 2022. 

The iPod in question was a 5.5th generation model, prized for being the last to feature the Wolfson DAC with its good audio quality. [Ellie] used the ever-helpful iFixit guide to learn how to disassemble the device safely. Careful hands and a spudger are key to avoid marring the pressed-together metal case.

Once opened, an iFlash Quad board was installed inside that lets the iPod use up to four micro SD cards for storage instead of the original hard disk drive. With two 512 GB cards installed, [Ellie] won’t be short of storage. A new battery was then subbed in, along with a fancy clear front casing for the aesthetic charm of it all.

After the hardware modifications were complete, the iPod needed to be restored with iTunes to start working again. She then installed the open source Rockbox firmware, which opens up the capabilities of the hardware immensely. Perhaps best of all, it can play DOOM! Alternatively, you can use the clickwheel to control the volume on your MacBook if you so desire.

[Ellie’s] project goes to show that modifying an iPod these days can be a fun weekend build thanks to the great software and hardware now available. It’s wonderful to see that the platform still has such great support years after it has been discontinued. If you really want to look back though, take a gander at the early prototype of Apple’s breakout MP3 player.

iPodRPi by production

IPod Mod Puts Pi Zero In New Bod

We sure love to see nicely designed products get a new lease on life. Just as the new Raspberry Pi Zero 2 was being announced, [production] was stuffing an original RPi Zero into an old iPod’s case.

[production] cites several previous, similar projects that showed how to interface with the click-wheel, a perfectly fitting color display from Waveshare, and open-source software called Rockbox to run on the pi. We all stand on the shoulders of giants.

iPodRPi by production interior wiring

Some nice innovations to look for are the Pi Zero’s micro-SD card and a micro-USB charging port aligned to the large slot left from the iPod’s original 40 pin connector. Having access for charging and reflashing the card without opening the case seems quite handy. There’s a nice sized battery too, though we wonder if a smaller battery and a Qi charger could fit in the same space. Check the project’s Hackaday.io for the parts list, and GitHub for the software side of things, and all the reference links you’ll need to build your own. It looks like [production] has plans to turn old iPods into Gameboy clones, you may want to check back for progress on that.

If you just want to rock like it’s 2004, there are options to just upgrade the battery and capacity but keep your vintage iPod too.

Continue reading “IPod Mod Puts Pi Zero In New Bod”

An Epic Quest To Put More Music On An IPod Nano 3G

While many would argue that the original iPod is the most iconic entry in the long and diverse line of digital audio players that Apple released over the years, there must certainly be some consideration for the third generation (3G) iPod Nano. It’s a device that was ahead of its time in many ways, and is still perfectly usable today, although [Tucker Osman] does think it could stand to have its maximum flash storage doubled to 16 GB.

Now, we’d like to tell you that he’s already succeeded in this task. After all, in theory, it should be pretty straightforward: just remove the 8 GB flash chip and replace it with a pin-compatible 16 GB version. But of course, this is Apple we’re talking about. Nothing is ever quite that easy, and it seems that at every turn both the hardware and software in the thirteen-year-old iPod are fighting the change.

It took several attempts before the original flash chip could be swapped out, but eventually [Tucker] and his friend [Wesley] got one to survive the operation. Unfortunately, all they had to show for their effort was an unhelpful error screen.

From here on out the assumption was that they were dealing with a software problem. Luckily the Rockbox bootloader had previously been ported to the 3G Nano, which helped get the ball rolling. The next step would be to patch the Nano’s firmware to accept the ID of the new flash chip, but after a year of work, it’s turned out to be a bit more complicated than that.

[Tucker] hasn’t given up yet, and is actively looking for anyone who’d like to help out with his quest. He’s shared some information with a few like minded individuals on Hackaday.io, and he’s also started a Discord server dedicated to Nano hacking. At this point, it sounds like he’s very close to actually reading data from the 16 GB chip, but there’s still a long way to go before the Nano’s firmware will actually play music from it.

Despite most people now using their smartphones to play music these days, we still see a lot of interest in upgrading and modernizing the iPod. From replacing their original hard drives with micro SD cards to installing a Raspberry Pi Zero in place of the original electronics, hackers are still infatuated with Apple’s legendary media player.

Continue reading “An Epic Quest To Put More Music On An IPod Nano 3G”

Porting Quake To An IPod Classic Is No Easy Task

We didn’t think we’d see another hack involving the aging iPod Classic here on Hackaday again, yet [Franklin Wei] surprises us with a brand new port of Quake for the sixth-generation iPod released some thirteen years ago. Is Quake the new 90s FPS that’ll get put into every device hackers can get their hands on?

The port works on top of RockBox, a custom firmware for the iPod and other portable media players. This isn’t the first game on the device. A source port of Doom has been available for years. [Franklin] decided to use Simple DirectMedia Layer (SDL) to make his job easier. That doesn’t mean this was an easy task though, as [Franklin] describes very interesting bugs that kept him from finishing his work for about two years.

The first problem was that the GCC compiler he was using was apparently not optimizing time-critical sound mixing routines. [Franklin] decided enough was enough and dug into ARM assembly to re-write those parts of the code by hand. He managed to squeeze out a speed increase of about 60%. Even better, he ran into a prime example of a bug that would get triggered by a very specific sound sample length running through his code. Thankfully, with all of that sorted, the port is now released and we can all enjoy cramping our hands around tiny screens to frag some low-poly monsters.

If you need to repair your sixth-generation iPod before you can do that though, no need to worry since they seem to not be so hard to service by yourself. And if the battery life and disk space aren’t quite what they used to be, there’s also the option to bulk it up for winter. Check out the Quake port in action after the break.

Continue reading “Porting Quake To An IPod Classic Is No Easy Task”

Repairdown: Disklavier DKC500RW Control Unit

If you’ve been kind enough to accompany me on these regular hardware explorations, you’ve likely recognized a trend with regards to the gadgets that go under the knife. Generally speaking, the devices I take apart for your viewing pleasure come to us from the clearance rack of a big box retailer, the thrift store, or the always generous “AS-IS” section on eBay. There’s something of a cost-benefit analysis performed each time I pick up a piece of gear for dissection, and it probably won’t surprise you to find that the least expensive doggy in the window is usually the one that secures its fifteen minutes of Internet fame.

DKC500RW installed on right side.

But this month I present to you, Good Reader, something a bit different. This time I’m not taking something apart just for the simple joy of seeing PCB laid bare. I’ve been given the task of repairing an expensive piece of antiquated oddball equipment because, quite frankly, nobody else wanted to do it. If we happen to find ourselves learning about its inner workings in the process, that’s just the cost of doing business with a Hackaday writer.

The situation as explained to me is that in the late 1990’s, my brother’s employer purchased a Yamaha Mark II XG “Baby Grand” piano for somewhere in the neighborhood of $20,000. This particular model was selected for its ability to play MIDI files from 3.5 inch floppy disks, complete with the rather ghostly effect of the keys moving by themselves. The idea was that you could set this piano up in your lobby with a floppy full of Barry Manilow’s greatest hits, and your establishment would instantly be dripping with automated class.

Unfortunately, about a month or so back, the piano’s Disklavier DKC500RW control unit stopped reading disks. The piano itself still worked, but now required a human to do the playing. Calls were made, but as you might expect, most repair centers politely declined around the time they heard the word “floppy” and anyone who stayed on the line quoted a price that simply wasn’t economical.

Before they resorted to hiring a pianist, perhaps a rare example of a human taking a robot’s job, my brother asked if he could remove the control unit and see if I could make any sense of it. So with that, let’s dig into this vintage piece of musical equipment and see what a five figure price tag got you at the turn of the millennium.

Continue reading “Repairdown: Disklavier DKC500RW Control Unit”

Battery Swap Keeps Sansa Clip+ Chugging

You’d be forgiven for not realizing there’s still a diehard group of people out there carrying around dedicated MP3 players. While they were all the rage a decade or so back, most consumers have since moved over to using their handy dandy pocket supercomputer for playing their music. Plus controlling every other aspect of their personal life and finances, of course. Though that’s another story entirely.

But as [Conno Brooks] explained to us, there’s a sizable group of open source fanatics who prefer to store their jams on devices running the Rockbox firmware. Only problem is, some of the desirable Rockbox-compatible players are from the Golden Age of dedicated players, and aren’t getting any younger. In a recent blog post, he briefly goes over his ultimately successful attempt to put a new-made battery into his Sansa Clip+, a particularly desirable player that was released in 2009.

There are a few problems with the procedure that has kept it from being very widespread, according to [Conno]. For one, the Sansa Clip+ is tiny and not easily disassembled without destroying it. Worse, the diminutive 30mm x 36mm x 3mm OEM battery is effectively unobtainium. But ironically he was able to find an even smaller battery which seemed like it should work, assuming he could get it wired up.

The OEM battery on the Clip+ uses three wires, which [Conno] presumed was part of some thermal protection system. He first tried to take the circuit board off the original dead battery and graft it onto the modern cell, but something must have tripped because the resulting Franken-pack didn’t output any voltage. On his second attempt he simply ignored the third wire, and luckily the Clip+ didn’t seem to complain and started up as expected.

[Conno] says there’s some careful flexing required to get the new pack installed and the Clip+ closed properly, and the device’s runtime is somewhat diminished by the new battery’s lower capacity. But if it means another few years of keeping Big Brother out of your digital media habits, he figures it’s a worthy trade.

We’ve actually seen a few hacks now for the Sansa Clip line of players at this point, thanks to its second lease on life as an open source darling; from a slightly less stock-looking battery replacement, to adding a line-in option. When you get sick of listening to Hanson’s discography, you can even boot up what is perhaps the world’s worst port of DOOM.