From a8ac2437bbf7c34bed6e09c18b60800f317e6cbd Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 12 Dec 2017 07:37:10 +0100 Subject: AppleTV: Only wait for older AppleTV models to enter recovery mode after restore --- src/idevicerestore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/idevicerestore.c b/src/idevicerestore.c index a051b95..ca33800 100644 --- a/src/idevicerestore.c +++ b/src/idevicerestore.c @@ -909,8 +909,8 @@ int idevicerestore_start(struct idevicerestore_client_t* client) if (delete_fs && filesystem) unlink(filesystem); - /* special handling of AppleTVs */ - if (strncmp(client->device->product_type, "AppleTV", 7) == 0) { + /* special handling of older AppleTVs as they enter Recovery mode on boot when plugged in to USB */ + if ((strncmp(client->device->product_type, "AppleTV", 7) == 0) && (client->device->product_type[7] < '5')) { if (recovery_client_new(client) == 0) { if (recovery_set_autoboot(client, 1) == 0) { recovery_send_reset(client); -- cgit v1.1-32-gdbae