Archive for the 'Hacks' Category


Rackmount G4

Monday, April 7th, 2008

Yesterday, I took a trip out to my previous employer’s business to check out an interesting find he stumbled upon in a purchased lot of computer equipment. Among other official Apple-branded machines and workstations were several apparently custom built 3U rackmount G4 servers. I took a bunch of pictures documenting the meticulous overhauls that were done in readying the new machines for about 8 hard drives, plenty of PCI cards, and proper cooling. Judging by the labels left on the converted towers, they were intended to be used as ProTools workhorses, mixing audio and piping effects around someone’s once-elaborate pro audio setup. Aside from the unique form factor (for a Mac-based server, anyway) and the sheer geekiness of such an undertaking, the power controls and cooling system are of particular interest.

The one bit of circuitry in the whole system that makes me question the homebrew nature of these conversions is one tiny power-on board labeled “Marathon”, which connects to the relocated front panel board of the original tower. Several years ago, Marathon Computer offered rackmount conversion kits for Apple’s G3, G4, and even iMac systems. These enclosures happen to look an awful lot like their PowerRack kit, though pictures and documentation are now extremely sparse. I’m interested to hear from anyone familiar with their products if these are in fact Marathon cases, or just re-used parts in a mostly custom Mac system.

To keep the system and its veritable wall of hard drives running cool and trouble-free, large fans were employed in conjunction with a simple, off-the-shelf fan controller which combines the feedback from multiple fans into one monitoring port, complete with overheating alarm and adjustable temperature settings (via jumpers).

For completeness, a SCSI card and stealth serial port were added, leaving room for ProTools PCI audio cards. In its day, this was a screaming system that bested even Apple’s top PowerMac offerings, and would still make for a fairly respectable server today. Someone clearly spent many hours getting the physical layout and electrical systems “just right”, which I thought was well worth preserving and sharing.

iPod 5G Hack: Bluetooth and CompactFlash

Tuesday, February 26th, 2008

Some clever modders at iPodHackers.net have put together a collection of iPod hacks all inside a single 5th generation iPod: Bluetooth audio streaming, CompactFlash solid-state storage, and a translucent replacement enclosure.

Using a tiny Bluetooth circuit to transmit audio to nearby speakers or headphones and a recently released iPod 5G CompactFlash adapter, the hacked-up iPod can now safely store movies and music without fear of the hard drive failing while stashed safely in a pocket. Of particular note is the custom run adapter, which is the first readily available adapter of its kind that allows storage devices other than hard drives to be attached to the ever-shrinking connectors inside the iPod. You can get the full details and photos here, and see more hacks at Instructables.

ZipIt Hacking

Wednesday, May 23rd, 2007

I just picked up a neat little handheld device on eBay, a ZipIt wireless messenger. Originally intended to be used as a portable, wi-fi enabled chatting device for teens, it can also be reflashed to run a tiny distribution of Linux (actually, it already runs Linux, but the reflashed version is considerably more hacker-friendly). I’ve only had it for a few hours now, and I’ve already got Linux flashed, booting, ready, but it looks like it will take extra modification to run something more useful like an SSH client. Telnet works out-of-the-box, but I prefer my connections to be securely encrypted.

I’m not quite sure what I intend to do with it just yet — perhaps a portable email client or SSH server-controller is in store. For $25, though, I couldn’t pass up the opportunity to hack around with such a cool little device.

Some resources I’ve found helpful:

Upgrading iPod Hard Drives

Sunday, March 11th, 2007

A number of people have asked about upgrading iPod hard drives — what to buy, how to prepare, and how to perform the upgrade — so here are all the technical details. If you’ve never worked inside an iPod before, this is certainly an advanced tutorial, but don’t let that scare you. Working slowly and methodically, you too can upgrade your iPod and store even more music, photos, and videos.

What to Buy
Which hard drive to buy depends on your specific iPod model, so like any half-decent attempt at an upgrade, a little research will be necessary before purchasing. The main factor that will affect your decision is the height, or thickness, of both the iPod and hard drive. Since day one of the iPod launch, Toshiba has produced all the hard drives employed in the full size iPod lineup. While they currently enjoy a profitable OEM business agreement with Apple, the drives are in no way exclusive to the iPod, and they can be found in many other products, including (not surprisingly) some Toshiba laptops and (perhaps more surprisingly) Microsoft’s Zune player. To allow for some options in product development, Toshiba’s 1.8″ hard drives come in two thicknesses — the thinner has one physical storage platter inside, and the thicker has two. As technology advances, however, the capacity of each platter increases while the dimensions remain fixed. This is good news for iPod upgraders — the longer you wait, the more you can store.

