Fix iBSSb and iBECb errors on 5S

This isnt really a crucial fix
This commit is contained in:
LukeeGD 2020-09-11 22:38:51 +08:00
parent 5716a94c03
commit 52594bad6e

View File

@ -372,8 +372,10 @@ function Downgrade {
cp $IPSW/Firmware/all_flash/$SEP . cp $IPSW/Firmware/all_flash/$SEP .
$bspatch $IPSW/Firmware/dfu/$iBSS.im4p $iBSS.im4p resources/patches/$iBSS.patch $bspatch $IPSW/Firmware/dfu/$iBSS.im4p $iBSS.im4p resources/patches/$iBSS.patch
$bspatch $IPSW/Firmware/dfu/$iBEC.im4p $iBEC.im4p resources/patches/$iBEC.patch $bspatch $IPSW/Firmware/dfu/$iBEC.im4p $iBEC.im4p resources/patches/$iBEC.patch
$bspatch $IPSW/Firmware/dfu/$iBSSb.im4p $iBSSb.im4p resources/patches/$iBSSb.patch if [[ $ProductType == iPad4* ]]; then
$bspatch $IPSW/Firmware/dfu/$iBECb.im4p $iBECb.im4p resources/patches/$iBECb.patch $bspatch $IPSW/Firmware/dfu/$iBSSb.im4p $iBSSb.im4p resources/patches/$iBSSb.patch
$bspatch $IPSW/Firmware/dfu/$iBECb.im4p $iBECb.im4p resources/patches/$iBECb.patch
fi
cp -f $iBSS.im4p $iBEC.im4p $iBSSb.im4p $iBECb.im4p $IPSW/Firmware/dfu cp -f $iBSS.im4p $iBEC.im4p $iBSSb.im4p $iBECb.im4p $IPSW/Firmware/dfu
cd $IPSW cd $IPSW
zip ../$IPSWCustom.ipsw -rq0 * zip ../$IPSWCustom.ipsw -rq0 *
@ -382,10 +384,10 @@ function Downgrade {
IPSW=$IPSWCustom IPSW=$IPSWCustom
else else
cp $IPSW/Firmware/dfu/$iBSS.im4p $IPSW/Firmware/dfu/$iBEC.im4p . cp $IPSW/Firmware/dfu/$iBSS.im4p $IPSW/Firmware/dfu/$iBEC.im4p .
cp $IPSW/Firmware/dfu/$iBSSb.im4p $IPSW/Firmware/dfu/$iBECb.im4p . [[ $ProductType == iPad4* ]] && cp $IPSW/Firmware/dfu/$iBSSb.im4p $IPSW/Firmware/dfu/$iBECb.im4p .
cp $IPSW/Firmware/all_flash/$SEP . cp $IPSW/Firmware/all_flash/$SEP .
fi fi
if [[ $ProductType == "iPad4,4" ]] || [[ $ProductType == "iPad4,5" ]]; then if [[ $ProductType == iPad4,4 ]] || [[ $ProductType == iPad4,5 ]]; then
iBEC=$iBECb iBEC=$iBECb
iBSS=$iBSSb iBSS=$iBSSb
fi fi