diff --git a/bin/linux/arm64/powdersn0w b/bin/linux/arm64/powdersn0w index 75b7cdd..f29f39b 100755 Binary files a/bin/linux/arm64/powdersn0w and b/bin/linux/arm64/powdersn0w differ diff --git a/bin/linux/x86_64/powdersn0w b/bin/linux/x86_64/powdersn0w index 84320d7..d6e50da 100755 Binary files a/bin/linux/x86_64/powdersn0w and b/bin/linux/x86_64/powdersn0w differ diff --git a/bin/macos/arm64/powdersn0w b/bin/macos/arm64/powdersn0w index 627aa17..e486221 100755 Binary files a/bin/macos/arm64/powdersn0w and b/bin/macos/arm64/powdersn0w differ diff --git a/bin/macos/powdersn0w b/bin/macos/powdersn0w index 04c865f..ee4ca56 100755 Binary files a/bin/macos/powdersn0w and b/bin/macos/powdersn0w differ diff --git a/restore.sh b/restore.sh index 818ceba..c7a7a23 100755 --- a/restore.sh +++ b/restore.sh @@ -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 @@ -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" }