mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-30 11:54:18 +01:00
73548d7121
* Correct IV and Keys * Also add option to just save blobs * Added buildmanifestsaver
39 lines
925 B
Bash
Executable File
39 lines
925 B
Bash
Executable File
#!/bin/bash
|
|
|
|
devices=(
|
|
iPhone4,1
|
|
iPhone5,1
|
|
iPhone5,2
|
|
iPhone5,3
|
|
iPhone5,4
|
|
iPad2,1
|
|
iPad2,2
|
|
iPad2,3
|
|
iPad2,4
|
|
iPad2,5
|
|
iPad2,6
|
|
iPad2,7
|
|
iPad3,1
|
|
iPad3,2
|
|
iPad3,3
|
|
iPad3,4
|
|
iPad3,5
|
|
iPad3,6
|
|
)
|
|
devices613=(iPhone4,1 iPad2,1 iPad2,2 iPad2,3)
|
|
|
|
echo "32bit-OTA-Downgrader BuildManifest Saver"
|
|
echo "- by LukeZGD"
|
|
echo "Depends on partialZipBrowser! https://github.com/tihmstar/partialZipBrowser"
|
|
|
|
for ProductType in "${devices[@]}"
|
|
do
|
|
dllink=$(curl -I -Ls -o /dev/null -w %{url_effective} https://api.ipsw.me/v4/ota/download/${ProductType}/12H321?prerequisite=12H143)
|
|
pzb -g AssetData/boot/BuildManifest.plist -o BuildManifest_$ProductType.plist $dllink
|
|
done
|
|
|
|
for ProductType in "${devices613[@]}"
|
|
do
|
|
dllink=$(curl -I -Ls -o /dev/null -w %{url_effective} https://api.ipsw.me/v4/ota/download/${ProductType}/10B329?prerequisite=10B146)
|
|
pzb -g AssetData/boot/BuildManifest.plist -o BuildManifest613_$ProductType.plist $dllink
|
|
done |