Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Unable to mount iPhone

  1. #1
    Junior Member
    Join Date
    Feb 2013
    Posts
    28

    Unable to mount iPhone

    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:

    Code:
    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
    Last edited by Werner P. Schulz; 02-11-2013 at 05:23 PM.

  2. #2
    Junior Member
    Join Date
    Feb 2013
    Posts
    28
    Quote Originally Posted by dataworx22 View Post
    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:

    Code:
    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/p...connect-iphone, and no luck, seems Apple keeps changing things with new releases of iOS.

  3. #3
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    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.

  4. #4
    Junior Member
    Join Date
    Feb 2013
    Posts
    28
    Quote Originally Posted by klaus2008 View Post
    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?

  5. #5
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    sudo ifuse /media/iPhone/ -s
    What is the meaning of the option '-s'?

    If you issue
    Code:
    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.

  6. #6
    Junior Member
    Join Date
    Feb 2013
    Posts
    28
    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/ifus...-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.

  7. #7
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    There are people who advise to issue the following commands after having connected the iPhone.
    Code:
    idevicepair unpair
    idevicepair pair
    idevicepair validate
    Does this solve the issue or do you still receive the same (or a new) error message?

  8. #8
    Junior Member
    Join Date
    Feb 2013
    Posts
    28
    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

  9. #9
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    There are two more commands you could try out.
    Code:
    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.

  10. #10
    Junior Member
    Join Date
    Feb 2013
    Posts
    28
    "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

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Intel Xeon E3-1270 v6 3.80GHz 4 Cores SR326 LGA1151 CPU Processor picture

Intel Xeon E3-1270 v6 3.80GHz 4 Cores SR326 LGA1151 CPU Processor

$46.00



Intel SR00B Processor I7-2600 3.40 GHz Cores 4 picture

Intel SR00B Processor I7-2600 3.40 GHz Cores 4

$17.85



AMD Ryzen 9 7900X3D Gaming Processor - 12 Core And 24 Threads - 5.60 GHz Max Boo picture

AMD Ryzen 9 7900X3D Gaming Processor - 12 Core And 24 Threads - 5.60 GHz Max Boo

$329.99



Intel Core  i9-9900K  -  3.6GHz Octo Core (SRG19) Processor picture

Intel Core i9-9900K - 3.6GHz Octo Core (SRG19) Processor

$200.00



AMD Ryzen 5 Pro 3400G 3.7Ghz 4-Core Socket AM4 CPU Processor YD340BC5M4MFH picture

AMD Ryzen 5 Pro 3400G 3.7Ghz 4-Core Socket AM4 CPU Processor YD340BC5M4MFH

$56.48



Intel Core i5-9500 SRF4B 3.00GHz Six Core LGA1151 Processor picture

Intel Core i5-9500 SRF4B 3.00GHz Six Core LGA1151 Processor

$65.00



Intel Core i7-14700KF Unlocked Desktop Processor picture

Intel Core i7-14700KF Unlocked Desktop Processor

$420.22



AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor picture

AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor

$77.77



Intel Core i5-8500 3.00GHz SR3XE Socket 1151 6 Core CPU Processor picture

Intel Core i5-8500 3.00GHz SR3XE Socket 1151 6 Core CPU Processor

$55.00



Intel Core i5-13500 Desktop Processor 14 cores 24MB LGA1700 picture

Intel Core i5-13500 Desktop Processor 14 cores 24MB LGA1700

$189.99