summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/recovery.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/recovery.c b/src/recovery.c
index db489b2..13d273d 100644
--- a/src/recovery.c
+++ b/src/recovery.c
@@ -149,6 +149,8 @@ int recovery_set_autoboot(struct idevicerestore_client_t* client, int enable) {
int recovery_enter_restore(struct idevicerestore_client_t* client, plist_t build_identity) {
if (client->build_major >= 8) {
client->restore_boot_args = strdup("rd=md0 nand-enable-reformat=1 -progress");
+ } else if (client->build_major >= 20) {
+ client->restore_boot_args = strdup("rd=md0 nand-enable-reformat=1 -progress -restore");
}
/* upload data to make device boot restore mode */