Update downr1n.sh
This commit is contained in:
parent
1deef89932
commit
1883f27e57
1 changed files with 2 additions and 2 deletions
|
|
@ -551,7 +551,7 @@ for package in "${packages[@]}"; do
|
||||||
cd "$dir"/pylzss
|
cd "$dir"/pylzss
|
||||||
git checkout "8efcda0"
|
git checkout "8efcda0"
|
||||||
python3 "$dir"/pylzss/setup.py install
|
python3 "$dir"/pylzss/setup.py install
|
||||||
cd $mainDir
|
cd "$mainDir"
|
||||||
rm -rf "$dir"/pylzss
|
rm -rf "$dir"/pylzss
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
@ -1295,7 +1295,7 @@ if [ true ]; then
|
||||||
cp -f work/$(awk "/""${model}""/{x=1}x&&/LLB[.]/{print;exit}" work/BuildManifest.plist | grep '<string>' |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 '<string>' |cut -d\> -f2 |cut -d\< -f1 | sed 's/Firmware[/]all_flash[/]//')"
|
cp -f work/$(awk "/""${model}""/{x=1}x&&/LLB[.]/{print;exit}" work/BuildManifest.plist | grep '<string>' |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 '<string>' |cut -d\> -f2 |cut -d\< -f1 | sed 's/Firmware[/]all_flash[/]//')"
|
||||||
cd $extractedIpsw
|
cd $extractedIpsw
|
||||||
zip --update "$mainDir/$ipsw" Firmware/all_flash/"$(awk "/""${model}""/{x=1}x&&/LLB[.]/{print;exit}" BuildManifest.plist | grep '<string>' |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 '<string>' |cut -d\> -f2 |cut -d\< -f1 | sed 's/Firmware[/]all_flash[/]//')
|
zip --update "$mainDir/$ipsw" Firmware/all_flash/"$(awk "/""${model}""/{x=1}x&&/LLB[.]/{print;exit}" BuildManifest.plist | grep '<string>' |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 '<string>' |cut -d\> -f2 |cut -d\< -f1 | sed 's/Firmware[/]all_flash[/]//')
|
||||||
cd $mainDir
|
cd "$mainDir"
|
||||||
echo "[*] Replaced LLB suscessfully"
|
echo "[*] Replaced LLB suscessfully"
|
||||||
|
|
||||||
touch "boot/${deviceid}/.llbreplaced"
|
touch "boot/${deviceid}/.llbreplaced"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue