How to connect iPhone/iPod Touch (Using USB) in Karmic/Jaunty/Intrepid/Hardy
Sponsored Link
iFuse allows you to mount an iPhone or iPod Touch under Linux using the USB cable. You can view and edit the files similar to a normal USB disk drive. iFuse does not require "jailbreaking" or voiding your warranty and works without needing extra software installed on the phone (such as `ssh`).
libiphone is a software library that talks the native Apple USB protocols that the iPhone uses. Unlike other projects, `libiphone` does not depends on using any existing `.dll` or `.so` libraries from Apple.
iFuse is a FUSE filesystem driver which uses `libiphone` to connect to devices without jailbreak. iFuse is using the native Apple "AFC" protocol, over the normal USB cable in order to access the iPhone's (or iPod Touch's) media files under Linux.
Once the iPhone is mounted, you can copy on, or copy off any media files that live inside the `/var/root/Media` chroot directory. This includes photographs and music files.
Install iFuse in Ubuntu
First you need to edit the /etc/apt/sources.list file
sudo gedit /etc/apt/sources.list
Add the following lines
For karmic Users
deb http://ppa.launchpad.net/jonabeck/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/jonabeck/ppa/ubuntu karmic main
For Jaunty Users
deb http://ppa.launchpad.net/jonabeck/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/jonabeck/ppa/ubuntu jaunty main
For Intrepid Users
deb http://ppa.launchpad.net/jonabeck/ppa/ubuntu intrepid main
deb-src http://ppa.launchpad.net/jonabeck/ppa/ubuntu intrepid main
For Hardy Users
deb http://ppa.launchpad.net/jonabeck/ppa/ubuntu hardy main
deb-src http://ppa.launchpad.net/jonabeck/ppa/ubuntu hardy main
Save and exit the file.
Now install gpg key using the following key
sudo apt-key adv
--
recv-keys--
keyserver keyserver.ubuntu.com F0876AC9
Update source list using the following command
sudo apt-get update
Install ifuse using the following command
sudo apt-get install ifuse
Now you can plug in your ipod Touch or Iphone and it will appear in your desktop.
Article source from here
i got it mounted now my only problem is that i don’t know where to put the music
Hallo,
bevor I found this tut, i got an icon named “ipod” an my desktop if i connected my pot.
on klicking nautilus displayd my ipod “new pictures” folder like an normal drive with path”gphoto2://[usb:001,008]/”. There was just this ine folder with “new picuters” -> DCIM/100Apple/” this feels like an camera-folder!?
Now I did the steps on the top if this page.
als steps worked correctly. but … eveything is still like before starttig this tut.
any ideas for me!?
thx cappy
I am trying to use gtkpod to synchronize my Evolution calendar & contacts and Tomboy notes on my iTouch. I’d also like to copy photos & music onto the iTouch as well. I am able to see the iTouch on my computer when I connect using iFuse. I’ve followed the procedure for getting the firewire id & creating a file on the iTouch so when gtkpod starts it should recognize the iTouch [http://gtkpod.wikispaces.com/Sysinfo+File]
Some information:
Linux distrro=> Ubuntu 8.04.3
iFuse=> 0.9.4-1ubuntu3~h
gtkpod=> 0.99.12
iTouch is jailbroken
I’ve noticed the following when trying to make gtkpod work with my iTouch
– the file I created inserts a line with the model number below the firewire id thus making gtkpod not recognize the iTouch
– the files created by gtkpod when the iTouch is connected to my computer are not visible when using the terminal in my jailbroken iTouch to look at directories & I can’t see directories that are on the iTouch using Nautilus when the iTouch is connected.
– When I ran the synchronization prompts in gtkpod (In Tools menu) it put files into the folders on the iTouch when it is connected to the notebook but they do not appear to be on the iTouch.
I’ve been trying to use gtkpod to move data between my iTouch & computer since getting this device as part of an educational program. SO far all I’ve been able to do is see the iTouch on my computer after typing [sudo ifuse /media/ipod]. I have not been able to copy/synchronize calendar, contacts & Tomboy Notes. Has anyone been able to synchronize Evolution data with an iTouch?
I’ve also looked at Conduit to see if that application can be used to synchronize data between Evolution/Tomboy notes & the iTouch. I’ve seen web pages that have iPhone conduits in Conduit but I have not been able to see how to add those choices to the left side.
My goal is to use this iTouch as a PDA containing my calendar, contacts & Tomboy notes along with music, podcasts & photos. I would never had purcahsed the iTouch unless these connectivity issues were already resolved but since it was a part of my tutition bill I am now trying to make this device work with my Linux. Any help is greatly appreciated!
marcus
Ummmm , maybe im doing this wrong but im getting nothing at all when i plug my itouch in, firmware is 3.1.2(jailbroken with blaick rain, and running ifile) , is there some other program that i need to install besides ifuze? cause if there is it would be nice to know what it is, i need this cause my old del laptop doesnt have a cd/dvd burner and it runs xp for i tunes but id like to be able to transer files this way to this ubuntu hardy machine, i find it odd that i can use iphone explorer perfectly between mac and xp without any problems at all.
I got the same error as Rob:
ifuse: symbol lookup error: ifuse: undefined symbol: iphone_device_new
I found I had an old version of libiphone installed in /opt – I removed it and ifuse worked
@Rob
I had to
% apt-get remove libiphone0
% apt-get remove ifuse
then
%apt-get install ifuse
everything then worked.
hi! Im not very familiar with terminal talk and maybe i missed something really obvious in the previous comments… My ipod is a new 32 gig and my ubuntu is a 8.04 mini remix. I installed ifuse through the instructions and it tells me that it worked fine. i even un- and reinstalled it. The usb connexion works fine because the ipod knows hes connected. Its just the computer that sadly fails to notice. It simply doesnt show up- any ideas as to what the problems is? Thankss for anything that helps!!!
Cheers chaps, I had the same problem and removing and replacing ifuse worked!!! Now just got to figure out how to add music to the damned thing!
~Frankie…I use Rhythmbox just fine to put music on & off of my iPhone 3GS.
I have Ubuntu Hardy 8.04 and I have followed these instructions but still can not get IPhone 3GS to mount. When I plug it in all I get is a Camera wizard asking if I want to import photos.
I am sure you have seen noobs before but I believe I take the cake here so any advice would help.
I have seen a few posts about “patches” to the usbmuxd, libiphone and for iFuse. But I do not know where these are or how to update them. I do apologize for my lack of knowledge but I really want to use Linux on a more regular basis….
@Scott I know it seems like a lot to just use your iPhone with Ubuntu but I suggest upgrading to Karmic Koala Ubuntu 9.10. First you will need to upgrade to Intrepid Ibex, then to Jaunty Jackalope, and then finally to Karmic Koala. To upgrade run in the terminal
Update-manager -d
I see your problem is that you need newer packages for this ifuse deal to work. Good luck!
Is this going to mess up anything else I have set up? It took some searching but I was able to get an IBM AS400 terminal session to work on this and would like for it to continue working.
I was a bit skeptical about this one and I was right to be. But maybe I’m wrong so I’m going to try it.
I got iFuse, but the only folder showing up is DCIM (images) folder, and there is no iPod directory in /media instead it is mounted at gphoto2://[usb:001,008]/ and there is only a picture folder.
@Julio: How did you get it working with Rhythmbox?
For all you guys I found the best way to access my ipod touch is to get Ifile from cydia (yes jailbroken) then click the wifi bars on the bottom panel. It will give you an http://**** address type that in your web browser and then you can access all your files. It is quit easy =)
I have same problem – only the picture folder appears. But when I use ifuse to mount the ipod, it is mounted from its root directory.
How can I change the behavior, that the root of the ipod is mounted instead of the picture directory?
If it helps: before using jonabeck’s repository, I installed using the instructions from http://marcansoft.com/blog/2009/10/iphone-syncing-on-linux-part-2/
Cheers,
Rainer
@Salasman: It *just worked.* Although a few days ago it stopped working, with the newest updates to Rhythmbox from Ubuntu it now works just fine again.
I have the same problem as Rich97:
“I got iFuse, but the only folder showing up is DCIM (images) folder, and there is no iPod directory in /media instead it is mounted at gphoto2://[usb:001,008]/ and there is only a picture folder.”
How do I see the rest of the iPhone?
PS I have tried installing ifuse on both Ubuntu 8.10 and Ubuntu 9.10 but I get exactly the smae problem: I can only see the photos folder and nothing else.
This should be added
http://cgsbay.com/ipod-iphone-karmic-koala/
it’s the second half for those that just see the pics
Basically u make a directory with
sudo mkdir /media/iPhone
then mount it
sudo ifuse /media/iPhone
that’s basically it
i got the ifuse directory structure but where to put the video file ??
in which directory
Hi Alex,
Thanks for your help. I tried to mount my iPhone 3GS, version 3.1.2 (7D11), using both commands sudo ifuse media/iPhone and sudo ifuse mount media/iPhone but they both returned the same error message:
Hey Mark,
Try addind your user to the fuse group
go to either preferences or administration (can’t remember which one) then go to users and groups… Press the unlock key at the bottom, then edit groups and add your user to the fuse group, then try again
Let me know how it goes
Hey Alex,
Thanks for getting back to me. I checked and my user name and also root are already in the fuse group.
still nothing
Tried this, and ‘lost’ my music on iphone… Not a problem as i just resynced, but…
I’m having the same problem as Mark with an iTouch running OS 3.1.2 Same error message and everything. I’ve followed all the steps that were laid out above (as well as fixes posted to some other boards) to no avail. Suggestions?
Hey everybody,
Last step is my problem.
(Now you can plug in your ipod Touch or Iphone and it will appear in your desktop.)
I can’t understand it. I’m using Ubuntu 9.10 the Karmic Koala. Please, help me. Thanks in advance.
~dis
I installed ifuse but when I connect my Ipod touch (which is jailbroken by the way), Ubuntu 9.10 recognizes the device as a “medium with digital fotos”. I then proceed to open with Rhythmbox but the Ipod won’t show up in the left pane. I then close Rhythmbox and go to ‘Places/Ipod/’ and a DCIM folder appears. I cannot delete this folder because I get an error: “Error deleting directory: -1: Unspecified error.” Also, the icon for the Ipod on the left pane is that of a camera, not an Ipod!
Can somebody help?
install usbmuxd and then…
sudo usbmuxd -f
then
sudo ifuse /media/iPhone
I followed all the instructions listed on this site and I did get my iPhone 3G to mount but when I try to access the mount I get the following error message:
Could not open location ‘file:///media/iPhone’
Error stating file ‘/media/iPhone’: Permission denied
Thankful for some extra help on this. I was blessed with an iPhone last week and would love to be able to use it with my Ubuntu 9.10