@@ -141,12 +141,14 @@ private static void run(URL ipswURL, String device, String version) throws TSSCh
141141 File locationToSaveBlobs = new File (controller .pathField .getText ());
142142 //noinspection ResultOfMethodCallIgnored
143143 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 ));
145145 if (controller .getBoardConfig ) {
146146 Collections .addAll (args , "--boardconfig" , boardConfig );
147147 }
148148 if (controller .apnonceCheckBox .isSelected ()) {
149149 Collections .addAll (args , "--apnonce" , apnonce );
150+ } else {
151+ Collections .addAll (args , "--generator" , "0x1111111111111111" );
150152 }
151153 if (controller .betaCheckBox .isSelected ()) {
152154 if (!controller .ipswField .getText ().matches ("https?://.*apple.*\\ .ipsw" )) {
@@ -205,7 +207,8 @@ private static void run(URL ipswURL, String device, String version) throws TSSCh
205207 resizeAlertButtons (alert );
206208 alert .showAndWait ();
207209 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" )) {
209212 newUnreportableError ("\" " + apnonce + "\" is not a valid apnonce" );
210213 controller .apnonceField .setEffect (errorBorder );
211214 } else if (containsIgnoreCase (tsscheckerLog , "could not get id0 for installType=Erase" )
0 commit comments