@@ -1184,9 +1184,9 @@ device_get_info() {
11841184 device_model=$( $irecovery -q | grep " MODEL" | cut -c 8-)
11851185 fi
11861186 fi
1187- if [[ $device_mode == " WTF " && -z $device_argmode ]]; then
1187+ if [[ $device_mode != " DFU " && -z $device_argmode ]]; then
11881188 device_argmode=" entry"
1189- log " Found device in WTF mode."
1189+ log " Found an S5L8900 device in $device_mode mode."
11901190 print " * Device Type Option"
11911191 print " * Select your device in the options below. Make sure to select correctly."
11921192 local selection=(" iPhone 2G" " iPhone 3G" " iPod touch 1" )
@@ -1198,6 +1198,7 @@ device_get_info() {
11981198 " iPhone 3G" ) device_type=" iPhone1,2" ;;
11991199 " iPod touch 1" ) device_type=" iPod1,1" ;;
12001200 esac
1201+ device_model=
12011202 fi
12021203 if [[ $device_mode == " Recovery" ]]; then
12031204 device_vers=$( echo " /exit" | $irecovery -s | grep -a " iBoot-" )
@@ -10093,23 +10094,18 @@ device_jailbreak_confirm() {
1009310094 pause
1009410095 [[ $ipsw_jailbreak != 1 ]] && return
1009510096 ;;
10096- 8* | 9.0* )
10097- print " * For this version, you can use Carbon to jailbreak your device."
10098- print " * https://ios.cfw.guide/using-carbon/"
10099- print " * You may still continue if you really want to do the ramdisk method instead."
10100- ;;
1010110097 9.3.[56] )
1010210098 print " * For this version, use Carbon to jailbreak your device."
1010310099 print " * https://ios.cfw.guide/using-carbon/"
1010410100 pause
1010510101 return
1010610102 ;;
10107- 9 * )
10108- print " * For this version, you can use JailbreakMe 4.0 to jailbreak your device."
10109- print " * https://ios.cfw.guide/using-jailbreakme-4-0 /"
10103+ [89]. * )
10104+ print " * For this version, you can use Carbon to jailbreak your device."
10105+ print " * https://ios.cfw.guide/using-carbon /"
1011010106 print " * You may still continue if you really want to do the ramdisk method instead."
1011110107 ;;
10112- 10* )
10108+ 10. * )
1011310109 print " * For this version, use socket to jailbreak your device."
1011410110 print " * https://github.com/LukeZGD/socket"
1011510111 pause
0 commit comments