Skip to content

Commit

Permalink
build_identity: add keys required for iphone 15 pro restoration
Browse files Browse the repository at this point in the history
  • Loading branch information
doronz88 committed Jul 23, 2024
1 parent 3b57722 commit 4fb54e9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ipsw_parser/build_identity.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,17 @@ def populate_tss_request_parameters(self, parameters: Mapping, additional_keys:
""" equivalent to idevicerestore:tss_parameters_add_from_manifest """
key_list = ['ApBoardID', 'ApChipID']
if additional_keys is None:
key_list += ['UniqueBuildID', 'Ap,OSLongVersion', 'ApChipID', 'ApBoardID', 'ApSecurityDomain',
'BMU,BoardID', 'BMU,ChipID', 'BbChipID', 'BbProvisioningManifestKeyHash',
key_list += ['UniqueBuildID', 'Ap,OSLongVersion', 'Ap,OSReleaseType', 'Ap,ProductType', 'Ap,SDKPlatform',
'Ap,SikaFuse', 'Ap,Target', 'Ap,TargetType', 'ApBoardID', 'ApChipID',
'ApSecurityDomain', 'BMU,BoardID', 'BMU,ChipID', 'BbChipID', 'BbProvisioningManifestKeyHash',
'BbActivationManifestKeyHash', 'BbCalibrationManifestKeyHash',
'BbFactoryActivationManifestKeyHash', 'BbFDRSecurityKeyHash', 'BbSkeyId', 'SE,ChipID',
'Savage,ChipID', 'Savage,PatchEpoch', 'Yonkers,BoardID', 'Yonkers,ChipID',
'Yonkers,PatchEpoch', 'Rap,BoardID', 'Rap,ChipID', 'Rap,SecurityDomain', 'Baobab,BoardID',
'Baobab,ChipID', 'Baobab,ManifestEpoch', 'Baobab,SecurityDomain', 'eUICC,ChipID',
'PearlCertificationRootPub', 'Timer,BoardID,1', 'Timer,BoardID,2', 'Timer,ChipID,1',
'Timer,ChipID,2', 'Timer,SecurityDomain,1', 'Timer,SecurityDomain,2', 'Manifest', ]
'Timer,ChipID,2', 'Timer,SecurityDomain,1', 'Timer,SecurityDomain,2', 'Manifest',
]
else:
key_list += additional_keys

Expand Down

0 comments on commit 4fb54e9

Please sign in to comment.