diff options
-rw-r--r-- | src/recovery.c | 7 | ||||
-rw-r--r-- | src/recovery.h | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/recovery.c b/src/recovery.c index 9f1b2d9..4d283e1 100644 --- a/src/recovery.c +++ b/src/recovery.c @@ -462,3 +462,10 @@ int recovery_get_bdid(struct idevicerestore_client_t* client, uint32_t* bdid) { return 0; } + +int recovery_send_reset(struct idevicerestore_client_t* client) +{ + irecv_error_t recovery_error = irecv_send_command(client->recovery->client, "reset"); + return 0; +} + diff --git a/src/recovery.h b/src/recovery.h index 9018351..edb036a 100644 --- a/src/recovery.h +++ b/src/recovery.h @@ -50,6 +50,7 @@ int recovery_send_applelogo(struct idevicerestore_client_t* client, plist_t buil int recovery_send_devicetree(struct idevicerestore_client_t* client, plist_t build_identity); int recovery_send_ramdisk(struct idevicerestore_client_t* client, plist_t build_identity); int recovery_send_kernelcache(struct idevicerestore_client_t* client, plist_t build_identity); +int recovery_send_reset(struct idevicerestore_client_t* client); int recovery_get_ecid(struct idevicerestore_client_t* client, uint64_t* ecid); int recovery_get_nonce(struct idevicerestore_client_t* client, unsigned char** nonce, int* nonce_size); int recovery_get_cpid(struct idevicerestore_client_t* client, uint32_t* cpid); |