mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2025-01-26 06:55:28 +01:00
Allow futurerestoring 16.6.x for A9/A11 (untested)
This commit is contained in:
parent
24a8d45d6c
commit
3faf409a6b
22
restore.sh
22
restore.sh
@ -763,6 +763,10 @@ device_get_info() {
|
|||||||
device_proc=9;; # A9
|
device_proc=9;; # A9
|
||||||
iPhone9,[1234] | iPod9,1 )
|
iPhone9,[1234] | iPod9,1 )
|
||||||
device_proc=10;; # A10
|
device_proc=10;; # A10
|
||||||
|
iPhone10* | iPad6* )
|
||||||
|
device_proc=10
|
||||||
|
device_ios16=1
|
||||||
|
;;
|
||||||
iPhone* | iPad* )
|
iPhone* | iPad* )
|
||||||
device_proc=11;; # Newer devices
|
device_proc=11;; # Newer devices
|
||||||
esac
|
esac
|
||||||
@ -830,15 +834,11 @@ device_get_info() {
|
|||||||
device_latest_vers="12.5.7"
|
device_latest_vers="12.5.7"
|
||||||
device_latest_build="16H81"
|
device_latest_build="16H81"
|
||||||
;;
|
;;
|
||||||
iPad5,[1234] | iPhone8,[124] | iPhone9,[1234] | iPod9,1 )
|
iPad[56]* | iPhone[89]* | iPhone10* | iPod9,1 )
|
||||||
log "Getting latest iOS version for $device_type"
|
log "Getting latest iOS version for $device_type"
|
||||||
latestver="$(curl "https://api.ipsw.me/v4/device/$device_type?type=ipsw" | $jq -j ".firmwares[0]")"
|
latestver="$(curl "https://api.ipsw.me/v4/device/$device_type?type=ipsw" | $jq -j ".firmwares[0]")"
|
||||||
device_latest_vers="$(echo "$latestver" | $jq -j ".version")"
|
device_latest_vers="$(echo "$latestver" | $jq -j ".version")"
|
||||||
device_latest_build="$(echo "$latestver" | $jq -j ".buildid")"
|
device_latest_build="$(echo "$latestver" | $jq -j ".buildid")"
|
||||||
if [[ -z $device_latest_vers || -z $device_latest_build ]]; then
|
|
||||||
device_latest_vers="15.8.2"
|
|
||||||
device_latest_build="19H384"
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
# set device_use_bb, device_use_bb_sha1 (what baseband to use for ota/other)
|
# set device_use_bb, device_use_bb_sha1 (what baseband to use for ota/other)
|
||||||
@ -5981,6 +5981,16 @@ menu_ipsw_browse() {
|
|||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
elif [[ $device_ios16 == 1 ]]; then
|
||||||
|
case $device_target_build in
|
||||||
|
20[GH]* ) :;; # 16.6 and newer only
|
||||||
|
* )
|
||||||
|
log "Selected IPSW ($device_target_vers) is not supported as target version."
|
||||||
|
print "* Latest SEP/BB is not compatible."
|
||||||
|
pause
|
||||||
|
return
|
||||||
|
;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
case $1 in
|
case $1 in
|
||||||
"iOS 10.3.3" ) versionc="10.3.3";;
|
"iOS 10.3.3" ) versionc="10.3.3";;
|
||||||
@ -6131,7 +6141,7 @@ menu_other() {
|
|||||||
iPhone3,[13] | iPad1,1 | iPod3,1 ) menu_items+=("Disable/Enable Exploit");;
|
iPhone3,[13] | iPad1,1 | iPod3,1 ) menu_items+=("Disable/Enable Exploit");;
|
||||||
iPhone2,1 ) menu_items+=("Install alloc8 Exploit");;
|
iPhone2,1 ) menu_items+=("Install alloc8 Exploit");;
|
||||||
esac
|
esac
|
||||||
if (( device_proc < 11 )); then
|
if (( device_proc < 11 )) && [[ $device_ios16 != 1 ]]; then
|
||||||
menu_items+=("SSH Ramdisk")
|
menu_items+=("SSH Ramdisk")
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user