mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2025-01-11 15:59:08 +01:00
Disable IPSW jailbreak option for S5L8900, and other changes
This commit is contained in:
parent
f666255b1b
commit
b416862e0e
@ -9,6 +9,7 @@
|
|||||||
## Features
|
## Features
|
||||||
- Legacy iOS Kit supports all 32-bit iOS devices, and some 64-bit (A7/A8/A9/A10) devices
|
- Legacy iOS Kit supports all 32-bit iOS devices, and some 64-bit (A7/A8/A9/A10) devices
|
||||||
- Devices that received iOS 16 and newer are not supported and only have limited functionality (such as sideload on Linux etc.)
|
- Devices that received iOS 16 and newer are not supported and only have limited functionality (such as sideload on Linux etc.)
|
||||||
|
- S5L8900 devices (iPhone 2G, 3G, touch 1) are only partially supported, some features may not work properly
|
||||||
- Restore to signed OTA versions (iOS 8.4.1 and/or 6.1.3) on A5/A6 devices
|
- Restore to signed OTA versions (iOS 8.4.1 and/or 6.1.3) on A5/A6 devices
|
||||||
- Restore some 32-bit devices to other iOS versions without blobs
|
- Restore some 32-bit devices to other iOS versions without blobs
|
||||||
- This includes downgrading iPhone 3GS, iPhone 4 GSM and CDMA, iPod touch 2, touch 3, iPad 1
|
- This includes downgrading iPhone 3GS, iPhone 4 GSM and CDMA, iPod touch 2, touch 3, iPad 1
|
||||||
@ -16,7 +17,7 @@
|
|||||||
- Restore to other iOS versions with iOS 7 blobs (powdersn0w)
|
- Restore to other iOS versions with iOS 7 blobs (powdersn0w)
|
||||||
- Tethered restores to other iOS versions for A5/A6 and other devices
|
- Tethered restores to other iOS versions for A5/A6 and other devices
|
||||||
- Jailbreak all 32-bit iOS devices on (almost) any iOS version
|
- Jailbreak all 32-bit iOS devices on (almost) any iOS version
|
||||||
- Available on iOS versions 3.1.3 to 9.3.4
|
- Available on iOS versions 3.1 to 9.3.4
|
||||||
- Only unsupported versions are iOS 9.0.x
|
- Only unsupported versions are iOS 9.0.x
|
||||||
- Hacktivation for iPhone 2G, 3G, 3GS, 4 GSM (activate without valid SIM card)
|
- Hacktivation for iPhone 2G, 3G, 3GS, 4 GSM (activate without valid SIM card)
|
||||||
- Restore to iOS 10.3.3 (signed OTA version) on supported A7 devices
|
- Restore to iOS 10.3.3 (signed OTA version) on supported A7 devices
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
32
restore.sh
32
restore.sh
@ -1704,7 +1704,7 @@ ipsw_preference_set() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
case $device_latest_vers in
|
case $device_latest_vers in
|
||||||
7.1.2 | 6.1.6 | 5.1.1 | 4.2.1 | 3.1.3 ) ipsw_canjailbreak=1;;
|
[7654]* ) ipsw_canjailbreak=1;;
|
||||||
esac
|
esac
|
||||||
if [[ $device_target_vers == "$device_latest_vers" && $ipsw_canjailbreak != 1 ]]; then
|
if [[ $device_target_vers == "$device_latest_vers" && $ipsw_canjailbreak != 1 ]]; then
|
||||||
return
|
return
|
||||||
@ -1714,11 +1714,23 @@ ipsw_preference_set() {
|
|||||||
|
|
||||||
case $device_target_vers in
|
case $device_target_vers in
|
||||||
9.3.[1234] | 9.3 | 9.2* | 9.1 | [87654]* ) ipsw_canjailbreak=1;;
|
9.3.[1234] | 9.3 | 9.2* | 9.1 | [87654]* ) ipsw_canjailbreak=1;;
|
||||||
|
3.1.3 )
|
||||||
|
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"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
if [[ $device_proc == 5 ]]; then
|
if [[ $device_proc == 5 ]]; then
|
||||||
case $device_target_vers in
|
case $device_target_vers in
|
||||||
8.2 | 8.[10]* ) ipsw_canjailbreak=;;
|
8.2 | 8.[10]* ) ipsw_canjailbreak=;;
|
||||||
esac
|
esac
|
||||||
|
elif [[ $device_type == "iPhone2,1" || $device_type == "iPod2,1" ]]; then
|
||||||
|
case $device_target_vers in
|
||||||
|
3.1* )
|
||||||
|
ipsw_canjailbreak=1
|
||||||
|
warn "Jailbreak option might have issues on versions below 3.1.3. I recommend selecting 3.1.3 or newer instead"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $device_target_powder == 1 ]]; then
|
if [[ $device_target_powder == 1 ]]; then
|
||||||
@ -5181,7 +5193,7 @@ menu_restore_more() {
|
|||||||
menu_items+=("4.3.5" "4.3.4" "4.3.2" "4.3.1" "4.3")
|
menu_items+=("4.3.5" "4.3.4" "4.3.2" "4.3.1" "4.3")
|
||||||
menu_items+=("4.2.1" "4.0.2" "4.0.1" "4.0" "3.1.2" "3.1" "3.0")
|
menu_items+=("4.2.1" "4.0.2" "4.0.1" "4.0" "3.1.2" "3.1" "3.0")
|
||||||
;;
|
;;
|
||||||
iPod2,1 ) menu_items+=("4.0.2" "4.0");;
|
iPod2,1 ) menu_items+=("4.0.2" "4.0" "3.1.2" "3.1.1");;
|
||||||
esac
|
esac
|
||||||
menu_items+=("Go Back")
|
menu_items+=("Go Back")
|
||||||
menu_print_info
|
menu_print_info
|
||||||
@ -5193,6 +5205,9 @@ menu_restore_more() {
|
|||||||
if [[ -z $1 && $device_type == "iPod2,1" && $device_newbr != 0 ]]; then
|
if [[ -z $1 && $device_type == "iPod2,1" && $device_newbr != 0 ]]; then
|
||||||
warn "These versions are for old bootrom devices only. They may not work on your device"
|
warn "These versions are for old bootrom devices only. They may not work on your device"
|
||||||
echo
|
echo
|
||||||
|
else
|
||||||
|
warn "These versions might not work on your device"
|
||||||
|
echo
|
||||||
fi
|
fi
|
||||||
input "Select an option:"
|
input "Select an option:"
|
||||||
select opt in "${menu_items[@]}"; do
|
select opt in "${menu_items[@]}"; do
|
||||||
@ -5800,9 +5815,14 @@ menu_other() {
|
|||||||
"Normal" )
|
"Normal" )
|
||||||
menu_items+=("Attempt Activation")
|
menu_items+=("Attempt Activation")
|
||||||
case $device_vers in
|
case $device_vers in
|
||||||
[3456]* )
|
3.1* | [456]* )
|
||||||
case $device_type in
|
case $device_type in
|
||||||
iPhone1* | iPhone[23],1 ) menu_items+=("Hacktivate Device");;
|
iPhone1* )
|
||||||
|
if [[ $device_vers == "3.1.3" ]]; then
|
||||||
|
menu_items+=("Hacktivate Device")
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
iPhone[23],1 ) menu_items+=("Hacktivate Device");;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@ -6201,10 +6221,12 @@ device_hacktivate() {
|
|||||||
|
|
||||||
restore_customipsw() {
|
restore_customipsw() {
|
||||||
print "* You are about to restore with a custom IPSW."
|
print "* You are about to restore with a custom IPSW."
|
||||||
print "* Proceed with caution when restoring to custom IPSWs not made with Legacy iOS Kit."
|
print "* This option is only for restoring with IPSWs NOT made with Legacy iOS Kit, like whited00r or GeekGrade."
|
||||||
if [[ $device_newbr == 1 ]]; then
|
if [[ $device_newbr == 1 ]]; then
|
||||||
warn "Your device is a new bootrom model and custom IPSWs might not be compatible."
|
warn "Your device is a new bootrom model and custom IPSWs might not be compatible."
|
||||||
print "* For iPhone 3GS, after restoring you will need to go to Other Utilities -> Install alloc8 Exploit"
|
print "* For iPhone 3GS, after restoring you will need to go to Other Utilities -> Install alloc8 Exploit"
|
||||||
|
else
|
||||||
|
warn "* Do NOT use this option for powdersn0w or jailbreak IPSWs made with Legacy iOS Kit!"
|
||||||
fi
|
fi
|
||||||
pause
|
pause
|
||||||
menu_ipsw_browse custom
|
menu_ipsw_browse custom
|
||||||
|
Loading…
x
Reference in New Issue
Block a user