mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-12-25 15:51:50 +01:00
Move firmware keys to branch
This commit is contained in:
parent
791d4c93b0
commit
df34f60fac
File diff suppressed because one or more lines are too long
@ -1,147 +0,0 @@
|
|||||||
{
|
|
||||||
"identifier":"iPad2,5",
|
|
||||||
"buildid":"12H321",
|
|
||||||
"codename":"Donner",
|
|
||||||
"baseband":"0",
|
|
||||||
"updateramdiskexists":true,
|
|
||||||
"restoreramdiskexists":true,
|
|
||||||
"keys":[
|
|
||||||
{
|
|
||||||
"image":"AppleLogo",
|
|
||||||
"filename":"Firmware/all_flash/all_flash.p105ap.production/applelogo.s5l8942x.img3",
|
|
||||||
"kbag":"332b5ad9084c1db5764609e7326c00b5739dcda8e794fa2edf2835c9ff6a0d8b9ed1bc0a555af087f3e42e92cc0fba6b",
|
|
||||||
"key":"6889fbdf361060167c6a7d9a655d032a23b5c77d4360cee8f8b79f487fb6caa7",
|
|
||||||
"iv":"a5fcfc2bd24e4d134a1813852d8489ef",
|
|
||||||
"date":"2014-02-20T00:00:00Z"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"image":"BatteryCharging0",
|
|
||||||
"filename":"Firmware/all_flash/all_flash.p105ap.production/batterycharging0.s5l8942x.img3",
|
|
||||||
"kbag":"8b9cf06c3319a979f8732eda18540699d9fc73edc02d010400917aaae04b67e4db3e5c0c45363e7b8ff28b543c619f8f",
|
|
||||||
"key":"2cb6234ef4395c135784e9bd4067d02236eb850b1e1d087815f33b05ca74d03a",
|
|
||||||
"iv":"4eadadb44065ca95e4e4352113003892",
|
|
||||||
"date":"2014-02-20T00:00:00Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"image":"BatteryCharging1",
|
|
||||||
"filename":"Firmware/all_flash/all_flash.p105ap.production/batterycharging1.s5l8942x.img3",
|
|
||||||
"kbag":"272d4fcfc65acb1f62eb766d21536d646f4f5cdbcb2756ed1e538291cfb5c2733fbf256b3964d4792c1999e005312760",
|
|
||||||
"key":"5e8eff82896e03c9be262f41a717fdcc5beb789ea6b2020e0709be8eed19b46c",
|
|
||||||
"iv":"0d4769a0ddc4ecb274d5df3c02b08661",
|
|
||||||
"date":"2014-02-20T00:00:00Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"image":"BatteryFull",
|
|
||||||
"filename":"Firmware/all_flash/all_flash.p105ap.production/batteryfull~ipad.s5l8942x.img3",
|
|
||||||
"kbag":"a7707d7353310db30fb99292a1ae42550141a323f99424e66eae84015a9d5830093918ec67cca88096851f2a5c6ecb18",
|
|
||||||
"key":"9103ed5644c06cc8657db3ecc4445b5d2bfb7ea05fede4be8edae5b58469596a",
|
|
||||||
"iv":"947d6a2a1b78972850ccdcde460be98f",
|
|
||||||
"date":"2014-02-20T00:00:00Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"image":"BatteryLow0",
|
|
||||||
"filename":"Firmware/all_flash/all_flash.p105ap.production/batterylow0~ipad.s5l8942x.img3",
|
|
||||||
"kbag":"a45480f8d8df0f77c07e0acd704e3f7456afd90f89f16a2069daef5357e55735c6501d101e9798cd18391cde4232520d",
|
|
||||||
"key":"e4e293b17e0b9b6acd8b66da2838863445320bc7f48e7420475ef7636e0c070e",
|
|
||||||
"iv":"2b34a57e5bb37f51934838d7f76eff98",
|
|
||||||
"date":"2014-02-20T00:00:00Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"image":"BatteryLow1",
|
|
||||||
"filename":"Firmware/all_flash/all_flash.p105ap.production/batterylow1~ipad.s5l8942x.img3",
|
|
||||||
"kbag":"d3063ceb9849cff6bdfccf5a407925ad84a7d226113cb3ab02389bc4e1e4f5c0bec9a7b461a2a105e0572c2ef6ae5be3",
|
|
||||||
"key":"5b9409852739fc917eddc73df9799f5a4a66f8b718b8a2543023d4e6b79836e3",
|
|
||||||
"iv":"a79acf5d11ed27d6f895c1699a1141ac",
|
|
||||||
"date":"2014-02-20T00:00:00Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"image":"GlyphPlugin",
|
|
||||||
"filename":"Firmware/all_flash/all_flash.p105ap.production/glyphplugin~ipad-lightning.s5l8942x.img3",
|
|
||||||
"kbag":"be01070c2deda11f0dbb182badca9ccaccc7b1ebe5d13c0d18a88e22c094efde1e527afa080607779b71d0ee51f64642",
|
|
||||||
"key":"d9d8d59c19159a738c714b14e2dbe91b9b5bd86a09686656e4583acd7e0fb548",
|
|
||||||
"iv":"f4e8fec76b0316ec58e91b2366ecd331",
|
|
||||||
"date":"2014-02-20T00:00:00Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"image":"DeviceTree",
|
|
||||||
"filename":"Firmware/all_flash/all_flash.p105ap.production/DeviceTree.p105ap.img3",
|
|
||||||
"kbag":"3de4373b0ab2a4fa71f7ae0b17131521ae4a770f970ae9724ae67117d555b2f95e5a2e5472e136ae46043cf94c93edd4",
|
|
||||||
"key":"050f2457801615132e7455b622c8c8dfb65f09d4ff1eb86b5c0a1160678117c2",
|
|
||||||
"iv":"c9c12cfe3a16823f1d678775c7aedc88",
|
|
||||||
"date":"2014-02-20T00:00:00Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"image":"Kernelcache",
|
|
||||||
"filename":"kernelcache.release.p105ap",
|
|
||||||
"kbag":"7f73c1400417bff880eb880905a4e0d54214d9e0e7fa9f01f0772255bd568e86688aa9adff6a6644edcf360f3933867d",
|
|
||||||
"key":"0155c713f32ee5fb9f18187e0b87d19ef38b9e56af121821264163627f894b05",
|
|
||||||
"iv":"ada137bf6aa705925d8ac5ada6025c11",
|
|
||||||
"date":"2014-02-20T00:00:00Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"image":"LLB",
|
|
||||||
"filename":"Firmware/all_flash/all_flash.p105ap.production/LLB.p105ap.RELEASE.img3",
|
|
||||||
"kbag":"c9ef7cb7454dfb337ffa15fd078c82dd24a3bdcdecebe384d57ee26746195c0b1b1635ccd2fb85cb989283204239c1ae",
|
|
||||||
"key":"62dceb5df3b755f2a376c3e36d55c0df1cb773e82fbf09ec66b8f6c3bafad84c",
|
|
||||||
"iv":"cd4228f5a6c21aaa7c14e8eafb8b4c7a",
|
|
||||||
"date":"2014-02-20T00:00:00Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"image":"RecoveryMode",
|
|
||||||
"filename":"Firmware/all_flash/all_flash.p105ap.production/recoverymode~ipad-lightening.s5l8942x.img3",
|
|
||||||
"kbag":"1381701fdff0de905357488a053003b11e19179d631ce19a9663a7480f843b5dc869f4de7c5eaa27c7f732b701f41f4b",
|
|
||||||
"key":"e7617fbfb3d01f98085a9e980c897fbed360e685d1da2b731e82a76a5cabe86b",
|
|
||||||
"iv":"3de94fc3647226a2325c472a93284471",
|
|
||||||
"date":"2014-02-20T00:00:00Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"image":"iBEC",
|
|
||||||
"filename":"Firmware/dfu/iBEC.p105ap.RELEASE.dfu",
|
|
||||||
"kbag":"366167bc66fd913b56c9e1d16a20098da4e2999a1186095debe1b493d8fb4c34e56e41a8faf387ba99454da181323f67",
|
|
||||||
"key":"485ddb5f7e70cecfc25c036f812641b9e55bd97783de1488306e3a80abf6950b",
|
|
||||||
"iv":"8460cab6348e74ba7134ba0f9462b632",
|
|
||||||
"date":"2014-02-20T00:00:00Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"image":"iBSS",
|
|
||||||
"filename":"Firmware/dfu/iBSS.p105ap.RELEASE.dfu",
|
|
||||||
"kbag":"f75ca651b0dee8b54077bb5977b625b44dfdd3b2b15c23965fc5d39f8ec0b7efbe95f04f664b7d4d7f9f873b86d0ffb0",
|
|
||||||
"key":"b9ed63e4a31f5d9d4d7dddc527e65fd31d1ea48c70204e6b44551c1e6dfc52b5",
|
|
||||||
"iv":"b21abc8689b0dea8f6e613f9f970e241",
|
|
||||||
"date":"2014-02-20T00:00:00Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"image":"iBoot",
|
|
||||||
"filename":"Firmware/all_flash/all_flash.p105ap.production/iBoot.p105ap.RELEASE.img3",
|
|
||||||
"kbag":"8e7a72ef3aee366cd42f71105c16c4aaad3a85492f066d2eb9670ba25abd7374da2e8dba24dfa1802a4728737faf0d38",
|
|
||||||
"key":"fe23bfaf712aad890ef4a0eb492de884f69aa1b8f7c5e833670e12a3a587be36",
|
|
||||||
"iv":"a9674535cecc70273d841d0c2fc4dbaa",
|
|
||||||
"date":"2014-02-20T00:00:00Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"image":"RestoreRamdisk",
|
|
||||||
"filename":"058-23992-023.dmg ",
|
|
||||||
"kbag":"5f1d5d16df9fe704ac4c7815a4008f9f7efa26b542590a03e6a24d49042c1441a96bdd0c8ad0cf5a0a6dd133ab192702",
|
|
||||||
"key":"ad2da12be31a6f6061069f42223e1df1e3bac83a7f49b839d6a6cb9cdadbb0a5",
|
|
||||||
"iv":"f8edb59fa278db6a9f28c54c75176294",
|
|
||||||
"date":"2014-02-20T00:00:00Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"image":"UpdateRamdisk",
|
|
||||||
"filename":"058-23960-023.dmg",
|
|
||||||
"kbag":"4c7d3b11cdc4a51b4c1c5cddf566149f41ae6f7a2eb9887c7b6f4129ca7f160e99ba3d305fa07679a611a8e31a615023",
|
|
||||||
"key":"8422a3de91b25a744b9d12163a68b138d8223e854935740e7f4f31ddc79e7efe",
|
|
||||||
"iv":"1d8e11929931c782aad81148a1aadb7f",
|
|
||||||
"date":"2014-02-20T00:00:00Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"image":"RootFileSystem",
|
|
||||||
"filename":"058-24036-023.dmg",
|
|
||||||
"kbag":"0",
|
|
||||||
"key":"21862ddcc49a861ffda17f7c6eca65355d2d1e762026cca60aabc726cd48b9e4cff214ff",
|
|
||||||
"iv":"0",
|
|
||||||
"date":"2014-02-20T00:00:00Z"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
21
restore.sh
21
restore.sh
@ -252,14 +252,14 @@ function kDFU {
|
|||||||
echo "nvram wifiaddr=$WifiAddrDecr
|
echo "nvram wifiaddr=$WifiAddrDecr
|
||||||
chmod 755 kloader_hgsp
|
chmod 755 kloader_hgsp
|
||||||
./kloader_hgsp pwnediBSS" >> tmp/pwn.sh
|
./kloader_hgsp pwnediBSS" >> tmp/pwn.sh
|
||||||
mkdir tmp/mountdir
|
mkdir mount
|
||||||
echo "Mounting device using ifuse..."
|
echo "Mounting device using ifuse..."
|
||||||
ifuse tmp/mountdir
|
ifuse mount
|
||||||
echo "Copying stuff to device..."
|
echo "Copying stuff to device..."
|
||||||
cp "tmp/pwn.sh" "resources/tools/$kloader" "tmp/pwnediBSS" "tmp/mountdir/"
|
cp "tmp/pwn.sh" "resources/tools/$kloader" "tmp/pwnediBSS" "mount/"
|
||||||
echo "Unmounting device..."
|
echo "Unmounting device..."
|
||||||
sudo umount tmp/mountdir
|
sudo umount mount
|
||||||
#rm -rf tmp/mountdir
|
#rm -r mount
|
||||||
echo
|
echo
|
||||||
echo "Enter MTerminal and run these commands:"
|
echo "Enter MTerminal and run these commands:"
|
||||||
echo
|
echo
|
||||||
@ -297,6 +297,15 @@ function FindDFU {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function Downgrade {
|
function Downgrade {
|
||||||
|
if [ ! -e resources/firmware ]; then
|
||||||
|
echo "Firmware keys missing, downloading firmware keys..."
|
||||||
|
curl -L https://github.com/LukeZGD/32bit-OTA-Downgrader/archive/firmware.zip -o tmp/firmware.zip
|
||||||
|
mkdir resources/firmware
|
||||||
|
unzip -q tmp/firmware.zip -d resources
|
||||||
|
mv resources/32bit-OTA-Downgrader-firmware/firmware/* resources/firmware
|
||||||
|
rm -r resources/32bit-OTA-Downgrader-firmware/
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! $NotOTA ]; then
|
if [ ! $NotOTA ]; then
|
||||||
SaveOTABlobs
|
SaveOTABlobs
|
||||||
IPSW="${ProductType}_${DowngradeVersion}_${DowngradeBuildVer}_Restore"
|
IPSW="${ProductType}_${DowngradeVersion}_${DowngradeBuildVer}_Restore"
|
||||||
@ -346,7 +355,7 @@ function Downgrade {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function Clean {
|
function Clean {
|
||||||
rm -rf iP*/ tmp/ $(ls *.shsh2 2>/dev/null)
|
rm -r iP*/ tmp/ $(ls *.shsh2 2>/dev/null)
|
||||||
}
|
}
|
||||||
|
|
||||||
function InstallDependencies {
|
function InstallDependencies {
|
||||||
|
Loading…
Reference in New Issue
Block a user