Apple’s iPods are fairly easy to find a matching replacement/upgrade hard drive for, as you can generally tell which thickness drive you need just by holding the device in your hand. If your iPod was the thicker of the series when you purchased it, it takes the thicker, two-platter hard drive (examples include the higher capacity models such as 40 GB iPod and 60 GB iPod photo). The thinner models (like the 15 GB iPod and 30 GB iPod photo) take the thinner hard drives.

The new iPods with video capability are a different beast, as the drive technology and space requirements have demanded smaller hardware. With that in mind, Toshiba engineered a new connector on recent drives that is vastly smaller than the previous models. These new drives sport a Zero Insertion Force (ZIF) connector, which, unlike the older iPods, requires no pressure to connect the cable. Simply holding the hair-thin ribbon cable in place and folding down a clamp-like lock will secure all 40 pins in a staggeringly small — and fragile! — connector. The connector on the new iPods’ logic boards is now no wider than your thumbnail, and it, too is quite delicate. Such is the way of ever-shrinking consumer electronics.

Tools of the Trade
Before you decide on a hard drive, you’ll also want to purchase a few tools to ensure the job gets done right. While you’re able to pry most iPods apart using a tool as simple as a butter knife, the professionals use the following to make entry, upgrading, and close-up as seamless as possible.

  • Apple’s “black stick”
    This nylon-based pry tool is key to almost any iPod upgrade, as it provides a strong lever to get into the edges of the case, while its plastic properties leave next to no marks or chewed-up spots along the edges. Best bought from Stanley Supply & Services.
  • IC puller or hemostats (both available at your local RadioShack)
    Either of these tools will work for undoing the iPod battery cable and handling some of the smaller pieces of the iPod. Not necessary, but highly recommended if you plan on doing more than one upgrade.
  • A straight razor blade (for 5G iPods)
    I was hesitant to include this, as it’s a recipe for injury if you’re not careful. In the interest of completeness, though, it’s here. The latest iPods are sealed very well, and more often than not they require a very thin and flexible bit of metal to make room for Apple’s Black Stick pry tool.
  • HD adapters from Addonics: 1.8″ to 2.5″ IDE and 2.5″ to 3.5″ IDE
    To do testing or erasing on iPod-size hard drives, these adapters will get your 4G-or-earlier drive hooked up to a desktop computer’s IDE bus. (For 5G iPods, see this post) Also not necessary, but again, these are recommended for advanced testing and erasure.

Picking a Hard Drive
Depending on your iPod thickness and model, you can choose from the hard drives in the table below. Note that some of these models are not used in iPods, but should work just fine (for example, the 20 GB ZIF drive, which will only connect to new iPods which start out at 60 GB from Apple — technically a downgrade, but listed for compatibility information).


Model # Capacity Connector Thickness Supported iPods
MK1011GAH 100 GB ZIF 8mm Thick 5G, 5.5G
MK8007GAH 80 GB Pins 8mm Thick 2G, 3G, 4G, photo
MK8009GAH 80 GB ZIF 8mm Thick 5G, 5.5G
MK6006GAH 60 GB Pins 8mm Thick 2G, 3G, 4G, photo
MK6008GAH 60 GB ZIF 8mm Thick 5G, 5.5G
MK4006GAH 40 GB Pins 8mm Thick 2G, 3G, 4G, photo
MK4008GAH 40 GB ZIF 8mm Thick 5G, 5.5G
MK4007GAL 40 GB Pins 5mm 1G, Thin 2G, 3G, 4G, photo
MK4009GAL 40 GB ZIF 5mm Thin 5G, 5.5G
MK3006GAL 30 GB Pins 5mm Thin 2G, 3G, 4G, photo
MK3008GAL 30 GB ZIF 5mm Thin 5G, 5.5G
MK2004GAL 20 GB Pins 5mm 1G, Thin 2G, 3G, 4G, photo
MK2006GAL 20 GB Pins 5mm 1G, Thin 2G, 3G, 4G, photo
MK2008GAL 20 GB ZIF 5mm Thin 5G, 5.5G
MK1504GAL 15 GB Pins 5mm 1G, Thin 2G, 3G, 4G, photo
MK1003GAL 10 GB Pins 5mm 1G, Thin 2G, 3G, 4G, photo
MK5002MAL 5 GB Pins 5mm 1G, Thin 2G, 3G, 4G, photo
MK5004MAL 5 GB Pins 5mm 1G, Thin 2G, 3G, 4G, photo
Seagate
ST760211DE
60 GB ZIF 5mm Thin 5G, 5.5G


