apple-data 1.0.628 → 1.0.648

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.
Files changed (252) hide show
  1. checksums.yaml +4 -4
  2. data/lib/apple_data/data_file.rb +66 -18
  3. data/lib/apple_data/factory_data_reset.rb +32 -0
  4. data/lib/apple_data/io_reg.rb +60 -0
  5. data/lib/apple_data/ipsw.rb +17 -15
  6. data/lib/apple_data/keybag.rb +14 -18
  7. data/lib/apple_data/lockdown.rb +12 -12
  8. data/lib/apple_data/version.rb +1 -1
  9. data/lib/apple_data.rb +5 -7
  10. data/share/apns.yaml +24 -20
  11. data/share/backup.yaml +8 -8
  12. data/share/baseband/qualcomm/mav13.yaml +1 -0
  13. data/share/baseband/qualcomm/mav20.yaml +1 -0
  14. data/share/baseband/qualcomm/mav21.yaml +1 -0
  15. data/share/baseband.yaml +100 -60
  16. data/share/bluetooth.yaml +16 -14
  17. data/share/boot_args.yaml +12 -12
  18. data/share/bridgeos.yaml +18 -18
  19. data/share/bundles.yaml +61 -23
  20. data/share/coprocessor.yaml +165 -174
  21. data/share/credits.yaml +1 -0
  22. data/share/defaults.yaml +1 -0
  23. data/share/device_tree.yaml +1 -0
  24. data/share/devices/ADP3,1.yaml +1 -0
  25. data/share/devices/ADP3,2.yaml +1 -0
  26. data/share/devices/AppleTV5,3.yaml +1 -0
  27. data/share/devices/AudioAccessory5,1.yaml +1 -0
  28. data/share/devices/MacBookAir10,1.yaml +1 -0
  29. data/share/devices/MacBookPro17,1.yaml +1 -0
  30. data/share/devices/MacBookPro18,1.yaml +1 -0
  31. data/share/devices/MacBookPro18,2.yaml +1 -0
  32. data/share/devices/MacBookPro18,3.yaml +1 -0
  33. data/share/devices/MacBookPro18,4.yaml +1 -0
  34. data/share/devices/Macmini9,1.yaml +1 -0
  35. data/share/devices/VirtualMac2,1.yaml +1 -0
  36. data/share/devices/Watch3,1.yaml +1 -0
  37. data/share/devices/Watch3,2.yaml +1 -0
  38. data/share/devices/Watch3,3.yaml +1 -0
  39. data/share/devices/Watch3,4.yaml +1 -0
  40. data/share/devices/Watch4,1.yaml +1 -0
  41. data/share/devices/Watch4,2.yaml +1 -0
  42. data/share/devices/Watch4,3.yaml +1 -0
  43. data/share/devices/Watch4,4.yaml +1 -0
  44. data/share/devices/Watch5,1.yaml +1 -0
  45. data/share/devices/Watch5,10.yaml +1 -0
  46. data/share/devices/Watch5,11.yaml +1 -0
  47. data/share/devices/Watch5,12.yaml +1 -0
  48. data/share/devices/Watch5,2.yaml +1 -0
  49. data/share/devices/Watch5,3.yaml +1 -0
  50. data/share/devices/Watch5,4.yaml +1 -0
  51. data/share/devices/Watch5,9.yaml +1 -0
  52. data/share/devices/Watch6,1.yaml +1 -0
  53. data/share/devices/Watch6,2.yaml +1 -0
  54. data/share/devices/Watch6,3.yaml +1 -0
  55. data/share/devices/Watch6,4.yaml +1 -0
  56. data/share/devices/Watch6,6.yaml +1 -0
  57. data/share/devices/Watch6,7.yaml +1 -0
  58. data/share/devices/Watch6,8.yaml +1 -0
  59. data/share/devices/Watch6,9.yaml +1 -0
  60. data/share/devices/iBridge2,1.yaml +1 -0
  61. data/share/devices/iBridge2,10.yaml +1 -0
  62. data/share/devices/iBridge2,11.yaml +1 -0
  63. data/share/devices/iBridge2,12.yaml +1 -0
  64. data/share/devices/iBridge2,13.yaml +1 -0
  65. data/share/devices/iBridge2,14.yaml +1 -0
  66. data/share/devices/iBridge2,15.yaml +1 -0
  67. data/share/devices/iBridge2,16.yaml +1 -0
  68. data/share/devices/iBridge2,19.yaml +1 -0
  69. data/share/devices/iBridge2,20.yaml +1 -0
  70. data/share/devices/iBridge2,21.yaml +1 -0
  71. data/share/devices/iBridge2,22.yaml +1 -0
  72. data/share/devices/iBridge2,3.yaml +1 -0
  73. data/share/devices/iBridge2,4.yaml +1 -0
  74. data/share/devices/iBridge2,5.yaml +1 -0
  75. data/share/devices/iBridge2,6.yaml +1 -0
  76. data/share/devices/iBridge2,7.yaml +1 -0
  77. data/share/devices/iBridge2,8.yaml +1 -0
  78. data/share/devices/iMac21,1.yaml +1 -0
  79. data/share/devices/iMac21,2.yaml +1 -0
  80. data/share/devices/iPad11,1.yaml +1 -0
  81. data/share/devices/iPad11,2.yaml +1 -0
  82. data/share/devices/iPad11,3.yaml +1 -0
  83. data/share/devices/iPad11,4.yaml +1 -0
  84. data/share/devices/iPad11,6.yaml +1 -0
  85. data/share/devices/iPad11,7.yaml +1 -0
  86. data/share/devices/iPad12,1.yaml +1 -0
  87. data/share/devices/iPad12,2.yaml +1 -0
  88. data/share/devices/iPad13,1.yaml +1 -0
  89. data/share/devices/iPad13,10.yaml +1 -0
  90. data/share/devices/iPad13,11.yaml +1 -0
  91. data/share/devices/iPad13,16.yaml +1 -0
  92. data/share/devices/iPad13,17.yaml +1 -0
  93. data/share/devices/iPad13,2.yaml +1 -0
  94. data/share/devices/iPad13,4.yaml +1 -0
  95. data/share/devices/iPad13,5.yaml +1 -0
  96. data/share/devices/iPad13,6.yaml +1 -0
  97. data/share/devices/iPad13,7.yaml +1 -0
  98. data/share/devices/iPad13,8.yaml +1 -0
  99. data/share/devices/iPad13,9.yaml +1 -0
  100. data/share/devices/iPad14,1.yaml +1 -0
  101. data/share/devices/iPad14,2.yaml +1 -0
  102. data/share/devices/iPad4,1.yaml +1 -0
  103. data/share/devices/iPad4,2.yaml +1 -0
  104. data/share/devices/iPad4,3.yaml +1 -0
  105. data/share/devices/iPad4,4.yaml +1 -0
  106. data/share/devices/iPad4,5.yaml +1 -0
  107. data/share/devices/iPad4,6.yaml +1 -0
  108. data/share/devices/iPad4,7.yaml +1 -0
  109. data/share/devices/iPad4,8.yaml +1 -0
  110. data/share/devices/iPad4,9.yaml +1 -0
  111. data/share/devices/iPad5,1.yaml +1 -0
  112. data/share/devices/iPad5,2.yaml +1 -0
  113. data/share/devices/iPad5,3.yaml +1 -0
  114. data/share/devices/iPad5,4.yaml +1 -0
  115. data/share/devices/iPad6,11.yaml +1 -0
  116. data/share/devices/iPad6,12.yaml +1 -0
  117. data/share/devices/iPad6,3.yaml +1 -0
  118. data/share/devices/iPad6,4.yaml +1 -0
  119. data/share/devices/iPad6,7.yaml +1 -0
  120. data/share/devices/iPad6,8.yaml +1 -0
  121. data/share/devices/iPad7,1.yaml +1 -0
  122. data/share/devices/iPad7,11.yaml +1 -0
  123. data/share/devices/iPad7,12.yaml +1 -0
  124. data/share/devices/iPad7,2.yaml +1 -0
  125. data/share/devices/iPad7,3.yaml +1 -0
  126. data/share/devices/iPad7,4.yaml +1 -0
  127. data/share/devices/iPad7,5.yaml +1 -0
  128. data/share/devices/iPad7,6.yaml +1 -0
  129. data/share/devices/iPad8,1.yaml +1 -0
  130. data/share/devices/iPad8,10.yaml +1 -0
  131. data/share/devices/iPad8,11.yaml +1 -0
  132. data/share/devices/iPad8,12.yaml +1 -0
  133. data/share/devices/iPad8,2.yaml +1 -0
  134. data/share/devices/iPad8,3.yaml +1 -0
  135. data/share/devices/iPad8,4.yaml +1 -0
  136. data/share/devices/iPad8,5.yaml +1 -0
  137. data/share/devices/iPad8,6.yaml +1 -0
  138. data/share/devices/iPad8,7.yaml +1 -0
  139. data/share/devices/iPad8,8.yaml +1 -0
  140. data/share/devices/iPad8,9.yaml +1 -0
  141. data/share/devices/iPhone10,1.yaml +1 -0
  142. data/share/devices/iPhone10,2.yaml +1 -0
  143. data/share/devices/iPhone10,3.yaml +1 -0
  144. data/share/devices/iPhone10,4.yaml +1 -0
  145. data/share/devices/iPhone10,5.yaml +1 -0
  146. data/share/devices/iPhone10,6.yaml +1 -0
  147. data/share/devices/iPhone11,2.yaml +1 -0
  148. data/share/devices/iPhone11,4.yaml +1 -0
  149. data/share/devices/iPhone11,6.yaml +1 -0
  150. data/share/devices/iPhone11,8.yaml +1 -0
  151. data/share/devices/iPhone12,1.yaml +1 -0
  152. data/share/devices/iPhone12,3.yaml +1 -0
  153. data/share/devices/iPhone12,5.yaml +1 -0
  154. data/share/devices/iPhone12,8.yaml +1 -0
  155. data/share/devices/iPhone13,1.yaml +1 -0
  156. data/share/devices/iPhone13,2.yaml +1 -0
  157. data/share/devices/iPhone13,3.yaml +1 -0
  158. data/share/devices/iPhone13,4.yaml +1 -0
  159. data/share/devices/iPhone14,2.yaml +1 -0
  160. data/share/devices/iPhone14,3.yaml +1 -0
  161. data/share/devices/iPhone14,4.yaml +1 -0
  162. data/share/devices/iPhone14,5.yaml +1 -0
  163. data/share/devices/iPhone14,6.yaml +1 -0
  164. data/share/devices/iPhone6,1.yaml +1 -0
  165. data/share/devices/iPhone6,2.yaml +1 -0
  166. data/share/devices/iPhone7,1.yaml +1 -0
  167. data/share/devices/iPhone7,2.yaml +1 -0
  168. data/share/devices/iPhone8,1.yaml +1 -0
  169. data/share/devices/iPhone8,2.yaml +1 -0
  170. data/share/devices/iPhone8,4.yaml +1 -0
  171. data/share/devices/iPhone9,1.yaml +1 -0
  172. data/share/devices/iPhone9,2.yaml +1 -0
  173. data/share/devices/iPhone9,3.yaml +1 -0
  174. data/share/devices/iPhone9,4.yaml +1 -0
  175. data/share/devices/iPod7,1.yaml +1 -0
  176. data/share/devices/iPod9,1.yaml +1 -0
  177. data/share/devices/iProd99,1.yaml +1 -0
  178. data/share/dnssd.yaml +3 -3
  179. data/share/entitlements.yaml +1439 -1439
  180. data/share/environment_variables.yaml +24 -24
  181. data/share/esim.yaml +1 -0
  182. data/share/fdr.yaml +79 -48
  183. data/share/firmware.yaml +115 -115
  184. data/share/homekit.yaml +1 -1
  185. data/share/icloud.yaml +5 -1
  186. data/share/img4.yaml +461 -112
  187. data/share/ioreg.yaml +624 -624
  188. data/share/ipsw.yaml +135872 -123623
  189. data/share/kext.yaml +1910 -1906
  190. data/share/keybags/7000.yaml +1 -0
  191. data/share/keybags/7001.yaml +1 -0
  192. data/share/keybags/7002.yaml +1 -0
  193. data/share/keybags/8000.yaml +1 -0
  194. data/share/keybags/8001.yaml +1 -0
  195. data/share/keybags/8004.yaml +1 -0
  196. data/share/keybags/8006.yaml +1 -0
  197. data/share/keybags/8010.yaml +1 -0
  198. data/share/keybags/8011.yaml +1 -0
  199. data/share/keybags/8012.yaml +1 -0
  200. data/share/keybags/8015.yaml +1 -0
  201. data/share/keybags/8020.yaml +1 -0
  202. data/share/keybags/8027.yaml +1 -0
  203. data/share/keybags/8030.yaml +1 -0
  204. data/share/keybags/8101.yaml +1 -0
  205. data/share/keybags/8103.yaml +1 -0
  206. data/share/keybags/8110.yaml +1 -0
  207. data/share/keybags/8112.yaml +1 -0
  208. data/share/keybags/8120.yaml +1 -0
  209. data/share/keybags/8301.yaml +1 -0
  210. data/share/keybags/8720.yaml +1 -0
  211. data/share/keybags/8900.yaml +1 -0
  212. data/share/keybags/8920.yaml +1 -0
  213. data/share/keybags/8922.yaml +1 -0
  214. data/share/keybags/8930.yaml +1 -146
  215. data/share/keybags/8940.yaml +1 -0
  216. data/share/keybags/8942.yaml +1 -0
  217. data/share/keybags/8945.yaml +1 -0
  218. data/share/keybags/8947.yaml +1 -0
  219. data/share/keybags/8950.yaml +1 -0
  220. data/share/keybags/8955.yaml +1 -0
  221. data/share/keybags/8960.yaml +1 -0
  222. data/share/keys.yaml +4 -1
  223. data/share/launchd/services_bridgeOS_6.1.yaml +1 -0
  224. data/share/lightning.yaml +2 -0
  225. data/share/local_policy.yaml +7 -0
  226. data/share/lockdownd.yaml +125 -120
  227. data/share/mobile_assets.yaml +1 -0
  228. data/share/mobile_gestalt.yaml +708 -708
  229. data/share/nvram.yaml +81 -81
  230. data/share/ota.yaml +4 -1
  231. data/share/pallas.yaml +1 -0
  232. data/share/pki.yaml +38 -2
  233. data/share/platforms.yaml +12 -10
  234. data/share/registers.yaml +2242 -2237
  235. data/share/resources.yaml +1 -0
  236. data/share/sandbox.yaml +1 -0
  237. data/share/sep.yaml +46 -44
  238. data/share/services.yaml +119 -119
  239. data/share/sip.yaml +39 -5
  240. data/share/smc.yaml +1 -0
  241. data/share/storage.yaml +1 -1
  242. data/share/syscfg.yaml +18 -18
  243. data/share/terms.yaml +310 -310
  244. data/share/tipw_sync.yaml +171669 -6140
  245. data/share/usbpd.yaml +1 -0
  246. data/share/uuid.yaml +1 -0
  247. data/share/vmapple.yaml +1 -0
  248. metadata +6 -10
  249. data/lib/apple_data/boot_args.rb +0 -5
  250. data/lib/apple_data/fdr.rb +0 -30
  251. data/lib/apple_data/ioreg.rb +0 -59
  252. data/lib/apple_data/macho.rb +0 -7
