From bb701b87a5b63046308b0e75f512107cc7170bcc Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 11 Sep 2025 03:24:03 +0200 Subject: Increase timeout for device to enter restore mode --- src/idevicerestore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/idevicerestore.c') diff --git a/src/idevicerestore.c b/src/idevicerestore.c index 9c41423..dcdf1a6 100644 --- a/src/idevicerestore.c +++ b/src/idevicerestore.c @@ -1525,7 +1525,7 @@ int idevicerestore_start(struct idevicerestore_client_t* client) if (client->mode != MODE_RESTORE) { mutex_lock(&client->device_event_mutex); logger(LL_INFO, "Waiting for device to enter restore mode...\n"); - cond_wait_timeout(&client->device_event_cond, &client->device_event_mutex, 180000); + cond_wait_timeout(&client->device_event_cond, &client->device_event_mutex, 300000); if (client->mode != MODE_RESTORE || (client->flags & FLAG_QUIT)) { mutex_unlock(&client->device_event_mutex); logger(LL_ERROR, "Device failed to enter restore mode.\n"); -- cgit v1.1-32-gdbae