From b416862e0e7a12624307b222648743f536239d6e Mon Sep 17 00:00:00 2001 From: LukeZGD <26163116+LukeZGD@users.noreply.github.com> Date: Thu, 14 Mar 2024 12:00:52 +0800 Subject: [PATCH] Disable IPSW jailbreak option for S5L8900, and other changes --- README.md | 3 ++- bin/linux/arm64/idevicerestore | Bin 1897704 -> 1897704 bytes bin/linux/arm64/tsschecker | Bin 2701544 -> 2701544 bytes bin/linux/armhf/idevicerestore | Bin 1636032 -> 1636032 bytes bin/linux/armhf/tsschecker | Bin 2144268 -> 2144268 bytes bin/linux/x86_64/idevicerestore | Bin 1477504 -> 1477504 bytes bin/linux/x86_64/tsschecker | Bin 2923888 -> 2923888 bytes bin/macos/idevicerestore | Bin 664992 -> 664992 bytes bin/macos/tsschecker | Bin 321856 -> 321856 bytes restore.sh | 32 +++++++++++++++++++++++++++----- 10 files changed, 29 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 926a2bd7..4b216014 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ ## Features - Legacy iOS Kit supports all 32-bit iOS devices, and some 64-bit (A7/A8/A9/A10) devices - Devices that received iOS 16 and newer are not supported and only have limited functionality (such as sideload on Linux etc.) + - S5L8900 devices (iPhone 2G, 3G, touch 1) are only partially supported, some features may not work properly - Restore to signed OTA versions (iOS 8.4.1 and/or 6.1.3) on A5/A6 devices - Restore some 32-bit devices to other iOS versions without blobs - This includes downgrading iPhone 3GS, iPhone 4 GSM and CDMA, iPod touch 2, touch 3, iPad 1 @@ -16,7 +17,7 @@ - Restore to other iOS versions with iOS 7 blobs (powdersn0w) - Tethered restores to other iOS versions for A5/A6 and other devices - Jailbreak all 32-bit iOS devices on (almost) any iOS version - - Available on iOS versions 3.1.3 to 9.3.4 + - Available on iOS versions 3.1 to 9.3.4 - Only unsupported versions are iOS 9.0.x - Hacktivation for iPhone 2G, 3G, 3GS, 4 GSM (activate without valid SIM card) - Restore to iOS 10.3.3 (signed OTA version) on supported A7 devices diff --git a/bin/linux/arm64/idevicerestore b/bin/linux/arm64/idevicerestore index bc5a412703a719bb183f20597039850496139b65..47726aa71174fae1510d9ec6a3f202c5c48dcb37 100755 GIT binary patch delta 160 zcmaFyviQZz;)WK+7N!>F7M2#)Eo?_V3s~vv8=C7G8XD>u8W`)DnNGj|kWF&B>=!mJ zULn SSOSP8fmjNNrGfUzoCW}pRy~6N delta 141 zcmaFyviQZz;)WK+7N!>F7M2#)Eo?_VGZs$|`NF0>{lI577S3WTeSJf7Jwwy!F<;n} z+ZDdB0Wmuea{w_X5OV=BHxTmxF)tAF0Wm)i3jnbo5DNjZFc6CXu_zFW0kJp`O8~JX O5K95E^mK(UGA95WDLP>Q diff --git a/bin/linux/arm64/tsschecker b/bin/linux/arm64/tsschecker index ae6899f117de27587181b43a84942d05c6768073..2c7c4e769091db5c6fa51329476e73ce63a400c9 100755 GIT binary patch delta 126 zcmWN=yA6V10EN+@_&~%LDk#5-Pn-f4U;?J0_!38eg3=L8T!~gYJMT$O`*~WemRNM? zV$-9~fFTYeT*i1zm@;F|0-q%-)&zuX*b=?WH?8W_6puVJy3@TLG}fb@^sE=X>P?e( Ip52?@AG)wAF8}}l delta 146 zcmXBI$qB+h07hZr8jVYgyN*jVQLC6KA_eK;ffdL!UNIE)(xOd7hb}$(#0*FnGGfexDKq9QSU$|h`q-M#7tZAWIy;m4mo?EF7M3ln7eoZC^z{wR^$ZOS^$ZP+^~_AC3y88R^CAfunzjRl zfS3)4*@2h?h&h3n3y8UamF7M3ln7ep9~r^kr0YH%LCmdH=%XQLxrmpm+~ocbw)Ni` Ddg>*14Y(UHo r#2i4(3B+7L%nigmK+Frod_c?(!~#Gp2*g4_EDXdV+htFPCLaa>NX{o} diff --git a/bin/linux/x86_64/tsschecker b/bin/linux/x86_64/tsschecker index bfaa45c7a254f16df962ad2f95da06dce7b23357..d93d2f9d87228041b493a238efe6f56d68600c69 100755 GIT binary patch delta 141 zcmWN=*$Kix07X&alDN;9ao@&$ug7mY(T@v(G>|d`4G3115_|_v@p}h_J_#sMrb3mF zh#GYoG-=VMgTc}z#?hnCfFUEsOqeob&La1pIC~j?%O1u@iFIC=y3)07bgMhv>p_ot M(z9N^)?M%EA4=yZqyPW_ delta 150 zcmWN?*$Kix07X&8Ep9Pm#(kT(M@<8EV-FUf9~T50NFOQ)R+SQbABR)?UZ#*ch7x5e zRH+eAr$LhzZ9+OkSh~bGdh{7EWW<;WQ)bLreEd5$*F1DSQ)lPX{1*A(VV##mma>wy UY-B4t*-I)1Im+p4U3Pi?0fwX~?f?J) diff --git a/bin/macos/idevicerestore b/bin/macos/idevicerestore index 5c0a26102abe6d577821d85febbfa4c81978af52..9079ac804d55cc818135f0f62caf636d78374328 100755 GIT binary patch delta 82 zcmZ2*T4TX!jfNJ+7N#xC-``EIeb3C!X=tctXke^oW;#9LJ+lgoYY65lY_C|w5fIS6 X#GVC+S%H`hh}nUdWBU?&&Oc89+p!)k delta 47 ycmZ2*T4TX!jfNJ+7N#xC-`{PQUd6FCpnZuw3lOscF&hxG12M<;CH9 Hacktivate Device\" after jailbreaking" + ;; esac if [[ $device_proc == 5 ]]; then case $device_target_vers in 8.2 | 8.[10]* ) ipsw_canjailbreak=;; esac + elif [[ $device_type == "iPhone2,1" || $device_type == "iPod2,1" ]]; then + case $device_target_vers in + 3.1* ) + ipsw_canjailbreak=1 + warn "Jailbreak option might have issues on versions below 3.1.3. I recommend selecting 3.1.3 or newer instead" + ;; + esac fi if [[ $device_target_powder == 1 ]]; then @@ -5181,7 +5193,7 @@ menu_restore_more() { menu_items+=("4.3.5" "4.3.4" "4.3.2" "4.3.1" "4.3") menu_items+=("4.2.1" "4.0.2" "4.0.1" "4.0" "3.1.2" "3.1" "3.0") ;; - iPod2,1 ) menu_items+=("4.0.2" "4.0");; + iPod2,1 ) menu_items+=("4.0.2" "4.0" "3.1.2" "3.1.1");; esac menu_items+=("Go Back") menu_print_info @@ -5193,6 +5205,9 @@ menu_restore_more() { if [[ -z $1 && $device_type == "iPod2,1" && $device_newbr != 0 ]]; then warn "These versions are for old bootrom devices only. They may not work on your device" echo + else + warn "These versions might not work on your device" + echo fi input "Select an option:" select opt in "${menu_items[@]}"; do @@ -5800,9 +5815,14 @@ menu_other() { "Normal" ) menu_items+=("Attempt Activation") case $device_vers in - [3456]* ) + 3.1* | [456]* ) case $device_type in - iPhone1* | iPhone[23],1 ) menu_items+=("Hacktivate Device");; + iPhone1* ) + if [[ $device_vers == "3.1.3" ]]; then + menu_items+=("Hacktivate Device") + fi + ;; + iPhone[23],1 ) menu_items+=("Hacktivate Device");; esac ;; esac @@ -6201,10 +6221,12 @@ device_hacktivate() { restore_customipsw() { print "* You are about to restore with a custom IPSW." - print "* Proceed with caution when restoring to custom IPSWs not made with Legacy iOS Kit." + print "* This option is only for restoring with IPSWs NOT made with Legacy iOS Kit, like whited00r or GeekGrade." if [[ $device_newbr == 1 ]]; then warn "Your device is a new bootrom model and custom IPSWs might not be compatible." print "* For iPhone 3GS, after restoring you will need to go to Other Utilities -> Install alloc8 Exploit" + else + warn "* Do NOT use this option for powdersn0w or jailbreak IPSWs made with Legacy iOS Kit!" fi pause menu_ipsw_browse custom