data/share/sip.yaml CHANGED
@@ -21,15 +21,16 @@ csr_flags:
21
21
  always_enforced: true
22
22
  CSR_ALLOW_APPLE_INTERNAL:
23
23
  value: 16
24
- description:
24
+ description: Allows for AppleInternal (non-production signed code)
25
25
  disable_default: true
26
26
  CSR_ALLOW_DEVICE_CONFIGURATION:
27
27
  value: 128
28
- description:
28
+ description: This indicates that the device is booted into a mode whereby `bputil`
29
+ will allow changes
29
30
  always_enforced: true
30
31
  CSR_ALLOW_EXECUTABLE_POLICY_OVERRIDE:
31
32
  value: 1024
32
- description: override spctl or executable policy
33
+ description: override trust-cache or executable policy
33
34
  CSR_ALLOW_KERNEL_DEBUGGER:
34
35
  value: 8
35
36
  description: allow using the kernel debugger (KDP) - requires configuring the
@@ -37,14 +38,14 @@ csr_flags:
37
38
  disable_default: true
38
39
  CSR_ALLOW_TASK_FOR_PID:
39
40
  value: 4
40
- description: allow getting the pid task, required for debugging
41
+ description: allow getting the pid task, required for privileged debugging
41
42
  disable_default: true
