PDA

View Full Version : Unable to mount iPhone



dataworx22
02-11-2013, 09:57 AM
I'm running Knoppix 6.7 off a 4GB USB stick on an Acer Aspire 5520 laptop. My iPhone is a 3GS on iOS 5.1.1, jailbroken. On connecting the phone via USB it is recognised by File Manager, but I get error report 'Unhandled Lockdown error (-4)' Below is Terminal output:


knoppix@Microknoppix:~$ lsusb | grep Apple Bus 002 Device 005: ID 05ac:1294 Apple, Inc. iPhone 3GS
knoppix@Microknoppix:~$ sudo mkdir /media/iPhone
knoppix@Microknoppix:~$ sudo ifuse /media/iPhone/ -s Failed to connect to lockdownd service on the device. Try again.
If it still fails try rebooting your device. knoppix@Microknoppix:~$ I think I'm missing a fundamental step or is this an iOS constraint? Can someone here help me to connect this device? All I need to do is manipulate audio and photos


----------------------
Formatted by mod
wps

dataworx22
02-15-2013, 08:16 PM
I'm running Knoppix 6.7 off a 4GB USB stick on an Acer Aspire 5520 laptop. My iPhone is a 3GS on iOS 5.1.1, jailbroken. On connecting the phone via USB it is recognised by File Manager, but I get error report 'Unhandled Lockdown error (-4)' Below is Terminal output:


knoppix@Microknoppix:~$ lsusb | grep Apple Bus 002 Device 005: ID 05ac:1294 Apple, Inc. iPhone 3GS
knoppix@Microknoppix:~$ sudo mkdir /media/iPhone
knoppix@Microknoppix:~$ sudo ifuse /media/iPhone/ -s Failed to connect to lockdownd service on the device. Try again.
If it still fails try rebooting your device. knoppix@Microknoppix:~$ I think I'm missing a fundamental step or is this an iOS constraint? Can someone here help me to connect this device? All I need to do is manipulate audio and photos


----------------------
Formatted by mod
wps

So 4 days later I'm still struggling with this. I'm a Linux noob so I can understand if this is such a basic question that nobody can be bothered to answer. Or is it really so difficult that nobody can assist me?

I've posted this same query to http://libiphone.lighthouseapp.com/projects/27916-libiphone/tickets/315-unable-to-connect-iphone, and no luck, seems Apple keeps changing things with new releases of iOS.

klaus2008
02-16-2013, 07:37 AM
Greetings, dataworx22!

In the wiki at debian.org http://wiki.debian.org/iPhone you can read that you should upgrade your libimobiledevice.

If your iPhone has a recent version of iOS (5 or later? Maybe 4.3? 4.2.1?) then you will need libimobiledevice 1.1.1 or later, available in Wheezy. Squeeze has libimobiledevice 1.0.2, which will not work with recent versions of iOS.I hope that helps.

dataworx22
02-16-2013, 02:29 PM
Greetings, dataworx22!

In the wiki at debian.org http://wiki.debian.org/iPhone you can read that you should upgrade your libimobiledevice.
I hope that helps.

Greetings and salutations klaus 2008

That wiki page is most enlightening.

So currently I have installed: libimobiledevice-utils, libimobiledevice2 v 1.1.1-4, gvfs-backends, gvfs-bin, gvfs-fuse, and ifuse.
Also edited /etc/fuse.conf as instructed and verified that user knoppix is a member of the fuse group.
The iPhone shows up in File Manager, any attempt to mount it is still met with 'Unhandled Lockdown error (-4)'.

It seems I may have to configure the phone itself?

klaus2008
02-16-2013, 05:51 PM
sudo ifuse /media/iPhone/ -s What is the meaning of the option '-s'?

If you issue
ifuse --help you should get

Usage: ifuse <mount_point> [OPTIONS]
Mount filesystem of an iPhone/iPod Touch.

-o opt,[opt...] mount options
-u, --uuid UUID mount specific device by its 40-digit device UUID
-h, --help print usage information
-V, --version print version
--root mount root file system (jailbroken device required)
--debug enable libimobiledevice communication debugging

Example:

$ ifuse /media/iPhone --root

This mounts the root filesystem of the first attached device on
this computer in the directory /media/iPhone.

dataworx22
02-17-2013, 10:19 AM
What is the meaning of the option '-s'?

I copied the instruction from this site - see comment from forumite Helge.
http://www.ghabuntu.com/2009/09/ifuse-mount-your-iphoneipod-touch-in.html

I see from the help above that -s is not a known/valid switch, so I tried:
sudo ifuse /media/iPhone --root
which returned
knoppix@Microknoppix:~$ sudo ifuse /media/iPhone --root
Failed to connect to lockdownd service on the device.
Try again. If it still fails try rebooting your device.

klaus2008
02-17-2013, 08:00 PM
There are people who advise to issue the following commands after having connected the iPhone.

idevicepair unpair
idevicepair pair
idevicepair validate Does this solve the issue or do you still receive the same (or a new) error message?

dataworx22
02-18-2013, 08:45 AM
Hi Klaus, thanks again for taking the time to help with this. I've previously tried the pair/unpair commands, this is the output:

knoppix@Microknoppix:~$ idevicepair unpair
QueryType failed, error code -256
knoppix@Microknoppix:~$ idevicepair pair
QueryType failed, error code -256
knoppix@Microknoppix:~$ idevicepair validate
QueryType failed, error code -256

klaus2008
02-18-2013, 01:48 PM
There are two more commands you could try out.
idevice_id -l
ideviceinfo Maybe you should update your bug report at http://libiphone.lighthouseapp.com Tell them that you upgraded the libraries and still cannot connect.

dataworx22
02-18-2013, 07:20 PM
"idevice_id -l" returns the iPhone's UUID, and "ideviceinfo -s" returns general info
"ideviceinfo" does nothing

I'll update my bug report as you suggest. Thanks Klaus

dataworx22
02-18-2013, 08:02 PM
One more question: is establishing a connection to the iPhone contingent on there being an application such as Rhythmbox or Banshee installed on my laptop?

dataworx22
03-04-2013, 07:42 PM
So I updated the bug report over at http://libiphone.lighthouseapp.com (http://libiphone.lighthouseapp.com/)
I've had no response to that so I had a look at Ubuntu 12.04. I ran it 'live' off USB on the same laptop and it immediately recognized and mounted the iphone, giving me access to photos etc. I have since tried again to get the iphone recognized in Knoppix but to no avail.
I prefer to use Knoppix over Ubuntu - I find it considerably faster in virtually all respects and the Ice Weasel browser is significantly quicker than Firefox on Ubuntu, even with the same adblock settings etc. Ubuntu also crashes my laptop on virtually every session - the screen renders some very odd artifacts and then freezes, the only way out is to switch the machine off.
I'm considering doing a package comparison vis Synaptic so I can check what packages Ubuntu is running that enable the iphone, and then load said packages into Knoppix. Is it as simple as this or am I going to run into trouble with kernel conflicts/differences that make this plan unworkable?