diff options
-rw-r--r-- | src/idevicerestore.h | 1 | ||||
-rw-r--r-- | src/restore.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/idevicerestore.h b/src/idevicerestore.h index 37cbbc7..65c605f 100644 --- a/src/idevicerestore.h +++ b/src/idevicerestore.h @@ -47,6 +47,7 @@ enum { RESTORE_STEP_UPLOAD_FS, RESTORE_STEP_FLASH_FS, RESTORE_STEP_FLASH_NOR, + RESTORE_STEP_FLASH_BB, RESTORE_NUM_STEPS }; diff --git a/src/restore.c b/src/restore.c index 965e6c9..0b720ca 100644 --- a/src/restore.c +++ b/src/restore.c @@ -558,6 +558,9 @@ int restore_handle_progress_msg(struct idevicerestore_client_t* client, plist_t case 18: idevicerestore_progress(client, RESTORE_STEP_FLASH_NOR, progress / 100.0); break; + case 19: + idevicerestore_progress(client, RESTORE_STEP_FLASH_BB, progress / 100.0); + break; default: debug("Unhandled progress operation %d\n", (int)operation); break; |