Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 104f50a

Browse files
committed
Warning: jailbroken firmware updating
1 parent 9495c14 commit 104f50a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ReadMe.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ __Windows version is supported, but I will not compile it.__
1313
* Re-restoring 32-bit devices to iOS 9 with @alitek123's no-nonce method (alternative — [idevicererestore](https://github.com/s0uthwest/idevicererestore)).
1414
* Allows restoring any non-matching signed iOS/SEP/Baseband.
1515

16+
__NOT recommended 'u' parameter, if you update from jailbroken firmware!__
1617
# Dependencies
1718
* ## Runtime
1819
* On macOS, futurerestore requires no runtime dependencies, the following are only for compiling.

futurerestore/main.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ void cmd_help(){
6464
printf("Options:\n\n");
6565
printf(" -t, --apticket PATH\t\tAPTicket used for restoring\n");
6666
printf(" -u, --update\t\t\tUpdate instead of erase install (requires appropriate APTicket)\n");
67+
printf(" \t\t\tNOT recommended this parameter, if you update from jailbroken firmware\n");
6768
printf(" -w, --wait\t\t\tKeep rebooting until ApNonce matches APTicket (ApNonce collision, unreliable)\n");
6869
printf(" -d, --debug\t\t\tVerbose debug output (useful for error logs)\n");
6970
printf(" --latest-sep\t\tUse latest signed sep instead of manually specifying one (may cause bad restore)\n");
@@ -72,7 +73,7 @@ void cmd_help(){
7273
printf(" \t\tWARNING: only use this for device without a baseband (eg. iPod touch or some Wi-Fi only iPads)\n");
7374
printf(" --exit-recovery\t\tExit recovery mode and quit\n");
7475
#ifdef HAVE_LIBIPATCHER
75-
printf(" --use-pwndfu\t\tuse this for restoring devices with odysseus method. Device needs to be in kDFU mode already\n");
76+
printf(" --use-pwndfu\t\tuse this for restoring devices with Odysseus method. Device needs to be in kDFU mode already\n");
7677
printf(" --just-boot=\"-v\"\t\tuse this to tethered boot the device from kDFU mode. You can optionally set boot-args\n");
7778
#endif
7879
printf("\nTo extract baseband/SEP automatically from IPSW:\n\n");
@@ -131,7 +132,6 @@ int main(int argc, const char * argv[]) {
131132
return -1;
132133
}
133134

134-
135135
while ((opt = getopt_long(argc, (char* const *)argv, "t:i:b:p:s:m:wud0123", longopts, &optindex)) > 0) {
136136
switch (opt) {
137137
case 't': // long option: "apticket"; can be called as short option
@@ -192,8 +192,8 @@ int main(int argc, const char * argv[]) {
192192
argv += optind;
193193

194194
ipsw = argv[0];
195-
}else if (argc == optind && flags & FLAG_WAIT) {
196-
info("User requested to only wait for APNonce to match, but not actually restoring\n");
195+
} else if (argc == optind && flags & FLAG_WAIT) {
196+
info("User requested to only wait for ApNonce to match, but not actually restoring\n");
197197
} else if (exitRecovery) {
198198
info("Exiting recovery mode\n");
199199
} else {
@@ -319,7 +319,6 @@ int main(int argc, const char * argv[]) {
319319
}
320320
cout << "Done: restoring "<< (!res ? "succeeded" : "failed")<<"." <<endl;
321321

322-
323322
error:
324323
if (err) cout << "Failed with errorcode="<<err << endl;
325324
return err;

0 commit comments

Comments
 (0)