Skip to content

Commit

Permalink
Hardcode SikaFuse 0 for a16/a17 for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryptiiiic committed Sep 26, 2023
1 parent c4bc5e4 commit 5816de1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,6 @@ xcuserdata
!tsschecker/*.h
!tsschecker/*.c
*.zst
BuildManifest.plist
*.ipsw
*.download
5 changes: 2 additions & 3 deletions tsschecker/tss.c
Original file line number Diff line number Diff line change
Expand Up @@ -298,12 +298,11 @@ int tss_request_add_ap_img4_tags(plist_t request, plist_t parameters)
} else if (_plist_dict_get_bool(parameters, "RequiresUIDMode")) {
// The logic here is missing why this value is expected to be 'false'
plist_dict_set_item(request, "UID_MODE", plist_new_bool(0));
plist_dict_set_item(request, "Ap,SikaFuse", plist_new_int(0));
}

if (plist_dict_get_item(parameters, "Ap,SikaFuse")) {
if(plist_dict_get_item(parameters, "Ap,SikaFuse")) {
_plist_dict_copy_item(request, parameters, "Ap,SikaFuse", NULL);
} else {//else if (_plist_dict_get_bool(parameters, "?")) {
// plist_dict_set_item(request, "Ap,SikaFuse", plist_new_int(0));
}
return 0;
}
Expand Down

0 comments on commit 5816de1

Please sign in to comment.