apple-data 1.0.422 → 1.0.428

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c3f5953ceb477992724375b9afb088ac338bd5ab72a2d8b89d1e7d758957d75
4
- data.tar.gz: 1c324833e1b6941254c418c29c86b3b7129a6ea16caae051e3b746e25e464591
3
+ metadata.gz: 92c4253c79e5f7b5db63749487660a069ff5cd6b86dbf1ece90d9f153372a36d
4
+ data.tar.gz: 9aaf9fda61597b426a73050fa99a632513c20390228f511495d1bafae69bb41d
5
5
  SHA512:
6
- metadata.gz: 2120bd046e1b4553fe4ef53460dc847aaef41325ea016aeee0e902865a599c7044799d4ca03e119de1a55be4d85a164df448eab927f68afab81a7a8f7011216d
7
- data.tar.gz: 74ee9d8a091b53c1ffb73e9e2d57415fba216edacc08f34989c402698461d4033719065af574e008f823408c28f9297283760c089b6e309c57f05805d8551661
6
+ metadata.gz: 5aefa0146a25367e9ade5f20da0a3cf6ac3e098fc80ccf3494dc5fa3a61943ed3280045cd61edcc79f5478e78f2a248da90889115f457a505c14b358347ca260
7
+ data.tar.gz: 569e2347fd580466273443b6a3e4d9924fd36ab8a55c0bce0ec0870fd4f277ab157ddfde77760769a811ec8775aa7afdf899275ae5fda215c84e57fb544237ec
@@ -0,0 +1,56 @@
1
+ # frozen_string_literal: true
2
+
3
+ module AppleData
4
+ # Represents a GID grouping of encrypted and decrypted keybags
5
+ class GIDKeyBag < DataFile
6
+ @keybags = {}
7
+ cattr_reader :keybags
8
+
9
+ class << self
10
+ def new(chip_id)
11
+ self.[](chip_id)
12
+ end
13
+
14
+ def save_all
15
+ @keybags.each do |_key, keybag|
16
+ keybag.save
17
+ end
18
+ end
19
+
20
+ def [](chip_id)
21
+ chip_id = chip_id.to_i
22
+ return @keybags[chip_id] if @keybags.key? chip_id
23
+
24
+ instance = allocate
25
+ instance.send(:initialize, chip_id)
26
+ @keybags[chip_id] = instance
27
+ end
28
+ end
29
+
30
+ def initialize(chip_id)
31
+ super('keybags', chip_id.to_s)
32
+ end
33
+
34
+ def get_board(board_id)
35
+ board_id = board_id.to_i
36
+ BoardKeyBag.new self, board_id, collection(:keybag_boards).ensure_key(board_id, description: false)
37
+ end
38
+
39
+ # A keybag of builds for a particular build
40
+ class BoardKeyBag
41
+ def initialize(gid_keybag, board_id, board)
42
+ @keybag = gid_keybag
43
+ @board_id = board_id
44
+ @board = board
45
+ end
46
+
47
+ def merge_keydb_build(build_id, build)
48
+ return unless build['keybags']
49
+
50
+ @board[build_id] ||= {}
51
+ @board[build_id]['components'] ||= {}
52
+ @board[build_id]['components'].reverse_merge! build['keybags']
53
+ end
54
+ end
55
+ end
56
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AppleData
4
- VERSION = '1.0.422'
4
+ VERSION = '1.0.428'
5
5
  end
data/share/4cc.yaml CHANGED
@@ -139,11 +139,11 @@ codes:
139
139
  description: Graphics Firmware
140
140
  usage:
141
141
  - Firmware
142
- ibdt:
142
+ iBootData:
143
143
  description: iBoot Data
144
144
  usage:
145
145
  - Firmware
146
- ibot:
146
+ iBoot:
147
147
  description: iBoot
148
148
  usage:
149
149
  - Firmware
data/share/firmware.yaml CHANGED
@@ -3,29 +3,33 @@ metadata:
3
3
  description: Listing of known firmware types included in a restore package
4
4
  credits:
5
5
  firmware_types:
6
- ACIBTFirmware:
7
- ACIWiFiFirmware:
8
- ADCPetra:
9
6
  ANE:
7
+ description: Apple Neural Engine
10
8
  type: anef
11
- ANSF:
9
+ ANS:
12
10
  description: Apple NAND Storage
13
11
  type: ansf
12
+ tipw_key_name: ANSF
14
13
  AOP:
15
14
  description:
16
- type:
15
+ type: aopf
16
+ tipw_key_name: AOPFirmware
17
17
  filenames:
18
18
  - aopfw.im4p
