idevicerestore icon indicating copy to clipboard operation
idevicerestore copied to clipboard

[iPhone8] [D20AP] [iPhone10,1] - ERROR: Unable to receive message from FDR 0x7f05d8001320 (-2). 0/2 bytes - ERROR: Unable to send data to ASR. Sent 0 of 20 bytes.

Open Un1Gfn opened this issue 3 years ago • 7 comments

There are multiple errors and title is only the first one. See idevicerestore.txt

(Arch Linux) uname -r 5.11.11
libplist 2.2.0
libusb 1.0.24
libimobiledevice 1.3.0
libirecovery 11324701c89a2ef2ace1686fe25eeec9ad8adac8
idevicerestore 4c154e82197039fd0991c69f563706bb17eb13ff

$ sha1sum ./iPhone_4.7_P3_14.4.2_18D70_Restore.ipsw

076b9e90ff4eb3eab348334861ccdf6c5f0c5e25

# idevicerestore --erase ./iPhone_4.7_P3_14.4.2_18D70_Restore.ipsw

idevicerestore.txt

Un1Gfn avatar Apr 05 '21 09:04 Un1Gfn

Second attempt fails with a different cable (both USB-A to lightning). This time the following becomes the first error encountered.

[=====================================             ]  72.0%ERROR: Unable to send data to ASR. Sent 0 of 20 bytes.

Full log idevicerestore2.txt

Un1Gfn avatar Apr 05 '21 09:04 Un1Gfn

Hi, I found building libusb and libplist from scratch helpful

demhademha avatar Apr 05 '21 09:04 demhademha

I have updated the first comment with my libplist and libusb version.

Hi, I found building libusb and libplist from scratch helpful

~Should I build "the latest release" or "the latest commit in master branch"?~ will build git master

Un1Gfn avatar Apr 05 '21 09:04 Un1Gfn

Make sure to also use libusmbuxd from git master.

nikias avatar Apr 05 '21 10:04 nikias

$ pactree idevicerestore-git -a | tr '|`-' '   '

I will try building all the following packages (non-exhaustive) from the latest git version.

idevicerestore-git
  libirecovery-git
    libusb
  libimobiledevice
    libusbmuxd
      libusb
      libplist
    usbmuxd
      libimobiledevice

Un1Gfn avatar Apr 05 '21 11:04 Un1Gfn

Could you ensure that all of the projects are compiled via git

demhademha avatar Apr 05 '21 11:04 demhademha

I will, but I need couple of days 'cause I cannot reinstall all of them on my everyday laptop. That's gonna remove 700+ packages. I'd rather do it on my build PC when I'm back home.

Un1Gfn avatar Apr 05 '21 14:04 Un1Gfn