You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add erase-install parameter and a few updates (#18)
* add erase-install parameter and a few updates
* Update README.md
* Update tsschecker versioning
* Update tss auth client version
* Fix a few misaligned whitespaces
* Nonce Entanglement documentation update.
* remove unneeded bitmasks from -u and -E
Copy file name to clipboardExpand all lines: README.md
+49-38Lines changed: 49 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,25 +12,35 @@ tsschecker is a powerful tool to check TSS signing status on combinations of var
12
12
tsschecker is not only meant to be used to check firmware signing status, but also to explore Apple's TSS servers.<br/>
13
13
By using all of its customization possibilities, you might discover a combination of devices and firmware versions that is getting signed but wasn't getting signed before.
14
14
15
-
# About nonces:
16
-
## recommended generators for saving tickets:
17
-
*`0xbd34a880be0b53f3` // default on the Electra, Chimera and Odyssey jailbreak apps.
18
-
*`0x1111111111111111` // default on the unc0ver jailbreak app.
15
+
# About Nonces:
16
+
A [Nonce](https://wikipedia.org/wiki/Cryptographic_nonce) ("Number-used-ONCE") is a randomly generated value that is used to randomize apple's signed hash blobs.
19
17
20
-
## Nonce Entangling (Apple A12/S4 and newer)
21
-
Newer devices, such as the iPhone XR or the Apple Watch Series 4 (and any device newer) have nonce-entangling.
18
+
it is created by the device with a nonce seed (generator) and then hashes that seed to create the nonce.<br/>On arm64e devices, nonce generation works a bit differently, see "Nonce Entangling" for more details.
22
19
23
-
this means any boot nonce generated by your device is now also UID derived, and consequently device-specific.<br/>to save usable tickets for a newer device, you need to get the boot nonce that your device actually generates from your generator.
20
+
## Recommended nonce-seeds (Generators) for saving tickets:
21
+
*`0xbd34a880be0b53f3` // default on the [Electra](https://coolstar.org/electra/), [Chimera](https://chimera.coolstar.org/) and [Odyssey](https://theodyssey.dev/) jailbreak apps.
22
+
*`0x1111111111111111` // default on the [unc0ver](https://unc0ver.dev) jailbreak app.
24
23
25
-
for information on how to get your actual boot nonce, [see this post on r/jailbreak](https://www.reddit.com/r/jailbreak/comments/cssh8f/tutorial_easiest_way_to_save_blobs_on_a12/).
24
+
## Nonce Entangling (arm64e devices)
25
+
arm64e devices such as the iPhone XR, Apple Watch Series 4 and all newer devices have nonce-entangling.
26
+
27
+
Nonce Entangling further randomizes the boot nonce by encrypting a constant value with the [UID key](https://www.theiphonewiki.com/wiki/UID_key) (using AES-256-CBC)<br/>It is then used to encrypt the "generator" value (using AES-128-CBC) before hashing it to become the boot nonce.
28
+
29
+
In short, nonce entangling makes the boot nonce unique to that device only.
30
+
31
+
To save reusable tickets for any arm64e device, you must get the boot nonce that the device creates from your generator,<br/>
32
+
the simpliest way to get a nonce/generator pair is to use airsquared's [blobsaver](https://github.com/airsquared/blobsaver) tool and read them from the device.
the Nonce Collision method only works on a few firmwares and devices, and is not reliable and not recommended.<br/>it's a lot better to save a ticket with a generator and use the [checkm8](https://github.com/axi0mx/ipwndfu) bootrom exploit or a nonce setter.
30
40
31
41
Recovery Nonce Collisions only occur on a few iOS versions, like iOS 9.3.3 and iOS 10.1-10.2 on the iPhone 5s<br/>and is not reliable as once you update, your device will almost-certainly not collide nonces anymore.
32
42
33
-
DFU Nonce Collisions on the other hand, very commonly occur on any device using A7 and A8 chipsets regardless of iOS version and is MUCH more reliable than using recovery collisions.
43
+
DFU Nonce Collisions on the other hand, very commonly occur on any device using A7 and A8 chipsets regardless of iOS version,<br/> and is MUCH more reliable than using recovery collisions.
|`-m`|`--build-manifest`| manually specify a BuildManifest (can be used with `-d`) |
89
-
|`-s`|`--save`| save fetched shsh blobs (mostly makes sense with -e) |
90
-
|`-u`|`--update-install `| request update tickets instead of erase |
91
-
|`-l`|`--latest`| use the latest public firmware version instead of manually specifying one<br/>especially useful with `-s` and `-e` for saving signing tickets |
92
-
|`-e`|`--ecid ECID`| manually specify ECID to be used for fetching blobs, instead of using random ones.<br/>ECID must be either DEC or HEX eg. `5482657301265` or `ab46efcbf71`|
93
-
|`-g`|`--generator GEN`| manually specify generator in format 0x%%16llx |
94
-
|`-8`|`--apnonce NONCE`| manually specify ApNonce instead of using random ones<br/>(required for saving blobs for A12/S4 and newer devices with generator) |
95
-
|`-9`|`--sepnonce NONCE`| manually specify SepNonce instead of using random ones (not required for saving signing tickets) |
96
-
|`-c`|`--bbsnum SNUM`| manually specify BbSNUM in HEX to save valid BBTickets (not required for saving blobs) |
97
-
|`-3`|`--save-path PATH`| specify path for saving shsh blobs |
98
-
|`-6`|`--beta`| request ticket for a beta instead of normal release (use with `-o`) |
99
-
|`-1`|`--list-devices`| list all known devices |
100
-
|`-2`|`--list-ios`| list all known firmware versions |
101
-
|`-7`|`--nocache`| ignore caches and re-download required files |
102
-
|`-4`|`--print-tss-request`| print the TSS request that will be sent to Apple |
103
-
|`-5`|`--print-tss-response`| print the TSS response that comes from Apple |
104
-
|`-r`|`--raw`| send raw file to Apple's TSS server (useful for debugging) |
105
-
|`-0`|`--debug`| print extra tss info(useful for debugging) |
|`-m`|`--build-manifest`| manually specify a BuildManifest (can be used with `-d`) |
99
+
|`-s`|`--save`| save fetched shsh blobs (mostly makes sense with -e) |
100
+
|`-u`|`--update-install`| only request tickets for InstallType=Update |
101
+
|`-E`|`--erase-install`| only request tickets for InstallType=Erase |
102
+
|`-l`|`--latest`| use the latest public firmware version instead of manually specifying one<br/>especially useful with `-s` and `-e` for saving signing tickets |
103
+
|`-e`|`--ecid ECID`| manually specify ECID to be used for fetching blobs, instead of using random ones.<br/>ECID must be either DEC or HEX eg. `5482657301265` or `ab46efcbf71`|
104
+
|`-g`|`--generator GEN`| manually specify generator in format 0x%%16llx |
105
+
|`-8`|`--apnonce NONCE`| manually specify ApNonce instead of using random ones<br/>(required when saving blobs for arm64e devices with a matching generator) |
106
+
|`-9`|`--sepnonce NONCE`| manually specify SepNonce instead of using random ones (not required for saving signing tickets) |
107
+
|`-c`|`--bbsnum SNUM`| manually specify BbSNUM in HEX to save valid BBTickets (not required for saving blobs) |
108
+
|`-3`|`--save-path PATH`| specify path for saving shsh blobs |
109
+
|`-6`|`--beta`| request ticket for a beta instead of normal release (use with `-o`) |
110
+
|`-1`|`--list-devices`| list all known devices |
111
+
|`-2`|`--list-ios`| list all known firmware versions |
112
+
|`-7`|`--nocache`| ignore caches and re-download required files |
113
+
|`-4`|`--print-tss-request`| print the TSS request that will be sent to Apple |
114
+
|`-5`|`--print-tss-response`| print the TSS response that comes from Apple |
115
+
|`-r`|`--raw`| send raw file to Apple's TSS server (useful for debugging) |
116
+
|`-0`|`--debug`| print extra tss info(useful for debugging) |
printf(" -m, --build-manifest\t\tmanually specify a BuildManifest (can be used with -d)\n");
78
79
printf(" -s, --save\t\t\tsave fetched shsh blobs (mostly makes sense with -e)\n");
79
-
printf(" -u, --update-install\t\trequest update tickets instead of erase\n");
80
+
printf(" -u, --update-install\t\tonly request tickets for InstallType=Update\n");
81
+
printf(" -E, --erase-install\t\tonly request tickets for InstallType=Erase\n");
80
82
printf(" -l, --latest\t\t\tuse the latest public firmware version instead of manually specifying one\n");
81
83
printf(" \t\tespecially useful with -s and -e for saving shsh blobs\n");
82
84
printf(" -e, --ecid ECID\t\tmanually specify ECID to be used for fetching blobs, instead of using random ones\n");
83
85
printf(" \t\tECID must be either DEC or HEX eg. 5482657301265 or 0xab46efcbf71\n");
84
86
printf(" -g, --generator GEN\t\tmanually specify generator in HEX format 16 in length (eg. 0x1111111111111111)\n\n");
85
-
printf(" -8 --apnonce NONCE\t\tmanually specify ApNonce instead of using random ones\n\t\t\t\t(required for saving blobs for A12/S4 and newer devices with generator)\n\n");
87
+
printf(" -8 --apnonce NONCE\t\tmanually specify ApNonce instead of using random ones\n\t\t\t\t(required when saving blobs for arm64e devices with a matching generator)\n\n");
86
88
printf(" -9 --sepnonce NONCE\t\tmanually specify SEP Nonce instead of using random ones (not required for saving blobs)\n");
87
89
printf(" -c --bbsnum SNUM\t\tmanually specify BbSNUM in HEX to save valid BBTickets (not required for saving blobs)\n\n");
88
90
printf(" -3 --save-path PATH\t\tspecify output path for saving shsh blobs\n");
0 commit comments