diff options
author | Nikias Bassen | 2017-12-12 07:37:10 +0100 |
---|---|---|
committer | Nikias Bassen | 2017-12-12 07:37:10 +0100 |
commit | a8ac2437bbf7c34bed6e09c18b60800f317e6cbd (patch) | |
tree | 5150b35583ae4ca8c1dc87b5b7bf87187f281bef /src | |
parent | 858ae67dfd1fe448e8c6c6a31b509d6b1bca18c8 (diff) | |
download | idevicerestore-a8ac2437bbf7c34bed6e09c18b60800f317e6cbd.tar.gz idevicerestore-a8ac2437bbf7c34bed6e09c18b60800f317e6cbd.tar.bz2 |
AppleTV: Only wait for older AppleTV models to enter recovery mode after restore
Diffstat (limited to 'src')
-rw-r--r-- | src/idevicerestore.c | 4 |
1 files 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); |