Set Baseband=0 for DisableBBUpdate

- and other messages
This commit is contained in:
LukeZGD 2022-09-26 10:58:09 +08:00
parent d5564ddf16
commit 122a6f466d
3 changed files with 10 additions and 6 deletions

View File

@ -100,9 +100,8 @@ SetToolPaths() {
ping="ping -n 1"
Log "WARNING - Using iOS-OTA-Downgrader on Windows is highly discouraged."
Echo "* Please use it on Linux or macOS instead."
Echo "* You may still continue, but you might encounter problems with restoring and activation."
Echo "* You have been warned."
sleep 5
Echo "* You may still continue, but you might encounter problems with restoring the device."
sleep 3
Input "Press Enter/Return to continue anyway (or press Ctrl+C to cancel)"
read -s
fi

View File

@ -56,7 +56,7 @@ FutureRestore() {
fi
if [[ $Baseband == 0 ]]; then
Log "Device $ProductType has no baseband"
Log "Device $ProductType has no baseband/disabled baseband update"
ExtraArgs+=("--no-baseband")
else
FRBaseband
@ -144,7 +144,7 @@ iDeviceRestore() {
ExtraArgs="-r"
idevicerestore="$idevicererestore"
if [[ $Baseband == 0 ]]; then
Log "Device $ProductType has no baseband"
Log "Device $ProductType has no baseband/disabled baseband update"
else
FRBaseband
cp saved/baseband/$Baseband tmp/bbfw.tmp

View File

@ -73,7 +73,12 @@ JailbreakOption() {
IPSWCustom="${ProductType}_${OSVer}_${BuildVer}_${Custom}"
[[ $OSVer == 4.3* ]] && IPSWCustom+="-$UniqueChipID"
elif [[ $ProductType == "$DisableBBUpdate" ]]; then
Log "Baseband update will be disabled for the custom IPSW."
Log "WARNING - Baseband update will be disabled for the custom IPSW."
Echo "* With baseband update disabled, activation errors may occur."
Echo "* Do NOT continue if you do not have other means for activation."
Input "Press Enter/Return to continue anyway (or press Ctrl+C to cancel)"
read -s
Baseband=0
IPSWCustom+="B"
if [[ $platform != "win" && $Jailbreak != 1 ]]; then
IPSWCustom+="N"