summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/idevicerestore.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index 0678ac6..be7c252 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -1262,6 +1262,12 @@ int check_device(struct idevicerestore_client_t* client) {
case BDID_IPAD24:
device = DEVICE_IPAD24;
break;
+ case BDID_IPAD25:
+ device = DEVICE_IPAD25;
+ break;
+ case BDID_IPOD5G:
+ device_id = DEVICE_IPOD5G;
+ break;
default:
device = DEVICE_UNKNOWN;
break;
@@ -1308,6 +1314,21 @@ int check_device(struct idevicerestore_client_t* client) {
}
break;
+ case CPID_IPAD34:
+ if (get_bdid(client, &bdid) < 0) {
+ error("ERROR: Unable to get device BDID\n");
+ break;
+ }
+ switch (bdid) {
+ case BDID_IPAD34:
+ device_id = DEVICE_IPAD34;
+ break;
+ default:
+ device_id = DEVICE_UNKNOWN;
+ break;
+ }
+ break;
+
default:
device = DEVICE_UNKNOWN;
break;