From dac381ea52bfa49d52ce927da1802c0a60159b06 Mon Sep 17 00:00:00 2001 From: LukeZGD <26163116+LukeZGD@users.noreply.github.com> Date: Sun, 3 Mar 2024 18:54:49 +0800 Subject: [PATCH] An update to some messages --- README.md | 2 +- restore.sh | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e4b358a..dca87b6 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Legacy iOS Kit - (formerly iOS-OTA-Downgrader) -- **An all-in-one tool to restore/downgrade, save SHSH blobs, and jailbreak legacy iOS devices** +- **An all-in-one tool to [restore/downgrade](https://github.com/LukeZGD/Legacy-iOS-Kit/wiki/Restore-Downgrade), [save SHSH blobs](https://github.com/LukeZGD/Legacy-iOS-Kit/wiki/Saving-SHSH-blobs), and [jailbreak](https://github.com/LukeZGD/Legacy-iOS-Kit/wiki/Jailbreaking) legacy iOS devices** - Supported on **Linux and macOS** - **Read the ["How to Use" wiki page](https://github.com/LukeZGD/Legacy-iOS-Kit/wiki/How-to-Use) for instructions** - **Read the ["Troubleshooting" wiki page](https://github.com/LukeZGD/Legacy-iOS-Kit/wiki/Troubleshooting) for tips, frequent questions, and troubleshooting** diff --git a/restore.sh b/restore.sh index fb4dc4f..8b88373 100755 --- a/restore.sh +++ b/restore.sh @@ -1239,7 +1239,11 @@ device_enter_mode() { elif [[ $device_mode == "DFU" && $mode != "pwned-ibss" && $device_boot4 != 1 && $device_proc != 4 ]] && (( device_proc < 7 )); then print "* Select Y if your device is in pwned iBSS/kDFU mode." - print "* Select N to place device to pwned DFU mode using ipwndfu/ipwnder." + if [[ $device_proc == 5 ]]; then + print "* Select N if this is not the case. (pwned using checkm8-a5)" + else + print "* Select N to place device to pwned DFU mode using ipwndfu/ipwnder." + fi print "* Failing to answer correctly will cause \"Sending iBEC\" to fail." read -p "$(input 'Is your device already in pwned iBSS/kDFU mode? (y/N): ')" opt if [[ $opt == "Y" || $opt == "y" ]]; then @@ -4828,6 +4832,9 @@ menu_print_info() { echo print "* Device: $device_type (${device_model}ap) in $device_mode mode" device_manufacturing + if [[ $device_proc == 1 ]]; then + warn "This device is only partially supported by Legacy iOS Kit. Some features may not work properly." + fi if [[ -n $device_disable_bbupdate && $device_type == "iPhone"* ]]; then warn "Disable bbupdate flag detected, baseband update is disabled. Proceed with caution" print "* For iPhones, current baseband will be dumped and stitched to custom IPSW" @@ -5808,7 +5815,7 @@ menu_other() { if [[ $device_proc != 1 ]]; then menu_items+=("Enable activation-records flag") fi - if [[ $device_proc != 4 ]]; then + if (( device_proc >= 5 )); then menu_items+=("Enable skip-ibss flag") fi fi