summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/idevicerestore.c4
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);