19
19
  - aopfw-s8000aop.im4p
20
20
  - aopfw-ipad6faop.im4p
21
21
  - aopfw-ipad7aop.im4p
22
- AOPFirmware:
23
- type: aopf
24
- AppleAVE:
25
- type: avef
22
+ Ap,HapticAssets:
23
+ description:
24
+ type:
25
+ tipw_key_name: HapticAssets
26
+ Ap,Scorpius:
27
+ description:
28
+ type:
29
+ tipw_key_name: MConnector
26
30
  AppleLogo:
27
31
  type: logo
28
- description:
32
+ description: The Apple Logo
29
33
  filenames:
30
34
  - applelogo@2x~iphone.s5l8950x.img3
31
35
  - applelogo@2x~iphone.s8003.im4p
@@ -40,6 +44,7 @@ firmware_types:
40
44
  - applelogo@3x~iphone.s8000.im4p
41
45
  - applelogo@2x~iphone.t7000.im4p
42
46
  - applelogo@2x~ipad.s8000.im4p
47
+ - applelogo@2x~ipad.s8000.im4p
43
48
  - applelogo@2x~ipad.s8003.im4p
44
49
  - applelogo~appletv.im4p
45
50
  - applelogo@2732~ipad.im4p
@@ -47,12 +52,18 @@ firmware_types:
47
52
  - applelogo@2732~ipad.t8011.im4p
48
53
  - applelogo@2224~ipad.t8011.im4p
49
54
  AppleMaggie:
55
+ description:
50
56
  type: magg
51
- ARMFW:
52
57
  AudioCodecFirmware:
53
- BasebandFirmware:
54
58
  description:
55
59
  type:
60
+ AVE:
61
+ description: Audio/Video Encryption
62
+ type: avef
63
+ tipw_key_name: AppleAVE
64
+ BasebandFirmware:
65
+ description: Baseband (Radios)
66
+ type: bbfw
56
67
  filenames:
57
68
  - Mav5-11.51.00.Release.bbfw
58
69
  - Mav7Mav8-7.51.00.Release.bbfw
@@ -259,11 +270,10 @@ firmware_types:
259
270
  - glyphplugin@2224~ipad-lightning.im4p
260
271
  - glyphplugin@2732~ipad-lightning.t8011.im4p
261
272
  - glyphplugin@2224~ipad-lightning.t8011.im4p
262
- Dali:
263
- DCP:
273
+
264
274
  DeviceTree:
275
+ description: Normal mode device tree
265
276
  type: dtre
266
- description:
267
277
  filenames:
268
278
  - DeviceTree.n42ap.img3
269
279
  - DeviceTree.n49ap.img3
@@ -308,15 +318,15 @@ firmware_types:
308
318
  ftap:
309
319
  description:
310
320
  type:
311
- filenames: []
312
321
  ftsp:
313
322
  description:
314
323
  type:
315
- filenames: []
316
- GlyphCharging:
317
- GlyphPlugin:
318
- HapticAssets:
324
+ GFX:
325
+ description: Graphics Firmware
326
+ type:
327
+ tipw_key_name: ARMFW
319
328
  Homer:
329
+ description:
320
330
  type: homr
321
331
  iBEC:
322
332
  description: iBoot Epoch Change
@@ -413,7 +423,8 @@ firmware_types:
413
423
  - iBSS.j207.RELEASE.im4p
414
424
  KernelCache:
415
425
  description:
416
- type:
426
+ type: krnl
427
+ tipw_key_name: Kernelcache
417
428
  filenames:
418
429
  - kernelcache.release.iphone5
419
430
  - kernelcache.release.iphone5b
@@ -440,9 +451,10 @@ firmware_types:
440
451
  - kernelcache.release.n102
441
452
  - kernelcache.release.j42d
442
453
  - kernelcache.release.ipad7
443
- Kernelcache:
444
- LeapHaptics:
445
- LiquidDetect:
454
+ Liquid:
455
+ description:
456
+ type:
457
+ tipw_key_name: LiquidDetect
446
458
  LLB:
447
459
  description: Low Level Boot (iBoot)
448
460
  type: illb
@@ -473,14 +485,18 @@ firmware_types:
473
485
  - LLB.j42d.RELEASE.im4p
474
486
  - LLB.j120.RELEASE.im4p
475
487
  - LLB.j207.RELEASE.im4p
476
- LowPowerFindMyMode:
477
- LowPowerMode:
478
- MConnector:
479
- Multitouch:
480
- NeedService:
488
+ LowPowerWallet0:
489
+ description:
490
+ type:
491
+ tipw_key_name: LowPowerMode
492
+ LowPowerWallet1:
493
+ description:
494
+ type:
495
+ tipw_key_name: LowPowerFindMyMode
481
496
  OS:
