diff options
author | Joshua Hill | 2010-06-22 03:08:45 -0400 |
---|---|---|
committer | Joshua Hill | 2010-06-22 03:08:45 -0400 |
commit | 9ac5edef25cf7e084a639c2e70f9f7e963d96152 (patch) | |
tree | 896b2c7a436e840388e69a9c0325008ffc330d1d /src/common.h | |
parent | b27dd3c4bbe2915fd7c35383ef283e222b422829 (diff) | |
download | idevicerestore-9ac5edef25cf7e084a639c2e70f9f7e963d96152.tar.gz idevicerestore-9ac5edef25cf7e084a639c2e70f9f7e963d96152.tar.bz2 |
Added info for iPhone4 and fixed a few runtime errors
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h index 50f682f..f8c0ae0 100644 --- a/src/common.h +++ b/src/common.h @@ -40,6 +40,7 @@ extern "C" { #define CPID_IPHONE3GS 8920 #define CPID_IPOD3G 8922 #define CPID_IPAD1G 8930 +#define CPID_IPHONE4 8930 #define BDID_UNKNOWN -1 #define BDID_IPHONE2G 0 @@ -49,6 +50,7 @@ extern "C" { #define BDID_IPHONE3GS 0 #define BDID_IPOD3G 2 #define BDID_IPAD1G 2 +#define BDID_IPHONE4 0 #define DEVICE_UNKNOWN -1 #define DEVICE_IPHONE2G 0 @@ -58,6 +60,7 @@ extern "C" { #define DEVICE_IPHONE3GS 4 #define DEVICE_IPOD3G 5 #define DEVICE_IPAD1G 6 +#define DEVICE_IPHONE4 7 #define MODE_UNKNOWN -1 #define MODE_DFU 0 @@ -131,7 +134,7 @@ static struct idevicerestore_device_t idevicerestore_devices[] = { { 4, "iPhone2,1", "N88AP", 0, 8920 }, { 5, "iPod3,1", "N18AP", 2, 8922 }, { 6, "iPad1,1", "K48AP", 2, 8930 }, - { 6, "iPhone3,1", "XXXAP", 0, 0 }, + { 7, "iPhone3,1", "N90AP", 0, 8930 }, { -1, NULL, NULL, -1, -1 } }; |