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
alert1.setHeaderText("Read apnonce from connected device");
519
-
alert1.setContentText("blobsaver can read the apnonce from a connected device.\n\n" +
520
-
"It is recommended, but not required to set a generator on your device prior to reading the apnonce. " +
521
-
"blobsaver can read the generator from your device to confirm whether the generator was set properly (currently jailbroken devices only, it will return a random value on unjailbroken devices).\n\n" +
522
-
"Please connect your device and hit \"OK\" to begin. Your device will enter recovery mode while retrieving the apnonce and will automatically reboot to normal mode when complete.\n\n" +
523
-
"NOTE: an apnonce is only required for devices with an A12 processor or newer.");
524
-
Optional<ButtonType> result = alert1.showAndWait();
525
-
if (result.isEmpty() || !result.get().equals(ButtonType.OK)) return;
"This can take up to 60 seconds", ButtonType.FINISH);
518
+
alert1.setContentText("blobsaver can read both the ApNonce and generator from a connected device.\n\n" +
519
+
"Please connect your device and click \"Jailbroken\" if your device has a generator set or \"Unjailbroken\" if you don't. Your device will enter recovery mode while retrieving the apnonce and will automatically reboot to normal mode when complete.\n\n");
520
+
booleanjailbroken;
521
+
if (alert1.showAndWait().isEmpty() || !alert1.getResult().getText().contains("ailbroken")) {
0 commit comments