Mounting an iPhone

Due to several reasons that I will not discuss here, I decided my next phone to be an iPhone SE. Of course, I naively expected that when I plug it in my computer, it will behave. Well, it doesn’t. The phone has iOS 11 and in Slackware 14.2 the system sees it, but there’s no way to mount it. In Slackware -current I can access my photos only. Well, I googled a bit and here’s what I did on -current.

Install the latest version of libimobiledevice, which at the moment is commit 26373b3 on Sep 15, 2017. First, get the SlackBuild and slack-desc from -current. At the moment, the script builds libimobiledevice version 1.2.0 and applies a patch to fix mounting issues on iOS 10. I am building a later version and seems I do not need the sslv3 patch. Then get the commit source:


The SlackBuild has to be modified a bit. Comment out the patch line and add an step:

# Make sure ownerships and permissions are sane:
chown -R root:root .
find . \
  \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
  -exec chmod 755 {} \; -o \
  \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
  -exec chmod 644 {} \;

# Fixes mounting issues with iOS 10:
#zcat $CWD/libimobiledevice.use_tlsv1_instead_of_sslv3.diff.gz | patch -p1 --verbose || exit 1


./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --docdir=/usr/doc/$PKGNAM-$VERSION \
  --mandir=/usr/man \
  --disable-static \
  --build=$ARCH-slackware-linux || exit 1

Upgrade the default package with the new one. Then install ifuse from SBo. That’s it. Now not only the photos are accessible but some of the phone folders.

One Comment on “Mounting an iPhone”

  1. […] old iPhone saga continues. I use my phone quite “lightly”, but every couple of years I think it’s […]

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s