summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/idevicerestore.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index bf58a3e..fb0b329 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -1494,7 +1494,11 @@ int idevicerestore_start(struct idevicerestore_client_t* client)
if (client->mode != MODE_RESTORE || (client->flags & FLAG_QUIT)) {
mutex_unlock(&client->device_event_mutex);
error("ERROR: Device failed to enter restore mode.\n");
- error("Please make sure that usbmuxd is running.\n");
+ if (client->mode == MODE_UNKNOWN) {
+ error("Make sure that usbmuxd is running.\n");
+ } else if (client->mode == MODE_RECOVERY) {
+ error("Device reconnected in recovery mode, most likely image personalization failed.\n");
+ }
return -1;
}
mutex_unlock(&client->device_event_mutex);