diff --git a/README.md b/README.md index 111f5bf..4de44a4 100755 --- a/README.md +++ b/README.md @@ -68,6 +68,6 @@ - [kloader](https://www.youtube.com/watch?v=fh0tB6fp0Sc) - [kloader5 for iOS 5](https://mtmdev.org/pmbonneau-archive) - [kloader_hgsp for iOS 10](https://twitter.com/nyan_satan/status/945203180522045440) -- [partialZipBrowser](https://github.com/tihmstar/partialZipBrowser/releases/tag/36) +- [partial-zip](https://github.com/matteyeux/partial-zip) - 32-bit iBSS patches are from [OdysseusOTA](https://www.youtube.com/watch?v=Wo7mGdMcjxw), [OdysseusOTA2](https://www.youtube.com/watch?v=fh0tB6fp0Sc), [alitek12](https://www.mediafire.com/folder/b1z64roy512wd/FirmwareBundles), [gjest](https://files.fm/u/fcbqqdnw) - A7 iBSS and iBEC patches are from [MatthewPierson](https://github.com/MatthewPierson/iPhone-5s-OTA-Downgrade-Patches) diff --git a/resources/tools/partialzip_linux b/resources/tools/partialzip_linux new file mode 100755 index 0000000..6bc61c8 Binary files /dev/null and b/resources/tools/partialzip_linux differ diff --git a/resources/tools/partialzip_macos b/resources/tools/partialzip_macos new file mode 100755 index 0000000..535827c Binary files /dev/null and b/resources/tools/partialzip_macos differ diff --git a/resources/tools/pzb_linux b/resources/tools/pzb_linux deleted file mode 100755 index b128c42..0000000 Binary files a/resources/tools/pzb_linux and /dev/null differ diff --git a/resources/tools/pzb_macos b/resources/tools/pzb_macos deleted file mode 100755 index 6261684..0000000 Binary files a/resources/tools/pzb_macos and /dev/null differ diff --git a/restore.sh b/restore.sh index b52ede1..15ce9bb 100755 --- a/restore.sh +++ b/restore.sh @@ -50,7 +50,7 @@ function Main { futurerestore1="resources/tools/futurerestore1_macos" futurerestore2="resources/tools/futurerestore2_macos" fi - pzb="resources/tools/pzb_$platform" + partialzip="resources/tools/partialzip_$platform" [[ ! $platform ]] && Error "OSTYPE unknown/not supported." "Supports Linux and macOS only" [[ ! $(ping -c1 google.com 2>/dev/null) ]] && Error "Please check your Internet connection before proceeding." @@ -216,7 +216,7 @@ function SaveOTABlobs { function kDFU { if [ ! -e saved/$ProductType/$iBSS.dfu ]; then Log "Downloading iBSS..." - $pzb -g Firmware/dfu/$iBSS.dfu -o $iBSS.dfu $(cat $Firmware/$iBSSBuildVer/url) + $partialzip $(cat $Firmware/$iBSSBuildVer/url) Firmware/dfu/$iBSS.dfu $iBSS.dfu mkdir -p saved/$ProductType 2>/dev/null mv $iBSS.dfu saved/$ProductType fi @@ -414,8 +414,8 @@ function Downgrade { cp $IPSW/Firmware/$Baseband . elif [ ! -e saved/$ProductType/*.bbfw ]; then Log "Downloading baseband..." - $pzb -g Firmware/$Baseband -o $Baseband $BasebandURL - $pzb -g BuildManifest.plist -o BuildManifest.plist $BasebandURL + $partialzip $BasebandURL Firmware/$Baseband $Baseband + $partialzip $BasebandURL BuildManifest.plist BuildManifest.plist mkdir -p saved/$ProductType 2>/dev/null cp $Baseband BuildManifest.plist saved/$ProductType else @@ -497,7 +497,7 @@ function InstallDependencies { elif [[ $OSTYPE == "darwin"* ]]; then # macOS - [ ! $(which git) ] && xcode-select --install + xcode-select --install SaveFile https://github.com/libimobiledevice-win32/imobiledevice-net/releases/download/v1.3.4/libimobiledevice.1.2.1-r1079-osx-x64.zip libimobiledevice.zip 2812e01fc7c09b5980b46b97236b2981dbec7307 rm -rf ../resources/libimobiledevice mkdir ../resources/libimobiledevice