summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-02-11 04:14:52 +0100
committerGravatar Nikias Bassen2014-02-11 04:14:52 +0100
commit454541a3c9c7e6799713639213ecf0c93d2ef224 (patch)
tree69e7a069d883e719dd92cfece7149618338ec479
parent88abfff8709304b207c9bc00847f3674cff2c5ca (diff)
downloadidevicerestore-454541a3c9c7e6799713639213ecf0c93d2ef224.tar.gz
idevicerestore-454541a3c9c7e6799713639213ecf0c93d2ef224.tar.bz2
dfu: fix DFU->Recovery mode switch for iOS 7.x
-rw-r--r--src/dfu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dfu.c b/src/dfu.c
index 5f7ad03..12d27c6 100644
--- a/src/dfu.c
+++ b/src/dfu.c
@@ -196,7 +196,7 @@ int dfu_send_component(struct idevicerestore_client_t* client, plist_t build_ide
free(component_data);
component_data = NULL;
- if (!client->image4supported && !(client->flags & FLAG_CUSTOM) && (strcmp(component, "iBEC") == 0)) {
+ if ((client->build_major > 8) && (client->build_major < 11) && !(client->flags & FLAG_CUSTOM) && (strcmp(component, "iBEC") == 0)) {
unsigned char* ticket = NULL;
unsigned int tsize = 0;
if (tss_response_get_ap_ticket(client->tss, &ticket, &tsize) < 0) {