Unable to send data to ASR. Sent 0 of 131092 bytes. #205
Replies: 43 comments 8 replies
-
|
and... the logs from the side of the iphone instead of the companion are...? |
Beta Was this translation helpful? Give feedback.
-
|
you mean the logs qemu outputs when you run qemu-system-aarch64 with the flags for the iphone? those are the attached logs atleast the final ones, if you need the companion logs i can retry and dump them |
Beta Was this translation helpful? Give feedback.
-
|
sorry, I was tired. rather please attach the full logs from both sides |
Beta Was this translation helpful? Give feedback.
-
|
restore.log companion: |
Beta Was this translation helpful? Give feedback.
-
Why on earth are you doing that? |
Beta Was this translation helpful? Give feedback.
-
|
i just tried it maybe it would change something |
Beta Was this translation helpful? Give feedback.
-
|
Have you made sure that the ipsw, that you put inside the companion, is complete and not corrupted? Is there enough free space left? What exact idevicerestore command are you using? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
the default settings are not the problem, the whole "I want to experiment without knowing what I'm doing. Oops, something broke. I'll just report an issue without telling what I've done different." is. First with 5 GiB of RAM, and now 32 GiB for the nvme root file (formerly nvme.1)? I would say stop the experiments until you're more comfortable using the emulator, maybe after you made it run successfully at least once. Just try to turn off your brain and instead blindly follow the instructions. Not thinking, just doing. |
Beta Was this translation helpful? Give feedback.
-
|
sure, i redid the entire thing from the ground up without deviating from the guide one bit and i got the exact same result 1:1 |
Beta Was this translation helpful? Give feedback.
-
|
Are you sure that you're using the patched idevicerestore instead of the one installed by pacman? Try |
Beta Was this translation helpful? Give feedback.
-
|
returns /usr/local/bin/idevicerestore |
Beta Was this translation helpful? Give feedback.
-
|
I can't find whether you are actually using a modified version of the very latest idevicerestore commit. The commit hash in the log goes to 404 (libimobiledevice/idevicerestore@geda43ac). |
Beta Was this translation helpful? Give feedback.
-
|
but if you are, maybe this is related: |
Beta Was this translation helpful? Give feedback.
-
|
just updated all the tools. it works fine.
|
Beta Was this translation helpful? Give feedback.
-
|
this is mostly for proof of concept, i dont really care how awful it runs |
Beta Was this translation helpful? Give feedback.
-
|
i retried again after the random segfault, well it got further actually, to 68% before the same thing happened |
Beta Was this translation helpful? Give feedback.
-
|
try running the companion under kvm (-accel kvm) |
Beta Was this translation helpful? Give feedback.
-
|
ive always had the companion accelerated with kvm, as shown in my reply with the initial logs and commands |
Beta Was this translation helpful? Give feedback.
-
|
didn't notice. maybe then try not using kvm. that screenshot I showed you was with both fully emulated (m3 macbook pro) |
Beta Was this translation helpful? Give feedback.
-
|
alright i tried with tcg, first off DAMN that was slow, secondly it died at 63%, same thing |
Beta Was this translation helpful? Give feedback.
-
|
maybe just try 1gb for companion and 3-4gb for the iphone |
Beta Was this translation helpful? Give feedback.
-
|
i tried 1gb companion 3gb iphone, the phone kernel panicked so i switched to 4, ram usage was a bit lighter but in the end same result |
Beta Was this translation helpful? Give feedback.
-
? |
Beta Was this translation helpful? Give feedback.
-
|
as i said, it dies at 3gb of ram with some debug logs |
Beta Was this translation helpful? Give feedback.
-
|
okay nevermind it was dying because of an unrelated thing, i fixed that and i started flashing |
Beta Was this translation helpful? Give feedback.
-
|
as an update, im upgrading to a much better laptop (ryzen 5 5625U, 16gb ram) soon and ill retry it on that, probably ruling out any weird hardware constraints |
Beta Was this translation helpful? Give feedback.
-
|
i upgraded to the new laptop and i can confirm the restore works just fine and the first boot works |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I got the same error, anyone have ideas?
|
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Operating System
Arch Linux
What is your CPU's model?
Intel core i5-5300U
Describe the unexpected behaviour in detail.
when running idevicerestore, it starts working for a bit before seemingly randomly failing with "Unable to send data to ASR. Sent 0 of 131092 bytes." multiple times before aborting, this happens at a random arbitrary percantage while sending the filesystem
i also tried recompiling idevicerestore with the patch in #119 same deal though
additionally i tried removing --erase from the command as stated in #169 but same result
What should've happened instead?
the command shouldve finished restoring the iphone
Attach any logs related to this issue.
final iphone logs:
ASR: Validating sizes... ASR: done ASR STATUS: restore ASR RESTORE PROGRESS: 2% ramrod_display_set_granular_progress_forced: 8.000000 Sep 26 13:04:40 PurpleReverseProxy[9] : RPSocket.cpp:218(signal): No client callback, missing event 8 for socket 0x112904190 Sep 26 13:04:40 PurpleReverseProxy[9] : RPSocket.cpp:360(FinalizeRPSocket): Closed <RPSocket 0x1129042b0: CtrlConn fd=-1> after reading 103 bytes and writing 109 bytes Sep 26 13:04:40 PurpleReverseProxy[9] : RPSocket.cpp:363(FinalizeRPSocket): Ending os transaction for <RPSocket 0x1129042b0: CtrlConn fd=-1> recv(9, 4) failed: connection closed unable to read message size: -1 could not receive message
Issue Report Terms
Beta Was this translation helpful? Give feedback.
All reactions