New iPod checksum cracked
September 17th, 2007
Posted by russell
For those who don’t know, Apple had released the new iPods with a checksum to the iPod database that would restrict non-iTunes products from adding music.
However, wtbw of #gtkpod, managed to crack the checksum after only 36 hours. The upshot of this is that people using Linux can now manage their iPods.
From Will’s Home:
- Download the code.
- Plug your ipod in and make sure it is mounted and run:
sudo lsusb -v | grep -i Serial
Look for your iPod device, and the firewireID should be the 16 character long hex string shown.
It should look something like this: 00A1234567891231
- Edit main.cpp in the hash_crack directory and read the commetns at the top. You should insert your firewire ID where the comments specify, then run make to compile the hash program.
- Next, sync your ipod with gtkpod, rhythmbox, banshee or Amarok, or whatever ur used to just like normal. Once this is complete, you should have an ipod with songs on it, that refuses to view the songs. To make it “see” the songs, u need to run the hash program we just compiled on the iTunesDB file. This should happen something like this:
./gethash /path/to/iPod/iPod_Control/iTunes/iTunesDB
This should output the proper hash for the current state of the iTunesDB, as well as the old hash for the previous state of the iTunesDB. We just need the first value.
- Write this new hash value to the proper location in the iTunesDB where the hash is stored at address 0×58 of the iTunesDB file. This can be done with a program such as bvi.
Note: You will need to do the process of getting the hash on your iTunesDB every time you even so much as change a song name, or upload new music or video files.