42
43
  CSR_ALLOW_UNAPPROVED_KEXTS:
43
44
  value: 512
44
45
  description: do not require kext approval (managed in the T2 when it exists)
45
46
  CSR_ALLOW_UNAUTHENTICATED_ROOT:
46
47
  value: 2048
47
- description:
48
+ description: Permits the root filesystem to lack SSV (signed system volume) protection
48
49
  CSR_ALLOW_UNRESTRICTED_DTRACE:
49
50
  aliases:
50
51
  - CSR_ALLOW_DESTRUCTIVE_DTRACE
@@ -64,3 +65,36 @@ csr_flags:
64
65
  value: 1
65
66
  description: allow loading kernel extensions that are not signed
66
67
  disable_default: true
68
+ csrutil:
69
+ flags:
70
+ "--no-internal":
71
+ "--with":
72
+ "--without":
73
+ options:
74
+ basesystem:
75
+ name: BaseSystem Verification
76
+ flag: CSR_ALLOW_ANY_RECOVERY_OS
77
+ nvram:
78
+ name: NVRAM Protections
79
+ flag: CSR_ALLOW_UNRESTRICTED_NVRAM
80
+ debug:
81
+ name:
82
+ flag: CSR_ALLOW_KERNEL_DEBUGGER
83
+ dtrace:
84
+ name: DTrace Restrictions
85
+ flag: CSR_ALLOW_UNRESTRICTED_DTRACE
86
+ fs:
87
+ name: Filesystem Protections
88
+ flag: CSR_ALLOW_UNRESTRICTED_FS
89
+ kext:
90
+ name: Kext Signing
91
+ flag: CSR_ALLOW_UNTRUSTED_KEXTS
92
+ commands:
93
+ status:
94
+ description: Shows
95
+ enable:
96
+ disable:
97
+ netboot:
98
+ report:
99
+ authenticated-root:
100
+ verify-factory-sip:
data/share/smc.yaml CHANGED
@@ -2,6 +2,7 @@
2
2
  metadata:
