Thursday, December 29, 2011

[solved] sync iphone in ubuntu linux

Add a Repository

sudo add-apt-repository ppa:pmcenery/ppa
and Update the Apt source list
sudo apt-get update

Install following 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

Edit fuse.conf file




gksudo gedit /etc/fuse.conf


Change   

#user_allow_other


to

user_allow_other

Save and exit.

Modify user for Fuse so that it can Auto-mount iPhone/iPod Touch

go to “System” -> “Administration” -> “Users and Groups”,  unlock it for making changes. Then, select your username and click on “Manage Groups”.
check out 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.

Now reboot

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/

 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 lot of information.

$ fusermount -u /mnt/ipod/
Reboot again.

Step 7.  Plug the iPod/iPhone, you should see it appear on the desktop and it should now be
  • Mounted as-is in Rhythmbox and you can add music files. (it can be slow)
  • Mounted in gtkpod but you’ll have to launch the “ifuse /mnt/ipod”.

thanks to: Geeknizer




No comments:

Post a Comment