Showing posts with label Amarok. Show all posts
Showing posts with label Amarok. Show all posts

Wednesday, November 28, 2007

Using an IPod Touch/ iPhone with Amarok

Well, there's a lot of partial instructions on the web, but not a consistent set all the way through, so here's my attempt - hopefully there's enough information here to find everything you need here. Also, this is going to involve resetting your iPod to factory settings, so you'll lose everything currently on it. These instructions should also work on an iPhone - of course, these instructions are for information only, do it at your own risk. Also, sorry, you need a Windows/OSX machine to do the initial setup, and, you need a wireless LAN where you want to sync (with internet connection for setup) - on the plus side, you'll have wireless sync, which even Windows and OSX users don't have :)
  1. Download the 1.1.1 and 1.1.2 firmware images for your iPod Touch/iPhone
  2. Open iTunes, go to your iPod's tab, and shift-click (option-click) "Restore", and select the 1.1.1 firmware image you downloaded earlier
  3. Go to JailBreakMe.com in Safari on the iPod, and click the install link at the bottom
  4. You now have an "Installer" application - run it, then click "Install" at the bottom; click "Tweaks (1.1.1)", then "OktoPrep", and click yes when it asks you if you want to install it
  5. Open iTunes, go to your iPod's tab, and shift-click "Update" (*NOT* "Restore"), and select the 1.1.2 firmware
  6. Download and run the touchfree jailbreak 1.1.2 software - tick "Enable SSH Server", change the password, and press the magic button
  7. Wait a long time for it to finish, and for your iPod to reboot a few times
  8. Click "Install", then "System", and "BSD Subsystem", and say yes when it asks if you're sure
  9. ssh to root@your.ipod.ip.address, and edit /etc/sshd_config (nano, vi, vim are available), enabling rsa public key authentication
  10. Make a passwordless rsa ssh key
  11. ssh-copy-id it to your root@your.ipod.ip.address
  12. restart sshd on it (from the "SSH" icon in the iPod's launcher)
  13. Install fuse, sshfs-fuse, and a recent build of libgpod onto the linux machine you want to sync it with sudo mkdir /mnt/ipod; sudo chmod 755 /mnt/ipod
  14. Mount the iPod's media area with "sshfs root@your.ipod.ip.address:/var/root/Media /mnt/ipod"
  15. cd to /mnt/ipod
  16. ln -s iTunes_Control iPod_Control
  17. cd iPod_Control/Device
  18. sudo lsusb -v -d 05ac: | grep iSerial | awk '{print $3}' | cut -b1-16 | xargs printf "FirewireGuid: 0x%sn" > SysInfo
  19. Leave /mnt/ipod
  20. fusermount -u /mnt/ipod
  21. Open Amarok, and open the page for configuring media devices (Settings->Configure->Media Devices)
  22. Add a new iPod device, at /mnt/ipod (or /media/ipod, depending on your distribution)
  23. Click the two cog wheels by your iPod in Amarok's list of Media Devices
  24. In the "Pre-connect command" box, type "sshfs -o workaround=rename root@ipod.ip.addres.here:/var/root/Media /mnt/ipod" ("workaround=rename" fixes issues with album art).
  25. In the "Post-connect command" box, type "fusermount -u /mnt/ipod"
Use Amarok's "Devices" pane to sync music to and from it - remember that you have to exit and restart the Music app on the iPod after syncing (open it, and hold down the home button until it disappears)

If you're a user of a 64-bit distribution, you'll need a small patch for libgpod.

This post has been flicked Verbatim from Here.
Google
 
Techzone