From 50c1616ff66ccb4e674405659cb2e6f8207bc915 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Wed, 14 Jul 2010 04:13:37 +0200 Subject: Refactor tss request requirements to work with iPhone 3G and iOS 4 This gets rid of the device model checking code and allows devices like the iPhone 3G to get shsh blobs as required by iOS 4. The requirement if the components need to be signed is determined by which kind of manifest filename is within the IPSW. --- src/recovery.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/recovery.c') diff --git a/src/recovery.c b/src/recovery.c index 015e9ac..28256b5 100644 --- a/src/recovery.c +++ b/src/recovery.c @@ -228,6 +228,9 @@ int recovery_send_component(struct idevicerestore_client_t* client, plist_t buil info("Resetting recovery mode connection...\n"); irecv_reset(client->recovery->client); + if (client->tss) + info("%s will be signed\n", component); + if (ipsw_get_component_by_path(client->ipsw, client->tss, path, &data, &size) < 0) { error("ERROR: Unable to get component: %s\n", component); free(path); -- cgit v1.1-32-gdbae