Check out our new iPad forum.
iPod touch 3G deals: 8GB $183.99, 32GB $269.99, 64GB $357.00 with free shipping

Go Back   iPod touch Fans forum > iPod touch / iPhone > iPod touch General Chat > iPod touch Tech Help

Reply
 
Thread Tools
  #1  
Old 02-01-2008
FluxBox's Avatar
iPod touch Lover
Join Date: Dec 2007
 
Default [HOWTO] Sync your iPod touch / iPhone with Linux

If you have an iPhone, please bear with me calling it an "iPod touch". I don't have time to put "iPod Touch / iPhone" everywhere.

Before we get started, I want to clear some things up:
* Syncing your iPod touch with Linux is NOT the most efficient process, and is also not very stable.
* Any flaws in your sync CAN BE FIXED.
* A restore is not possible on Linux. I am in the process of writing a Python script for restoring to 1.1.1 (that may never get completed).
* iTunes emulated under Wine will NOT sync your iPod touch

I'm using Ubuntu Linux 7.10 for everything in this thread.
apt-get and Synaptics are the Debian/Ubuntu package installer/manager
yum is the Fedora/Redhat package installer/manager

Before you even start, make sure your iPod is jailbroken, and you have BSD Subsystem and OpenSSH installed and running. All Linux syncing is done wirelessly, so if you don't have Wifi, you're stuck making a LAN connection from your computer to your iPod touch. I have no idea how to do this efficiently yet.

Once you get these installed and running, set Auto-Lock to Never. Also, set a static IP address outside of your IP range (so it won't ever be taken).
Mine is 192.168.1.200.

Now, I suggest using GTKpod to sync your iPod touch. Don't install it from Synaptics or apt-get or yum, etc. because it installed an older version (.99.10), which corrupts your touch's database to read music and videos.

Compile the sources for .99.12 from the GTKpod website (gtkpod.org) manually. Make sure you have build-essential and gcc installed.

If you have trouble installing any dependencies, check Synaptics first to see if they exist in the version required, you need the -dev versions to compile properly.

If anyone has any dependency errors, post here or PM me! I can supply links to sources/binaries of these sources.

Once you get GTKpod .99.12 installed, it's pretty much easy from here.

Ubuntu/Debian:
sudo apt-get install ipod-convenience

Once you get ipod-convenience installed, enter the IP you set as your static IP for your iPod.

Now, open a terminal. Type:
ipod-touch-mount
or
iphone-mount

And type your root password (alpine by default).

To unmount, type:
ipod-touch-umount
or
iphone-umount

Now, open GTKpod. It *should* bring up a dialog box asking for your model type. Either put "Touch" or "Phone". Pick either of them, doesn't matter.

Now, click your iPod. It should "hash" any tracks you currently have on your iPod touch.

Once it's done (may take a while if you have many songs and videos on your iPod), you can now delete, rename, and play (using an external player) any media files on your iPod.

"But wait! I can't play them!"
You need to install mp3 support (and m4a/aac/mp4 support). This is in Add/Remove Programs, called "Ubuntu Restricted Extras". Install that, and it should work!

To add tracks, not only do you need to press "Add File" or "Add Directory", but you also need to SAVE CHANGES.

Once you're done, just close GTKpod. No need to keep it open.
And
Open terminal (or restore it if you didn't close it) and type:
ipod-touch-umount
or
iphone-umount

And you're done.
If you don't feel like unmounting it for now, just open the music application on your iPod and hold down "Home" until it completely closes. Once you reopen it, your new music will appear. ipod-touch-umount and iphone-umount act as the same thing as closing the app.

The first time you mount your iPod, plug the iPod touch into the USB port on your computer. Disregard any "Camera Import" dialogs that appear. When you mount it the first time, it needs to create the Firewire GUID to your iPod.

Anyways, that's pretty much everything you need to know!
If I forgot anything, I'll add it later!

Any errors or help you need, post here, preferably. Don't PM me unless it's needed. I barely check my PMs anyways. I'll be faster replying here.

-- Alex



EDIT:
Amarok Section!
Settings > Configure Amarok
Media Devices > Add Device > "Apple iPod Media Device"
Point it at your mount point (by default /media/ipod)
Click the blue cog icon called "Configure Device" right above the iPod touch
For "Pre-Connect Command" add ipod-touch-mount (or iphone-mount)
For Post-Disconnect Command" add ipod-touch-umount (or iphone-umount)
In "Devices", click "Connect" and enter your password
Your iPod touch should appear in Amarok!
Once connected, click on the double arrows on the right hand side of the Connect, Disconnect, and Transfer icons
A list of options opens up (iPod is what you want). Choose iPod > Set iPod Model > Mobile Phones > iPhone

There ya go! You can sync it now like a regular iPod!


Complete tutorial!

-- Alex
__________________

Last edited by FluxBox; 02-01-2008 at 03:52 PM..
  #2  
Old 02-01-2008
iPod touch Admirer
Join Date: Oct 2007
 
Thanks for the tutorial !

Hope it gets integrated into amarok very soon (if it isn't already (there is something about new ipods in changelog ...) )
  #3  
Old 02-01-2008
weirdwilli's Avatar
iPod touch Lover
Join Date: Oct 2007
 
Thanks but i think i'll just use my bros computer as the wifi takes forever!
  #4  
Old 02-01-2008
FluxBox's Avatar
iPod touch Lover
Join Date: Dec 2007
 
You guys want a tutorial for Amarok, too?

I'll add it in 5 minutes!

EDIT: Added!

Last edited by FluxBox; 02-01-2008 at 03:53 PM..
  #5  
Old 02-01-2008
toomuchcaffeine's Avatar
iPod touch Addict
Join Date: Sep 2007
 
I'm going to try this later, but a couple questions first- Does the Amarok tutorial work with Exaile, too? Do I still have to install GTKPod if I'm using the Amarok tutorial? Is there any chance this can screw up my iPod to the point where I have to restore?

Thanks for the guide!
  #6  
Old 02-01-2008
Parm289's Avatar
iPod touch Aficionado
Join Date: Jan 2008
 
Well I got this info from the ubuntu community help wiki, and synced my touch via amarok. Now, no album art shows on my ipod, no matter what I do - manually add, resynce, clear ipod, etc, everything short of restoring. Do you have any tips on how to fix this?

Update: I used the transfer art option in amarok, but still only some of my artwork shows up (i use the same files as itunes if that makes any difference - i run a dual boot between gutsy and xp) on my ipod.
  #7  
Old 02-01-2008
FluxBox's Avatar
iPod touch Lover
Join Date: Dec 2007
 
Alright:

Album artwork doesn't work, at all. I'm in the process of writing a script for that, too.

GTKpod is not needed if you use Amarok.

Exaile doesn't work, as far as I know. Try it out though.

&No it, won't force you to restore. I have yet to have to while syncing with Linux.
  #8  
Old 02-02-2008
FluxBox's Avatar
iPod touch Lover
Join Date: Dec 2007
 
Would anyone else like any other Linux-related tutorials here?
  #9  
Old 02-06-2008
iPod touch Amateur
Join Date: Jan 2008
 
Would you recommend using either Amarok or gtkpod, or are they both as stable as the other?
  #10  
Old 02-07-2008
lachlan438's Avatar
iPod touch Aficionado
Join Date: Sep 2007
 
nice thanks ill use this a lot
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -7. The time now is 10:16 AM.


Sort of vBulletin-powered
Copyright 2007 - 2010 Vigorous Media LLC - All Rights Reserved.


Page generated in 0.04626 seconds with 9 queries