mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-27 10:24:16 +01:00
Try something for iPod5,1
This commit is contained in:
parent
13c934d8b3
commit
31fd3f7dff
BIN
resources/patches/iBSS.n78ap.RELEASE.patch
Normal file
BIN
resources/patches/iBSS.n78ap.RELEASE.patch
Normal file
Binary file not shown.
19
restore.sh
19
restore.sh
@ -112,9 +112,16 @@ function Action {
|
||||
read -p "[Input] Path to SHSH (drag SHSH to terminal window): " SHSH
|
||||
fi
|
||||
|
||||
iBSS="iBSS.$HWModel.RELEASE"
|
||||
IV=$(cat $Firmware/12H321/iv)
|
||||
Key=$(cat $Firmware/12H321/key)
|
||||
if [[ $ProductVer == iPod5,1 ]]; then
|
||||
iBSS="iBSS.${HWModel}ap.RELEASE"
|
||||
IV=$(cat $Firmware/10B329/iv)
|
||||
Key=$(cat $Firmware/10B329/key)
|
||||
else
|
||||
iBSS="iBSS.$HWModel.RELEASE"
|
||||
IV=$(cat $Firmware/12H321/iv)
|
||||
Key=$(cat $Firmware/12H321/key)
|
||||
fi
|
||||
|
||||
if [[ $Mode == 'Downgrade' ]]; then
|
||||
Downgrade
|
||||
elif [[ $Mode == 'SaveOTABlobs' ]]; then
|
||||
@ -139,7 +146,11 @@ function SaveOTABlobs {
|
||||
function kDFU {
|
||||
if [ ! -e saved/$ProductType/$iBSS.dfu ]; then
|
||||
Log "Downloading iBSS..."
|
||||
resources/tools/pzb_$platform -g Firmware/dfu/${iBSS}.dfu -o $iBSS.dfu $(cat $Firmware/12H321/url)
|
||||
if [[ $ProductType == iPod5,1 ]]; then
|
||||
resources/tools/pzb_$platform -g Firmware/dfu/${iBSS}.dfu -o $iBSS.dfu $(cat $Firmware/10B329/url)
|
||||
else
|
||||
resources/tools/pzb_$platform -g Firmware/dfu/${iBSS}.dfu -o $iBSS.dfu $(cat $Firmware/12H321/url)
|
||||
fi
|
||||
mkdir -p saved/$ProductType 2>/dev/null
|
||||
mv $iBSS.dfu saved/$ProductType
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user