Wireless iPhone sync with Amarok in 10 minutes
The following guide allows you to wirelessly sync an iPhone with Amarok in Ubuntu 7.10, including:
- adding, editing and playing songs to the iPhone
- creating and copying playlists to the iPhone
- copy songs from iPhone to the Amarok library
It takes less than 10 minutes, and is completely graphical.
Updated: no need for Terminal commands anymore as ipod-convenience will create the necessary symlinks.
Per a lot of my other writing, I’ve added it to the Ubuntu wiki. The guide below is just for iPhone users running Amarok, iPhone Touch and gtkpod users should visit help.ubuntu.com.
Naturally, it requires a jailbroken iPhone.
Set up the iPhone
On your iPhone:
- Click Settings → General and set Auto-lock to Never. This will ensure the iPhone keeps the WiFi connection open.
- Click Settings → WiFi and select your WiFi network. Click the Static button and change the IP Address to something outside the dynamically assigned range of your network. For example, if your wireless router normally assigns 192.168.1.1 - 192.168.1.5, try 192.168.1.10. This will ensure your iPhone is always contactable at the same address for syncing.
- Open Installer.
- Click All Packages → BSD Subsystem → Install
- Click on All Packages → OpenSSH → Install.
- Click on All Packages → JohnTool → Install.
Set up Ubuntu
In Ubuntu:
A third party source provides the ipod convenience package needed to properly mount and unmount an iPhone or iPod Touch, and for gtkpod users, a newer gtkpod that’s required for the iPhone and iPod Touch.
- Click System → Administration → Synaptic Package Manager
Once Syanptic starts, click Settings → Repositories → Third Party Software. Click Add and use deb http://ppa.launchpad.net/ipod-touch/ubuntu gutsy main as the APT line.
- Click Reload
- Install the ipod-convenienceand amarok packages. When asked, enter the IP address of your iPod Touch or iPhone that you selected earlier. When asked for a folder to mount your iPod Touch or iPhone, either leave the default of /media/ipod or another folder if you prefer - just remember to use that folder name for rest of this guide. The package will make the folder for you.
Set up Amarok
- Click Applications → Sound and Video → Amarok
When you first open up Amarok:
- Click Settings → Configure Amarok.
- Choose Media Devices.
- Hit Add Device.
- Select Apple iPod Media Device for the plugin type.
- Point it at your mount point, /media/ipod.
- Back in the main app, click the blue cog icon called Configure Device just above the iPhone or iPod Touch. For Pre-Connect Command, add iphone-mount, for the Post-Disconnect Command, add iphone-umount
That’s all the setup work. From now on, when you need to sync to your iPhone, just
- Run JohnTool on ypour iPhone. This will keep the network connection open while you sync.
- Click Devices → Connect in Amarok. After entering your iPhone password the iPhone will appear in Amarok.
You can now add, edit, and delete music to the iPhone like any other device. Just drag the music files into Amarok, and hit Transfer to move them to your iPhone. When you’re done, stop any music playing from the iPhone and click Disconnect.
Easy as pie.
Update: If music doesn’t show up immediately: this may be due to a bug recent BSD Subsystem packages missing the killall command. If so, download killall for iPhone, move the ‘killall’ file to /usr/bin/on your iPhone, and enable the execute permission.
Simple moderation policy:
- Contribute something
- Justify your opinion
- Be courteous to others



January 7th, 2008 05:19
Be warned, I just tried this and it appears to have borked something - all iPod media can’t be accessed, and iTunes demands that I reflash. I’m using iPod Touch 1.1.1 Jailbroken using jailbreakme.com
It could be that somehow amarok/libgpod didn’t get updated, so it didn’t write the correct hashes, but Amarok correctly read the contents of the iTunes library and synced. No big loss, I’m just reflashing it, but one should keep this in mind that it’s a bit experimental.
Ed:We recently added JohnTool to the tutorial above to stop the iPhone closing the network connection after a few minutes. This should fix your problem.
May 6th, 2008 15:26
does this work on iphone 1.1.4 because i cant get it to.
it just keeps asking for the password. which i already know is alpine. if anybody knows how to do this please let me know