Skip to content

Commit f8192b6

Browse files
committed
more fixes for touch 4 ios 7
1 parent 206ff51 commit f8192b6

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

restore.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3027,6 +3027,8 @@ ipsw_preference_set() {
30273027
3.0* ) log "3GS verbose boot is always enabled on 3.0.x";;
30283028
* ) ipsw_canverbose=1;;
30293029
esac
3030+
elif [[ -n $device_type_special && $device_type == "iPod4,1" ]]; then
3031+
ipsw_canverbose=1
30303032
fi
30313033

30323034
if [[ $ipsw_canverbose == 1 && -z $ipsw_verbose ]]; then
@@ -4722,11 +4724,13 @@ ipsw_prepare_specialios7() {
47224724
log "Patch restore iBEC"
47234725
"$dir/iBoot32Patcher" iBEC.dec iBEC.patched --rsa --debug --ticket -b "rd=md0 -v amfi=0xff cs_enforcement_disable=1"
47244726
"$dir/img3maker" -f iBEC.patched -o $ipsw_custom/Firmware/dfu/iBEC.${device_model}ap.RELEASE.dfu -t ibec
4727+
local bootargs="pio-error=0"
4728+
[[ $ipsw_verbose == 1 ]] && bootargs+=" -v"
47254729
log "Patch tether boot iBEC"
4726-
"$dir/iBoot32Patcher" iBEC.dec iBEC.patched --rsa --debug --ticket -b "-v amfi=0xff cs_enforcement_disable=1"
4730+
"$dir/iBoot32Patcher" iBEC.dec iBEC.patched --rsa --debug --ticket -b "$bootargs"
47274731
"$dir/img3maker" -f iBEC.patched -o $saves/pwnediBEC.dfu -t ibec
47284732
log "Patch iBoot"
4729-
"$dir/iBoot32Patcher" iBoot.dec iBoot.patched --rsa --debug --boot-partition --boot-ramdisk -b "-v amfi=0xff cs_enforcement_disable=1"
4733+
"$dir/iBoot32Patcher" iBoot.dec iBoot.patched --rsa --debug --boot-partition --boot-ramdisk -b "$bootargs"
47304734
"$dir/img3maker" -f iBoot.patched -o $all_flash2/iBoot2.img3 -t ibob # ibox
47314735
echo "iBoot2.img3" >> $all_flash2/manifest
47324736
fi

0 commit comments

Comments
 (0)