summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-07-14 04:52:15 +0200
committerGravatar Martin Szulecki2010-07-14 04:52:15 +0200
commitdb6dc7b5310138eb6eb3eb099f22ccde65e3e765 (patch)
tree5347bbf45210f48ee66c50eaa2442bfacf6e8e9c
parent4aac570d9bb265a81de4b9c601d1fd9c38fcddc4 (diff)
downloadidevicerestore-db6dc7b5310138eb6eb3eb099f22ccde65e3e765.tar.gz
idevicerestore-db6dc7b5310138eb6eb3eb099f22ccde65e3e765.tar.bz2
Further improve some output to better guide the user
-rw-r--r--src/idevicerestore.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index 90fe4bc..f3fdbdc 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -206,7 +206,7 @@ int main(int argc, char* argv[]) {
/* verify if we have tss records if required */
if ((tss_enabled) && (client->tss == NULL)) {
- error("ERROR: Unable to proceed without a tss record.\n");
+ error("ERROR: Unable to proceed without a TSS record.\n");
plist_free(buildmanifest);
return -1;
}
@@ -490,13 +490,16 @@ int get_shsh_blobs(struct idevicerestore_client_t* client, uint64_t ecid, plist_
return -1;
}
- info("Sending TSS request\n");
+ info("Sending TSS request... ");
response = tss_send_request(request);
if (response == NULL) {
+ info("ERROR: Unable to send TSS request\n");
plist_free(request);
return -1;
}
+ info("received SHSH blobs\n");
+
plist_free(request);
*tss = response;
return 0;
@@ -552,7 +555,6 @@ int ipsw_get_component_by_path(const char* ipsw, plist_t tss, const char* path,
}
if (tss) {
- info("Signing img3...\n");
img3 = img3_parse_file(component_data, component_size);
if (img3 == NULL) {
error("ERROR: Unable to parse IMG3: %s\n", component_name);
@@ -568,6 +570,7 @@ int ipsw_get_component_by_path(const char* ipsw, plist_t tss, const char* path,
return -1;
}
+ info("Signing %s\n", component_name);
if (img3_replace_signature(img3, component_blob) < 0) {
error("ERROR: Unable to replace IMG3 signature\n");
free(component_blob);