Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tss: always add UID_MODE to support 16.5.1 updates #486

Merged
merged 1 commit into from
Jul 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions pymobiledevice3/restore/tss.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,14 +351,9 @@ def add_ap_img4_tags(self, parameters):
k = 'SepNonce'
self._request[k] = v

uid_mode = parameters.get('UID_MODE')
requires_uid_mode = parameters.get('RequiresUIDMode')
if uid_mode is not None:
self._request['UID_MODE'] = uid_mode
elif requires_uid_mode is not None:
# The logic here is missing why this value is expected to be 'false'
self._request['UID_MODE'] = False
uid_mode = parameters.get('UID_MODE', False)

self._request['UID_MODE'] = uid_mode
self._request['@ApImg4Ticket'] = True
self._request['@BBTicket'] = True

Expand Down
Loading