Skip to content

Commit d803e77

Browse files
committed
some fixes for ipod2,1 old bootrom
1 parent 56a2318 commit d803e77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

restore.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3094,7 +3094,7 @@ ipsw_prepare_jailbreak() {
30943094
JBFiles[1]=$jelbrek/greenpois0n/${device_type}_${device_target_build}.tar
30953095
fi
30963096
;;
3097-
3.1* | 4.0* )
3097+
3.1* )
30983098
if [[ $device_type == "iPhone1,2" || $device_type == "iPhone2,1" || $ipsw_24o == 1 ]]; then
30993099
JBFiles[1]=
31003100
fi
@@ -5296,7 +5296,7 @@ ipsw_prepare_custom() {
52965296
ipsw_prepare_jailbreak old
52975297

52985298
mv "$ipsw_custom.ipsw" temp.ipsw
5299-
if [[ $ipsw_24o == 1 ]] && [[ $device_target_vers == "3.1"* || $device_target_vers == "4.0"* ]]; then # old bootrom ipod2,1
5299+
if [[ $ipsw_24o == 1 ]]; then # old bootrom ipod2,1
53005300
ipsw_prepare_patchcomp LLB
53015301
mv temp.ipsw "$ipsw_custom.ipsw"
53025302
return
@@ -8309,7 +8309,7 @@ menu_restore() {
83098309
menu_items+=("iOS 4.1");;
83108310
iPhone1,2 | iPod2,1 )
83118311
menu_items+=("4.1" "3.1.3")
8312-
if [[ $device_type == "iPod2,1" ]] && [[ $device_newbr != 1 || $device_mode != "none" ]]; then
8312+
if [[ $device_type == "iPod2,1" ]] && [[ $device_newbr == 0 || $device_mode != "none" ]]; then
83138313
menu_items+=("More versions")
83148314
fi
83158315
;;

0 commit comments

Comments
 (0)