Monday, November 8, 2010

Sync iPhone, iPod Touch with Rhythmbox on Ubuntu

Original reference at seadao's comment on Ubuntu Forum.

1: Jailbreak your device install OpenSSH from cydia
2: Change the value of the key 'DBVersion' in /System/Library/Lockdown/Checkpoint.xml (make a backup first!) to 2 (original instruction)
3: Find (/var/mobile/media) itunes_control, and delete it along with all the sym links ex: ipod_control .... if they exist (note an empty itunes_control will be created by firmware, it's a good idea to reboot the device after this)
4: use itunes in windows (i used virtual box NOT OSE, you need usb support), upload 1 mp3 file to the ipod, this will create the new DB
5: install libimobiledevice from ppa:pmcenery/ppa
6: use make install(NOT CHECKINSTALL cmake in not debian rules) to compile usbmuxd from git
git clone git://git.marcansoft.com/usbmuxd.git
cd usbmuxd
mkdir build
cd build
cmake ..
make
sudo make install
7: reboot, ipod will mount and ask if you want to start a music app

Just to add, I jailbroke my iphone 3gs, ios 4.1 with redsn0w for the access to root. Banshee didn't even show iphone connected, while rhythmbox showed it. Rhythmbox gave an error when I attempted to copy a song into iphone. I was sshed into the iphone at that time, so I disconnected. I exited rhythmbox, and ran it again; retried; it worked flawlessly.

No comments:

Post a Comment