Open ph1ps opened 9 years ago
Did you accept the trust dialog on the device? Any idea of what "Linux machine" you have and which versions you installed?
Well it's a RPI so I think its Debian and yes I accepted the trust dialog.
I have the same question with Ubuntu 14.04 64bit. Did you solve this problem.
Please post the output of a debug run (use the -d option).
iPhone 4S, iOS 8.1.2
# idevicebackup -d backup /root/test/
Backup directory is "/root/test/"
ERROR: Could not connect to lockdownd, error code -256
Same problem here, iPhone 5S, iOS 8.1
koenig@mtddios00:~/idevice/ideviceinstaller$ /usr/local/bin/ideviceinfo --udid a5582936801832a48f4224fc4a2844cccbf49251 --xml
ERROR: Could not connect to lockdownd, error code -2
Edit: I could handle this error by using the newest version. After this tapping on 'trust' in the trust dialog worked and the error didn't show again/
Just built all the idevice libs from github versions, on Ubuntu 14.04 64-bit I get this problem as well.
Output of syslog when I plug in the iPad is below. Simultaneously, on the device it shows "Trust this computer" and on the computer it shows a GUI stating "Unable to mount iPad Air - Unhandled Lockdown error (-20)" (presumably it tried to auto-mount something.)
It doesn't matter whether I tap trust on the device, no further commands work. I tried restarting usbmuxd with usbmuxd --force-exit
, but still get the lockdown message after.
Any ideas?
Apr 6 17:06:15 tao kernel: [2693957.304324] usb 3-2: new high-speed USB device number 7 using xhci_hcd
Apr 6 17:06:15 tao kernel: [2693957.321743] usb 3-2: New USB device found, idVendor=05ac, idProduct=12ab
Apr 6 17:06:15 tao kernel: [2693957.321746] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr 6 17:06:15 tao kernel: [2693957.321748] usb 3-2: Product: iPad
Apr 6 17:06:15 tao kernel: [2693957.321750] usb 3-2: Manufacturer: Apple Inc.
Apr 6 17:06:15 tao kernel: [2693957.321751] usb 3-2: SerialNumber: ---
Apr 6 17:06:15 tao kernel: [2693957.321843] usb 3-2: ep 0x2 - rounding interval to 8 microframes, ep desc says 10 microframes
Apr 6 17:06:15 tao kernel: [2693957.321846] usb 3-2: ep 0x81 - rounding interval to 8 microframes, ep desc says 10 microframes
Apr 6 17:06:15 tao mtp-probe: checking bus 3, device 7: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2"
Apr 6 17:06:15 tao mtp-probe: bus: 3, device: 7 was not an MTP device
Apr 6 17:06:15 tao kernel: [2693957.325184] usb 3-2: ep 0x2 - rounding interval to 8 microframes, ep desc says 10 microframes
Apr 6 17:06:15 tao kernel: [2693957.325188] usb 3-2: ep 0x81 - rounding interval to 8 microframes, ep desc says 10 microframes
Apr 6 17:06:15 tao kernel: [2693957.333611] ipheth 3-2:4.2: Apple iPhone USB Ethernet device attached
Apr 6 17:06:15 tao colord: Device added: sysfs-Apple_Inc.-iPad
Apr 6 17:06:15 tao colord: Device added: sysfs-(null)
Apr 6 17:06:15 tao colord: device removed: sysfs-(null)
Apr 6 17:06:15 tao colord: Device added: sysfs-(null)
Apr 6 17:06:09 tao NetworkManager[1434]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
Apr 6 17:06:15 tao NetworkManager[1434]: SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:4.2/net/eth0, iface: eth0)
Apr 6 17:06:15 tao NetworkManager[1434]: SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:4.2/net/eth0, iface: eth0): no ifupdown configuration found.
Apr 6 17:06:15 tao NetworkManager[1434]: <warn> failed to allocate link cache: (-12) Object not found
Apr 6 17:06:15 tao NetworkManager[1434]: <info> (eth0): carrier is OFF
Apr 6 17:06:15 tao NetworkManager[1434]: <info> (eth0): new Ethernet device (driver: 'ipheth' ifindex: 6)
Apr 6 17:06:15 tao NetworkManager[1434]: <info> (eth0): exported as /org/freedesktop/NetworkManager/Devices/3
Apr 6 17:06:15 tao NetworkManager[1434]: <info> (eth0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Apr 6 17:06:15 tao NetworkManager[1434]: <info> (eth0): bringing up device.
Apr 6 17:06:15 tao NetworkManager[1434]: <info> (eth0): preparing device.
Apr 6 17:06:15 tao NetworkManager[1434]: <info> (eth0): deactivating device (reason 'managed') [2]
Apr 6 17:06:15 tao NetworkManager[1434]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
Apr 6 17:06:15 tao NetworkManager[1434]: <info> Added default wired connection 'Wired connection 1' for /sys/devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:4.2/net/eth0
Apr 6 17:06:15 tao kernel: [2693957.360817] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Apr 6 17:06:15 tao kernel: [2693957.361115] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Apr 6 17:06:16 tao gpod: Client creation/handshake failed: -20
Huh, I was just able to install successfully by running usbmuxd
in the foreground:
usbmuxd --force-exit
sudo usbmuxd -f -v
[15:18:13.800][3] usbmuxd v1.1.1 starting up
[15:18:13.800][4] Creating socket
[15:18:13.800][4] Initializing USB
...
Full output here.
And in another terminal:
ideviceinstaller -d -i Main.ipa
@jcward exactly the same works for me :) Thanks
FYI, still get the unhandled lockdown error, the sudo workaround still works, iOS 8.4.
Hey,
I'm running a Linux machine and installed ideviceinstaller. The device is an iPhone 5S on iOS 8. But when I try to run the command gives me this error code: Could not connect to lockdownd. Exiting.
Any idea how I can fix this?