summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2023-10-06 12:12:27 +0200
committerGravatar Nikias Bassen2023-10-06 12:12:27 +0200
commit523e567f16f45dc3b9a73921d700e026bcc4b94e (patch)
tree224a1c05ebd991ada3bd854083cb55b374899e35 /src
parent7e5860d249441d0b45e50de2b46475432e3fc908 (diff)
downloadidevicerestore-523e567f16f45dc3b9a73921d700e026bcc4b94e.tar.gz
idevicerestore-523e567f16f45dc3b9a73921d700e026bcc4b94e.tar.bz2
restore: Skip adding FirmwareData to FirmwareResponseData for Rose
Diffstat (limited to 'src')
-rw-r--r--src/restore.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/restore.c b/src/restore.c
index 26a93a0..fc7ec9b 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -2487,6 +2487,12 @@ static plist_t restore_get_rose_firmware_data(restored_client_t restore, struct
error("ERROR: No 'Rap,Ticket' in TSS response, this might not work\n");
}
+ /* skip FirmwareData for newer versions */
+ if (client->build_major >= 20) {
+ debug("DEBUG: Not adding FirmwareData.\n");
+ return response;
+ }
+
comp_name = "Rap,RTKitOS";
if (build_identity_get_component_path(build_identity, comp_name, &comp_path) < 0) {
error("ERROR: Unable to get path for '%s' component\n", comp_name);