@@ -3660,11 +3660,6 @@ ipsw_prepare_32bit() {
36603660 ExtraArgs+=" -ramdiskgrow 10"
36613661 if [[ $device_use_bb != 0 && $device_type != " $device_disable_bbupdate " ]]; then
36623662 ExtraArgs+=" -bbupdate"
3663- elif [[ $device_type == " $device_disable_bbupdate " && $device_deadbb != 1 ]]; then
3664- ExtraArgs+=" ../saved/$device_type /baseband-$device_ecid .tar"
3665- fi
3666- if [[ $device_actrec == 1 ]]; then
3667- ExtraArgs+=" ../saved/$device_type /activation-$device_ecid .tar"
36683663 fi
36693664
36703665 if [[ $ipsw_jailbreak == 1 ]]; then
@@ -3726,13 +3721,20 @@ ipsw_prepare_32bit() {
37263721 cp $jelbrek /freeze.tar.gz .
37273722 gzip -d freeze.tar.gz
37283723 fi
3724+
37293725 if [[ $ipsw_isbeta == 1 ]]; then
37303726 ipsw_prepare_systemversion
37313727 ExtraArgs+=" systemversion.tar"
37323728 fi
37333729 if [[ $1 == " iboot" ]]; then
37343730 ExtraArgs+=" iBoot.tar"
37353731 fi
3732+ if [[ $device_type == " $device_disable_bbupdate " && $device_deadbb != 1 ]]; then
3733+ ExtraArgs+=" ../saved/$device_type /baseband-$device_ecid .tar"
3734+ fi
3735+ if [[ $device_actrec == 1 ]]; then
3736+ ExtraArgs+=" ../saved/$device_type /activation-$device_ecid .tar"
3737+ fi
37363738
37373739 log " Preparing custom IPSW: $dir /powdersn0w $ipsw_path .ipsw temp.ipsw $ExtraArgs ${JBFiles[*]} "
37383740 " $dir /powdersn0w" " $ipsw_path .ipsw" temp.ipsw $ExtraArgs ${JBFiles[@]}
@@ -4325,10 +4327,11 @@ ipsw_prepare_multipatch() {
43254327
43264328 # 3.2.x ipad/4.2.x cdma fs workaround
43274329 case $device_target_vers in
4328- 4.2.10 | 4.2.9 | 4.2.[876] | 3.2* )
4330+ 4.2.10 | 4.2.9 | 4.2.[876] | 3.2* | 3.1.3 )
43294331 local ipsw_name=" ../${device_type} _${device_target_vers} _${device_target_build} _FS"
43304332 local type=" iPad1.1"
43314333 [[ $device_type == " iPhone3,3" ]] && type=" iPhone3.3"
4334+ [[ $device_type == " iPod3,1" ]] && type=" iPod3.1"
43324335 local build=" $device_target_build "
43334336 local vers=" $device_target_vers "
43344337 local rootfs_name_fs=" $rootfs_name "
@@ -4348,6 +4351,7 @@ ipsw_prepare_multipatch() {
43484351 4.2.6 ) sha1E=" 671cbbb3964e5e5c38078577f5c2844bbe16699c" ;;
43494352 3.2.1 ) sha1E=" 896c0344435615aee7f52fc75739241022e38fe7" ;;
43504353 3.2 ) sha1E=" 47fdfe04ad9b65da009c834902eda3f141feac28" ;;
4354+ 3.1.3 ) sha1E=" 5500f63ff36ddf3379c66fcff26f0a6837ad522d" ;;
43514355 esac
43524356 if [[ -s " $ipsw_name .ipsw" ]]; then
43534357 log " Verifying FS IPSW..."
@@ -4554,11 +4558,6 @@ ipsw_prepare_powder() {
45544558 fi
45554559 if [[ $device_use_bb != 0 && $device_type != " $device_disable_bbupdate " ]]; then
45564560 ExtraArgs+=" -bbupdate"
4557- elif [[ $device_type == " $device_disable_bbupdate " && $device_deadbb != 1 ]]; then
4558- ExtraArgs+=" ../saved/$device_type /baseband-$device_ecid .tar"
4559- fi
4560- if [[ $device_actrec == 1 ]]; then
4561- ExtraArgs+=" ../saved/$device_type /activation-$device_ecid .tar"
45624561 fi
45634562
45644563 if [[ $ipsw_jailbreak == 1 ]]; then
@@ -4625,10 +4624,17 @@ ipsw_prepare_powder() {
46254624 tar -cvf iBoot.tar iBEC
46264625 ExtraArgs+=" iBoot.tar"
46274626 fi
4627+
46284628 if [[ $ipsw_isbeta == 1 ]]; then
46294629 ipsw_prepare_systemversion
46304630 ExtraArgs+=" systemversion.tar"
46314631 fi
4632+ if [[ $device_type == " $device_disable_bbupdate " && $device_deadbb != 1 ]]; then
4633+ ExtraArgs+=" ../saved/$device_type /baseband-$device_ecid .tar"
4634+ fi
4635+ if [[ $device_actrec == 1 ]]; then
4636+ ExtraArgs+=" ../saved/$device_type /activation-$device_ecid .tar"
4637+ fi
46324638
46334639 log " Preparing custom IPSW: $dir /powdersn0w $ipsw_path .ipsw temp.ipsw -base $ipsw_base_path .ipsw $ExtraArgs "
46344640 " $dir /powdersn0w" " $ipsw_path .ipsw" temp.ipsw -base " $ipsw_base_path .ipsw" $ExtraArgs
0 commit comments