summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/idevicerestore.c2
-rw-r--r--src/recovery.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index 93623bc..50e2783 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -166,7 +166,7 @@ int main(int argc, char* argv[]) {
error("ERROR: Unable to find device ECID\n");
return -1;
}
- debug("Found ECID %llu\n", client->ecid);
+ info("Found ECID %llu\n", client->ecid);
}
// choose whether this is an upgrade or a restore (default to upgrade)
diff --git a/src/recovery.c b/src/recovery.c
index cf38b16..015e9ac 100644
--- a/src/recovery.c
+++ b/src/recovery.c
@@ -151,6 +151,7 @@ int recovery_enter_restore(struct idevicerestore_client_t* client, plist_t build
return -1;
}
+ /* send iBEC and run it */
if (recovery_send_ibec(client, build_identity) < 0) {
error("ERROR: Unable to send iBEC\n");
return -1;
@@ -160,16 +161,19 @@ int recovery_enter_restore(struct idevicerestore_client_t* client, plist_t build
/* FIXME: Probably better to detect if the device is back then */
sleep(4);
+ /* send logo and show it */
if (recovery_send_applelogo(client, build_identity) < 0) {
error("ERROR: Unable to send AppleLogo\n");
return -1;
}
+ /* send devicetree and load it */
if (recovery_send_devicetree(client, build_identity) < 0) {
error("ERROR: Unable to send DeviceTree\n");
return -1;
}
+ /* send ramdisk and run it */
if (recovery_send_ramdisk(client, build_identity) < 0) {
error("ERROR: Unable to send Ramdisk\n");
return -1;