@@ -141,12 +141,14 @@ private static void run(URL ipswURL, String device, String version) throws TSSCh
141
141
File locationToSaveBlobs = new File (controller .pathField .getText ());
142
142
//noinspection ResultOfMethodCallIgnored
143
143
locationToSaveBlobs .mkdirs ();
144
- ArrayList <String > args = new ArrayList <>(Arrays .asList (tsschecker .getPath (), "--generator" , "0x1111111111111111" , "-- nocache" , "-d" , device , "-s" , "-e" , ecid , "--save-path" , savePath ));
144
+ ArrayList <String > args = new ArrayList <>(Arrays .asList (tsschecker .getPath (), "--nocache" , "-d" , device , "-s" , "-e" , ecid , "--save-path" , savePath ));
145
145
if (controller .getBoardConfig ) {
146
146
Collections .addAll (args , "--boardconfig" , boardConfig );
147
147
}
148
148
if (controller .apnonceCheckBox .isSelected ()) {
149
149
Collections .addAll (args , "--apnonce" , apnonce );
150
+ } else {
151
+ Collections .addAll (args , "--generator" , "0x1111111111111111" );
150
152
}
151
153
if (controller .betaCheckBox .isSelected ()) {
152
154
if (!controller .ipswField .getText ().matches ("https?://.*apple.*\\ .ipsw" )) {
@@ -205,7 +207,8 @@ private static void run(URL ipswURL, String device, String version) throws TSSCh
205
207
resizeAlertButtons (alert );
206
208
alert .showAndWait ();
207
209
reportError (alert );
208
- } else if (containsIgnoreCase (tsscheckerLog , "[Error] [TSSC] manually specified ApNonce=" + apnonce + ", but parsing failed" )) {
210
+ } else if (containsIgnoreCase (tsscheckerLog , "[Error] [TSSC] manually specified ApNonce=" + apnonce + ", but parsing failed" )
211
+ || containsIgnoreCase (tsscheckerLog , "[Error] [TSSR] parsed APNoncelen != requiredAPNoncelen" )) {
209
212
newUnreportableError ("\" " + apnonce + "\" is not a valid apnonce" );
210
213
controller .apnonceField .setEffect (errorBorder );
211
214
} else if (containsIgnoreCase (tsscheckerLog , "could not get id0 for installType=Erase" )
0 commit comments