mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-27 10:24:16 +01:00
Replace pzb with partial-zip
This commit is contained in:
parent
b1485900ee
commit
e59c7a7edc
@ -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)
|
||||
|
BIN
resources/tools/partialzip_linux
Executable file
BIN
resources/tools/partialzip_linux
Executable file
Binary file not shown.
BIN
resources/tools/partialzip_macos
Executable file
BIN
resources/tools/partialzip_macos
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
10
restore.sh
10
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
|
||||
|
Loading…
Reference in New Issue
Block a user