From a2b67a1ec850b40bb12e3bba2a2d3af3a6d1bbcb Mon Sep 17 00:00:00 2001 From: Nebula Date: Sun, 18 Sep 2022 11:13:38 -0400 Subject: [PATCH] remove -r from Kernel64Patcher --- palera1n.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/palera1n.sh b/palera1n.sh index 99d3a08..175b025 100755 --- a/palera1n.sh +++ b/palera1n.sh @@ -231,7 +231,7 @@ if [ ! -e boot ]; then #python3 kerneldiff.py work/kcache.raw work/kcache.patched work/kc.bpatch > /dev/null #$dir/img4 -i work/"$(awk "/""$model""/{x=1}x&&/kernelcache.release/{print;exit}" work/BuildManifest.plist | grep '' | cut -d\> -f2 | cut -d\< -f1)" -o boot/kernelcache.img4 -M work/IM4M -T rkrn -P work/kc.bpatch `if [ "$os" = 'Linux' ]; then echo "-J"; fi` > /dev/null python3 -m pyimg4 im4p extract -i work/"$(awk "/""$model""/{x=1}x&&/kernelcache.release/{print;exit}" work/BuildManifest.plist | grep '' | cut -d\> -f2 | cut -d\< -f1)" -o work/kcache.raw `if [ "$deviceid" == *'iPhone8'* ]; then echo "--extra kpp.bin"; fi` > /dev/null - $dir/Kernel64Patcher work/kcache.raw work/kcache.patched -a -r -o > /dev/null + $dir/Kernel64Patcher work/kcache.raw work/kcache.patched -a -o > /dev/null python3 -m pyimg4 im4p create -i work/kcache.patched -o work/krnlboot.im4p `if [ "$deviceid" == *'iPhone8'* ]; then echo "--extra kpp.bin"; fi` -f rkrn --lzss > /dev/null python3 -m pyimg4 img4 create -p work/krnlboot.im4p -o boot/kernelcache.img4 -m work/IM4M > /dev/null