mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-23 16:39:17 +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.
11
restore.sh
11
restore.sh
@ -112,9 +112,16 @@ function Action {
|
|||||||
read -p "[Input] Path to SHSH (drag SHSH to terminal window): " SHSH
|
read -p "[Input] Path to SHSH (drag SHSH to terminal window): " SHSH
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
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"
|
iBSS="iBSS.$HWModel.RELEASE"
|
||||||
IV=$(cat $Firmware/12H321/iv)
|
IV=$(cat $Firmware/12H321/iv)
|
||||||
Key=$(cat $Firmware/12H321/key)
|
Key=$(cat $Firmware/12H321/key)
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ $Mode == 'Downgrade' ]]; then
|
if [[ $Mode == 'Downgrade' ]]; then
|
||||||
Downgrade
|
Downgrade
|
||||||
elif [[ $Mode == 'SaveOTABlobs' ]]; then
|
elif [[ $Mode == 'SaveOTABlobs' ]]; then
|
||||||
@ -139,7 +146,11 @@ function SaveOTABlobs {
|
|||||||
function kDFU {
|
function kDFU {
|
||||||
if [ ! -e saved/$ProductType/$iBSS.dfu ]; then
|
if [ ! -e saved/$ProductType/$iBSS.dfu ]; then
|
||||||
Log "Downloading iBSS..."
|
Log "Downloading iBSS..."
|
||||||
|
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)
|
resources/tools/pzb_$platform -g Firmware/dfu/${iBSS}.dfu -o $iBSS.dfu $(cat $Firmware/12H321/url)
|
||||||
|
fi
|
||||||
mkdir -p saved/$ProductType 2>/dev/null
|
mkdir -p saved/$ProductType 2>/dev/null
|
||||||
mv $iBSS.dfu saved/$ProductType
|
mv $iBSS.dfu saved/$ProductType
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user