mirror of
https://github.com/palera1n/palera1n.git
synced 2026-12-01 13:52:44 +01:00
add -f rkrn
This commit is contained in:
1 file changed
+2
-2
+2
-2
@@ -478,9 +478,9 @@ if [ ! -f blobs/"$deviceid"-"$version".shsh2 ]; then
|
|||||||
fi
|
fi
|
||||||
"$dir"/Kernel64Patcher work/kcache.raw work/kcache.patched -a -o
|
"$dir"/Kernel64Patcher work/kcache.raw work/kcache.patched -a -o
|
||||||
if [[ "$deviceid" == *'iPhone8'* ]] || [[ "$deviceid" == *'iPad6'* ]] || [[ "$deviceid" == *'iPad5'* ]] && [[ ! $1 == *"--tweaks"* ]]; then
|
if [[ "$deviceid" == *'iPhone8'* ]] || [[ "$deviceid" == *'iPad6'* ]] || [[ "$deviceid" == *'iPad5'* ]] && [[ ! $1 == *"--tweaks"* ]]; then
|
||||||
python3 -m pyimg4 im4p create -i work/kcache.patched -o work/kcache.im4p --extra work/kpp.bin --lzss
|
python3 -m pyimg4 im4p create -i work/kcache.patched -o work/kcache.im4p -f rkrn --extra work/kpp.bin --lzss
|
||||||
elif [[ ! $1 == *"--tweaks"* ]]; then
|
elif [[ ! $1 == *"--tweaks"* ]]; then
|
||||||
python3 -m pyimg4 im4p create -i work/kcache.patched -o work/kcache.im4p --lzss
|
python3 -m pyimg4 im4p create -i work/kcache.patched -o work/kcache.im4p -f rkrn --lzss
|
||||||
fi
|
fi
|
||||||
"$dir"/img4 -i work/kcache.im4p -o work/kernelcache -M work/apticket.der `if [ "$os" = 'Linux' ]; then echo "-J"; fi`
|
"$dir"/img4 -i work/kcache.im4p -o work/kernelcache -M work/apticket.der `if [ "$os" = 'Linux' ]; then echo "-J"; fi`
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user