You can find many of the above drives on eBay and online retailers, but the most prevalent ones will be models used in iPods that shipped in the past. I have used non-Apple-branded Toshiba hard drives without issue, confirming that there is nothing particular about them, except an Apple logo on the sticker. Having a third party manufacturer such as Toshiba re-brand a product is nothing new to the computer industry — other big companies like Dell and IBM work deals like this for many components in almost every product.

Hard Drive Preparation
Unlike my iPod Super hack, a replacement iPod hard drive does not require any special formatting or filesystem preparation. In fact, I’ve found that working with a completely empty/zeroed hard drive works best. If you decided to purchase the adapters listed above, you can connect them as detailed in my Really Testing iPod Hard Drives post, and completely erase the hard drive using the handy Darik’s Boot and Nuke utility (see the comments on that post). I’ve found that it works best to have a zeroed hard drive, but it can usually be done without. (The iPod sometimes tries to find software on the hard drive, which may be incorrect for its generation or be corrupted).

Opening the iPod
To get at the old hard drive, you’ll need to open the iPod, which is usually the hardest part of the process. 1G through 4G iPods aren’t as tough as the newer 5G and later iPods, and can be popped open by pushing the metal backing one way while pulling the plastic front the opposite way. In doing so, you create a small gap where you can slide in the nylon pry tool and undo the five plastic clips along one of the two longer sides. The inside top and bottom edges of all iPods are not secured. Other World Computing has some detailed take-apart videos which should help give you a good idea of exactly how to get inside.

To open a 5G or later iPod, try the first technique above, and use a straight razor as a last resort. For the really tough ones, work the sharp edge of a new razor perpendicularly into the side seam where the front plastic and back metal meet. Once wedged between the two halves, tip the dull edge of blade towards the front (towards you), using the iPod’s plastic side as a fulcrum to open a small space to insert the nylon pry tool. This is extremely dangerous! Not only are you working with a super-sharp piece of metal, you’re flexing its brittle structure, which may cause it to shatter — so don’t push too hard. I’ve never gotten cut or had a razor shatter while doing this, but only because I took my time and didn’t get my fingers near the sharp edge. Moving slow and thinking smart (as smart as bending a razor can be) are keys to making this technique work. Once the nylon pry tool is in place and has a little room to work, carefully extract the razor and set it aside. Use the pry tool to work the rest of the side clips open.

The Switch
After cracking the side of the iPod open, carefully disconnect any audio jack or battery ribbon cables attached to the back panel. Undoing these connectors often requires the use of the nylon pry tool again, or careful pulling with hemostats. The hard drive is then exposed. 1G through 4G iPod hard drives can be unplugged by simply pulling the connector straight off the end of the drive, whereas the 5G and later iPods require you to flip up the narrow lever — it hinges lengthwise along the middle — and unlock the cable.

Install the new hard drive in the same direction as the old one, making sure all pins and plastic guides line up perfectly. 5G iPods are especially tricky due to the ZIF connector. Yet again, some tiny tools may come in handy — just be sure to work gently with its delicate ribbon cable. Move the metal back panel close to the iPod and reconnect all the cables you unhooked to get into the device, and snap the panel back onto the plastic clips.

Restoring in Disk Mode
Pressing any button will power on your iPod, and you should be able to hear the new drive spin up. Unless the drive is preloaded with the correct software you will get a “sad iPod” face. This is OK. Reset your iPod using the commands detailed here, and immediately hold the Disk Mode keys as soon as the screen blanks for the reboot. This may take a few tries, but as long as your iPod doesn’t have the correct data on the drive, you’ve got all the attempts you need to get into Disk Mode. When done properly, you’ll see “Disk Mode” at the top of the iPod. You can now plug the freshly upgraded iPod into your computer and launch iTunes. After it’s detected, iTunes may complain about a corrupted iPod, or one that needs to be Restored. Dismiss the dialogs and browse to the Summary tab for the iPod, and click Restore. iTunes will load the proper software onto your iPod, and it will be as good as new — with more capacity!

3/16/08 Update
I added the Seagate ST760211DE 60 GB 5mm drive following a painless drop-in replacement report from Jerry Wnorowski:

Well it finally arrived, and with just a little hesitation, after all this was entirely new ground for me, I installed the 60GB SeaGate Hard Drive into my broken 30GB iPod Video 5.5 Gen. When I plugged it in to my laptop, iTunes said it needed to be restored. I restored it, and it booted and came up in iTunes!!! I loaded my music, and now I have the thinnest 60GB iPod Video in the world!!

(iPod 5G hard drive image borrowed from ArsTechnica)