Access and recover files from an iPhone on linux

Access and recover files from an iPhone on linux
Page content

Usually, a Mac or iTunes on a Windows PC is the best way to access files on an iPhone. Well, sometimes you might also want to access the files on linux for backup and recovery reasons. Here’s how on Ubuntu…

Introduction and Disclaimer

It may be difficult to access an iPhone on Linux, because it is not officially supported by Apple - and Apple tends to change the transfer and security protocols sometimes. So maybe the described method won’t work in the future or maybe you will lose your files… don’t blame me.

TL;DR

Plugin your iPhone via USB cable, then run the following commands:

# install required packages
sudo apt install libimobiledevice6 libimobiledevice-utils ifuse

# pair device
# note: maybe interaction like entering the access code on the phone is required
# rerun this command after entering the PIN until you get a success message
idevicepair pair

# enable multiple connections
usbmuxd -f -v

# create mount point
sudo mkdir /media/iphone

# mount your device as userspace filesystem (FUSE)
ifuse /media/iphone

# open files in favorite file explorer (Desktop OS only)
xdg-open /media/iphone

# unmount phone after file transfer
fusermount -u /media/iphone
# alternate method: ifuse -u /media/iphone
Andreas Fuhrich avatar
About Andreas Fuhrich
I’m a professional software developer and tech enthusiast from Germany. On this website I share my personal notes and side project details. If you like it, you could support me on github - if not, feel free to file an issue :-)