3
3
  description:
4
4
  credits:
5
+ collections: []
5
6
  smc_keys:
6
7
  MOJO:
7
8
  STDK:
data/share/storage.yaml CHANGED
@@ -2,7 +2,7 @@
2
2
  metadata:
3
3
  description:
4
4
  credits:
5
- collections:
5
+ collections: []
6
6
  non_volatile_storage:
7
7
  NVMe:
8
8
  parts:
data/share/syscfg.yaml CHANGED
@@ -24,20 +24,20 @@ stores:
24
24
  trst:
25
25
  name: Trust Object
26
26
  entitlements:
27
+ SrvP:
28
+ SrvT:
27
29
  esca:
28
30
  faic:
29
31
  faus:
30
32
  fsca:
31
- SrvP:
32
- SrvT:
33
33
  values:
34
34
  AICl:
35
35
  ARNC:
36
36
  AROC:
37
- ARot:
38
37
  ARSC:
39
38
  ARXC:
40
39
  ARXN:
40
+ ARot:
41
41
  ASCl:
42
42
  BCAL:
43
43
  BCAR:
@@ -58,14 +58,14 @@ values:
58
58
  CLCL:
59
59
  CLHS:
60
60
  CMOC:
61
- Coor:
62
- description: Country of Origin
63
- values:
64
- - C
65
61
  CPAS:
