Fix 3GS 5.1.1

This commit is contained in:
LukeZGD 2024-01-02 22:16:11 +08:00
parent 35d61daa14
commit 59676250b3
3 changed files with 2 additions and 1 deletions

View File

@ -3043,7 +3043,8 @@ ipsw_prepare_patchllb() {
local path="Firmware/all_flash/all_flash.${device_model}ap.production" local path="Firmware/all_flash/all_flash.${device_model}ap.production"
local name="LLB.${device_model}ap.RELEASE" local name="LLB.${device_model}ap.RELEASE"
local patch="../resources/firmware/FirmwareBundles/Down_${device_type}_${device_target_vers}_${device_target_build}.bundle" local patch="../resources/firmware/FirmwareBundles/Down_${device_type}_${device_target_vers}_${device_target_build}.bundle"
unzip -o -j "$ipsw_custom.ipsw" $path/$name.img3 log "Patch LLB"
unzip -o -j "$ipsw_path.ipsw" $path/$name.img3
$bspatch $name.img3 $name.patched $patch/$name.patch $bspatch $name.img3 $name.patched $patch/$name.patch
mkdir -p $path mkdir -p $path
mv $name.patched $path/$name.img3 mv $name.patched $path/$name.img3