Thans, i think i get the way to re-generate the HashInfo file from a initialized iTunesDB file now. Just make the iPhone works under iTunes well, if so, i can use the code to generate it. And, i will test it latter, i hope it works.
 
 
2010-05-17

kcynice

From: Christophe Fergeau
Date: 2010-05-17  17:09:44
To: kcynice
Cc: James A R Brown; gtkpod-devel
Object: Re: [Gtkpod-devel] How to generate HashInfo file for iPhone 3gs?
Hi,
2010/5/17 kcynice <kcynice@yahoo.com>:
> Yes, as i know, libgpod 0.7.93 still need to read Device/HashInfo file to
> generate some .itdb files.
> I think what you said might be the 72 bytes hash string section in
> iTunesDB(iTunesCDB for compressed version). Right?
HashInfo contains some data derived from a valid iTunesCDB file (eg
one written by iTunes). This data is then used to generate valid
hashes for any iTunesCDB for this device. Just grep for HashInfo in
libgpod source if you want more details about all of this.
Christophe