remove firmware/all_flash on --tweaks iboot

This commit is contained in:
Nebula committed 2022-11-11 19:47:57 -05:00
1 parent 5004fc99e4
commit 61d51bf2ce
1 file changed
+1 -1
+1 -1
View File
@@ -543,7 +543,7 @@ if [ ! -f boot-"$deviceid"/ibot.img4 ]; then
echo "[*] Downloading and decrypting iBoot"
# download iboot and replace RELEASE with DEVELOPMENT
"$dir"/pzb -g AssetData/boot/"$(awk "/""$cpid""/{x=1}x&&/iBoot[.]/{print;exit}" BuildManifest.plist | grep '<string>' | cut -d\> -f2 | cut -d\< -f1 | sed 's/RELEASE/DEVELOPMENT/')" "$ipswurl"
"$dir"/gaster decrypt "$(awk "/""$cpid""/{x=1}x&&/iBoot[.]/{print;exit}" BuildManifest.plist | grep '<string>' | cut -d\> -f2 | cut -d\< -f1 | sed 's/Firmware[/]dfu[/]//' | sed 's/RELEASE/DEVELOPMENT/')" ibot.dec
"$dir"/gaster decrypt "$(awk "/""$cpid""/{x=1}x&&/iBoot[.]/{print;exit}" BuildManifest.plist | grep '<string>' | cut -d\> -f2 | cut -d\< -f1 | sed 's/Firmware[/]all_flash[/]//' | sed 's/RELEASE/DEVELOPMENT/')" ibot.dec
else
echo "[*] Downloading BuildManifest"
"$dir"/pzb -g BuildManifest.plist "$ipswurl"