iPod Touch iPhone 3G Ubuntu 9.10 in 5 minutes
"Lucid (Ubuntu 10.04) has 'out of the box', zero-configuration support in Rhythmbox for the iPod touch running firmware 3.12/3.13. It does not require jailbreaking, though I have personally discovered it will work with both a "stock" and a jailbroken iPod touch." -Raffisson Studio
Changes (skip this):
- Mar 28, 2010: Added link to French tutorial in step 1.
- Mar 16, 2010: Added Amarok 2.3 notes per Gary
- Feb 23, 2010: Removed "-dev" packages and made some small changes per farfouille64 feedback.
- Feb 19, 2010: Bifster found a similar tutorial. Worth trying if you have issues. Here's the link: easy way to sync your iphone
- Feb 19, 2010: Step 11 added DFB's RythmBox plugin suggestion. Confirmation working with firmware 3.1.3! Thanks DFB!
- Feb 15, 2010: Step 11 added AJ's unicode work-around. Thanks AJ!
- Feb 11, 2010: Step 10 modified to automatically add user to group "fuse". Thanks for the suggestions!
- Feb 11, 2010: Added "-dev" packages back in per feedback. Thanks!
- Feb 4, 2010: Repos changed. Added new packages per Jeff. Thanks!
- Feb 4, 2010: Added unlock per Dagon to Step #8.
- Feb 2, 2010: Added reboot suggestion to step 6 per Hugh.
- Jan 31, 2010: Jon has left a work-around in the comments. Appended as STEP #1. Thanks! This should help fix issues reported with iPhone 3G running 3.1.2 firmware.
- Jan 26, 2010: Many are having issues with these steps and the iPhone 3G running 3.1.2 firmware. The author does not have access to a device to test on, so please post any help. The iPhone 2G with the same firmware seems ok. Please read the comments below.
- Jan 16, 2010: Thanks for suggestions! Updated tutorial to allow iPods with a space or special character in their name by using "$HOME/.gvfs/$ipod_name/" instead of ~/.gvfs/$ipod_name/
- This tutorial is continually improved by feedback from you!
- This tutorial is adapted from here. Credit goes to Paul McEnery, stonecut & marcan and ubuntugeek.com.
- This tutorial was tested on a 1st Generation iPod Touch with the 3rd generation software on it.
- In theory, this should work with all three generation iPod Touch / iPhones.
- This was originally written for Ubuntu 9.10 32-bit on an Acer Aspire Netbook.
- The comments below show that it will work on many other setups. If unsure, ask! :)
- These steps can be adapted to work with Kubuntu by using "konsole" in place of gnome-terminal. "RythmBox" will need to be manually installed, as there seems to be issues with Amarok. If you do wish to use Amarok, 2.3 is reported to work, but you will need to upgrade using the manual upgrade instructions from Kubuntu's web page.
- The commands to copy and paste were intended for the default "bash" shell. If you don't know what this is, then you have nothing to worry about. If you are running a non-standard shell (such as "csh"), please type "/bin/bash" or "/bin/sh" before starting this tutorial.
- If you are troubleshooting and need to jailbreak your iPhone, get blackra1n and install from Windows or Mac.
Steps (start here):
- If you've already tried using the iPhone with other tutorials, try reverting your changes. Andrew has outlined this for us very well here. Follow the first two steps. There is also an official French tutorial here that a 3.1.1 user alviju has had success with.
- Make sure you are connected to the internet.
- Open gnome-terminal through Applications --> Accessories --> Terminal
- Copy / paste the following in the console:
sudo add-apt-repository ppa:pmcenery/ppa; sudo apt-get update; sudo apt-get install gvfs gvfs-backends gvfs-bin gvfs-fuse libgvfscommon0 ifuse libgpod-common libimobiledevice-utils libimobiledevice0 python-libimobiledevice libplist++1 libplist-utils python-plist libusb-1.0-0 libusbmuxd1 usbmuxd; sudo su -c "echo user_allow_other >> /etc/fuse.conf"
- You will be prompted to proceed. Type "Y" for yes and hit enter. This will take about 3 minutes on a broadband connection.
*Note: This will 1. Automatically make the latest ifuse, aka "fusepod" application available for downlolad, 2. Download and install it, 3. Make it available for non-root users.
- Log out of the desktop by clicking the Ubuntu power button in the top Right corner of the desktop and clicking "Log out" (Optionally you may want to reboot).
Note: Hugh only had success on an 8GB iPhone 3G running 3.1.2 after rebooting.
- Log back on to the desktop.
- Unlock and plug-in your iPod Touch / iPhone. You will be prompted several times to open the iPod. Click cancel.
- Open gnome-terminal through Applications --> Accessories --> Terminal
- Create the SysInfoExtended file on the iPod so that application such as RythmBox can use it by copy / paste the following into the console:
sudo adduser "$USER" fuse; echo -e "\n\nPlease type the name of your ipod:"; read ipod_name; mkdir -p "$HOME/.gvfs/$ipod_name/iTunes_Control/Device/"; ipod-read-sysinfo-extended `sudo lsusb -v | grep 'iSerial' | awk 'length($0)>=68' | awk '{print $3}'` "$HOME/.gvfs/$ipod_name/"
- You will be prompted for the name of your iPod Touch / iPhone. This should match the name of the icon on your desktop.
*Note: AJ suggests replacing all apostrophe's in your iPod name with %27. Others suggest right click the desktop icon and copy the name from there.
Example:
AJ'S IPOD
replace with
AJ%27S IPOD
*Note: According to DFB, if you recieve error "can't get debug descriptor: Connection timed out" check the iPod plugin in the RhythmBox plugins list. - Log out and back into the desktop one last time.
- If MP3 support is desired, click this link to enable the "ubuntu-restricted-extras" packages (this can be done at any time).
- Launch RythmBox through Applications --> Sound and Video --> RythmBox. Your iPod should list on the left hand side. Drag files to and from as you would in iTunes.
Note: Jon suggests using a Windows computer with iTunes to add at least one song to the iPhone via iTunes. This has helped some people create the necessary databases and files in the iPhone.
- If you have problems, try restarting your iPhone. If this does not help, please post a comment below.
Additional troubleshooting steps (Thanks TheCaméléon):
- Browse iPod with Nautilus (standard file browser) to clean up files
- Empty Music and the .itlp directory
- Remove iTunesCDB, iTunesDB
- Remove all .ext files
- Tip: TheCaméléon thinks you can access it with Nautilus. He did it with iFile and Terminal. - Add iTunes_Control/Device/Hashinfo with http://ihash.marcansoft.com/
- Add 1 song with iTunes (to re-build it nicely)
- Reboot both computer and iPod (with redsn0w as it's tethered)
- Finally enjoy
Comments
right click "ipod touch" on desktop and click properties.
Write down the folders for the "mount point".
Open GTKpod and go to edit > repositories/ipod
add a new repository and make sure that the mount point is the same as what you just wrote down. If not...change it to that.
Next...on the same screen choose your ipod model.
Close gtkpod and next time you open it, it should show up on the left column with music folders.
-ack
you will still need to hit "load ipod" in gtkpod. and then if prompted, choose the ipod type.
-ack
mkdir: kan inte skapa katalog "/home/xxx/.gvfs/IPODname": Filen eller katalogen finns inte
usage: ipod-read-sysinfo-extended
The procedure will work in Kubuntu but you will need to first install RythmBox.
> sudo apt-get install rythmbox
I will need to test on a Kubuntu Live CD before speaking for Amarok.
-Tre
mkdir: cannot create directory `/home/[user]/.gvfs/[iphone name]': No such file or directory
you more then likely have a space or other irregular character in the name of your phone...
In such a case try :
echo -e "\n\nPlease type the name of your ipod:"; read ipod_name; mkdir -p "~/.gvfs/$ipod_name/iTunes_Control/Device/"; ipod-read-sysinfo-extended `sudo lsusb -v | grep 'iSerial' | awk 'length($0)>=68' | awk '{print $3}'` "~/.gvfs/$ipod_name/"
the only difference is that I've wrapped the paths in double quotes
Good catch. Updated!
-Tres
Thank you. Thank you. Thank you.
echo -e "\n\nPlease type the name of your ipod:"; read ipod_name; mkdir -p ~/.gvfs/"$ipod_name"/iTunes_Control/Device/; ipod-read-sysinfo-extended `sudo lsusb -v | grep 'iSerial' | awk 'length($0)>=68' | awk '{print $3}'` ~/.gvfs/"$ipod_name"/
Please type the name of your ipod:
iPhone
mkdir: cannot create directory `/home/pw/.gvfs/iPhone': No such file or directory
Couldn't read xml sysinfo from 3e137349a60e02e7dd158b90fbb54c184ce09002
Have you tested your method? I'd like to update it, but I don't want to blindly change it again and break it. :)
-Tres
-Tres
1. Unmount the iPhone (Click Places-->Home Folder then click the eject symbol for the iPhone in the left panel)
2. Go into the terminal on the iPhone. Type 'su' and your password (default is "alpine").
3. Type 'chmod 777 -R ./'
4. Continue the instructions above.
3 days is ok... after -> show this error..
I can see the ipod files. the mount is ok, but on Rhythmbox 0.12.5 can't show the music list... 0 tracks, I can't add music to. and the SysInfoExtended is created.
I'm trying to make sense of your message, but the only thing I understand is that it does not work. :)
-Tres
I followed all of your steps, but I'm still having trouble adding music to the iphone using ryhthmbox. The iphone shows up, but it won't let me add files to it.
I'm running Karmic Koala 32 bit and I have an Iphone 3g firmware 3.1.2.
Thanks in advance!
"Extended info will not be used. iPod Database Import Failed." Any ideas?
Thank you so much for your work! I tip my hat to you!
There are still some glitches, though. Synchronization takes forever, as the previous guy said, and I can't seem to find a good place to put my videos... Any tips?
E: /var/cache/apt/archives/libusbmuxd1_1.0.1-0ubuntu1~k_amd64.deb: trying to overwrite '/usr/lib/libusbmuxd.so.1.0.0', which is also in package libusbmux0 0
E: /var/cache/apt/archives/usbmuxd_1.0.1-0ubuntu1~k_amd64.deb: trying to overwrite '/usr/bin/iproxy', which is also in package iproxy 0
Any ideas? I'm a newbie and find it much easier to screw things up than to fix them.
Thanks,
Jason
You can try "sudo apt-get remove --purge NAMEOFPACKAGE" to rid your system of it.
Its hard to know what package put what mismatched versions of those files on your computer.
An alternative to blindly deleting packages is booting from a Live CD 64-bit CD and trying it from scratch (that's how the tutorial was written). If you are happy with the way your iPod works from the Live CD, you may find it easier to simply reinstall Ubuntu. Don't forget to back up your files! :)
-Tres
mkdir: cannot create directory `/home/username/.gvfs/iphone': No such file or directory
Segmentation fault
Any ideas?
I always get the message:
Couldn't read xml sysinfo from MY_SERIAL_NO
MY_SERIAL_NO is actually just a replacement for my device.
What am I doing wrong?
Is there an update?
Cheers
Patrick
A segmentation fault is usually a sign of a crashing application. Can you try it from a Live CD and see if you have any success? Its difficult to know which application is failing. There are others with your phone and your OS that claim to have it working.
@creator79
Try separating out the commands one by one and see which one fails and post back. The commands are separated with semicolons.
-Tres
I back tracked and I noticed people mentioning Gtkpod which i did not have so I installed it (via package manager)
Query gtkpod on the package manager
install gtkpod
rerun step 3
continue from there.
Rhythmbox sees it, but I still can't drag and drop into iPhone 3g 3.1.2
It does work perfect on iPhone 2g with same firmware.
Thanks for the feedback. It appears there are issues with that firmware.
Can you try Dave M's steps here:
http://fatbuttlarry.blogspot.com/2010/01/ipod-touch-iphone-3g-ubuntu-910-in-5.html#comment-8020959747942958352
If it is a permission issue, I'd like to get to the bottom of it. The script could be appended to accommodate this, but I'd like to set the permissions as strictly as needed. Unfortunately, I no longer have a device to test on, so I'll need feedback from people like you. :)
-Tres
After I input the command, I get a blinking yellow cursor and nothing happens. Is the command correct?
Exactly, I can put the song there, but when I disconect the iPhone, the song dissapears :(
I really appreciate all the help on here!
The first impressions:
1.- The tutorial abobe is ok, everithing goes fine.
2.- The problem now is that iPhone 3G not syncing with Rithmbox.
I make some tests and Rithmbox copy all the mp3s to the [MOUNTPOINT]/iTunes_Control/Music/**path but them aren't display in the iPod App.
When I copy the files to the iphone whith RithmBox the iPhone shows me the sync message (like iTunes) but then... the same, nothing apears on iPod App.
Is RithmBox updating de database of music on the iPhone??? Maybe not... solution?
-Tres
http://www.ubuntugeek.com/ipod-touch-3g-sync-over-usb-without-jailbraking-in-ubuntu-karmic.html
Can anyone provide help, please? Thank you so much in advance.
info:
iPod Touch 1st generation
no jailbreak
If you follow the above tutorial it will install a .gvfs folder in Home. Once your iPhone is mounted you should be able to see your iPhone in there and all the applicable folders and files.
But that's where Rhythmbox and my Iphone 3g part ways. Rhythmbox can see it (mounted on left side under devices), but I can't write to it.
I'm pretty sure the problem stems from a permission issue with 3g's. But I'm not positive because if I open up my phone it says I have "mobile" access to all files (read,write,execute). Maybe it should be "root" instead?
I also have a "~" folder in Home but I'm not sure why since there is nothing in there.
Anyone having luck with this?
Permissions could be the problem but i'm not sure. Why?
If you mount your iPhone and enter in your [$HOME]/.gvfs/iPhoneNAME/iTunes_Control/FXX you can see that RithmBox copy the mp3 to that ¿'correct'? folders but... they doesen't appear on iPod App.
Then I think that the problem is the database. Is RithmBox updating it?
1)Don't try to remove and sync music at the same time. It will screw up your cover albums on the ipod.
2)Recommend using .mp3 instead of the Apple original .m4a. When I sync .m4a I had trouble with the ipod playing it.
Recommendations/Suggestions:
1)Faster syncing capabilites. (duh!)
2)Better album cover support syncing, most of the albums I have synced don't show up with album covers. It will show up occasionally if the song has it. For example: I had an album that the album artwork didn't show up in cover flow, well kind of. The first song didn't have the album cover, but all the rest of the album did. So, when those songs came up, the album would show. Otherwise they wouldn't.
Thanks.
Using this, I got my iPod Touch 2G 16GB to work in Ubuntu 9.10.
Rhythmbox recognizes the device and also seems to copy music to it, but after ejecting the iPod, no new music can be found in the library.
But gtkpod can load the iPod and also sync music. It's kinda slow, but I guess that's alright.
Anyway, thank you very much!
-Jörn
sudo apt-get install gtkpod
Refer to my first post on adding the mount point to the repositories.
"If there is a problem with gtkpod finding the ipod...but the ipod is mounted with icon on the desktop...
right click "ipod touch" on desktop and click properties.
Write down the folders for the "mount point".
Open GTKpod and go to edit > repositories/ipod
add a new repository and make sure that the mount point is the same as what you just wrote down. If not...change it to that.
Next...on the same screen choose your ipod model.
Close gtkpod and next time you open it, it should show up on the left column with music folders."
Let me know if this works at all for you guys. Also be sure to specify if you have a 2G or 3G Iphone. It seems that the 2G's are working yet the 3G's are not.
-ack
usage: ipod-read-sysinfo-extended
Also, please post a summary of your configuration.
-Tres
Add one song to the iPhone via itunes first. This will create the necessary databases in the iPhone. Then it should work with rhythmbox.
If I do that, won't iTunes want to restore my iPhone?
Does anyone know how to get the iPhone recognised by the latest version of Banshee (1.6 Beta 4 (1.5.3))? Rhythmbox recognises it perfectly but Banshee is my choice of music player. :-)
Yes it will. But, at least for me, it was worth it.
@ hugh
Banshee does not support the libgpod protocol, meaning that it cannot interface with iPhones. As far as I know your choices are rhythmbox, gtkpod, and amarok. I have read listen may work as well.
I'm pretty sure I have an iTunes data base. When I plug my Iphone in, it gets recognized 3 times. Once as a camera and twice as an iPhone. When I open up the Iphone icon I can add music, movies, etc. I then open the files using iFile from my phone and play using dTunes (not iTunes).
I have a 3g running 3.1.2, it is jailbroken (blackra1n) and unlocked.
I am running karmic koala.
I'd still like to be able to use rhythmbox, but I guess I'll have to settle for dTunes. Either way I wouldn't have gotten this far without this tutorial, so thanks a bunch.
For whats its worth, I was able to do that too before I added a song via iTunes. The issue was just that rhythmbox would not be able to actually add songs since the song databases were not yet created. For example, in /iTunes_Control/Device there should be a file called Hashinfo.
I've appended your success to Step 6.
-Tres
What if I copy and paste a "hashinfo" file from another iPhone into mine, would that work?
Thanks, I really don't want to restore if I don't have to. :)
You need to do more than just create a HashInfo file. Try the following.
This was taken from the comments from http://marcansoft.com/blog/2009/10/iphone-syncing-on-linux-part-2/:
As my iPhone had not yet been synced with iTunes (and probably never will), I got a HashInfo file from ihash.marcansoft.com. Then I cleared out the content of the database (removed Music/*, iTunesCDB, iTunesDB, all .ext files and the .itlp directory). Finally let gtkpod reinit the database, and hey presto, syncs like a dream.
-Tres
So: unlock your iphone, then plug it in after the reboot and it will show up fine.
-Tres
-jweb
Thanks for the feedback. I'm investigating as I type this. If you find a work-around in the mean time, please post. :)
-Tres
sudo apt-get install gvfs gvfs-backends gvfs-bin gvfs-fuse libgvfscommon0 ifuse libgpod-dev libgpod-common libimobiledevice-utils libimobiledevice0 python-libimobiledevice libplist++1 libplist-utils python-plist libusb-1.0-0 libusb-1.0-0-dev libusbmuxd1 usbmuxd
Hope that helps!
-jweb
I don't think you are doing anything wrong. Here's a similar post:
https://answers.launchpad.net/ubuntu/+source/amarok/+question/99413
I'll remove the note about this tutorial working with Amarok until a work-around is achieved. I can't find that damn option either :)
Thanks for the help with the messed up repos and dependency hell. I run that command and get a lot more packages than needed, so I'm trying to tweak it right now.
-Tres
Do you have a clean VM to test this on? If so, I owe you big time. :)
-Tres
sudo add-apt-repository ppa:pmcenery/ppa; sudo apt-get update; 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; sudo su -c "echo user_allow_other >> /etc/fuse.conf"
(I have an iPod Touch 3G and Karmic 64.)
- At first my ipod failed to mount.
- I added myself to fuse in /etc/group, restarted
- I installed the extra "dev" packages mentioned in an earlier comment.
- I invoked "ifuse /mount/point"
- My iSerial had a bunch of errors in the lsusb command, so I propagated the xml file manually using the instructions here and on the ubuntugeeks site.
- Reboot both computer and ipod
- invokved "ifuse /mount/pount" and went into gtkpod and was able to see my libraries and upload to them.
Hope that helps! I'm glad documentation like this exists -- I would have been so lost!
ipod_name: Undefined variable." I don't know any easy fix besides running /bin/sh to get into a Bourne shell first.
BTW, when I only was seeing the camera, I only saw a ".gphoto2..." directory in .gvfs. After I also saw the phone, the ~/.gvfs/iPhone directory appeared. In fact, I think the mkdir did nothing, that whole path already existed.
Now I'm stuck in that RythmBox sees the iPhone but not any music contents and trying to copy music to it silently fails.
(This is with a first gen iPhone running 3.1.3)
In regards to the C shell -- csh -- That's great advice. If the commands were a script, they would automatically chose the correct shell, but since they're not, anyone running a non-standard shell will have to follow your instructions.
I think I'll also have to add the dev repo's previously removed. Hopefully I'll have a device to test on this week as right now I'm working from feedback. Thanks!
-Tres
One thing I would like to add is that if it didn't work, try restarting your iPhone :)
-Tres
I get stuck at the last step -- I get time out errors:
"Please type the name of your ipod:
mushroom
[sudo] password for danny:
can't get debug descriptor: Connection timed out
cannot read device status, Connection timed out (110)"
I see two desktop icons. One is ipod, like Von. One says ipod and the other mushroom (name of the ipod). Rebooting had no effect.
The ipod directory is only one folder (DCIM) the mushroom directory has several directories (DCIM; Downloads; iTunes_Control; Photos; Podcasts; PublicStaging; Purchases; Recordings; Safari) and three files ending in .lock, .lock_sync and .syncing
There is one entry for Apple in lsusb
Bus 001 Device 004: ID 05ac:1293 Apple, Inc.
Thanks for helping out by posting such helpful info.
I was having a problem in that my phone was only showing up as a camera. This mean the mkdir in step 10 kept giving me permission denied errors since ~/.gvfs/iPhone ("iPhone" == the name of my iPhone) didn't exist. I played around for a while, not sure what I did (though I think Dagon hit on it - probably logging out, unlocking, plugging in) and now I see two icons when I plug in the phone on my desktop - one that looks like a camera and one that looks like a phone - both with the same name. Seeing both icons seems to be key.
BTW, when I only was seeing the camera, I only saw a ".gphoto2..." directory in .gvfs. After I also saw the phone, the ~/.gvfs/iPhone directory appeared. In fact, I think the mkdir did nothing, that whole path already existed.
Now I'm stuck in that RythmBox sees the iPhone but not any music contents and trying to copy music to it silently fails.
(This is with a first gen iPhone running 3.1.3)
--------------
I got the same issue with an ipod touch 3g with fw 3.1.2 jailbroken.
I did reboot it but that doesn't solve it.
I put one mp3 on it with iTunes (which removed all my ipa :S). I did reboot my computer when asked...
is my error!
Any help available?
Background:
I had my iphone 2g 3.1.2 jailbroken on an ubuntu bevor same setup. My ubuntu screwed up and I had to reinstall my iphone>>ubuntu again. Now it won't work.
Thanks,
P
I'm so happy !! I finally succeed to make it work !
I write this, and I hope that it will be added to the Howto ;)
I took me two whole days to figure all that out (I'm new to Ubuntu so all that's is hard for me)
Me :
iPod Touch 3g FW 3.1.2
JB with Redsn0w
Ubuntu 9.10
Using Rhythmbox
Issues encontered :
- "Error: DBus error org.freedesktop.DBus.Error.ServiceUnknown: The name :1.117 was not provided by any .service files" when trying to access /mount/point
- impossible to add/see files in rhythmbox
What I did :
- reinstall my whole computer (I'm new to Ubuntu so it wasn't really nicely installed)
- follow the main howto of this page
- add oneself to "fuse" group (tip : system>administration>groups -- names may be different,taken from french version of ubuntu)
- empty Music and the .itlp directory, remove iTunesCDB, iTunesDB, all .ext files (tip : I think you can access it with nautilus - I did it with iFile and Terminal)
- add iTunes_Control/Device/Hashinfo with http://ihash.marcansoft.com/
- add 1 song with iTunes (to re-build is nicely)
- reboot both computer and iPod (with redsn0w as it's tethered)
- FINALLY enjoy
[Sorry for the writting - I'm french - I just want to help you guys ;)]
THANK YOU FOR ALL YOUR COMMENTS THAT HELPED ME TO DO THAT !!!!
I forgot to tell you that I used the -dev pakages ;)
With them it works fine !
sudo add-apt-repository ppa:pmcenery/ppa; sudo apt-get update; sudo apt-get install gvfs libgvfscommon0 ifuse libgpod-common libimobiledevice-utils python-libimobiledevice libplist++1 libplist-utils python-plist; sudo su -c "echo user_allow_other >> /etc/fuse.conf"
If someone has a chance to test this from a fresh install, please post your progress.
-Tres
Link : http://doc.ubuntu-fr.org/synchroniser_un_iphone_3g_3gs_a_ubuntu
There a long explanation on the french wiki to synch with gtkpod but that doesn't work anymore as pakages changed and because it isn't kept up to date ;)
Moreover it requires to compile and when we are new to Linux that's quite hard to rescue if you failed somewhere.
Also, if anyone else has a problem with the "exact" name of their iPhone (mine contains an apostrophe), browse to ~/.gvfs, right-click and "rename" the directory containing your phone's name. Then Ctrl-C to copy, and paste into the Terminal window.
Now ... to figure out how to use Rhythmbox to manage my iPhone :)
-Tres
(I had also used cdmdotnet's modified input method, don't know if that helped any for this, but worth mentioning)
Nice work on the tutorial, it was a breeze!
Thanks for it.
It works on an Iphone 3.1.2 JB.
I had timeout errors when following your process.
"Please type the name of your ipod:
mushroom
[sudo] password for danny:
can't get debug descriptor: Connection timed out
cannot read device status, Connection timed out (110)"
Today, I noticed that Rhythmbox has ipod plugin in its plugins list. I checked the box and plugged in my ipod. And voila! It works.
I have a my 3rd Gen iPod Touch with 3.1.3. I run Ubuntu 9.10.
-Tres
Only issue was my iphone name but I copied and pasted and the apostrophe looks different so that's what was causing the issue.
Thanks for this excellent tutorial.
So I went searching and found an awesome and drop-dead simple way to do the same thing. There's no need to write an ExtendedInfo, nor any other extra stuff, other than updating a PPA and installing.
The guide is at:
http://www.webupd8.org/2010/01/easy-way-to-sync-your-iphone-with.html
BTW mine is an iPhone 16Gb 3GS using the latest firmware 3.1.3 (7E18) and everything worked without a hitch :D
Cheers!
@Bifster: Thanks so much for that link. It looks easy to follow. I've added it to both the history, and underneath the troubleshooting steps.
-Tres
You made the day of my daughter !
BTW, some comments to maybe enhance this amazing tutos :
context : ipod touch g1 32Go- firmware : fresh install of 3.1.2. Ubuntu 9.10 32 bits.
- I don't understand the comment about fink. IMHO ifuse is not related to fink
- I didn't have to sync one song with itunes. I did it with gtkpod but I guess RB would have been ok too.
- before the first step, it is wise to remove jonabeck launchpad (http://ppa.launchpad.net/jonabeck/ppa/ubuntu) from repos list and uninstall any packages from it.
- -dev libraries don't seem useful
- it fails on ubuntu 9.10 x64 (perfect on x32); gvfs is able to mount ipod, but nothing in ~/.gvfs (fuse problem ?) and RB doesn't see anything
Thank you once again.
this modifies permissions on the relevant directory and its branches.
"Compiled without libimobiledevice support, can't read SysInfoExtended from an iPhone UUID
Couldn't read xml sysinfo from e613885ce027e45c9ebd34547c352d0ca1fc0fd6"
The upshot of which is I can add music to the iPod, and it will play in Rythmbox, but it does not show on the player.
Should I add the UUID to fstab? Some other step I missed perhaps?
This is a really good thing, as with 3.1.2 update, there is no jailbreak that works with Iphone. Now I don't have to jailbreak to sync music!
When i suspend my laptop ( with or without disconnecting my iphone first ) after i log back in i cannot browse my iphone. The error i get is : Could not display "afc://(long number)/".
If i open nautilus and try to acces my iphone again the error gives some additional info :
Error: DBus error org.freedesktop.DBus.Error.ServiceUnknown: The name :1.153 was not provided by any .service files
Please select another viewer and try again.
I can get it working again by logging in and out of gnome. Which is a kind of a pain.
I get the impression this is due to some kind of gnome subsystem.. Anyone know which one and if i can give that a little push without relogging my session ?
get this working again ?
(Reading database ... 222937 files and directories currently installed.)
Unpacking libusbmuxd1 (from .../libusbmuxd1_1.0.0-0ubuntu1~ppa2_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libusbmuxd1_1.0.0-0ubuntu1~ppa2_i386.deb (--unpack):
trying to overwrite '/usr/lib/libusbmuxd.so.1.0.0', which is also in package libusbmux0 0:1.0.0-rc1-1ubuntu3~k
Unpacking usbmuxd (from .../usbmuxd_1.0.0-0ubuntu1~ppa2_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/usbmuxd_1.0.0-0ubuntu1~ppa2_i386.deb (--unpack):
trying to overwrite '/lib/udev/rules.d/85-usbmuxd.rules', which is also in package libusbmux0 0:1.0.0-rc1-1ubuntu3~k
Errors were encountered while processing:
/var/cache/apt/archives/libusbmuxd1_1.0.0-0ubuntu1~ppa2_i386.deb
/var/cache/apt/archives/usbmuxd_1.0.0-0ubuntu1~ppa2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Is there a problem in the repo?
thank you for this how-to. I've an ipod touch third generation 8 Go with firmware 3.1.2.
I try this how-to, step by step but i have some problems:
-Rhytmbox recognizes my itouch but i can't add music or read the content of my ipod.
Someone has a solution or an idea?
Thank you.
After an update of libgpod4, my itouch firmware 3.1.3 is always recognized but now i can add and remove music from it on rhythmbox.
The transfer rates are a bit slow but it's good for me.
Thanks for this how-to.
THANK YOU!
I get the error message:
"** (process:5048): WARNING **: Compiled without libimobiledevice support, can't read SysInfoExtended from an iPhone UUID
Couldn't read xml sysinfo from ec71c3314c261c356b922737700f0c7344cdcb2b"
ipod (3.1.3) is recognized, i can add some music, it appears in rythmbox but impossible to find it in my ipod..
any ideas??
thanks!!!
I'll give Amarok 2.3 a try on my work laptop, since I can easily nuke this box and start from scratch if something goes nutso.
-Tres
Though after installing some packages my USB tethering with itunnel broke. It's a simple fix (just need to recompile with libimobiledevice support).
But never-the-less, for those that also broke their USB tethering by upgrading to sync here's how to fix itunnel:
http://prosauce.org/blog/2010/03/iphone-usb-syncing-and-tethering-in-ubuntu-9-10/
Hope this helps, cheers
But I have some little problems, he he, inevitable.
I am running my system with a Karmic Kubuntu version with kde 4.41 and my iphone is a 3G version with 3.1.2 firmware.
I managed to listen my ipod music with amarok with the usb connection but my iphone devices doesnt show in my places menu. I'm almost sure that is a kde config issue but it's not important right now, because I can mount my device with "ifuse /media/iphone" by hand.
The other problem I found is more important. I easily changed the artist label of a song from amarok and then I saw the "syncing iphone" message on the screen, but now I see the song playing but I can't hear anything :S
Anyway, these are great news for us, thx again.
Would initializing prevent any unforeseen problems/is there a way to get Rhythmbox to stop asking about it? Any idea why this is happening?
Your problem abot reinitialisation MAY be due to the fact that iTunes and Rythmbox don't use the same database managment or MAYBE ur database is really corruted, due to unsecured unplug (while syncing)...
Bu Im not sure at all
First of all, I want to thank all of you who are working on trying to connect iPods and Linux.
I am running Ubuntu 9.10 32 bits. My son has an iPod Touch 3rd Gen firmware 3.1.1 (7C145). This iPod Touch is not jailbroken.
Install process succeeded apparently smoothly with the help of this french post http://doc.ubuntu-fr.org/synchroniser_un_iphone_3g_3gs_a_ubuntu.
When USD cables is connected, the "itouch "is detected : 3 popups are shown (1 for the camera named iPod and 2 for the itouch named alexis). I juste Cancel in these 3 popups. Also, there are 2 icons on desktop (itouch icon is alexis and camera icon is iPod). All this has been described by others.
The itouch has been synced with iTunes: Nautilus can show HashInfo in ~/.gvfs/alexis/iTunes_Control/Device/.
I am a kind of newby in Linux and Rhythmbox, and I have issues trying to copy music files in both directions :
a) From itouch to laptop : Nautilus and Rhythmbox can both copy mp3 files from itouch to laptop but files names become unusable on laptop (4 uppercase letters only for the name). Rhythmbox, when looking at the itouch files, shows titles, artists names, album names : all is ok here. But when lookin at the copies on the laptop, Rhythmbox only shows these strange 4 letters names. Same problem with names under Nautilus, whatever location I look at : source files on itouch or copies on laptop. Any idea on this 4 letters name issue ? How can I get a file from the itouch keeping a relevant name on laptop ?
b) From laptop to itouch : using Rhythmbox, I have just succeeded in copying one mp3 file. Hurra !! But simply using Nautilus, I can't copy. Why ? Simply said, is it due to the fact that Nautilus has not been designed to be able to use libgpod ?
I also have a Gtkpod issue, now. As it seems that libgpod and gtkpod are coming from the same project, I guess they are kind of twin softwares. I'm curious trying gtkpod. YUNGAKK911 has posted several times saying that a right click on itouch desktop icon would give access to properties and folders for the "mount point". But I don't see such a "mount point" section. I just have 2 sections : "Name" with "alexis" and "Type" with "folder (inode/directory)". gtkpod's help doesn't seem to give info on this. Since, using Nautilus, the itouch is visible in ~/.gvfs/alexis/iTunes_Control/ should I assume that mount point is something like ~/.gvfs/ ? Maybe I am wrong ?
Again, thanks to all, here.
I mistyped the cable name : I should have type USB instead of USD. Sorry !!
The 4-letter mp3 file names are how the iPod stores the names natively. This will happen on Windows or Mac too. They may look foreign but if you load them into RythmBox you will then be able to see the song information.
I think you can copy / paste from RythmBox directly from the device to a local folder too if that suits your needs.
-Tres
i can drag music into my device and it transfers...i even get my ipod touch to display the sync in progress screen...
when i browse (in nautilus) the ipod touch..i can see the mp3 files in the Fxx folders...
but the problem lies when i i go to play the music on the ipod, it just doesn't show up, only my 2 downloaded songs from itunes show up
any suggestions???
Alternatively you could try Ubuntu Netbook Remix on your EEE. You could boot it off of a Live Thumb Drive and follow this tutorial without wiping out any of your settings.
-Tres
Bad news is I can't get it going in GTKpod but I'll work with that after I transfer my music with Rhythmbox.
TO add further, I had a 9.04 system that was internet upgraded to 9.10. When I started following the instruction of removing old packages, I went through them essentially one by one to make sure they were all gone. After I was satisfied I had gotten them all off, at reboot my system was hosed. Pretty much totally toast. I figure as been mentioned in the feedback, that depending on how some packages were added it will clear out other packages that weren't chosen. So be careful At the new boot there was no video and it wouldn't apt-get packages for me to reverse it. Just gave failure errors. So that night I did a 9.10 fresh install. Today I now, as I said I am successfully syncing.
Last thought; at first Rhythmbox wasn't syncing and I had made sure the ipod plugin was enabled. So all I did was do one more restart and booted the Ipod Touch off and back on again. Then it worked.
Firstly, let me say thanks very much for all your help and advise on this - it's been a nightmare.
I have a iPhone 3GS, 16GB and I have followed your steps but am stuck here:
Please type the name of your ipod:
Conor's iPhone
mkdir: cannot create directory `/home/conor/.gvfs/Conor\'s iPhone': No such file or directory
Couldn't resolve Device directory path on iPhone/
I've tried swapping the apostrophes with %27 but the same thing appears.
What should I do?
Thanks,
Conor
Some suggest: Right click the desktop icon and copy the name from there.
Last resort, plug it back into a Windows machine and make the name simpler.
Hope this helps!
-Tres
Thanks for the advise, I tried right-clicking and copying and now get this:
> sudo adduser "$USER" fuse; echo -e "\n\nPlease type the name of your ipod:"; read ipod_name; mkdir -p "$HOME/.gvfs/$ipod_name/iTunes_Control/Device/"; ipod-read-sysinfo-extended `sudo lsusb -v | grep 'iSerial' | awk 'length($0)>=68' | awk '{print $3}'` "$HOME/.gvfs/$ipod_name/
The user `conor' is already a member of `fuse'.
Please type the name of your ipod:
Conor’s iPhone
Couldn't resolve Device directory path on iPhone/
conor@conor-laptop:~$
Any other suggestions other than plugging in to a Windows machine?
Thanks,
Conor
I have an iphone 3gs and all the instructions worked great for me...when I drag a song over to my iphone in rhythmbox it goes over without a problem...but I can;t open it in my iphone because it doesn;t show up...
can i get some help with this please!!
thanks
32g 2nd gen itouch
Asus eeepc 900
Ubuntu Netbook Remix Live
I do not have Itunes but it was originally synced with itunes Windows xp
blackrain jailbroken
Itouch reads as the jailbreakers itouch.
Because I have been trying this for awhile I am sure i have messed up somewhere.
As is:
No music or folders in itunes_control/music
itunes_control/itunes/itunes library.itlp has DBtemp folder and several other .itdb files
I cannot find any .ext files or .db or .cdb files
I followed instructions and
1) Itouch is recognized and shows in Files and Folders
2) Rhythmbox says TWICE
Rhythmbox has detected a device that is probably an uninitialized or corrupted iPod. It must be initialized before Rhythmbox can use it, but this will destroy any song metadata already present. If you wish Rhythmbox to initialize the iPod, please fill in the information below. If the device is not an iPod, or you do not wish to initialize it, please click
Model pop up doesn't show
I enter my itouch's name. Twice
Nothing shows or is recognized.
I cannot get GTKpod to work. Unfortunately I installed it after the tutorial.
re reading list
"To anyone with the mkdir problem at setp 9. Make sure you have GTKpod istalled prior to the installation.
I back tracked and I noticed people mentioning Gtkpod which i did not have so I installed it (via package manager)
Query gtkpod on the package manager
install gtkpod
rerun step 3
continue from there."
What is step 3?
Also when i run this i now get
ubuntu@ubuntu:~$ 2~sudo adduser "$USER" fuse; echo -e "\n\nPlease type the name of your ipod:"; read ipod_name; mkdir -p "$HOME/.gvfs/$ipod_name/iTunes_Control/Device/"; ipod-read-sysinfo-extended `sudo lsusb -v | grep 'iSerial' | awk 'length($0)>=68' | awk '{print $3}'` "$HOME/.gvfs/$ipod_name/"
2~sudo: command not found
Please type the name of your ipod:
SuperMagic's Ipod
mkdir: cannot create directory `/home/ubuntu/.gvfs/SuperMagic\'s Ipod': No such file or directory
Couldn't resolve Device directory path on /home/ubuntu/.gvfs/SuperMagic's Ipod/
ubuntu@ubuntu:~$
Sorry for the long post but i am confused as to where i am and what i should do now.
Any advice.
Thank you.
Stuart
I've been using this for a while now, syncing with gtkpod. Recently I noticed that my iPhone failed to sync, it got unmounted each time I tried. Turns out that it was full because tracks I'd deleted via gtkpod were still on the phone. Removing these manually from inside ./gvfs//, and clearing all songs with gtkpod freed up the space. Still some irregularities in the database - duplicate tracks and dead tracks but it works pretty well. I wish gtkpod was more stable though or that there was a plugin for Banshee. Thanks FatButtLarry!
Just to clarify. This is a different Jon than the poster many comments above.
From http://twitter.com/marcan42/status/12059221689
This is clear enough to be understood ;)
$ lsusb
Bus 001 Device 007: ID 05ac:1291 Apple, Inc. iPod Touch 1.Gen
But for whatever reason does not get mounted.
Any ideas?
Once in sync mode however, it just sits there for ever and syncs nothing.
Any ideas?
I now have Ubuntu 10.04 installed on my computer. At first, I had no issues. Now, it seems that every other update through the update manager breaks the ability to sync music. Perhaps it is related to an update to gvfs, which was in the latest round of updates this week.
Command lsusb finds the ipod and I can open the ipod in the file manager -- it shows a bunch of folders including podcast and dcim (i.e. photos) but not music.
To get it working again, I uncheck the iPod plugin box in Rhythmbox and restart the program. When I recheck the ipod plugin box and plug the ipod in, it works (until the next update at least;-).
That may well have broken it.
Lucid has out of the box, zero configuration support in Rhythmbox for the iPod touch running firmware 3.12/3.13. It does not require jailbreaking, though I have personally discovered it will work with both a "stock" and a jailbroken iPod touch.
Reinstall, ot undo everything you did from this blog.
As long as I can still use my ipod touch without much more hassle than restarting rhythmbox, I'll skip out on reinstalling Lucid, as that is extreme. Plus, there is likely a better way to undo the steps on this blog. :-)
In Synaptic Package Manager, remove ifuse, and add/update libimobiledevice-0 and python-imobiledevice.
In a terminal, run:
sudo add-apt-repository ppa:pmcenery/ppa
sudo apt-get update && sudo apt-get upgrade
ppa:pmcerney/ppa is the repository for libimobiledevice. It will let you get the latest version of packages (the ubuntu version available in package manager is older)
See:
http://www.libimobiledevice.org/
"Could not change permissions for
/tmp/kde-fpflug/amarok/imobiledevice_8d1f6d78e488b3c7afa2ae9aaf4244da51afdc96/iTunes_Control/Music/F42/kpod0626742.mp3"
or even telling that it could not write into these music folders. i checked folder permissions: fine.
checked owner: it's my own user.
itouch 2 mounts fine in ~/.gvfs/.
despite the annoying message in amarok, it seems that music gets copied. :-$
seriously,i have been trying this for days..:) :) :)
mkdir: cannot create directory `/home/hp/.gvfs/Pragya%27s iPOD': No such file or directory
Couldn't write SysInfoExtended to /home/hp/.gvfs/Pragya%27s iPOD/$
Also, i am able to put songs in my ipod through rhythmbox, but when i start my ipod it only shows 'updating library' for hours and does not show the songs or the videos.
"right click the desktop icon and copy the name"
Also, are you running Ubuntu 9.10?
After starting the ipod again 2-3 times,it started working properly.
But ya,it still shows the error:
mkdir: cannot create directory `/home/hp/.gvfs/Pragya%27s iPOD': No such file or directory
Couldn't write SysInfoExtended to
Though its not creating any problems as of now.
Thanks again :)
Every time I try I get the error message: "E: Couldn't find package python-libimobiledevice."
I've tried searching for the package in Synaptic and KPackageKit to no avail and even went as far as to going directly to the Debian site to download it directly but when I finally got it from there it wouldn't download it because I apparently have a newer version already installed.
Can anybody help me out with this?
https://help.ubuntu.com/community/PortableDevices/iPhone
The following packages have unmet dependencies:
gvfs: Conflicts: libgvfscommon0 but 1.6.1-0ubuntu1build1 is to be installed
I don't understand this message. I have libgvgscommon0 installed and 1.6.1-0ubuntu1build1 is only appearing as under "latest version" in Synaptic but gvfs has a higher latest version.
Can anybody help me defeat the evil spirits that have been programmed into my ipod touch?
And just to put in my two cents, after I deleted all the designated files, gtkpod wanted to create the necessary files again. I let it, and the songs showed right up on the ipod after the sync without needing to connect to itunes and copy a song to create the needed file structure, since gtkpod had already done that.
Again, thanks!
-Tres