From d3198a50e51674e0ec19284f44f4aeb027d160a3 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 21 Mar 2024 01:31:48 +0100 Subject: Add support for Port DFU Note: This does not allow restoring devices in Port DFU mode, this is handled in idevicerestore. --- include/libirecovery.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/libirecovery.h b/include/libirecovery.h index 7b89d1f..04892c4 100644 --- a/include/libirecovery.h +++ b/include/libirecovery.h @@ -43,7 +43,8 @@ enum irecv_mode { IRECV_K_RECOVERY_MODE_3 = 0x1282, IRECV_K_RECOVERY_MODE_4 = 0x1283, IRECV_K_WTF_MODE = 0x1222, - IRECV_K_DFU_MODE = 0x1227 + IRECV_K_DFU_MODE = 0x1227, + IRECV_K_PORT_DFU_MODE = 0xf014 }; typedef enum { -- cgit v1.1-32-gdbae