Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while trying to install application in iOS 8 #14

Open
ph1ps opened this issue Oct 25, 2014 · 10 comments
Open

Error while trying to install application in iOS 8 #14

ph1ps opened this issue Oct 25, 2014 · 10 comments
Labels

Comments

@ph1ps
Copy link

ph1ps commented Oct 25, 2014

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?

@FunkyM
Copy link
Member

FunkyM commented Oct 25, 2014

Did you accept the trust dialog on the device?
Any idea of what "Linux machine" you have and which versions you installed?

@ph1ps
Copy link
Author

ph1ps commented Oct 25, 2014

Well it's a RPI so I think its Debian and yes I accepted the trust dialog.

@yangdm0209
Copy link

I have the same question with Ubuntu 14.04 64bit.
Did you solve this problem.

@FunkyM
Copy link
Member

FunkyM commented Feb 26, 2015

Please post the output of a debug run (use the -d option).

@okias
Copy link

okias commented Mar 1, 2015

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

@raymontag
Copy link

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/

@jcward
Copy link

jcward commented Apr 6, 2015

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

@jcward
Copy link

jcward commented Apr 7, 2015

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

@ghost
Copy link

ghost commented May 17, 2015

@jcward exactly the same works for me :) Thanks

@jcward
Copy link

jcward commented Jul 22, 2015

FYI, still get the unhandled lockdown error, the sudo workaround still works, iOS 8.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants