Page 1 of 2 12 LastLast
Results 1 to 10 of 87

Thread: HOWTO : ipod touch 3G sync over USB without jailbraking

Hybrid View

  1. #1
    Join Date
    Oct 2009
    Beans
    20

    HOWTO : ipod touch 3G/iphone sync over USB without jailbreaking under Karmic

    Hi everyone,

    After hours of googling, I eventually succeded in setting up an USB connection with my new ipod touch 3G, WITHOUT jailbreaking nor compiling stuff !

    the following PPA saved my life :

    https://launchpad.net/~pmcenery/+archive/ppa?field.series_filter=karmic
    This basically enabled my follow marcan's guide without the compilation steps :
    http://marcansoft.com/blog/2009/10/i...-linux-part-2/
    especially StoneCut 's tutorial (BIG thanks)
    and will provide with gvfs 1.5 which basically enables rhythmbox to mount the ipod/iphone

    All credits should go to
    Paul McEnery, stonecut & marcan


    Here we go :
    1.Add
    deb http://ppa.launchpad.net/pmcenery/ppa/ubuntu karmic main
    to your sources list

    2. Install the following necessary packages
    $ sudo apt-get install gvfs gvfs-backends gvfs-bin gvfs-fuse libgvfscommon0 ifuse libgpod4 libiphone-utils libiphone0 python-iphone libplist++1 libplist-utils python-plist libusb-1.0-0 libusb-1.0-0-udev libusbmuxd1 usbmuxd

    3. Create the ipod mount point with user rw access rights
    $ sudo mkdir /mnt/my_ipod_or_iphone_mount_point
    $ sudo chmod 777 /mnt/my_ipod_or_iphone_mount_point/
    (here, mount point is "ipod" i.e. $ sudo mkdir /mnt/ipod && sudo chmod 777 /mnt/ipod/)

    4. Edit the FUSE config file.
    $ sudo gedit /etc/fuse.conf
    -> Remove the “#” in front of “user_allow_other”, save and exit.
    Next, open “System” -> “Administration” -> “Users and Groups” in Ubuntu Menu. Click on the little key at the bottom to unlock it for making changes. Then, select your username and click on “Manage Groups”.
    Find the “fuse” group and double-click on it. Make a checkmark next to your name in the window that opens. Click on OK and close all dialogs. You’re now in the “fuse” group.
    Next, completely log out and in again – do a reboot to be safe. This is important !
    Open up a terminal again. Let’s verify we’re really in the “fuse” group:

    We can now mount the phone as regular user after connecting it (run “ps ax | grep usbmuxd” to verify that usbmuxd is listening if you want):
    $ ifuse /mnt/ipod/

    We can also unmount as regular user (a sudo shouldn’t be necessary):
    $ fusermount -u /mnt/ipod/

    5. Prepare ipod itunes directory :
    Ok, now mount the device with “ifuse /mnt/ipod/” (if not still mounted) and create the “iTunes_Control/Device” directory:
    $ mkdir /mnt/ipod/iTunes_Control/Device/
    Then, get your UUID:
    $ lsusb -v | grep -i iSerial
    It’s the first number and should be 40 characters long. 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 whatnot; it should be a large-ish plist (XML file) with a bunch of info.
    $ fusermount -u /mnt/ipod/

    6. Reboot your computer

    7. Plug the ipod : you should see it appear on the desktop
    and it should now be
    a/ directly mounted in rhythmbox and you can add music files (transfer rate still slow but acceptable)
    b/ mounted in gtkpod but you'll have to launch the "ifuse /mnt/ipod".
    c/ NOT visible in amarok 2.2.1 and still haven't figured out why...
    rhyhmbox is unable to remove music files, so please use the previous gtkpod part either to remove files or add videos to the ipod.
    Hopefully amarok will handle it soon so everything can be performed from the same app (and gtkpod is a real pain !).

    8. That's all folks

    Hope this helps,
    manuw
    Last edited by manuw2009; January 11th, 2010 at 01:50 PM. Reason: typo errors

  2. #2
    Join Date
    Dec 2007
    Beans
    10

    Re: HOWTO : ipod touch 3G/iphone sync over USB without jailbreaking under Karmic

    Great! Thanks!

    Works on iphone 3g. After restarting Rhythmbox recognized the iphone. It can play songs directly from it. I also could add songs to the phone. It's a little bit slow but even that it's great!

  3. #3
    Join Date
    Dec 2009
    Beans
    1

    Unhappy Re: HOWTO : ipod touch 3G sync over USB without jailbraking

    When I input the string; "$ ifuse /mnt/ipod/" I get an error message that the file is not found. I followed all the steps to this point. Is there something I missed...help...please.

  4. #4
    Join Date
    Oct 2009
    Beans
    20

    Re: HOWTO : ipod touch 3G sync over USB without jailbraking

    Hi Kelito7777,

    You have to create the mount point manually in order to use the ifuse command, e.g :

    $ sudo mkdir /mnt/my_ipod_or_iphone_mount_point

    (here, mount point is "ipod")

    I'm not sure you need it if you're not using gtkpod though (as rhythmbox is recognizing the iphone/touch through gvfs without manually running ifuse).

    Anyway,

    Would anyone have a clue on how to make it work with amarok 2.2.x as well ?
    I believe amarok is running through kde's solid and not gvfs (gnome thingy) which is not seeing the ipod/phone...
    Does anyone have an idea on how to make that work (even through a script) ?
    Thank you in advance
    Last edited by manuw2009; December 18th, 2009 at 09:13 AM.

  5. #5
    Join Date
    Jan 2005
    Location
    West Philly
    Beans
    118
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO : ipod touch 3G sync over USB without jailbraking

    Quote Originally Posted by manuw2009 View Post
    Hi Kelito7777,


    Would anyone have a clue on how to make it work with amarok 2.2.x as well ?
    I believe amarok is running through kde's solid and not gvfs (gnome thingy) which is not seeing the ipod/phone...
    Does anyone have an idea on how to make that work (even through a script) ?
    Thank you in advance
    Or Amarok 1.4... I'm currently syncing my iPod Touch via a Windows VM.
    Registered Linux User #382304

  6. #6
    Join Date
    Aug 2007
    Location
    /dev/null
    Beans
    444
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOWTO : ipod touch 3G sync over USB without jailbraking

    I've added the PPA, but when I try to run the apt-get command, I get a "Couldn't find package libgpod" message...

  7. #7
    Join Date
    Feb 2008
    Beans
    3

    Re: HOWTO : ipod touch 3G/iphone sync over USB without jailbreaking under Karmic

    Works great! I finally have enough iphone functionality in Linux to be useful. Now I need a full iTunes replacement...

    Sandro

  8. #8
    Join Date
    Dec 2006
    Location
    Manila, Philippines
    Beans
    1,886
    Distro
    Ubuntu Development Release

    Re: HOWTO : ipod touch 3G/iphone sync over USB without jailbreaking under Karmic

    Quote Originally Posted by manuw2009 View Post
    Hi everyone,

    After hours of googling, I eventually succeded in setting up an USB connection with my new ipod touch 3G, WITHOUT jailbreaking nor compiling stuff !

    the following PPA saved my life :

    https://launchpad.net/~pmcenery/+archive/ppa?field.series_filter=karmic
    This basically enabled my follow marcan's guide without the compilation steps :
    http://marcansoft.com/blog/2009/10/i...-linux-part-2/
    especially StoneCut 's tutorial (BIG thanks)
    and will provide with gvfs 1.5 which basically enables rhythmbox to mount the ipod/iphone

    All credits should go to
    Paul McEnery, stonecut & marcan


    Here we go :
    1.Add
    deb http://ppa.launchpad.net/pmcenery/ppa/ubuntu karmic main
    to your sources list

    2. Install the following necessary packages
    $ sudo apt-get install gvfs gvfs-backends gvfs-bin gvfs-fuse libgvfscommon0 ifuse libgpod4 libiphone-utils libiphone0 python-iphone libplist++1 libplist-utils python-plist libusb-1.0-0 libusb-1.0-0-udev libusbmuxd1 usbmuxd

    3. Create the ipod mount point with user rw access rights
    $ sudo mkdir /mnt/my_ipod_or_iphone_mount_point
    $ sudo chmod 777 /mnt/my_ipod_or_iphone_mount_point/
    (here, mount point is "ipod" i.e. $ sudo mkdir /mnt/ipod && sudo chmod 777 /mnt/ipod/)

    4. Edit the FUSE config file.
    $ sudo gedit /etc/fuse.conf
    -> Remove the “#” in front of “user_allow_other”, save and exit.
    Next, open “System” -> “Administration” -> “Users and Groups” in Ubuntu Menu. Click on the little key at the bottom to unlock it for making changes. Then, select your username and click on “Manage Groups”.
    Find the “fuse” group and double-click on it. Make a checkmark next to your name in the window that opens. Click on OK and close all dialogs. You’re now in the “fuse” group.
    Next, completely log out and in again – do a reboot to be safe. This is important !
    Open up a terminal again. Let’s verify we’re really in the “fuse” group:

    We can now mount the phone as regular user after connecting it (run “ps ax | grep usbmuxd” to verify that usbmuxd is listening if you want):
    $ ifuse /mnt/ipod/

    We can also unmount as regular user (a sudo shouldn’t be necessary):
    $ fusermount -u /mnt/ipod/

    5. Prepare ipod itunes directory :
    Ok, now mount the device with “ifuse /mnt/ipod/” (if not still mounted) and create the “iTunes_Control/Device” directory:
    $ mkdir /mnt/ipod/iTunes_Control/Device/
    Then, get your UUID:
    $ lsusb -v | grep -i iSerial
    It’s the first number and should be 40 characters long. 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 whatnot; it should be a large-ish plist (XML file) with a bunch of info.
    $ fusermount -u /mnt/ipod/

    6. Reboot your computer

    7. Plug the ipod : you should see it appear on the desktop
    and it should now be
    a/ directly mounted in rhythmbox and you can add music files (transfer rate still slow but acceptable)
    b/ mounted in gtkpod but you'll have to launch the "ifuse /mnt/ipod".
    c/ NOT visible in amarok 2.2.1 and still haven't figured out why...
    rhyhmbox is unable to remove music files, so please use the previous gtkpod part either to remove files or add videos to the ipod.
    Hopefully amarok will handle it soon so everything can be performed from the same app (and gtkpod is a real pain !).

    8. That's all folks

    Hope this helps,
    manuw
    OMG. This actually works.

    Just need to add
    Code:
    sudo
    to
    Code:
    lsusb -v | grep -i iSerial
    Thanks a lot!!!
    MacBook Air 3,1 128gb | Fujitsu Esprimo U9200 | Google Nexus One

    Pinoy ka ba? | Google Profile | Twitter: @AllanCaeg| Identi.ca: allancaeg

  9. #9
    Join Date
    Jan 2008
    Beans
    27

    Re: HOWTO : ipod touch 3G sync over USB without jailbraking

    Kia Ora

    I have had limited success to date with this instructional. I initially had my touch working ok following the instructions but somehow or other I seem to have lost two of the files for synching. In attempting to correct the issue I am now getting the following error that I need assistance to solve;
    E: ipod-convenience: subprocess installed post-installation script returned error exit status 1
    Can somebody please advise me on how I can repair ipod convenience?

    Well I have looked a little deeper and it seems that I have lost two important files that allow transfer of data. When my pod was working correctly (for a short time at least) there were three files in my iPod folder. There is only one now (com.apple.itunes.lock_sync). I gather that the other two were key to getting the files to transfer. At the moment any files I have entered into Rhythmbox are sitting in the playlist on my PC but do not transfer to the pod. The playlist that is on the pod plays and when I disconnect the pod from the PC the playlist dissappears. Has any one got any ideas of what the files that are missing are and how I can get them back?

    I have tried to fix my installation of i_pod Convenience as this seems somehow connected to my issue. I run sudo apt-get -f install and receive the following;
    The following packages were automatically installed and are no longer required:
    linux-headers-2.6.31-14 libnss3-dev libnspr4-dev
    linux-headers-2.6.31-14-generic
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    After this operation, 0B of additional disk space will be used.
    Setting up ipod-convenience (0.11-0ubuntu1) ...
    mkdir: cannot create directory `/home/paul/.gvfs': Permission denied
    dpkg: error processing ipod-convenience (--configure):
    subprocess installed post-installation script returned error exit status 1
    Errors were encountered while processing:
    ipod-convenience
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    Can anybody offer advice?

    Paul V
    Last edited by Paul Vega; January 20th, 2010 at 07:35 AM. Reason: further information

  10. #10
    Join Date
    Feb 2009
    Beans
    85
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Exclamation Re: HOWTO : ipod touch 3G sync over USB without jailbraking

    ok followed all instructions and when doing the command:: ipod-read-sysinfo-extended ipod /mnt/ipod/ :: i get couldnt read xml sysinfo from ipod... why am i getting this error but i get a picture of my ipod on the computer and a picture of a camera that says ipod also? isn't there some easier way to just connect the ipod touch 3 G to linux yet?? i mean we have alot of smart ppl out there hasn't someone figured this out yet??

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •