@@ -2272,6 +2272,9 @@ device_send_unpacked_ibss() {
22722272 device_pwnd=" $( echo " $irec " | grep " PWND" | cut -c 7-) "
22732273 if [[ -z $device_pwnd && $irec != " ERROR" * ]]; then
22742274 log " Device should now be in $pwnrec mode."
2275+ elif [[ $device_proc == 5 ]]; then
2276+ error " Device failed to enter $pwnrec mode." \
2277+ " If you are using Arduino for checkm8-a5, make sure you are using my (LukeZGD) or synackuk fork of checkm8-a5. Do not use a1exdandy checkm8-a5."
22752278 else
22762279 error " Device failed to enter $pwnrec mode."
22772280 fi
@@ -8315,7 +8318,7 @@ menu_restore() {
83158318 iPhone2,1 )
83168319 menu_items+=(" 5.1.1" " 4.3.5" " 4.1" " 3.1.3" " More versions" );;
83178320 iPod3,1 )
8318- menu_items+=(" iOS 4.1" );;
8321+ menu_items+=(" 4.1" );;
83198322 iPhone1,2 | iPod2,1 )
83208323 menu_items+=(" 4.1" " 3.1.3" )
83218324 if [[ $device_type == " iPod2,1" ]] && [[ $device_newbr == 0 || $device_mode != " none" ]]; then
@@ -8331,8 +8334,8 @@ menu_restore() {
83318334 menu_items+=(" Latest iOS ($device_latest_vers )" )
83328335 fi
83338336 case $device_type in
8334- iPod4,1 ) menu_items+=(" iOS 7.1.2" );;
8335- iPod3,1 ) menu_items+=(" iOS 6.0" );;
8337+ iPod4,1 ) menu_items+=(" 7.1.2" );;
8338+ iPod3,1 ) menu_items+=(" 6.0" " 6.1.3 " " 6.1.6 " );;
83368339 esac
83378340 if [[ $device_canpowder == 1 && $device_proc != 4 ]]; then
83388341 local text2=" 7.1.x"
@@ -8392,7 +8395,18 @@ menu_restore() {
83928395 " DFU IPSW" ) device_dfuipsw_confirm $1 ;;
83938396 " More versions" ) menu_restore_more " $1 " ;;
83948397 " IPSW Downloader" ) menu_ipsw_downloader " $1 " ;;
8395- " iOS 7.1.2" | " iOS 6.0" ) menu_ipsw_special " $selected " " $1 " ;;
8398+ 7.* )
8399+ case $device_type in
8400+ iPod4,1 ) menu_ipsw_special " $selected " " $1 " ;;
8401+ * ) menu_ipsw " $selected " " $1 " ;;
8402+ esac
8403+ ;;
8404+ 6.* )
8405+ case $device_type in
8406+ iPod3,1 ) menu_ipsw_special " $selected " " $1 " ;;
8407+ * ) menu_ipsw " $selected " " $1 " ;;
8408+ esac
8409+ ;;
83968410 * ) menu_ipsw " $selected " " $1 " ;;
83978411 esac
83988412 done
@@ -8993,21 +9007,24 @@ menu_ipsw_special() {
89939007 fi
89949008
89959009 while [[ -z " $mode " && -z " $back " ]]; do
9010+ device_target_vers=" $1 "
89969011 case $1 in
8997- " iOS 7.1.2 " )
9012+ 7. * )
89989013 device_type_special=" iPhone3,3"
89999014 device_model_special=" n92"
9000- device_target_vers=" 7.1.2"
9001- device_target_build=" 11D257"
90029015 device_target_tethered=1
90039016 ;;
9004- " iOS 6.0 " )
9017+ 6. * )
90059018 device_type_special=" iPhone2,1"
90069019 device_model_special=" n88"
9007- device_target_vers=" 6.0"
9008- device_target_build=" 10A403"
90099020 ;;
90109021 esac
9022+ case $1 in
9023+ 7.1.2 ) device_target_build=" 11D257" ;;
9024+ 6.1.6 ) device_target_build=" 10B500" ;;
9025+ 6.1.3 ) device_target_build=" 10B329" ;;
9026+ 6.0 ) device_target_build=" 10A403" ;;
9027+ esac
90119028 all_flash_special=" Firmware/all_flash/all_flash.${device_model_special} ap.production"
90129029 device_base_vers=" $device_latest_vers "
90139030 device_base_build=" $device_latest_build "
@@ -9040,8 +9057,8 @@ menu_ipsw_special() {
90409057 fi
90419058 echo
90429059 case $1 in
9043- " iOS 7.1.2 " ) warn " This is a tethered upgrade and has many broken device features. Not recommended unless you know what you are doing." ;;
9044- " iOS 6.0 " ) print " * iOS 6 on touch 3 uses SundanceInH2A by NyanSatan: https://github.com/NyanSatan/SundanceInH2A" ;;
9060+ 7. * ) warn " This is a tethered upgrade and has many broken device features. Not recommended unless you know what you are doing." ;;
9061+ 6. * ) print " * iOS 6 on touch 3 uses SundanceInH2A by NyanSatan: https://github.com/NyanSatan/SundanceInH2A" ;;
90459062 esac
90469063 menu_items=(" Select Target IPSW" " Select Base IPSW" " Download Target IPSW" " Download Base IPSW" )
90479064 if [[ -n $ipsw_path && -n $ipsw_base_path ]]; then
0 commit comments