Skip to content
Linux Heart.
← Back to the archive

Apple sabotage: the iPod can no longer be used with Linux

Apple sabotage: the iPod can no longer be used with LinuxApple has said that users will no longer be able to use iPods with Linux. The approach is simple: it has changed the format of the song-list file. The beginning of that file will now contain a SHA1 hash, which the iPod uses to check whether the file was written by iTunes or by another application.
The file header now looks like this:

MHBD header:
0x00 4 mhbd
0x04 4 header size = 0xBC (changed)
0x08 4 filesize
0x0C 4 unknown = 1
0x10 4 version number = 0x19 (changed)
0x14 4 child count = 0x05 (changed)
0x18 8 itunes databaseid
0x20 2 unknown = 2
0x22 2 unknown = 0x0263 (changed, 0x0000 before)
0x24 8 ipod identification? (changed)
0x2C 4 zero padding
0x30 2 unknown = 1
0x32 20 unknown, changing completely from itdb to itdb
0x46 2 language, seen: de, en
0x48 8 library persistent id
0x50 4 unknown, seen: 1, 5
0x54 4 unknown, seen: 0x08, 0x0D, 0x1D, 0x4D, 0x8D
0x58 20 unknown some similarities between versions
0x6C 4 timezone offset in seconds. +2*60*60 -> 0x00001C20, -4*60*60 = 0xFFFFC7C0 (really?)
0x70 76 zero padding 0x00000000

0x32 and 0x58 are probably those hashes.
Source.

Leave a Comment