Skip to content

Commit

Permalink
Some restore changes for S5L8900
Browse files Browse the repository at this point in the history
regarding #442
  • Loading branch information
LukeZGD committed Mar 20, 2024
1 parent c8a6a76 commit ebc0315
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1727,6 +1727,11 @@ ipsw_preference_set() {
case $device_target_vers in
8.2 | 8.[10]* ) ipsw_canjailbreak=;;
esac
elif [[ $device_proc == 1 ]]; then
ipsw_canjailbreak=
log "Jailbreak option is not available, but you may jailbreak (and hacktivate) later after the restore"
print "* To jailbreak, select \"Jailbreak Device\" in the main menu"
print "* To hacktivate, go to \"Other Utilities -> Hacktivate Device\" after jailbreaking"
elif [[ $device_type == "iPhone2,1" || $device_type == "iPod2,1" ]]; then
case $device_target_vers in
3.1.3 ) :;;
Expand Down Expand Up @@ -3816,6 +3821,9 @@ restore_prepare() {
1 )
if [[ $device_target_vers == "3.1.3" ]]; then
device_enter_mode DFU
elif [[ $device_target_vers == "4"* ]]; then
restore_latest
return
else
device_enter_mode WTFreal
fi
Expand Down Expand Up @@ -6360,6 +6368,7 @@ device_hacktivate() {
return
fi
print "* Make sure that your device is restored with the jailbreak option enabled."
print "* Or jailbroken using Legacy iOS Kit's \"Jailbreak Device\" option."
print "* This will use SSH to patch lockdownd on your device for hacktivation."
print "* Hacktivation is for iOS versions 3.1 to 6.1.6."
pause
Expand Down

0 comments on commit ebc0315

Please sign in to comment.