summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-11-20 20:24:15 +0100
committerGravatar Martin Szulecki2013-11-20 20:26:49 +0100
commit00e49eec6fd1dc3814ef867c2c0b17f770589c36 (patch)
tree30209970b8ce88d943c33fa4a54dd9d130154db9
parent04309fe10ab18d8d9185ab586ea277cb5901af12 (diff)
downloadidevicerestore-00e49eec6fd1dc3814ef867c2c0b17f770589c36.tar.gz
idevicerestore-00e49eec6fd1dc3814ef867c2c0b17f770589c36.tar.bz2
restore: Add PersonalizedDuringPreflight key for "single TSS request" restore
-rw-r--r--src/restore.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/restore.c b/src/restore.c
index 8cf3be2..252b2e3 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -1764,6 +1764,9 @@ int restore_device(struct idevicerestore_client_t* client, plist_t build_identit
// FIXME: not required for iOS 5?
//plist_dict_insert_item(opts, "UserLocale", plist_new_string("en_US"));
+ /* this is mandatory on iOS 7+ to allow restore from normal mode */
+ plist_dict_insert_item(opts, "PersonalizedDuringPreflight", plist_new_bool(1));
+
// start the restore process
restore_error = restored_start_restore(restore, opts, client->restore->protocol_version);
if (restore_error != RESTORE_E_SUCCESS) {