Skip to content

Commit

Permalink
Merge pull request #20 from doronz88/feature/iphone15
Browse files Browse the repository at this point in the history
build_identity: add keys required for iphone 15 pro restoration
  • Loading branch information
doronz88 authored Jul 23, 2024
2 parents 3b57722 + b33e835 commit 7de1755
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
python-version: [ 3.8, 3.9, "3.10", "3.11" ]
python-version: [ 3.8, 3.9, "3.10", "3.11", "3.12" ]
os: [ macos-latest ]

steps:
Expand Down
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 7de1755

Please sign in to comment.