Slashdot Mirror


New iPod Checksum Cracked, Linux Supported

An anonymous reader writes "After 36 hours of reverse engineering, the method for producing the checksum on new iPods has been discovered." You can also get linux support working if that's what you crave for your shiny new toy.

12 of 422 comments (clear)

  1. Re:What's the draw? by Lumpy · · Score: 4, Informative

    It's compatability with 3rd party devices.

    I can take an iPod plug it into a connector in my car and completely control it from my steering wheel and see the info on the stereo's display. works perfectly. I can do the same with my Crestron Whole house audio system, my alarm clock, etc...

    No other mp3 player on the market can do that. NONE. Apple opened up the connector interface and had a rs232 control interface down in that connector so other devices can control it, All other mp3 makers sit in the corner curled up screaming "MINE MINE!" or are not smart enough to think about 3rd party control like that.

    That is why I use it, my daughter uses it, and I reccomend the iPod to all my clients what are doing whole house automation and audio integration. Only the ipod can do advanced integration that is seamless from the car to the home to the bedroom. (even the wife if you buy a iGazim attachment)

    That is why.

    --
    Do not look at laser with remaining good eye.
  2. Re:What's the draw? by leuk_he · · Score: 5, Informative

    I think you do not actually want to put linux on it, i think that the issue here is that the iPod is linux supported, meaning that you can transfer music from and to your linux desktop.

    Linux support is so obvious for 99 out of 100 usb mp3 player out there it is not even worth mentioning. These mp3 players just behave like a generic USB pen disk. That you need a special (circumvention?) program for a iPod is the strange issue here.

  3. Re:What's the draw? by tgd · · Score: 3, Informative

    Here's a few reasons that are valid to those who don't have Macs anyway (and its a no brainer if you use other Apple products):

    1) Easy connection to cars. My iPod plugs into my truck's (factory) radio, and I get all the music info on there as well as easy browsing of the music. All the factory controls work, and its hidden in the glove box.
    2) Lots of 3rd party speaker/dock solutions.
    3) The iPod camera adapter.

    The iPod camera adapter is really a very under-reported item, I think. I recently was in Alaska and didn't want to bring my laptop with me. My iPod has about 25g of free space on it, and I burned through 2/3 of that pulling pictures each day off my two digital cameras, and was able to use it to show pictures to my family (although it'd be nice if they added RAW viewing to it).

    If you use it as a stand alone player in your pocket, then you're absolutely right.

  4. Erm... Quarts-wm? by asphaltjesus · · Score: 3, Informative

    It's an explitive laced how-to, but installing Amarok not hard to do. http://www.junkthatrocks.com/archives/000294.php

    --
    Got Trader Joe's? friendwich.com RSS feeds work now!
  5. Re:usable? by ls+-la · · Score: 5, Informative

    The "Linux support" mentioned in the summary is so that you can use/sync/update the iPod while running linux on your computer, not so that you can run linux on your iPod.
    Although it would be interesting to have an open-source iPod OS...

  6. Re:What's the draw? by nsanders · · Score: 3, Informative

    Never looked at the Sansa's huh? $50-$100 cheaper, they have a voice recorder, SD expansion (extra 2gb of space!), great accessory choices and a great product. The thing I like most is that there's no "disconnecting" with the Sansa. Just unplug it and go.

    When my iPod died I got a Sansa and I love it. My 10gb Sansa (8gb + 2gb SD) cost $100 cheaper than a 4GB Nano.

  7. Re:What's the draw? by walt-sjc · · Score: 4, Informative

    4) Availability of accessories.

    That's huge. You can get iPod interfaces for most higher-end car stereos for example, not to mention the plethora of docks, cases, etc.

  8. Re:usable? by morgan_greywolf · · Score: 5, Informative

    Although it would be interesting to have an open-source iPod OS... Ask and ye shall receive!

  9. Re:What's the draw? by cromar · · Score: 3, Informative

    I think the poster was referring to the iGasm.

  10. Just like Windows by Anonymous Coward · · Score: 4, Informative

    Here is a quick howto on using wtbw's code in linux to use a new generation iPod. I was answering this question repeatedly in IRC, so i decided to post this up:

    1. Download the code.

    2. 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

    3. 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.

    4. 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.
    5. 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.

  11. Re:usable? by dionoea · · Score: 3, Informative

    Rockbox (or iPodlinux) unfortunately don't support the newer iPods (nano 2G and up, ipod classic and ipod touch) since Apple changed most of the hardware and added heavy encryption on the bootloader/firmware update mechanism.

  12. Re:Not a good article by gnasher719 · · Score: 3, Informative

    >> I didn't really understand what the problem was to begin with--that is, exactly what Apple did that was locking Linux et al out of iPod.

    iTunes copies two things onto an iPod when you sync: The files containing music, and a database of those files, so that the iPod can find the music quicker.

    With the new iPods, the database has a checksum, which is based on the contents of the database and the serial number of the iPod. If that checksum is not correct, the iPod will refuse to play any music. Obviously iTunes knows how to calculate the checksum and stores it on the iPod.

    Linux applications that could download music files + database onto an iPod didn't have the code to calculate the checksum, so after using a Linux application to fill a new iPod with music, the iPod wouldn't work. The hack that has been developed within 36 hours is really a hack: First you have to run a program that reads the serial number. Then you modify the hack program by typing in that serial number into the source code. Then you run whatever software you used to copy music onto the iPod. Then compile and run the "hack" program: It will read the database, calculate the checksum and add the checksum to the database, and everything works.

    That is of course a horrible complicated way (for the end user) to do it. Expect all the Linux music players to be updated soon so that all this will happen automatically.