mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-12-25 07:41:49 +01:00
Some more changes
- iPad3,1 will use 7.1.2 iBSS for kDFU
This commit is contained in:
parent
8c2af9e7c8
commit
46a8910300
BIN
resources/patches/iBSS.j1ap.RELEASE.patch
Normal file
BIN
resources/patches/iBSS.j1ap.RELEASE.patch
Normal file
Binary file not shown.
BIN
resources/patches/iBSS.j2aap.RELEASE.patch
Normal file
BIN
resources/patches/iBSS.j2aap.RELEASE.patch
Normal file
Binary file not shown.
BIN
resources/patches/iBSS.n49ap.RELEASE.patch
Normal file
BIN
resources/patches/iBSS.n49ap.RELEASE.patch
Normal file
Binary file not shown.
19
restore.sh
19
restore.sh
@ -112,15 +112,18 @@ 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 [[ $ProductType == iPod5,1 ]]; then
|
if [[ $ProductType == iPhone4,1 ]] || [[ $ProductType == iPod5,1 ]]; then
|
||||||
iBSS="iBSS.${HWModel}ap.RELEASE"
|
iBSS="iBSS.${HWModel}ap.RELEASE"
|
||||||
IV=$(cat $Firmware/10B329/iv)
|
iBSSBuildVer='10B329'
|
||||||
Key=$(cat $Firmware/10B329/key)
|
elif [[ $ProductType == iPad3,1 ]]; then
|
||||||
|
iBSS="iBSS.${HWModel}ap.RELEASE"
|
||||||
|
iBSSBuildVer='11D257'
|
||||||
else
|
else
|
||||||
iBSS="iBSS.$HWModel.RELEASE"
|
iBSS="iBSS.$HWModel.RELEASE"
|
||||||
IV=$(cat $Firmware/12H321/iv)
|
iBSSBuildVer='12H321'
|
||||||
Key=$(cat $Firmware/12H321/key)
|
|
||||||
fi
|
fi
|
||||||
|
IV=$(cat $Firmware/$iBSSBuildVer/iv)
|
||||||
|
Key=$(cat $Firmware/$iBSSBuildVer/key)
|
||||||
|
|
||||||
if [[ $Mode == 'Downgrade' ]]; then
|
if [[ $Mode == 'Downgrade' ]]; then
|
||||||
Downgrade
|
Downgrade
|
||||||
@ -146,11 +149,7 @@ 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/$iBSSBuildVer/url)
|
||||||
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
|
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