summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2022-08-23 17:18:40 +0200
committerGravatar Nikias Bassen2022-08-23 17:18:40 +0200
commit4a516e5f5e0c509de966cc1ac45622f452f23e0b (patch)
tree57ff87e995ff060258fde82fabda8e1635055b73 /src
parent7d622d916be16f2df5a72bf53a42f3a326bbfaa4 (diff)
downloadidevicerestore-4a516e5f5e0c509de966cc1ac45622f452f23e0b.tar.gz
idevicerestore-4a516e5f5e0c509de966cc1ac45622f452f23e0b.tar.bz2
tss: Skip components with IsFTAB:true when adding AP tags to request
This should fix devices failing to enter restore mode due to an incorrect signature for the repective components.
Diffstat (limited to 'src')
-rw-r--r--src/tss.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tss.c b/src/tss.c
index 13a38a4..b6980a7 100644
--- a/src/tss.c
+++ b/src/tss.c
@@ -667,6 +667,12 @@ int tss_request_add_ap_tags(plist_t request, plist_t parameters, plist_t overrid
}
}
+ /* skip components with IsFTAB:true */
+ if (_plist_dict_get_bool(info_dict, "IsFTAB")) {
+ debug("DEBUG: %s: Skipping FTAB component '%s'\n", __func__, key);
+ continue;
+ }
+
/* copy this entry */
plist_t tss_entry = plist_copy(manifest_entry);