libimobile设备问题

Ran*_*man 7 16.04

尝试使用 USB 电缆连接 Kubuntu 16.04 盒连接运行 ios 10.0.2 的 iPad Pro 12.9

:~$ /usr/bin/idevicepair -u ***** pair
SUCCESS: Paired with device

:~$ idevicepair validate *********
SUCCESS: Validated pairing with device

:~$ ifuse ~/media/ipad -u ******
GnuTLS error: Error in the pull function.
Failed to connect to lockdownd service on the device.
Try again. If it still fails try rebooting your device.
Run Code Online (Sandbox Code Playgroud)

重启,重复,同样的结果。任何人都知道出了什么问题,或者有更好的论坛来问这个问题吗?

谢谢,格斯


抱歉 Rinzwind 我不是要欺骗任何人。无论如何,以下是您建议的结果。我不确定如何检查 openssl 是否使用 SSLv3(帮助?)

$ env | grep 99
GNUTLS_DEBUG_LEVEL=99

$ /usr/bin/idevicepair validate
gnutls[2]: Enabled GnuTLS 3.4.10 logging...
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
SUCCESS: Validated pairing with device ***********
Run Code Online (Sandbox Code Playgroud)

(下面安装到 /media/ipad 不是 ~/media/ipad .....)

$ ifuse /media/ipad -u **********
gnutls[2]: Enabled GnuTLS 3.4.10 logging...
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[5]: REC[0x19d7300]: Allocating epoch #0
gnutls[3]: ASSERT: gnutls_constate.c:596
gnutls[5]: REC[0x19d7300]: Allocating epoch #1
gnutls[4]: HSK[0x19d7300]: Keeping ciphersuite: GNUTLS_RSA_AES_128_CBC_SHA1 (00.2F)
gnutls[4]: HSK[0x19d7300]: Keeping ciphersuite: GNUTLS_RSA_AES_256_CBC_SHA1 (00.35)
gnutls[4]: EXT[0x19d7300]: Sending extension ENCRYPT THEN MAC (0 bytes)
gnutls[4]: EXT[0x19d7300]: Sending extension SAFE RENEGOTIATION (1 bytes)
gnutls[4]: EXT[0x19d7300]: Sending extension SESSION TICKET (0 bytes)
gnutls[4]: HSK[0x19d7300]: CLIENT HELLO was queued [62 bytes]
gnutls[11]: HWRITE: enqueued [CLIENT HELLO] 62. Total 62 bytes.
gnutls[11]: HWRITE FLUSH: 62 bytes in buffer.
gnutls[5]: REC[0x19d7300]: Preparing Packet Handshake(22) with length: 62 and min pad: 0
gnutls[9]: ENC[0x19d7300]: cipher: NULL, MAC: MAC-NULL, Epoch: 0
gnutls[11]: WRITE: enqueued 67 bytes for 0x19dac30. Total 67 bytes.
gnutls[5]: REC[0x19d7300]: Sent Packet[1] Handshake(22) in epoch 0 and length: 67
gnutls[11]: HWRITE: wrote 1 bytes, 0 bytes left.
gnutls[11]: WRITE FLUSH: 67 bytes in buffer.
gnutls[11]: WRITE: wrote 67 bytes, 0 bytes left.
gnutls[3]: ASSERT: gnutls_buffers.c:1154
gnutls[10]: READ: -2 returned from 0x19dac30, errno=0 gerrno=0
gnutls[3]: ASSERT: gnutls_buffers.c:367
gnutls[3]: ASSERT: gnutls_buffers.c:588
gnutls[3]: ASSERT: gnutls_record.c:1038
gnutls[3]: ASSERT: gnutls_record.c:1158
gnutls[3]: ASSERT: gnutls_buffers.c:1409
gnutls[3]: ASSERT: gnutls_handshake.c:1446
gnutls[3]: ASSERT: gnutls_handshake.c:2757
gnutls[5]: REC[0x19d7300]: Start of epoch cleanup
gnutls[5]: REC[0x19d7300]: End of epoch cleanup
gnutls[5]: REC[0x19d7300]: Epoch #0 freed
gnutls[5]: REC[0x19d7300]: Epoch #1 freed
GnuTLS error: Error in the pull function.
Failed to connect to lockdownd service on the device.
Try again. If it still fails try rebooting your device.
Run Code Online (Sandbox Code Playgroud)

小智 4

尝试了以下 PPA,它对我有用(感谢Martin Salbaba),
升级到 libimobiledevice 并将相关软件包升级到新版本:

sudo add-apt-repository ppa:martin-salbaba/ppa+libimobiledevice
sudo apt-get update
sudo apt install libimobiledevice-utils ifuse
Run Code Online (Sandbox Code Playgroud)

配对步骤:

将您的 iOS 10 设备连接到您的计算机:

idevicepair pair
Run Code Online (Sandbox Code Playgroud)

在警告“信任这台计算机吗?”中选择“信任” 在您的设备上:

idevicepair pair
Run Code Online (Sandbox Code Playgroud)

挂载 iOS 文件系统

ifuse Directory_to_mount_iDevice/
Run Code Online (Sandbox Code Playgroud)

以上在运行 iOS 10.1.1 的 iPhone 6s 上测试

并且:
正确卸载:

fusemount -u Directory_to_mount_iDevice/
Run Code Online (Sandbox Code Playgroud)

参考:

如何在 Ubuntu 16.04 上安装 iPhone 6s?


Rin*_*ind 1

GnuTLS 错误:拉取函数出错。

是网络错误。您可以设置GNUTLS_DEBUG_LEVEL为 99 以获取有关错误的更多信息。它可能会告诉您正在使用比所需的旧库,或者 openssl 有问题。

但 ...

ifuse ~/media/ipad -u

我觉得不对?为什么/media前面有一个~?我假设您在 /media 中安装了设备,而不是在您的家中?

还要确保您不要在没有 SSLv3 的情况下使用 openssl,否则它将失败并出现锁定服务错误通知。