From 6335eb5c17709be0e628086feb14bb0a3727db9a Mon Sep 17 00:00:00 2001 From: edwin170 Date: Thu, 15 Feb 2024 21:16:57 -0400 Subject: [PATCH] mainDir fix --- downr1n.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/downr1n.sh b/downr1n.sh index 6aadc32..f23562e 100755 --- a/downr1n.sh +++ b/downr1n.sh @@ -1302,7 +1302,7 @@ if [ true ]; then cp -f work/$(awk "/""${model}""/{x=1}x&&/LLB[.]/{print;exit}" work/BuildManifest.plist | grep '' |cut -d\> -f2 |cut -d\< -f1 | sed 's/Firmware[/]all_flash[/]//') "$extractedIpsw/Firmware/all_flash/$(awk "/""${model}""/{x=1}x&&/LLB[.]/{print;exit}" work/BuildManifest.plist | grep '' |cut -d\> -f2 |cut -d\< -f1 | sed 's/Firmware[/]all_flash[/]//')" cd $extractedIpsw zip --update "$mainDir/$ipsw" Firmware/all_flash/"$(awk "/""${model}""/{x=1}x&&/LLB[.]/{print;exit}" BuildManifest.plist | grep '' |cut -d\> -f2 |cut -d\< -f1 | sed 's/Firmware[/]all_flash[/]//')" Firmware/all_flash//$(awk "/""${model}""/{x=1}x&&/LLB[.]/{print;exit}" BuildManifest.plist | grep '' |cut -d\> -f2 |cut -d\< -f1 | sed 's/Firmware[/]all_flash[/]//') - cd $mainDir + cd "$mainDir" echo "[*] Replaced LLB suscessfully" touch "boot/${deviceid}/.llbreplaced"