FS#35 - "Unsupported checksum type" while trying to transfer songs to iphone 4 with iOS 4.2.1

Attached to Project: libgpod
Opened by Vesa Vilhonen (vvilhonen) - Sunday, 16 January 2011, 15:19 GMT+1
Task Type Bug Report
Category Backend / Core
Status Unconfirmed
Assigned To No-one
Operating System All
Severity Medium
Priority Normal
Reported Version 0.7.9x
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


I get the above mentioned error message after gtkpod seemed to make the transfer of one mp3 song. Libgpod seems to log the unknown value with g_warning, but it's not shown in the console output. How do I enable logging in libgpod?

Versions I tried with:

libgpod 0.8.0, today's git master
libimobiledevice 1.0.4, today's git master
gtkpod 1.0.0, today's git master

Output from gtkpod:

** (gtkpod:6602): WARNING **: Error parsing recent playcounts

** (gtkpod:6602): WARNING **: Error parsing recent playcounts
** Message: DEFAULT PROFILE /home/vesa/usr/share/gtkpod/data/default.profile
** Message: User profile /home/vesa/.gtkpod/gtkpod.profile
** Message: user session profile exists so adding plugins from it
Number of active plugins: 10

** (gtkpod:6602): WARNING **: Error parsing recent playcounts
libitdbprep: itdb_iphone_start_sync called with uuid=de454fbc54c96615b810811955446f791b9ebc04
itdb_iphone_start_sync: posted syncWillStart
itdb_iphone_start_sync: posted syncLockRequest
Locking for sync, attempt 0...
Locking for sync, attempt 1...
itdb_iphone_start_sync: posted syncDidStart

** (gtkpod:6602): CRITICAL **: itdb_splr_validate: assertion `at != ITDB_SPLAT_UNKNOWN' failed
libitdbprep: itdb_iphone_stop_sync called
itdb_iphone_stop_sync: posted syncDidFinish
This task depends upon

Comment by Christophe Fergeau (teuf) - Tuesday, 25 January 2011, 16:41 GMT+1
libgpod can't write to an iPhone 4 at the moment, so the message is expected.
Comment by Peter Schueller (peter_schueller) - Tuesday, 22 February 2011, 22:29 GMT+1
Is the same true for iPod Touch xC544 (4th generation)?
Because with this one I get the same error message "Unsupported checksum type".
Comment by Christophe Fergeau (teuf) - Wednesday, 23 February 2011, 09:53 GMT+1
Yes, this is the expected behaviour with an iPhone4, an iPod Touch 4, an iPad or a Nano 6G
Comment by Peter Schueller (peter_schueller) - Thursday, 03 March 2011, 19:47 GMT+1
Is there a possibility to help you fix this?
Comment by Christophe Fergeau (teuf) - Thursday, 03 March 2011, 23:00 GMT+1
There's a checksum that needs to be computed in order for libgpod to be able to successfuly write to the ipod. Someone needs to figure out how this checksum calculation works, which hasn't been done yet...
Comment by Carlos Moffat (Carlos) - Thursday, 16 June 2011, 04:39 GMT+1
Hey, Christophe,

Do you have a main 'Write Support for iPhone 4' that I can keep track of, or should I open one?
Comment by Christophe Fergeau (teuf) - Thursday, 16 June 2011, 10:06 GMT+1
I guess this bug could be used for that ;)
Comment by Stefan Neufeind (neufeind) - Saturday, 07 January 2012, 12:01 GMT+1
same problem here, nano 6th gen