Skip to content

Commit

Permalink
Some things are not working
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeZGD committed Mar 28, 2024
1 parent ad57fab commit a6d1e4c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@
- iPhone 3GS - iOS 3.0 to 6.1.3 (all versions)
- iPod touch 2 - iOS 2.1.1 to 4.1 (all versions)
- iPhone 2G, 3G, iPod touch 1 - all versions
- Supported jailbreak versions are only 3.1.3, 4.1, and 4.2.1
- Lowest working version is 2.0. Going to 1.x does not work
- Note that for 2G, 3G, and touch 1, supported jailbreak versions are only 3.1.3, as well as 4.1 and 4.2.1 for the 3G
- Lowest downgradable version is 2.0. Going to 1.x does not work
- For 3GS and touch 2, 2.x and 3.0.x are not supported for jailbreaking. 3.1 and newer only

## Supported OS versions/distros

Expand Down
10 changes: 10 additions & 0 deletions restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,7 @@ device_s5l8900xall() {
local wtf_patched="$wtf_saved.patched"
local wtf_patch="../resources/patch/WTF.s5l8900xall.RELEASE.patch"
local wtf_sha_local="$($sha1sum "$wtf_saved" 2>/dev/null | awk '{print $1}')"
mkdir ../saved 2>/dev/null
if [[ $wtf_sha_local != "$wtf_sha" ]]; then
log "Downloading WTF.s5l8900xall"
"$dir/pzb" -g "Firmware/dfu/WTF.s5l8900xall.RELEASE.dfu" -o WTF.s5l8900xall.RELEASE.dfu "http://appldnld.apple.com/iPhone/061-7481.20100202.4orot/iPhone1,1_3.1.3_7E18_Restore.ipsw"
Expand Down Expand Up @@ -5739,6 +5740,15 @@ menu_ipsw() {
else
print "* Select $1 IPSW to continue"
fi
if [[ $device_proc == 1 && $device_type != "iPhone1,2" ]]; then
warn "3.1.3 for $device_type will likely fail to restore with jailbreak/hacktivate option."
print "* It is recommended to use other custom IPSWs instead."
print "* You may get 3.1.3 custom IPSWs here: https://archive.org/download/pwnagetool-3.1.3-ipsws"
print "* Mirror link: https://github.com/LukeZGD/Legacy-iOS-Kit-Keys/releases/tag/jailbreak"
elif [[ $device_type == "iPhone1,2" && $device_target_vers == "4.2.1" ]]; then
warn "4.2.1 for $device_type will likely fail to restore with jailbreak/hacktivate option."
print "* It is recommended to select 4.1 or 3.1.3 instead."
fi
if [[ $ipsw_canhacktivate == 1 ]] && [[ $device_type == "iPhone2,1" || $device_proc == 1 ]]; then
print "* Hacktivation is supported for this restore"
fi
Expand Down

0 comments on commit a6d1e4c

Please sign in to comment.