mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2025-02-18 17:36:23 +01:00
Set Baseband=0 for DisableBBUpdate
- and other messages
This commit is contained in:
parent
d5564ddf16
commit
122a6f466d
@ -100,9 +100,8 @@ SetToolPaths() {
|
|||||||
ping="ping -n 1"
|
ping="ping -n 1"
|
||||||
Log "WARNING - Using iOS-OTA-Downgrader on Windows is highly discouraged."
|
Log "WARNING - Using iOS-OTA-Downgrader on Windows is highly discouraged."
|
||||||
Echo "* Please use it on Linux or macOS instead."
|
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 may still continue, but you might encounter problems with restoring the device."
|
||||||
Echo "* You have been warned."
|
sleep 3
|
||||||
sleep 5
|
|
||||||
Input "Press Enter/Return to continue anyway (or press Ctrl+C to cancel)"
|
Input "Press Enter/Return to continue anyway (or press Ctrl+C to cancel)"
|
||||||
read -s
|
read -s
|
||||||
fi
|
fi
|
||||||
|
@ -56,7 +56,7 @@ FutureRestore() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $Baseband == 0 ]]; then
|
if [[ $Baseband == 0 ]]; then
|
||||||
Log "Device $ProductType has no baseband"
|
Log "Device $ProductType has no baseband/disabled baseband update"
|
||||||
ExtraArgs+=("--no-baseband")
|
ExtraArgs+=("--no-baseband")
|
||||||
else
|
else
|
||||||
FRBaseband
|
FRBaseband
|
||||||
@ -144,7 +144,7 @@ iDeviceRestore() {
|
|||||||
ExtraArgs="-r"
|
ExtraArgs="-r"
|
||||||
idevicerestore="$idevicererestore"
|
idevicerestore="$idevicererestore"
|
||||||
if [[ $Baseband == 0 ]]; then
|
if [[ $Baseband == 0 ]]; then
|
||||||
Log "Device $ProductType has no baseband"
|
Log "Device $ProductType has no baseband/disabled baseband update"
|
||||||
else
|
else
|
||||||
FRBaseband
|
FRBaseband
|
||||||
cp saved/baseband/$Baseband tmp/bbfw.tmp
|
cp saved/baseband/$Baseband tmp/bbfw.tmp
|
||||||
|
@ -73,7 +73,12 @@ JailbreakOption() {
|
|||||||
IPSWCustom="${ProductType}_${OSVer}_${BuildVer}_${Custom}"
|
IPSWCustom="${ProductType}_${OSVer}_${BuildVer}_${Custom}"
|
||||||
[[ $OSVer == 4.3* ]] && IPSWCustom+="-$UniqueChipID"
|
[[ $OSVer == 4.3* ]] && IPSWCustom+="-$UniqueChipID"
|
||||||
elif [[ $ProductType == "$DisableBBUpdate" ]]; then
|
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"
|
IPSWCustom+="B"
|
||||||
if [[ $platform != "win" && $Jailbreak != 1 ]]; then
|
if [[ $platform != "win" && $Jailbreak != 1 ]]; then
|
||||||
IPSWCustom+="N"
|
IPSWCustom+="N"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user