From f6950c2461b28333bcef84a98f2132e93b216faf Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 11 Oct 2022 12:46:12 +0200 Subject: recovery: Also send "go" and "reset" commands with bRequest set to 1 --- src/recovery.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/recovery.c b/src/recovery.c index 59cce62..a9d6b61 100644 --- a/src/recovery.c +++ b/src/recovery.c @@ -344,7 +344,7 @@ int recovery_send_ibec(struct idevicerestore_client_t* client, plist_t build_ide return -1; } - recovery_error = irecv_send_command(client->recovery->client, "go"); + recovery_error = irecv_send_command_breq(client->recovery->client, "go", 1); if (recovery_error != IRECV_E_SUCCESS) { error("ERROR: Unable to execute %s\n", component); return -1; @@ -575,7 +575,7 @@ int recovery_get_sep_nonce(struct idevicerestore_client_t* client, unsigned char int recovery_send_reset(struct idevicerestore_client_t* client) { - irecv_send_command(client->recovery->client, "reset"); + irecv_send_command_breq(client->recovery->client, "reset", 1); return 0; } -- cgit v1.1-32-gdbae