66
62
  CRot:
67
63
  CSCM:
68
64
  CVCC:
65
+ Coor:
66
+ description: Country of Origin
67
+ values:
68
+ - C
69
69
  DBCl:
70
70
  DClr:
71
71
  DPCl:
@@ -75,56 +75,56 @@ values:
75
75
  EnMt:
76
76
  GICl:
77
77
  GRNC:
78
- GRot:
79
78
  GRSC:
80
79
  GRXC:
81
80
  GRXN:
81
+ GRot:
82
82
  GSCl:
83
83
  GYTT:
84
84
  JRot:
85
- ksku:
86
85
  LTAO:
87
86
  MBac:
88
87
  MDCC:
88
+ MLB#:
89
+ description: Main Logic Board Serial Number
89
90
  MdlC:
90
91
  description: Model Configuration (key value seperated by ";" and "key=value")
91
92
  MiGB:
92
93
  MiGH:
93
94
  MkBH:
94
95
  MkBS:
95
- MLB#:
96
- description: Main Logic Board Serial Number
97
96
  Mod#:
98
97
  description: Model Number
99
- PrCL:
100
98
  PRTT: "(Pressure Sensor / Barometer) temp-compensation-table"
101
99
  PSCl:
100
+ PrCL:
102
101
  PxCl: "(Proximity Sensor) prox-calibration"
103
102
  RACa:
104
103
  RACm:
105
- Regn:
106
- description: Region Info
107
104
  RFEM:
108
105
  RMd#:
109
106
  description: Regulatory Model Number
110
- rpcp:
111
107
  RSKU:
112
108
  description: Region SKU (in US "/LLA")
109
+ Regn:
110
+ description: Region Info
113
111
  RxCL:
114
112
  SBVr:
113
+ SPPO: "(Pressure Sensor / Barometer) pressure-offset-calibration"
114
+ STRB:
115
115
  SpGH:
116
116
  SpPH:
117
- SPPO: "(Pressure Sensor / Barometer) pressure-offset-calibration"
118
117
  SrNm:
119
118
  description: Serial Number
120
- STRB:
121
119
  SwBh:
122
120
  description: Software Behavior
123
- TCal:
124
121
  TCID:
122
+ TCal:
125
123
  TMac:
126
124
  WCAL:
127
125
  description: WiFi Calibration Data
128
126
  WMac:
129
127
  WSKU:
130
128
  description: WiFi Chip / Product SKU
129
+ ksku:
130
+ rpcp: