summaryrefslogtreecommitdiffstats
path: root/src/libirecovery.c
diff options
context:
space:
mode:
authorGravatar Daniel VanBritsom2022-03-15 19:19:21 -0400
committerGravatar Nikias Bassen2022-03-16 04:04:36 +0100
commit3f30673d3933801da527740e6c3656a8f22af5aa (patch)
tree77d7b758ee9508badac3276052795cca0141e5ec /src/libirecovery.c
parent8f66cfa156f04cc6f1f6a78bff261122de6801ca (diff)
downloadlibirecovery-3f30673d3933801da527740e6c3656a8f22af5aa.tar.gz
libirecovery-3f30673d3933801da527740e6c3656a8f22af5aa.tar.bz2
Add new devices, update iPhone SE (1st/2nd) names
New devices: * iPad Air (5th gen) * iPhone SE (3rd gen) * Mac Studio Adjust names for older iPhone SE models.
Diffstat (limited to 'src/libirecovery.c')
-rw-r--r--src/libirecovery.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/libirecovery.c b/src/libirecovery.c
index b0f6409..d78abed 100644
--- a/src/libirecovery.c
+++ b/src/libirecovery.c
@@ -136,8 +136,8 @@ static struct irecv_device irecv_devices[] = {
136 { "iPhone8,1", "n71map", 0x04, 0x8003, "iPhone 6s" }, 136 { "iPhone8,1", "n71map", 0x04, 0x8003, "iPhone 6s" },
137 { "iPhone8,2", "n66ap", 0x06, 0x8000, "iPhone 6s Plus" }, 137 { "iPhone8,2", "n66ap", 0x06, 0x8000, "iPhone 6s Plus" },
138 { "iPhone8,2", "n66map", 0x06, 0x8003, "iPhone 6s Plus" }, 138 { "iPhone8,2", "n66map", 0x06, 0x8003, "iPhone 6s Plus" },
139 { "iPhone8,4", "n69ap", 0x02, 0x8003, "iPhone SE" }, 139 { "iPhone8,4", "n69ap", 0x02, 0x8003, "iPhone SE (1st gen)" },
140 { "iPhone8,4", "n69uap", 0x02, 0x8000, "iPhone SE" }, 140 { "iPhone8,4", "n69uap", 0x02, 0x8000, "iPhone SE (1st gen)" },
141 { "iPhone9,1", "d10ap", 0x08, 0x8010, "iPhone 7 (Global)" }, 141 { "iPhone9,1", "d10ap", 0x08, 0x8010, "iPhone 7 (Global)" },
142 { "iPhone9,2", "d11ap", 0x0a, 0x8010, "iPhone 7 Plus (Global)" }, 142 { "iPhone9,2", "d11ap", 0x0a, 0x8010, "iPhone 7 Plus (Global)" },
143 { "iPhone9,3", "d101ap", 0x0c, 0x8010, "iPhone 7 (GSM)" }, 143 { "iPhone9,3", "d101ap", 0x0c, 0x8010, "iPhone 7 (GSM)" },
@@ -155,7 +155,7 @@ static struct irecv_device irecv_devices[] = {
155 { "iPhone12,1", "n104ap", 0x04, 0x8030, "iPhone 11" }, 155 { "iPhone12,1", "n104ap", 0x04, 0x8030, "iPhone 11" },
156 { "iPhone12,3", "d421ap", 0x06, 0x8030, "iPhone 11 Pro" }, 156 { "iPhone12,3", "d421ap", 0x06, 0x8030, "iPhone 11 Pro" },
157 { "iPhone12,5", "d431ap", 0x02, 0x8030, "iPhone 11 Pro Max" }, 157 { "iPhone12,5", "d431ap", 0x02, 0x8030, "iPhone 11 Pro Max" },
158 { "iPhone12,8", "d79ap", 0x10, 0x8030, "iPhone SE (2020)" }, 158 { "iPhone12,8", "d79ap", 0x10, 0x8030, "iPhone SE (2nd gen)" },
159 { "iPhone13,1", "d52gap", 0x0A, 0x8101, "iPhone 12 mini" }, 159 { "iPhone13,1", "d52gap", 0x0A, 0x8101, "iPhone 12 mini" },
160 { "iPhone13,2", "d53gap", 0x0C, 0x8101, "iPhone 12" }, 160 { "iPhone13,2", "d53gap", 0x0C, 0x8101, "iPhone 12" },
161 { "iPhone13,3", "d53pap", 0x0E, 0x8101, "iPhone 12 Pro" }, 161 { "iPhone13,3", "d53pap", 0x0E, 0x8101, "iPhone 12 Pro" },
@@ -164,6 +164,7 @@ static struct irecv_device irecv_devices[] = {
164 { "iPhone14,3", "d64ap", 0x0E, 0x8110, "iPhone 13 Pro Max" }, 164 { "iPhone14,3", "d64ap", 0x0E, 0x8110, "iPhone 13 Pro Max" },
165 { "iPhone14,4", "d16ap", 0x08, 0x8110, "iPhone 13 mini" }, 165 { "iPhone14,4", "d16ap", 0x08, 0x8110, "iPhone 13 mini" },
166 { "iPhone14,5", "d17ap", 0x0A, 0x8110, "iPhone 13" }, 166 { "iPhone14,5", "d17ap", 0x0A, 0x8110, "iPhone 13" },
167 { "iPhone14,6", "d49ap", 0x10, 0x8110, "iPhone SE (3rd gen)" },
167 /* iPod */ 168 /* iPod */
168 { "iPod1,1", "n45ap", 0x02, 0x8900, "iPod Touch (1st gen)" }, 169 { "iPod1,1", "n45ap", 0x02, 0x8900, "iPod Touch (1st gen)" },
169 { "iPod2,1", "n72ap", 0x00, 0x8720, "iPod Touch (2nd gen)" }, 170 { "iPod2,1", "n72ap", 0x00, 0x8720, "iPod Touch (2nd gen)" },
@@ -246,6 +247,8 @@ static struct irecv_device irecv_devices[] = {
246 { "iPad13,9", "j522xap", 0x1A, 0x8103, "iPad Pro 12.9-inch (5th gen, WiFi, 2TB)" }, 247 { "iPad13,9", "j522xap", 0x1A, 0x8103, "iPad Pro 12.9-inch (5th gen, WiFi, 2TB)" },
247 { "iPad13,10", "j523ap", 0x1C, 0x8103, "iPad Pro 12.9-inch (5th gen, Celluar)" }, 248 { "iPad13,10", "j523ap", 0x1C, 0x8103, "iPad Pro 12.9-inch (5th gen, Celluar)" },
248 { "iPad13,11", "j523xap", 0x1E, 0x8103, "iPad Pro 12.9-inch (5th gen, Celluar, 2TB)" }, 249 { "iPad13,11", "j523xap", 0x1E, 0x8103, "iPad Pro 12.9-inch (5th gen, Celluar, 2TB)" },
250 { "iPad13,16", "j407ap", 0x10, 0x8103, "iPad Air (5th gen, WiFi)" },
251 { "iPad13,17", "j408ap", 0x12, 0x8103, "iPad Air (5th gen, Celluar)" },
249 { "iPad14,1", "j310ap", 0x04, 0x8110, "iPad mini (6th gen, WiFi)" }, 252 { "iPad14,1", "j310ap", 0x04, 0x8110, "iPad mini (6th gen, WiFi)" },
250 { "iPad14,2", "j311ap", 0x06, 0x8110, "iPad mini (6th gen, Cellular)" }, 253 { "iPad14,2", "j311ap", 0x06, 0x8110, "iPad mini (6th gen, Cellular)" },
251 /* Apple TV */ 254 /* Apple TV */
@@ -301,6 +304,8 @@ static struct irecv_device irecv_devices[] = {
301 { "MacBookAir10,1", "j313ap", 0x26, 0x8103, "MacBook Air (M1, 2020)" }, 304 { "MacBookAir10,1", "j313ap", 0x26, 0x8103, "MacBook Air (M1, 2020)" },
302 { "iMac21,1", "j456ap", 0x28, 0x8103, "iMac 24-inch (M1, Two Ports, 2021)" }, 305 { "iMac21,1", "j456ap", 0x28, 0x8103, "iMac 24-inch (M1, Two Ports, 2021)" },
303 { "iMac21,2", "j457ap", 0x2A, 0x8103, "iMac 24-inch (M1, Four Ports, 2021)" }, 306 { "iMac21,2", "j457ap", 0x2A, 0x8103, "iMac 24-inch (M1, Four Ports, 2021)" },
307 { "Mac13,1", "j375cap", 0x04, 0x6001, "Mac Studio (M1 Max, 2022)" },
308 { "Mac13,2", "j375dap", 0x0C, 0x6002, "Mac Studio (M1 Ultra, 2022)" },
304 /* Apple T2 Coprocessor */ 309 /* Apple T2 Coprocessor */
305 { "iBridge2,1", "j137ap", 0x0A, 0x8012, "Apple T2 iMacPro1,1 (j137)" }, 310 { "iBridge2,1", "j137ap", 0x0A, 0x8012, "Apple T2 iMacPro1,1 (j137)" },
306 { "iBridge2,3", "j680ap", 0x0B, 0x8012, "Apple T2 MacBookPro15,1 (j680)" }, 311 { "iBridge2,3", "j680ap", 0x0B, 0x8012, "Apple T2 MacBookPro15,1 (j680)" },