Skip to content

Commit

Permalink
make the other tethered option visible for most 32-bit devices
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeZGD committed Feb 17, 2025
1 parent 6324812 commit 6560d5d
Showing 1 changed file with 12 additions and 18 deletions.
30 changes: 12 additions & 18 deletions restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7349,24 +7349,19 @@ menu_restore() {
esac
menu_items+=("Other (powdersn0w $text2 blobs)")
fi
if [[ $1 != "ipsw" ]] && (( device_proc < 5 )); then
menu_items+=("Other (Custom IPSW)")
fi
if [[ $device_proc != 1 ]]; then
if [[ $device_type != "iPod2,1" ]] && (( device_proc <= 10 )); then
menu_items+=("Other (Use SHSH Blobs)")
fi
if (( device_proc >= 7 )) && (( device_proc <= 10 )); then
menu_items+=("Set Nonce Only")
elif [[ $device_proc == 5 || $device_proc == 6 ]]; then
if [[ $device_proc != 1 && $device_type != "iPod2,1" ]] && (( device_proc <= 10 )); then
menu_items+=("Other (Use SHSH Blobs)")
if (( device_proc < 7 )); then
menu_items+=("Other (Tethered)")
fi
case $device_type in
iPhone3,[23] | iPod[34],1 ) menu_items+=("Other (Tethered)");;
esac
fi
if [[ $1 != "ipsw" ]] && (( device_proc < 5 )); then
menu_items+=("Other (Custom IPSW)")
fi
if (( device_proc < 7 )); then
menu_items+=("DFU IPSW")
elif (( device_proc >= 7 )) && (( device_proc <= 10 )); then
menu_items+=("Set Nonce Only")
fi
menu_items+=("IPSW Downloader" "Go Back")
menu_print_info
Expand All @@ -7375,14 +7370,13 @@ menu_restore() {
else
print " > Main Menu > Restore/Downgrade"
if [[ $device_proc == 1 ]]; then
print "* Select \"Other (Custom IPSW)\" to restore to other iOS versions (2.0 to 3.1.2)"
print "* Select \"Other (Custom IPSW)\" to restore to other iOS versions (2.0 to 3.1.2) (1.x will not work)"
echo
elif [[ $device_type == "iPod2,1" ]]; then
elif [[ $device_type == "iPod2,1" && $device_newbr == 0 ]]; then
print "* Select \"Other (Custom IPSW)\" to restore to other iOS versions (2.1.1 to 3.0)"
echo
fi
if [[ $device_type == "iPod2,1" || $device_type == "iPhone2,1" ]] && [[ $device_newbr != 0 ]]; then
print "* New bootrom devices might be incompatible with older iOS versions"
elif [[ $device_type == "iPhone2,1" && $device_newbr != 0 ]]; then
print "* Some new bootrom devices might be incompatible with older iOS versions"
echo
fi
fi
Expand Down

0 comments on commit 6560d5d

Please sign in to comment.