mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-23 16:39:17 +01:00
4.2.x iPhone3,3 untested, and other fixes
likely not working
This commit is contained in:
parent
b874e4d7a6
commit
50f9140998
@ -76,7 +76,7 @@
|
|||||||
- iPod touch 6
|
- iPod touch 6
|
||||||
- Restoring with powdersn0w is supported on the following devices:
|
- Restoring with powdersn0w is supported on the following devices:
|
||||||
- iPhone 4 GSM - targets iOS 4.3 to 7.1.1
|
- iPhone 4 GSM - targets iOS 4.3 to 7.1.1
|
||||||
- iPhone 4 CDMA - targets iOS 5.0 to 7.1.1
|
- iPhone 4 CDMA - targets iOS 4.2.6 to 7.1.1 (4.2.x is untested)
|
||||||
- iPhone 4S, 5, 5C, iPad 2 Rev A, iPad 4, iPod touch 5 - targets iOS 5.0 to 9.3.5
|
- iPhone 4S, 5, 5C, iPad 2 Rev A, iPad 4, iPod touch 5 - targets iOS 5.0 to 9.3.5
|
||||||
- iPad 1 - targets iOS 4.3.1 to 5.1
|
- iPad 1 - targets iOS 4.3.1 to 5.1
|
||||||
- iPod touch 3 - targets iOS 4.3 to 5.1
|
- iPod touch 3 - targets iOS 4.3 to 5.1
|
||||||
|
BIN
resources/firmware/src/target/n92/reboot4
Executable file
BIN
resources/firmware/src/target/n92/reboot4
Executable file
Binary file not shown.
42
restore.sh
42
restore.sh
@ -3604,7 +3604,11 @@ device_ramdisk() {
|
|||||||
|
|
||||||
"setnvram" )
|
"setnvram" )
|
||||||
log "Sending commands for NVRAM..."
|
log "Sending commands for NVRAM..."
|
||||||
$ssh -p 2222 root@127.0.0.1 "nvram -c; nvram boot-partition=$rec; reboot_bak"
|
$ssh -p 2222 root@127.0.0.1 "nvram -c; nvram boot-partition=$rec"
|
||||||
|
if [[ $device_type == "iPhone3,3" && $rec == 2 ]]; then
|
||||||
|
$ssh -p 2222 root@127.0.0.1 "nvram boot-ramdisk=/a/b/c/d/e/f/g/h/i/disk.dmg"
|
||||||
|
fi
|
||||||
|
$ssh -p 2222 root@127.0.0.1 "reboot_bak"
|
||||||
log "Done, your device should boot now"
|
log "Done, your device should boot now"
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
@ -4053,11 +4057,20 @@ menu_ipsw() {
|
|||||||
if [[ -n $ipsw_path ]]; then
|
if [[ -n $ipsw_path ]]; then
|
||||||
print "* Selected Target IPSW: $ipsw_path.ipsw"
|
print "* Selected Target IPSW: $ipsw_path.ipsw"
|
||||||
print "* Target Version: $device_target_vers-$device_target_build"
|
print "* Target Version: $device_target_vers-$device_target_build"
|
||||||
|
case $device_target_build in
|
||||||
|
"8E"* )
|
||||||
|
warn "iOS 4.2.x for iPhone3,3 is untested, proceed at your own risk.";;
|
||||||
|
"7"* | "8A"* | "8B"* | "8C"* )
|
||||||
|
warn "Selected target version is not supported and will most likely fail.";;
|
||||||
|
esac
|
||||||
|
if [[ $device_type == "iPad1,1" && $device_target_vers == "4.3" ]]; then
|
||||||
|
warn "Selected target version is not supported and will most likely fail."
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
print "* Select Target IPSW to continue"
|
print "* Select Target IPSW to continue"
|
||||||
case $device_type in
|
case $device_type in
|
||||||
iPhone3,1 ) print "* Any iOS version from 4.3 to 7.1.1 is supported";;
|
iPhone3,1 ) print "* Any iOS version from 4.3 to 7.1.1 is supported";;
|
||||||
iPhone3,3 ) print "* Any iOS version from 5.0 to 7.1.1 is supported";;
|
iPhone3,3 ) print "* Any iOS version from 4.2.6 to 7.1.1 is supported";;
|
||||||
iPhone4,1 | iPad2,[123] ) print "* Any iOS version from 5.0 to 9.3.5 is supported";;
|
iPhone4,1 | iPad2,[123] ) print "* Any iOS version from 5.0 to 9.3.5 is supported";;
|
||||||
iPad2,4 | iPad3,[123] ) print "* Any iOS version from 5.1 to 9.3.5 is supported";;
|
iPad2,4 | iPad3,[123] ) print "* Any iOS version from 5.1 to 9.3.5 is supported";;
|
||||||
iPhone5,[12] | iPad3,[456] ) print "* Any iOS version from 6.0 to 9.3.5 is supported";;
|
iPhone5,[12] | iPad3,[456] ) print "* Any iOS version from 6.0 to 9.3.5 is supported";;
|
||||||
@ -4355,6 +4368,10 @@ menu_ipsw_browse() {
|
|||||||
print "* You need iOS $base_vers IPSW and SHSH blobs for this device to use powdersn0w."
|
print "* You need iOS $base_vers IPSW and SHSH blobs for this device to use powdersn0w."
|
||||||
pause
|
pause
|
||||||
return
|
return
|
||||||
|
elif [[ $device_target_build == "$device_base_build" ]]; then
|
||||||
|
log "The base version and the target version must not be the same."
|
||||||
|
pause
|
||||||
|
return
|
||||||
fi
|
fi
|
||||||
ipsw_verify "$newpath" "$device_base_build"
|
ipsw_verify "$newpath" "$device_base_build"
|
||||||
ipsw_base_path="$newpath"
|
ipsw_base_path="$newpath"
|
||||||
@ -4379,18 +4396,15 @@ menu_ipsw_browse() {
|
|||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
*"powdersn0w"* )
|
*"powdersn0w"* )
|
||||||
if [[ $device_type == "iPad1,1" && $device_target_vers == "4.3" ]]; then
|
if [[ $device_target_build == "14"* ]]; then
|
||||||
log "Selected IPSW ($device_target_vers) is not supported as target version."
|
log "Selected IPSW ($device_target_vers) is not supported as target version."
|
||||||
pause
|
pause
|
||||||
return
|
return
|
||||||
|
elif [[ $device_target_build == "$device_base_build" ]]; then
|
||||||
|
log "The base version and the target version must not be the same."
|
||||||
|
pause
|
||||||
|
return
|
||||||
fi
|
fi
|
||||||
case $device_target_build in
|
|
||||||
"7"* | "8A"* | "8B"* | "8C"* | "14"* )
|
|
||||||
log "Selected IPSW ($device_target_vers) is not supported as target version."
|
|
||||||
pause
|
|
||||||
return
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
if [[ -n $versionc && $device_target_vers != "$versionc" ]]; then
|
if [[ -n $versionc && $device_target_vers != "$versionc" ]]; then
|
||||||
@ -4464,7 +4478,7 @@ menu_other() {
|
|||||||
menu_items+=("Enter pwnDFU Mode")
|
menu_items+=("Enter pwnDFU Mode")
|
||||||
fi
|
fi
|
||||||
case $device_type in
|
case $device_type in
|
||||||
iPhone3,1 | 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
|
||||||
fi
|
fi
|
||||||
@ -4528,14 +4542,14 @@ device_jailbreakrd() {
|
|||||||
read -p "$(input 'Enter current iOS version (eg. 6.1.3): ')" device_vers
|
read -p "$(input 'Enter current iOS version (eg. 6.1.3): ')" device_vers
|
||||||
if [[ $device_type == "iPad2"* && $device_vers == "4"* ]]; then
|
if [[ $device_type == "iPad2"* && $device_vers == "4"* ]]; then
|
||||||
warn "This version ($device_vers) is not supported for jailbreaking with SSHRD."
|
warn "This version ($device_vers) is not supported for jailbreaking with SSHRD."
|
||||||
print "* Supported versions for iPad 2 are: 5.0 to 8.4.1"
|
print "* Supported versions for iPad 2 are: 5.0 to 9.3.4 (excluding 9.0.x)"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
case $device_vers in
|
case $device_vers in
|
||||||
8* | 7* | 6* | 5* | 4* | 3.2.2 | 3.1.3 ) :;;
|
9* | 8* | 7* | 6* | 5* | 4* | 3.2.2 | 3.1.3 ) :;;
|
||||||
* )
|
* )
|
||||||
warn "This version ($device_vers) is not supported for jailbreaking with SSHRD."
|
warn "This version ($device_vers) is not supported for jailbreaking with SSHRD."
|
||||||
print "* Supported versions are: 3.1.3 to 8.4.1"
|
print "* Supported versions are: 3.1.3 to 9.3.4 (excluding 9.0.x)"
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user