Accessing Files from *pple Device with GNU+Linux

WARNING: This post will use non-free software to achieve the goal of backing up files of your Cr*pple Device (*pad/*phone)

I will assume that you are using a Debian GNU+Linux or a similar distribution.


$ sudo apt update
$ sudo apt install ifuse libimobiledevice-utils python-imobiledevice python-plist usbmuxd  ideviceinstaller 

Plug in your device now:


$ sudo dmesg|tail
[ 5084.720046] ipheth 2-1:4.2: Apple iPhone USB Ethernet now disconnected
[ 5262.964032] usb 2-1: new high-speed USB device number 18 using ehci-pci
[ 5263.114313] usb 2-1: New USB device found, idVendor=05xx, idProduct=1xxx
[ 5263.114320] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=x
[ 5263.114325] usb 2-1: Product: iCrap
[ 5263.114329] usb 2-1: Manufacturer: Apple Inc.
[ 5263.114333] usb 2-1: SerialNumber: exxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

$ sudo lsusb
Bus 002 Device 018: ID 05xx:1xxx Apple, Inc. iCrap

Wait for the authorization screen, click Allow this device or Trust computer.
If this does not appear, try replugging the device.

Take note of the SerialNumber we will use this after pairing the device.
Pair the device


$ sudo idevicepair pair
SUCCESS: Paired with device exxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Open your preferred file manager and browse the location:

 afc://exxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 

replace exxxxxxxxxxxxxxxxx with your device SerialNumber
Copy files photos and videos to your PC!

Unpair with the device and unplug it.


sudo idevicepair unpair
SUCCESS: Unpaired with device exxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Switch to a non-apple device. if using android then use lineage OS or better Replicant.

Except where otherwise noted, this work is licensed under Creative Commons Attribution-ShareAlike 4.0 International License (http://creativecommons.org/licenses/by-sa/4.0/).
I hope that this post is useful to you, if you liked this post you may support me via Patreon or liberapay. Thank you for your support.