Warning instead of error for firmware keys

futurerestore can still attempt to get keys from ipsw.me later
This commit is contained in:
LukeZGD 2022-07-09 16:01:44 +08:00
parent 8942de72ea
commit ba253917ad
2 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@
## Other features ## Other features
- iOS 6.1.3 and 8.4.1 downgrades have the option to **jailbreak** the install - iOS 6.1.3 and 8.4.1 downgrades have the option to **jailbreak** the install
- For iOS 10.3.3, use [TotallyNotSpyware](https://totally-not.spyware.lol) or [sockH3lix](https://github.com/SongXiaoXi/sockH3lix) to jailbreak - For iOS 10.3.3, use [TotallyNotSpyware](https://totally-not.spyware.lol) or [sockH3lix](https://github.com/SongXiaoXi/sockH3lix) to jailbreak
- The latest baseband will always be used for 32-bit devices that have baseband. For iPhone 5C and A7 devices, iOS 10.3.3 baseband will be used
- This script can also restore your device to other iOS versions that you have SHSH blobs for (32-bit devices only, iOS 5 and newer only) - This script can also restore your device to other iOS versions that you have SHSH blobs for (32-bit devices only, iOS 5 and newer only)
- This script can also be used to just enter kDFU mode (32-bit devices only) - This script can also be used to just enter kDFU mode (32-bit devices only)
- This script can also be used to restore your iPhone 4 back to iOS 7.1.2 with the option to jailbreak the install - This script can also be used to restore your iPhone 4 back to iOS 7.1.2 with the option to jailbreak the install

View File

@ -100,7 +100,7 @@ DowngradeOther() {
curl -L https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/raw/master/$ProductType/$BuildVer/index.html -o tmp/index.html curl -L https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/raw/master/$ProductType/$BuildVer/index.html -o tmp/index.html
if [[ $(cat tmp/index.html | grep -c "$BuildVer") != 1 ]]; then if [[ $(cat tmp/index.html | grep -c "$BuildVer") != 1 ]]; then
curl -L https://api.m1sta.xyz/wikiproxy/$ProductType/$BuildVer -o tmp/index.html curl -L https://api.m1sta.xyz/wikiproxy/$ProductType/$BuildVer -o tmp/index.html
[[ $(cat tmp/index.html | grep -c "$BuildVer") != 1 ]] && Error "Failed to download firmware keys, cannot proceed." [[ $(cat tmp/index.html | grep -c "$BuildVer") != 1 ]] && Log "Warning - Failed to download firmware keys."
fi fi
mv tmp/index.html resources/firmware/$ProductType/$BuildVer mv tmp/index.html resources/firmware/$ProductType/$BuildVer
fi fi