mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-12-24 15:21: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
|
||||
fi
|
||||
|
||||
if [[ $ProductType == iPod5,1 ]]; then
|
||||
if [[ $ProductType == iPhone4,1 ]] || [[ $ProductType == iPod5,1 ]]; then
|
||||
iBSS="iBSS.${HWModel}ap.RELEASE"
|
||||
IV=$(cat $Firmware/10B329/iv)
|
||||
Key=$(cat $Firmware/10B329/key)
|
||||
iBSSBuildVer='10B329'
|
||||
elif [[ $ProductType == iPad3,1 ]]; then
|
||||
iBSS="iBSS.${HWModel}ap.RELEASE"
|
||||
iBSSBuildVer='11D257'
|
||||
else
|
||||
iBSS="iBSS.$HWModel.RELEASE"
|
||||
IV=$(cat $Firmware/12H321/iv)
|
||||
Key=$(cat $Firmware/12H321/key)
|
||||
iBSSBuildVer='12H321'
|
||||
fi
|
||||
IV=$(cat $Firmware/$iBSSBuildVer/iv)
|
||||
Key=$(cat $Firmware/$iBSSBuildVer/key)
|
||||
|
||||
if [[ $Mode == 'Downgrade' ]]; then
|
||||
Downgrade
|
||||
@ -146,11 +149,7 @@ function SaveOTABlobs {
|
||||
function kDFU {
|
||||
if [ ! -e saved/$ProductType/$iBSS.dfu ]; then
|
||||
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)
|
||||
fi
|
||||
resources/tools/pzb_$platform -g Firmware/dfu/${iBSS}.dfu -o $iBSS.dfu $(cat $Firmware/$iBSSBuildVer/url)
|
||||
mkdir -p saved/$ProductType 2>/dev/null
|
||||
mv $iBSS.dfu saved/$ProductType
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user