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/recovery.c | |
parent | 64f2c23140d23d409989f148a57366e37df468b2 (diff) | |
download | idevicerestore-38b8439c0b9b4b64aae1c812da322146d0843446.tar.gz idevicerestore-38b8439c0b9b4b64aae1c812da322146d0843446.tar.bz2 |
Add and improve some comments for restore process
Diffstat (limited to 'src/recovery.c')
-rw-r--r-- | src/recovery.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |