From 122a6f466d3aa759351b475a1c7f84e59a1339c9 Mon Sep 17 00:00:00 2001 From: LukeZGD <26163116+LukeZGD@users.noreply.github.com> Date: Mon, 26 Sep 2022 10:58:09 +0800 Subject: [PATCH] Set Baseband=0 for DisableBBUpdate - and other messages --- resources/depends.sh | 5 ++--- resources/downgrade.sh | 4 ++-- resources/ipsw.sh | 7 ++++++- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/resources/depends.sh b/resources/depends.sh index 394d17d..c9af577 100755 --- a/resources/depends.sh +++ b/resources/depends.sh @@ -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 diff --git a/resources/downgrade.sh b/resources/downgrade.sh index 5142de1..82338a0 100755 --- a/resources/downgrade.sh +++ b/resources/downgrade.sh @@ -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 diff --git a/resources/ipsw.sh b/resources/ipsw.sh index b0d503a..013d2c0 100755 --- a/resources/ipsw.sh +++ b/resources/ipsw.sh @@ -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"