While reading through this site and using google, I've found a way to be able to sync my iPhone 4 on iOS 7.0.2 on Ubuntu 12.04. These instructions I've compiled from other users, and from the libimobiledevice github repo.
First, make sure the following packages are installed, either through the Ubuntu Software Center, or through the Terminal:
git
libgnutls
libgnutls-dev
libplist
libplist-dev
libusbmuxd
libusbmuxd-dev
usbmuxd
make
autoconf # this should also install automake
autoheader
libtool
pkg-config
gcc
# optional but recommended
cython
doxygen
Second, create a folder somewhere on your computer (I will use a folder on my desktop called libupdate
).
Open the terminal and CD to that directory:
cd ~/Desktop/libupdate
Once you do that, type or copy/paste this into the console:
git clone http://git.sukimashita.com/libimobiledevice.git
Wait for the repo to download. Keep that Terminal window open
Once that completes, open the folder that was created when you ran the above command (should be called libimobiledevice
). Double click the file called autogen.sh
and click Run in Terminal
. It will open a new terminal window that will close when it's finished.
To run these next commands first cd into the libimobiledevice
directory that was created through the git clone
command above by typing:
cd libimobiledevice
These next commands can be run as-is, but I recommend running as sudo
to minimize chances of issues arising. The last command MUST be run as sudo
. Run these one at a time, let them complete before running the next
./configure
make
sudo make install
Once this completes, restart your computer.
Once you log back in to your computer, unlock your iPhone. Ignore any dialogs that pop up on your computer. Follow these next steps EXACTLY AS I LIST THEM
- Plug the USB end of the cable into the computer
- Plug the iPhone end of the cable into the iPhone
- The trust dialog will come up
- You must be quick for this next step, tap on Trust and IMMEDIATELY UNPLUG THE IPHONE FROM THE CABLE! You must pull the cable out before the iPhone vibrates/reconnects and brings the trust dialog up again. If this happens, do this step again
- Lock your iPhone
- Plug your iPhone back in
- Unlock your iPhone, ignore any dialogs that pop up on either your computer or the iPhone (Trust Dialog shouldn't come up)
In a Terminal, run the following command
idevicepair pair
The Terminal should report this as successful and your device should be accessible from your computer, to test this run Shotwell (from the terminal or the dash). Click on your iPhone and your pictures should come up.
You can also click on your iPhone in the devices section in the Nautilus file browser. If something comes up on your iPhone hit Trust ONLY ONCE! and click try again, continue, etc. on your computer. Your iPhone may then come up twice. The one that says documents is for apps that have some sort of file sharing/document access (like music downloaders or ringtone makers).
If you want to backup your iPhone, run this command
idevicebackup2 backup --full <path/to/where/you/want/to/backup>
If you want to backup/copy your photos and videos, open Shotwell and import your photos (CTRL+A, right click, import)
If you want to copy your music/music videos/movies onto your computer, open Rhythmbox and select your iPhone, then make sure you can see all of your music (videos and ringotones won't have a title, music might, depending if you ever edited their tags in iTunes originally). Then, select all (CTRL+A), and drag them into a folder on your computer. They might have weird names, blame iTunes.
I haven't tried adding anything yet, but atleast you can access your files and backup you iPhone now!