Skip to content

Commit 10e9004

Browse files
committed
Add T6020/6021 devices
Signed-off-by: Hector Martin <[email protected]>
1 parent 268ebf4 commit 10e9004

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

src/main.py

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ class Device:
4141
0x6001: "12.0", # T6001, M1 Max
4242
0x6002: "12.3", # T6002, M1 Ultra
4343
0x8112: "12.4", # T8112, M2
44+
0x6020: "13.1", # T6020, M2 Pro
45+
0x6021: "13.1", # T6021, M2 Max
4446
}
4547

4648
DEVICES = {
@@ -57,6 +59,12 @@ class Device:
5759
"j375dap": Device("12.3", False), # Mac Studio (M1 Ultra, 2022)
5860
"j413ap": Device("12.4", False), # MacBook Air (M2, 2022)
5961
"j493ap": Device("12.4", False), # MacBook Pro (13-inch, M2, 2022)
62+
"j414cap": Device("13.2", True), # MacBook Pro (14-inch, M2 Max, 2023)
63+
"j414sap": Device("13.2", True), # MacBook Pro (14-inch, M2 Pro, 2023)
64+
"j416cap": Device("13.2", True), # MacBook Pro (16-inch, M2 Max, 2023)
65+
"j416sap": Device("13.2", True), # MacBook Pro (16-inch, M2 Pro, 2023)
66+
"j473ap": Device("13.2", True), # Mac mini (M2, 2023)
67+
"j474sap": Device("13.2", True), # Mac mini (M2 Pro, 2023)
6068
}
6169

6270
IPSW_VERSIONS = [
@@ -67,13 +75,12 @@ class Device:
6775
"21.6.81.2.0,0",
6876
False,
6977
"https://updates.cdn-apple.com/2022SpringFCS/fullrestores/012-17781/F045A95A-44B4-4BA9-8A8A-919ECCA2BB31/UniversalMac_12.4_21F2081_Restore.ipsw"),
70-
# For testing only
71-
IPSW("13.0",
72-
"12.1",
73-
"iBoot-8419.41.10",
74-
"22.1.380.0.0,0",
78+
IPSW("13.2",
79+
"13.0",
80+
"iBoot-8419.80.7",
81+
"22.4.49.0.0,0",
7582
True,
76-
"https://updates.cdn-apple.com/2022FallFCS/fullrestores/012-92188/2C38BCD1-2BFF-4A10-B358-94E8E28BE805/UniversalMac_13.0_22A380_Restore.ipsw"),
83+
"https://updates.cdn-apple.com/2023WinterFCS/fullrestores/032-35688/0350BB21-2B4B-4850-BF77-70B830283B28/UniversalMac_13.2_22D49_Restore.ipsw"),
7784
IPSW("12.3.1",
7885
"12.1",
7986
"iBoot-7459.101.3",

0 commit comments

Comments
 (0)