Skip to content

Commit

Permalink
Update powdersn0w bins
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeZGD committed Nov 30, 2024
1 parent 8bcc811 commit b284502
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 8 deletions.
Binary file modified bin/linux/arm64/powdersn0w
Binary file not shown.
Binary file modified bin/linux/x86_64/powdersn0w
Binary file not shown.
Binary file modified bin/macos/arm64/powdersn0w
Binary file not shown.
Binary file modified bin/macos/powdersn0w
Binary file not shown.
10 changes: 2 additions & 8 deletions restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4385,15 +4385,11 @@ ipsw_prepare_patchcomp() {
path=
name="kernelcache.release"
ext="s5l8900x"
if [[ $device_target_vers == "4"* ]]; then
return
fi
patch="../resources/patch/$name.$ext.p2"
log "Patch $1"
unzip -o -j temp.ipsw $name.$ext
mv $name.$ext kc.orig
$bspatch kc.orig $name.$ext $patch.patch
cp $name
zip -r0 temp.ipsw $name.$ext
return
fi
Expand Down Expand Up @@ -4563,18 +4559,16 @@ ipsw_prepare_s5l8900() {
ipsw_prepare_patchcomp LLB
ipsw_prepare_patchcomp iBoot
ipsw_prepare_patchcomp RestoreRamdisk
if [[ $device_target_vers != "4.1" ]]; then
ipsw_prepare_patchcomp Kernelcache
fi
if [[ $device_target_vers == "4"* ]]; then
ipsw_prepare_patchcomp WTF2
ipsw_prepare_patchcomp iBEC
fi

if [[ $device_target_vers == "4.2.1" ]]; then
ipsw_prepare_patchcomp iBSS
ipsw_prepare_patchcomp RestoreDeviceTree
ipsw_prepare_patchcomp RestoreKernelCache
elif [[ $device_target_vers == "3.1.3" ]]; then
ipsw_prepare_patchcomp Kernelcache
fi
mv temp.ipsw "$ipsw_custom.ipsw"
}
Expand Down

0 comments on commit b284502

Please sign in to comment.