Update powdersn0w bins

This commit is contained in:
LukeeGD 2024-12-01 07:55:19 +08:00
parent 8bcc81120f
commit b28450263c
5 changed files with 2 additions and 8 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -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"
} }