JolHarg Blog
  • JolHarg
  • » JolHarg Blog » Sync iPhone/iPod Touch 3G in Ubuntu
    All Posts
    2025

    March

    I use OpenNIC for DNS, it's cool, independent and custom


    Behind the Times: Sites still without IPv6 in 2025


    2024

    December

    Updated Websites and Blogs!


    Everything I maintain now built with GHC 9.10


    November

    Updated Websites


    2022

    December

    Raspberry Pi Pico (W) on NixOS


    October

    This blog now built with GHC 9.4


    September

    Google tip: Set ?authuser=[email]


    Welcome to my new tech blog


    Error messages have still not changed


    March

    This blog now built with GHC 9.2


    2021

    November

    Sorry, something somewhere went wrong!


    October

    Facebook being down killed AdGuard


    March

    Ephemeral system with NixOS


    2018

    August

    Spotify (and Netflix) on Chromium, with help from Steam, without root!


    Quick phone tip: make your phone seem faster by disabling animations


    July

    Issuing modem commands to an unrooted Android device


    Retro dial-up network fun


    2016

    October

    Project Chaplin 0.3.2 point release


    September

    Project Chaplin 0.3.1 Released


    2015

    April

    Project Chaplin Beta 2 Released


    Project Chaplin Video Sharing Beta Released


    March

    BSD for Linux Users: An Introduction


    2012

    May

    The Rules of Website Advertising


    2011

    October

    New Project: View and Share Media Online


    March

    Play.com compromised, names and emails taken


    2010

    November

    How to use SSH for an Internet Connection Sharing Proxy


    October

    Rules of Mobile Platform Development


    September

    Bibud Alpha 5.1 released


    August

    Bibud Social Web Desktop Alpha5 Released


    February

    Xenon Web Desktop Alpha2 Released


    January

    Linux's Hardware Support


    2009

    December

    Xenon Alpha released!


    November

    Sync iPhone/iPod Touch 3G in Ubuntu


    Best Security Practices For Your Personal Computer


    October

    Xenon Project looking for helpers!


    September

    Linux Myths Debunked


    Linux is not ready for the mainstream


    August

    How to Conquer the Desktop


    July

    What Free Software needs


    2008

    October

    Cloud OS


    September

    Standards


    Sun is dead?


    All Posts
    2025

    March

    I use OpenNIC for DNS, it's cool, independent and custom


    Behind the Times: Sites still without IPv6 in 2025


    2024

    December

    Updated Websites and Blogs!


    Everything I maintain now built with GHC 9.10


    November

    Updated Websites


    2022

    December

    Raspberry Pi Pico (W) on NixOS


    October

    This blog now built with GHC 9.4


    September

    Google tip: Set ?authuser=[email]


    Welcome to my new tech blog


    Error messages have still not changed


    March

    This blog now built with GHC 9.2


    2021

    November

    Sorry, something somewhere went wrong!


    October

    Facebook being down killed AdGuard


    March

    Ephemeral system with NixOS


    2018

    August

    Spotify (and Netflix) on Chromium, with help from Steam, without root!


    Quick phone tip: make your phone seem faster by disabling animations


    July

    Issuing modem commands to an unrooted Android device


    Retro dial-up network fun


    2016

    October

    Project Chaplin 0.3.2 point release


    September

    Project Chaplin 0.3.1 Released


    2015

    April

    Project Chaplin Beta 2 Released


    Project Chaplin Video Sharing Beta Released


    March

    BSD for Linux Users: An Introduction


    2012

    May

    The Rules of Website Advertising


    2011

    October

    New Project: View and Share Media Online


    March

    Play.com compromised, names and emails taken


    2010

    November

    How to use SSH for an Internet Connection Sharing Proxy


    October

    Rules of Mobile Platform Development


    September

    Bibud Alpha 5.1 released


    August

    Bibud Social Web Desktop Alpha5 Released


    February

    Xenon Web Desktop Alpha2 Released


    January

    Linux's Hardware Support


    2009

    December

    Xenon Alpha released!


    November

    Sync iPhone/iPod Touch 3G in Ubuntu


    Best Security Practices For Your Personal Computer


    October

    Xenon Project looking for helpers!


    September

    Linux Myths Debunked


    Linux is not ready for the mainstream


    August

    How to Conquer the Desktop


    July

    What Free Software needs


    2008

    October

    Cloud OS


    September

    Standards


    Sun is dead?


    Sync iPhone/iPod Touch 3G in Ubuntu

    Permalink | Author: Dan Dart | Published: 2009-11-29 03:47:00 UTC | Tags: ipod itunes linux ubuntu


    A lot of people have been trying very hard to get iPhone and iPod Touch syncing to work correctly in Linux. Some have been doing a FUSE filesystem (which accesses the iPod) and some the database and syncing. Remember this is pre-alpha quality, but I found it synced my tunes nicely from Linux. But due to the database version being old (but quite good enough for the iPod), iTunes does not play nice with it - and will just resync the tracks and may delete them. Also the iPod must have been previosly initialised with a version of iTunes. If you cannot acquire it, or it will not run, contact teuf on #gtkpod in irc.freenode.net. You have been warned!

    Mounting support

    First, grab iFuse: Add the following lines to /etc/apt/sources.list as root:

    deb http://ppa.launchpad.net/jonabeck/ppa/ubuntu intrepid main deb-src http://ppa.launchpad.net/jonabeck/ppa/ubuntu intrepid main

    Then do:

    sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com F0876AC9 sudo apt-get update sudo apt-get install ifuse ifuse-dev

    This should install support for reading and writing files. Create a mount point:

    sudo mkdir /media/ipodt/

    Add yourself to the fuse group:

    sudo useradd -G fuse [your_user_name]

    To allow normal users to mount the FUSE filesystems, edit /etc/fuse.conf and uncomment the line (remove the hash from the start of it):

    \#user_allow_other

    Log out and back in again, or spawn a new login shell. Mount the FUSE filesystem:

    ifuse /media/ipodt

    You should see that your iPod should be mounted as yourself. You should be able to find the tracks and play them from the computer. They are oddly named and located in iTunes_Control/Music .

    Syncing support

    To properly sync music (well I say properly), you need to install a special branch of libgpod. You'll need to get it from git. WARNING! THIS WILL OVERWRITE YOUR EXISTING LIBGPOD! Be careful. First install development libraries:

    sudo apt-get install git-core build-essential cmake autoconf automake libtool intltool gtk-doc-tools libsqlite3-dev zlib1g-dev

    Get teuf's sandbox repository branch:

    git clone git://gitorious.org/~teuf/libgpod/teuf-sandbox.git cd teuf-sandbox git checkout origin/iphone30 CFLAGS="-g -O0" sh autogen.sh --prefix=/usr make sudo make install

    libgpod should now be installed, if all goes to plan. Create control directories and files:

    mkdir /media/ipodt/iTunes_Control/Device

    Get the uuid of your device:

    lsusb -v | grep -i iSerial

    It should be the one that's 40 characters long. From the same teuf-sandbox directory, run:

    tools/ipod-read-sysinfo-extended /media/ipodt

    Check that a file exists. Do:

    cat /media/ipodt/iTunes_Control/Device/SysInfoExtended

    This should spew XML at you. Now, install your syncing program of choice. I chose gtkpod because it works for me.

    sudo apt-get instal gtkpod

    The program should pick up the device and ask which model it is. There should be your device listed at the bottom (you may have to scroll). Choose it and let it do its thing, and initialise your iPod. Check a file has been created:

    ls /media/ipodt/iTunes_Control/Device

    If you get nothing, there's a problem. Go ask teuf. If you get that filename returned. all is well. You are able to sync, save files and update the database. Bear in mind that it saves an older version of the database, so if you go to iTunes and back, it will update tracks and the database, but they should still be readable in Linux.

    I hope this has been helpful to you!

    Here are some helpful references if you get stuck: iFuse (edit 2021: archived, also moved project to https://libimobiledevice.org/) iPod Syncing



    Comments

    Unknown (URL) said on 2010-07-11T07:20:13.466Z:

    Hello, i am glad to read the whole content of this blog and am very excited and happy to say that the webmaster has done a very good job here to put all the information content and information at one place.



    Post a comment:



    Tags
    • 2
      • 2025
    • 6
      • 64 bit
    • 9
      • 98
      • 9.4
      • 9.2
      • 9.10
    • a
      • azure
      • avast
      • authuser
      • audio
      • argument
      • apps
      • apple
      • appcache
      • app
      • api
      • anti
      • annoying
      • animation
      • android
      • amazon
      • alpha
      • ajax
      • adwords
      • advertising
      • adsense
      • ads
      • adguard
      • address
      • access
    • b
      • built
      • bsd. competition
      • bsd
      • broadcasting
      • blogs
      • blog
      • bilibili
      • bibud
      • bgp
      • behind
      • baidu
    • c
      • custom
      • css
      • creativecommons
      • cracker
      • core
      • copy
      • cool
      • content
      • connection
      • computer
      • compromise
      • company
      • command line
      • com
      • cnn
      • cloud
      • client
      • chromium
      • chrome
      • chatgpt
      • chaplin
      • changed
      • change
      • cddl
      • cc
      • canva
      • cabal
    • d
      • dzen
      • duckduckgo
      • drm
      • drawing
      • dragonflybsd
      • dragonfly
      • dns
      • dialup
      • dial-up
      • dfp
      • device
      • desktop
      • design
      • delete
      • debunked
      • debian
      • dart
      • dailymotion
    • e
      • everything
      • error
      • ephemeral
      • emulation
      • emulate
      • email
      • emai
      • eggs
      • ebay
      • easter
    • f
      • friends
      • freebsd
      • free software
      • free
      • format
      • floss
      • flash
      • firewall
      • files
      • feed
      • fast
      • fandom
      • facebook
    • g
      • gui
      • gsm
      • gpl
      • google
      • gnu
      • gnome
      • globo
      • github
      • git
      • ghc
    • h
      • html5
      • html
      • htc
      • hiatus
      • hayes
      • haskell
      • hardware
      • hacker
    • i
      • itunes
      • isp
      • ipv6
      • ipod
      • internet connection sharing
      • internet
      • intel
      • independent
      • import
      • illusion
      • i7
    • j
      • jim
      • javascript
    • k
      • kernel
      • kde
    • l
      • live
      • linux
      • linkedin
      • licence
      • library
      • libraries
      • l
    • m
      • myths
      • mysql
      • my
      • motorola
      • modem
      • mobile
      • mit
      • minicom
      • microsoft
      • meta
      • messages
      • media
      • market
      • maintain
      • mail.ru
      • m2msupport
    • n
      • not
      • nostalgia
      • nixos
      • new
      • networking
      • network
      • netflix
      • netbsd
      • naver
      • nat
      • naming
    • o
      • oss
      • os
      • operating system
      • opensuse
      • opennic
      • openbsd
      • open source
      • open
    • p
      • public
      • proxy
      • protocol
      • protected
      • projectchaplin
      • project
      • port
      • play
      • pinterest
      • pico
      • pi
      • php
      • phone
      • pcbsd
      • password
      • packages
    • q
      • quora
    • r
      • rules
      • routing
      • rootkit
      • root
      • relevant
      • release
      • reddit
      • recording
      • raspberry
      • rakuten
    • s
      • system
      • support
      • sun
      • still
      • steam
      • standardisation
      • standard
      • ssh
      • sql
      • spotify
      • sorry
      • somewhere
      • something
      • solaris
      • software
      • social
      • sites
      • sharing
      • share
      • settings
      • server
      • serial
      • seo
      • security
      • search
      • screen
      • sco
      • scale
      • samsung
    • t
      • twitch
      • tunnel
      • trojan
      • to
      • tip
      • times
      • tiktok
      • tetlegram
      • temu
      • tech
    • u
      • usb
      • updates
      • updated
      • update
      • unix
      • ubuntu
    • v
      • vk
      • visual
      • vista
      • virus
      • vimeo
      • videos
      • video
    • w
      • wrong
      • worm
      • without
      • with
      • windows
      • wikipedia
      • widevine
      • whoops
      • went
      • welcome
      • websites
      • website
      • webos
      • webm
      • web
      • weather.com
      • war
      • w
    • x
      • xp
      • xhtml
      • xenon
      • x
    • y
      • youtube
      • yahoo
    • z
      • zoom
      • zfs
      • zemlin
    Tags
    • 2
      • 2025
    • 6
      • 64 bit
    • 9
      • 98
      • 9.4
      • 9.2
      • 9.10
    • a
      • azure
      • avast
      • authuser
      • audio
      • argument
      • apps
      • apple
      • appcache
      • app
      • api
      • anti
      • annoying
      • animation
      • android
      • amazon
      • alpha
      • ajax
      • adwords
      • advertising
      • adsense
      • ads
      • adguard
      • address
      • access
    • b
      • built
      • bsd. competition
      • bsd
      • broadcasting
      • blogs
      • blog
      • bilibili
      • bibud
      • bgp
      • behind
      • baidu
    • c
      • custom
      • css
      • creativecommons
      • cracker
      • core
      • copy
      • cool
      • content
      • connection
      • computer
      • compromise
      • company
      • command line
      • com
      • cnn
      • cloud
      • client
      • chromium
      • chrome
      • chatgpt
      • chaplin
      • changed
      • change
      • cddl
      • cc
      • canva
      • cabal
    • d
      • dzen
      • duckduckgo
      • drm
      • drawing
      • dragonflybsd
      • dragonfly
      • dns
      • dialup
      • dial-up
      • dfp
      • device
      • desktop
      • design
      • delete
      • debunked
      • debian
      • dart
      • dailymotion
    • e
      • everything
      • error
      • ephemeral
      • emulation
      • emulate
      • email
      • emai
      • eggs
      • ebay
      • easter
    • f
      • friends
      • freebsd
      • free software
      • free
      • format
      • floss
      • flash
      • firewall
      • files
      • feed
      • fast
      • fandom
      • facebook
    • g
      • gui
      • gsm
      • gpl
      • google
      • gnu
      • gnome
      • globo
      • github
      • git
      • ghc
    • h
      • html5
      • html
      • htc
      • hiatus
      • hayes
      • haskell
      • hardware
      • hacker
    • i
      • itunes
      • isp
      • ipv6
      • ipod
      • internet connection sharing
      • internet
      • intel
      • independent
      • import
      • illusion
      • i7
    • j
      • jim
      • javascript
    • k
      • kernel
      • kde
    • l
      • live
      • linux
      • linkedin
      • licence
      • library
      • libraries
      • l
    • m
      • myths
      • mysql
      • my
      • motorola
      • modem
      • mobile
      • mit
      • minicom
      • microsoft
      • meta
      • messages
      • media
      • market
      • maintain
      • mail.ru
      • m2msupport
    • n
      • not
      • nostalgia
      • nixos
      • new
      • networking
      • network
      • netflix
      • netbsd
      • naver
      • nat
      • naming
    • o
      • oss
      • os
      • operating system
      • opensuse
      • opennic
      • openbsd
      • open source
      • open
    • p
      • public
      • proxy
      • protocol
      • protected
      • projectchaplin
      • project
      • port
      • play
      • pinterest
      • pico
      • pi
      • php
      • phone
      • pcbsd
      • password
      • packages
    • q
      • quora
    • r
      • rules
      • routing
      • rootkit
      • root
      • relevant
      • release
      • reddit
      • recording
      • raspberry
      • rakuten
    • s
      • system
      • support
      • sun
      • still
      • steam
      • standardisation
      • standard
      • ssh
      • sql
      • spotify
      • sorry
      • somewhere
      • something
      • solaris
      • software
      • social
      • sites
      • sharing
      • share
      • settings
      • server
      • serial
      • seo
      • security
      • search
      • screen
      • sco
      • scale
      • samsung
    • t
      • twitch
      • tunnel
      • trojan
      • to
      • tip
      • times
      • tiktok
      • tetlegram
      • temu
      • tech
    • u
      • usb
      • updates
      • updated
      • update
      • unix
      • ubuntu
    • v
      • vk
      • visual
      • vista
      • virus
      • vimeo
      • videos
      • video
    • w
      • wrong
      • worm
      • without
      • with
      • windows
      • wikipedia
      • widevine
      • whoops
      • went
      • welcome
      • websites
      • website
      • webos
      • webm
      • web
      • weather.com
      • war
      • w
    • x
      • xp
      • xhtml
      • xenon
      • x
    • y
      • youtube
      • yahoo
    • z
      • zoom
      • zfs
      • zemlin
  • Atom Feed