mirror of
https://github.com/palera1n/palera1n.git
synced 2026-12-05 15:54:30 +01:00
dont know why this asks twice
This commit is contained in:
1 file changed
+2
-3
+2
-3
@@ -456,12 +456,11 @@ if [ ! -e boot-"$deviceid" ]; then
|
|||||||
|
|
||||||
echo "[*] Downloading kernelcache"
|
echo "[*] Downloading kernelcache"
|
||||||
if [[ $1 == *"--tweaks"* ]]; then
|
if [[ $1 == *"--tweaks"* ]]; then
|
||||||
# ask user for 15.1b3 ota zip
|
"$dir"/pzb -g AssetData/boot/"$(awk "/""$cpid""/{x=1}x&&/kernelcache.release/{print;exit}" BuildManifest.plist | grep '<string>' | cut -d\> -f2 | cut -d\< -f1 | sed 's/release/development/')" "$ipswurl" > "$out"
|
||||||
read -p "[*] Enter the URL of the OTA ZIP of 15.1b3 of your device: " kernelcacheurl
|
|
||||||
"$dir"/pzb -g AssetData/boot/"$(awk "/""$cpid""/{x=1}x&&/kernelcache.release/{print;exit}" BuildManifest.plist | grep '<string>' | cut -d\> -f2 | cut -d\< -f1 | sed 's/release/development/')" "$kernelcacheurl" > "$out"
|
|
||||||
else
|
else
|
||||||
"$dir"/pzb -g "$(awk "/""$cpid""/{x=1}x&&/kernelcache.release/{print;exit}" BuildManifest.plist | grep '<string>' | cut -d\> -f2 | cut -d\< -f1)" "$ipswurl" > "$out"
|
"$dir"/pzb -g "$(awk "/""$cpid""/{x=1}x&&/kernelcache.release/{print;exit}" BuildManifest.plist | grep '<string>' | cut -d\> -f2 | cut -d\< -f1)" "$ipswurl" > "$out"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "[*] Patching and signing iBSS/iBEC"
|
echo "[*] Patching and signing iBSS/iBEC"
|
||||||
"$dir"/iBoot64Patcher iBSS.dec iBSS.patched > "$out"
|
"$dir"/iBoot64Patcher iBSS.dec iBSS.patched > "$out"
|
||||||
if [[ $1 == *"--tweaks"* ]]; then
|
if [[ $1 == *"--tweaks"* ]]; then
|
||||||
|
|||||||
Reference in new issue
Block a user