Site icon Geeknizer

Sync iPhone in Linux [Ubuntu]

iPhone ubuntuiTunes lets you sync everything for iPhone on Windows and Mac. But Apple never talks about Linux/Ubuntu. Here’s a quick tutorial to enable you to sync iPod Touch, iPhone 2g, iPhone 3G, iPhone 3GS having latest firmware 3.1.2, 3.1.3 with your Linux box.

Just a brief on how this works: (Optional, you can ignore this if you are no geek)

This guide is How to Sync (both jailbroken & non-jailbroken) iPhone, iPod Touch on Ubuntu, and similar packages when installed on other Linux Flavors, works flawlessly.

Let’s get started:

Step 1. Add Repository:

sudo add-apt-repository ppa:pmcenery/ppa

and Update the Apt source list

sudo apt-get update

Step 2. Next, we install all the required packages:

sudo apt-get install gvfs gvfs-backends gvfs-bin gvfs-fuse libgvfscommon0 ifuse libgpod-dev libgpod-common libiphone-utils libiphone0 python-iphone libplist++1 libplist-utils python-plist libusb-1.0-0 libusb-1.0-0-dev libusbmuxd1 usbmuxd

Step 3. Let’s Configure Fuse, our interfacing component.  Edit fuse.conf file

gksudo gedit /etc/fuse.conf

Change

#user_allow_other

to

user_allow_other

Save and exit.

Step 4. Next, We modify your user for Fuse so that it can Auto-mount iPhone/iPod Touch on every boot.

Navigate to “System” -> “Administration” -> “Users and Groups”, click on the little key at bottom to unlock it for making changes. Then, select your username (<fx> for me) and click on “Manage Groups”.

Lookout for “fuse” group, double-click  it. Tick the checkbox next to your name in the new popup window. Click on OK and close all dialogs. You’re now in the “fuse” group.

Step 5. Alright, now log out and in again (Reboot is always better)

When you are back into the session, mount the phone as:

$ ifuse /mnt/ipod/

We can also unmount using the following command

$ fusermount -u /mnt/ipod/

Step 6. Let’s prepare ipod itunes directory:

$ mkdir /mnt/ipod/iTunes_Control/Device/

Fetch your UUID (The first number, 40 characters long)

$ lsusb -v | grep -i iSerial

Then, run:

$ ipod-read-sysinfo-extended

[mountpoint here is /mnt/ipod/]

This should generate a file named iTunes_Control/Device/SysInfoExtended.

Make sure it’s not empty and should be a big plist (XML file) with a bunch of info.

$ fusermount -u /mnt/ipod/

Reboot.

Step 7. Hold your breath and Plug the iPod/iPhone, you should see it appear on the desktop and it should now be

*Rhyhmbox is unable to remove music files, use the gtkpod to remove files or add videos to the iPhone.

We write Latest and greatest in TechAppleiPhone, UbuntuOpen SourceProgramming and more @taranfx on Twitter and you can subscribe to us below:

Exit mobile version