482
497
  description:
483
498
  type:
499
+ tipw_key_name: RootFS
484
500
  filenames:
485
501
  - '058-73953-011.dmg'
486
502
  - '058-74314-014.dmg'
@@ -868,8 +884,6 @@ firmware_types:
868
884
  - '058-88752-046.dmg'
869
885
  - '058-88752-045.dmg'
870
886
  - '058-88752-043.dmg'
871
- PMP:
872
- RANS:
873
887
  RecoveryMode:
874
888
  description:
875
889
  type:
@@ -897,6 +911,10 @@ firmware_types:
897
911
  - recoverymode@2224~ipad-lightning.im4p
898
912
  - recoverymode@2732~ipad-lightning.t8011.im4p
899
913
  - recoverymode@2224~ipad-lightning.t8011.im4p
914
+ RestoreANS:
915
+ description: Restore Apple NAND Storage
916
+ type: rans
917
+ tipw_key_name: RANS
900
918
  RestoreDeviceTree:
901
919
  description:
902
920
  type:
@@ -996,6 +1014,7 @@ firmware_types:
996
1014
  RestoreRamDisk:
997
1015
  description:
998
1016
  type:
1017
+ tipw_key_name: RestoreRamdisk
999
1018
  filenames:
1000
1019
  - '058-68591-063.dmg'
1001
1020
  - '058-68402-063.dmg'
@@ -1187,10 +1206,9 @@ firmware_types:
1187
1206
  - '058-85048-098.dmg'
1188
1207
  - '058-70513-087.dmg'
1189
1208
  - '058-70359-087.dmg'
1190
- RestoreRamdisk:
1191
1209
  RestoreSEP:
1192
1210
  description:
1193
- type:
1211
+ type: rsep
1194
1212
  filenames:
1195
1213
  - sep-firmware.n69.RELEASE.im4p
1196
1214
  - sep-firmware.n53.RELEASE.im4p
@@ -1239,11 +1257,10 @@ firmware_types:
1239
1257
  description:
1240
1258
  type:
1241
1259
  filenames: []
1242
- RootFS:
1243
- RTPFirmware:
1244
1260
  SEP:
1245
- description:
1246
- type:
1261
+ description: Secure Enclave Processor firmware (SEPOS)
1262
+ type: sepi
1263
+ tipw_key_name: SEPFirmware
1247
1264
  filenames:
1248
1265
  - sep-firmware.n69.RELEASE.im4p
1249
1266
  - sep-firmware.n53.RELEASE.im4p
@@ -1278,16 +1295,14 @@ firmware_types:
1278
1295
  - sep-firmware.j121.RELEASE.im4p
1279
1296
  - sep-firmware.j207.RELEASE.im4p
1280
1297
  - sep-firmware.j208.RELEASE.im4p
1281
- SEPFirmware:
1282
- description: Secure Enclave Processor firmware (SEPOS)
1283
- type: sepi
1284
- SmartIOFirmware:
1298
+ SIO:
1299
+ description: SmartIO Firmware (iPad smart-case)
1285
1300
  type: siof
1301
+ tipw_key_name: SmartIOFirmware
1286
1302
  StaticTrustCache:
1287
1303
  description:
1288
1304
  type:
1289
1305
  filenames:
1290
1306
  - '048-95869-019.dmg.trustcache'
1291
- UpdateRamdisk:
1292
- UpdateRamdiskOTA:
1293
- WirelessPower:
1307
+ WCHFirmwareUpdater:
1308
+ tipw_key_name: WirelessPower
data/share/img4.yaml CHANGED
@@ -191,15 +191,15 @@ img4_tags:
191
191
  description:
192
192
  hypr:
193
193
  description:
194
- ibec:
194
+ iBEC:
195
195
  description:
196
- ibot:
196
+ iBoot:
197
197
  description:
198
- ibss:
198
+ iBSS:
199
199
  description:
200
200
  ienv:
201
201
  description:
202
- illb:
202
+ LLB:
203
203
  description:
204
204
  IM4M:
205
205
  description:
data/share/kext.yaml CHANGED
@@ -939,7 +939,7 @@ kexts:
939
939
  description:
940
940
  collections:
941
941
  - BootKernelExtensions.kc
942
- com.apple.driver.usb.AppleUSBHostBillboardDevice:
942
+ com.apple.driver.usb.AppleUSBHostBLLB:oardDevice:
943
943
  description:
944
944
  collections:
945
945
  - BootKernelExtensions.kc