diff options
author | Martin Szulecki | 2010-07-14 04:13:01 +0200 |
---|---|---|
committer | Martin Szulecki | 2010-07-14 04:13:01 +0200 |
commit | 38b8439c0b9b4b64aae1c812da322146d0843446 (patch) | |
tree | 942a08b5f494ca0be2e3525d4895f79d512379d0 /src | |
parent | 64f2c23140d23d409989f148a57366e37df468b2 (diff) | |
download | idevicerestore-38b8439c0b9b4b64aae1c812da322146d0843446.tar.gz idevicerestore-38b8439c0b9b4b64aae1c812da322146d0843446.tar.bz2 |
Add and improve some comments for restore process
Diffstat (limited to 'src')
-rw-r--r-- | src/idevicerestore.c | 2 | ||||
-rw-r--r-- | src/recovery.c | 4 |
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; |