mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-12-02 21:04:20 +01:00
Update powdersn0w bins
This commit is contained in:
parent
8bcc81120f
commit
b28450263c
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
10
restore.sh
10
restore.sh
@ -4385,15 +4385,11 @@ ipsw_prepare_patchcomp() {
|
|||||||
path=
|
path=
|
||||||
name="kernelcache.release"
|
name="kernelcache.release"
|
||||||
ext="s5l8900x"
|
ext="s5l8900x"
|
||||||
if [[ $device_target_vers == "4"* ]]; then
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
patch="../resources/patch/$name.$ext.p2"
|
patch="../resources/patch/$name.$ext.p2"
|
||||||
log "Patch $1"
|
log "Patch $1"
|
||||||
unzip -o -j temp.ipsw $name.$ext
|
unzip -o -j temp.ipsw $name.$ext
|
||||||
mv $name.$ext kc.orig
|
mv $name.$ext kc.orig
|
||||||
$bspatch kc.orig $name.$ext $patch.patch
|
$bspatch kc.orig $name.$ext $patch.patch
|
||||||
cp $name
|
|
||||||
zip -r0 temp.ipsw $name.$ext
|
zip -r0 temp.ipsw $name.$ext
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
@ -4563,18 +4559,16 @@ ipsw_prepare_s5l8900() {
|
|||||||
ipsw_prepare_patchcomp LLB
|
ipsw_prepare_patchcomp LLB
|
||||||
ipsw_prepare_patchcomp iBoot
|
ipsw_prepare_patchcomp iBoot
|
||||||
ipsw_prepare_patchcomp RestoreRamdisk
|
ipsw_prepare_patchcomp RestoreRamdisk
|
||||||
if [[ $device_target_vers != "4.1" ]]; then
|
|
||||||
ipsw_prepare_patchcomp Kernelcache
|
|
||||||
fi
|
|
||||||
if [[ $device_target_vers == "4"* ]]; then
|
if [[ $device_target_vers == "4"* ]]; then
|
||||||
ipsw_prepare_patchcomp WTF2
|
ipsw_prepare_patchcomp WTF2
|
||||||
ipsw_prepare_patchcomp iBEC
|
ipsw_prepare_patchcomp iBEC
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $device_target_vers == "4.2.1" ]]; then
|
if [[ $device_target_vers == "4.2.1" ]]; then
|
||||||
ipsw_prepare_patchcomp iBSS
|
ipsw_prepare_patchcomp iBSS
|
||||||
ipsw_prepare_patchcomp RestoreDeviceTree
|
ipsw_prepare_patchcomp RestoreDeviceTree
|
||||||
ipsw_prepare_patchcomp RestoreKernelCache
|
ipsw_prepare_patchcomp RestoreKernelCache
|
||||||
|
elif [[ $device_target_vers == "3.1.3" ]]; then
|
||||||
|
ipsw_prepare_patchcomp Kernelcache
|
||||||
fi
|
fi
|
||||||
mv temp.ipsw "$ipsw_custom.ipsw"
|
mv temp.ipsw "$ipsw_custom.ipsw"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user