Skip to content

Commit 19e8283

Browse files
committed
remove these too
1 parent c349ef5 commit 19e8283

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

restore.sh

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2638,21 +2638,6 @@ patch_ibec() {
26382638
log "Pwned iBEC img3 saved at: saved/$device_type/pwnediBEC.dfu"
26392639
}
26402640

2641-
ipsw_nojailbreak_message() {
2642-
local hac
2643-
local tohac
2644-
case $device_type in
2645-
iPhone[23],1 ) hac=" (and hacktivate)"; tohac=1;;
2646-
esac
2647-
log "Jailbreak option is not available for this version. You may jailbreak$hac later after the restore"
2648-
print "* To jailbreak after the restore, select \"Jailbreak Device\" in the main menu"
2649-
if [[ $tohac == 1 ]]; then
2650-
print "* To hacktivate, go to \"Useful Utilities -> Hacktivate Device\" after jailbreaking"
2651-
fi
2652-
print "* For advanced users, you may enable the jailbreak option for the IPSW by enabling the --jailbreak flag, but this may have issues regarding ASR errors on iOS 3.x during restore."
2653-
echo
2654-
}
2655-
26562641
ipsw_preference_set() {
26572642
# sets ipsw variables: ipsw_jailbreak, ipsw_memory, ipsw_verbose
26582643
case $device_latest_vers in
@@ -2679,16 +2664,6 @@ ipsw_preference_set() {
26792664
9.3.[4321] | 9.3 | 9.[210]* | [876543].* ) ipsw_canjailbreak=1;;
26802665
esac
26812666

2682-
if [[ $device_type == "iPhone1,2" || $device_type == "iPhone2,1" || $device_type == "iPod2,1" ]]; then
2683-
case $device_target_vers in
2684-
4* ) ipsw_canjailbreak=1;;
2685-
esac
2686-
else
2687-
case $device_target_vers in
2688-
4.[10]* ) ipsw_nojailbreak_message;;
2689-
esac
2690-
fi
2691-
26922667
# ipsw_nskip being 1 means that it will always create/use a custom ipsw.
26932668
# useful for disabling baseband update, or in the case of macos arm64, not having to use futurerestore for 32-bit.
26942669
case $device_type in

0 commit comments

Comments
 (0)