@@ -136,6 +136,7 @@ For 64-bit checkm8 devices compatible with pwned restores:
136136}
137137
138138tar2=" $( command -v tar) "
139+ [[ $OSTYPE == " darwin" * ]] && tar2=" /usr/bin/tar"
139140unzip2=" $( command -v unzip) "
140141zip2=" $( command -v zip) "
141142
@@ -3640,24 +3641,15 @@ ipsw_prepare_32bit() {
36403641 case $device_target_vers in
36413642 [23]* | 4.[01]* ) ipsw_prepare_jailbreak $1 ; return ;;
36423643 esac
3643- # use everuntether instead of daibutsu +dsc haxx for a5(x) 8.0-8.2
3644+ # use everuntether+jsc_untether instead of everuntether +dsc haxx for a5(x) 8.0-8.2
36443645 if [[ $device_proc == 5 && $ipsw_jailbreak == 1 ]]; then
36453646 case $device_target_vers in
36463647 8.[012]* )
36473648 ipsw_everuntether=1
36483649 JBFiles+=(" everuntether.tar" )
36493650 ;;
36503651 esac
3651- elif [[ $device_type == " iPhone5,3" || $device_type == " iPhone5,4" ]] && [[ $device_target_vers == " 8.4" && $ipsw_jailbreak == 1 ]]; then
3652- ipsw_everuntether=1
3653- JBFiles+=(" everuntether.tar" )
36543652 fi
3655- : '
3656- if [[ $target_det == 8 && $ipsw_jailbreak == 1 ]]; then
3657- ipsw_everuntether=1
3658- JBFiles+=("everuntether.tar")
3659- fi
3660- '
36613653 if [[ -s " $ipsw_custom .ipsw" ]]; then
36623654 log " Found existing Custom IPSW. Skipping IPSW creation."
36633655 return
@@ -6364,24 +6356,15 @@ device_ramdisk() {
63646356 ;;
63656357 esac
63666358
6367- # use everuntether instead of daibutsu +dsc haxx for A5(X ) 8.0-8.2 and 5C 8.4
6359+ # use everuntether+jsc_untether instead of everuntether +dsc haxx for a5(x ) 8.0-8.2
63686360 if [[ $device_proc == 5 ]]; then
63696361 case $vers in
63706362 8.[012]* )
63716363 ipsw_everuntether=1
63726364 untether=" everuntether.tar"
63736365 ;;
63746366 esac
6375- elif [[ $device_type == " iPhone5,3" || $device_type == " iPhone5,4" ]] && [[ $vers == " 8.4" ]]; then
6376- ipsw_everuntether=1
6377- untether=" everuntether.tar"
6378- fi
6379- : '
6380- if [[ $vers == "8"* ]]; then
6381- ipsw_everuntether=1
6382- untether="everuntether.tar"
63836367 fi
6384- '
63856368
63866369 # untether var must be set by now
63876370 if [[ -z $untether ]]; then
@@ -7144,12 +7127,12 @@ menu_print_info() {
71447127 warn " disable-actrec flag detected, activation dumping/stitching disabled. Proceed with caution"
71457128 fi
71467129 if [[ $device_argmode == " none" ]]; then
7147- if [[ $device_type == " $device_disable_bbupdate " || -n $device_deadbb ]]; then
7148- warn " disable-bbupdate/dead-bb flag detected, but cannot be used in no-device mode."
7130+ if [[ $device_type == " $device_disable_bbupdate " && -z $device_deadbb ]]; then
7131+ warn " disable-bbupdate flag detected, but cannot be used in no-device mode."
71497132 device_disable_bbupdate=
71507133 device_deadbb=
71517134 fi
7152- if [[ $device_actrec == 1 ]]; then
7135+ if [[ $device_actrec == 1 && -z $device_auto_actrec ]]; then
71537136 warn " Activation records flag detected, but cannot be used in no-device mode."
71547137 device_actrec=
71557138 fi
0 commit comments