From 50f914099808d545704daa84e85aa733d5a42ecf Mon Sep 17 00:00:00 2001 From: LukeZGD <26163116+LukeZGD@users.noreply.github.com> Date: Mon, 6 Nov 2023 18:25:13 +0800 Subject: [PATCH] 4.2.x iPhone3,3 untested, and other fixes likely not working --- README.md | 2 +- resources/firmware/src/target/n92/reboot4 | Bin 0 -> 587184 bytes restore.sh | 42 ++++++++++++++-------- 3 files changed, 29 insertions(+), 15 deletions(-) create mode 100755 resources/firmware/src/target/n92/reboot4 diff --git a/README.md b/README.md index f6d9e87..1e0e02d 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ - iPod touch 6 - Restoring with powdersn0w is supported on the following devices: - iPhone 4 GSM - targets iOS 4.3 to 7.1.1 - - iPhone 4 CDMA - targets iOS 5.0 to 7.1.1 + - iPhone 4 CDMA - targets iOS 4.2.6 to 7.1.1 (4.2.x is untested) - iPhone 4S, 5, 5C, iPad 2 Rev A, iPad 4, iPod touch 5 - targets iOS 5.0 to 9.3.5 - iPad 1 - targets iOS 4.3.1 to 5.1 - iPod touch 3 - targets iOS 4.3 to 5.1 diff --git a/resources/firmware/src/target/n92/reboot4 b/resources/firmware/src/target/n92/reboot4 new file mode 100755 index 0000000000000000000000000000000000000000..358ebb0a775226ae6e500ff922448acc17acad82 GIT binary patch literal 587184 zcmeI*e|S^%y}m$H7%%!v?+)VwP*^Z6l8)>hdx_GPEM0^K6#(l357rC?>|0pJWVOpTb3kQ`peSLQ>nY;-X_a9SzN9e1(PS;JZa{1 zc@VofV=E`$>(>>_7niGK(v2kv-*?J-t@T*$w-4j_*}o6Ny%px+=W>kT=}LKKA}vso%-=y|;bZKFT7|urDyrI>3o@Y+`CsCC+??Z0f7G%gyBqg@g0L?n>7} zcQ~RScizXi25BJA8&}(TAF?TabGZV3YYJB=8a`q9#@TC-$FFTY=N6nB$-}H0zqOW_sy`L<9>y|06 zw|DVPZAI^2e||WsB4LN$SL*Q8_&xIY99i@X4~wZ;_Ce`8Z(V-(Epn%4oFj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$4IqT)QdixVf!!hmtyWHo=BF|IbRVkadXW9%3@=&Q;L%E({*gYmUl2_^V z)dV9IzCduSO4(Dt_~@LAZ@T%_kFN4vb#vY&t*_i;JpVMlTv^rfR?oXG&U_$q=N&)X z5MI;pgWu|_?WEh|8~?O+&09;xKmFr9f1Ua6(895$bCZYeYaM^2@2qn_+W6G`>A%|c zub71v(bHn1Fe`nUn_wFkB(YUT&`(@u28oK4xH-CB4l9DUFR`=T0r~don zCz5_xomaT8tmj|XwVeG@$?^}5Ja*uh`#)hD4RFAM8ieG45@u#0{Pv7=s|JkCe`JTUj|25OEPu{ll@q=pMt~cjQURU_~Ef+mIa?mGS3<2nR><5Kl;7=xUPRr*MBpU zAM+P1kiYD`oPSMqrQg0#{+8qm2F7QP&dtlVdjn-bk1sH9eD)0`MLFZLuemxkKdW&1 z#FCq4OtOdkzDU$Q-rcAVF=Qtb%p^)F}a1@pl+Gk9gGONTc`*1iWU6*aou82lM zS2`Sv7A?wk>u2Sb1uOLvBaRti`6q~Qv}T&@EJt3D>xp`@$H;e>A@UtYrmIswe)~*)LitY;wPpa2CZKmiI+fC3bt00k&O0SZun f0u-PC1t>rP3Q&Lo6rcbFC_n)UP=Ese6b1el@hak^ literal 0 HcmV?d00001 diff --git a/restore.sh b/restore.sh index 1d5aefd..236e02f 100755 --- a/restore.sh +++ b/restore.sh @@ -3604,7 +3604,11 @@ device_ramdisk() { "setnvram" ) log "Sending commands for NVRAM..." - $ssh -p 2222 root@127.0.0.1 "nvram -c; nvram boot-partition=$rec; reboot_bak" + $ssh -p 2222 root@127.0.0.1 "nvram -c; nvram boot-partition=$rec" + if [[ $device_type == "iPhone3,3" && $rec == 2 ]]; then + $ssh -p 2222 root@127.0.0.1 "nvram boot-ramdisk=/a/b/c/d/e/f/g/h/i/disk.dmg" + fi + $ssh -p 2222 root@127.0.0.1 "reboot_bak" log "Done, your device should boot now" return ;; @@ -4053,11 +4057,20 @@ menu_ipsw() { if [[ -n $ipsw_path ]]; then print "* Selected Target IPSW: $ipsw_path.ipsw" print "* Target Version: $device_target_vers-$device_target_build" + case $device_target_build in + "8E"* ) + warn "iOS 4.2.x for iPhone3,3 is untested, proceed at your own risk.";; + "7"* | "8A"* | "8B"* | "8C"* ) + warn "Selected target version is not supported and will most likely fail.";; + esac + if [[ $device_type == "iPad1,1" && $device_target_vers == "4.3" ]]; then + warn "Selected target version is not supported and will most likely fail." + fi else print "* Select Target IPSW to continue" case $device_type in iPhone3,1 ) print "* Any iOS version from 4.3 to 7.1.1 is supported";; - iPhone3,3 ) print "* Any iOS version from 5.0 to 7.1.1 is supported";; + iPhone3,3 ) print "* Any iOS version from 4.2.6 to 7.1.1 is supported";; iPhone4,1 | iPad2,[123] ) print "* Any iOS version from 5.0 to 9.3.5 is supported";; iPad2,4 | iPad3,[123] ) print "* Any iOS version from 5.1 to 9.3.5 is supported";; iPhone5,[12] | iPad3,[456] ) print "* Any iOS version from 6.0 to 9.3.5 is supported";; @@ -4355,6 +4368,10 @@ menu_ipsw_browse() { print "* You need iOS $base_vers IPSW and SHSH blobs for this device to use powdersn0w." pause return + elif [[ $device_target_build == "$device_base_build" ]]; then + log "The base version and the target version must not be the same." + pause + return fi ipsw_verify "$newpath" "$device_base_build" ipsw_base_path="$newpath" @@ -4379,18 +4396,15 @@ menu_ipsw_browse() { return ;; *"powdersn0w"* ) - if [[ $device_type == "iPad1,1" && $device_target_vers == "4.3" ]]; then + if [[ $device_target_build == "14"* ]]; then log "Selected IPSW ($device_target_vers) is not supported as target version." pause return + elif [[ $device_target_build == "$device_base_build" ]]; then + log "The base version and the target version must not be the same." + pause + return fi - case $device_target_build in - "7"* | "8A"* | "8B"* | "8C"* | "14"* ) - log "Selected IPSW ($device_target_vers) is not supported as target version." - pause - return - ;; - esac ;; esac if [[ -n $versionc && $device_target_vers != "$versionc" ]]; then @@ -4464,7 +4478,7 @@ menu_other() { menu_items+=("Enter pwnDFU Mode") fi case $device_type in - iPhone3,1 | iPad1,1 | iPod3,1 ) menu_items+=("Disable/Enable Exploit");; + iPhone3,[13] | iPad1,1 | iPod3,1 ) menu_items+=("Disable/Enable Exploit");; iPhone2,1 ) menu_items+=("Install alloc8 Exploit");; esac fi @@ -4528,14 +4542,14 @@ device_jailbreakrd() { read -p "$(input 'Enter current iOS version (eg. 6.1.3): ')" device_vers if [[ $device_type == "iPad2"* && $device_vers == "4"* ]]; then warn "This version ($device_vers) is not supported for jailbreaking with SSHRD." - print "* Supported versions for iPad 2 are: 5.0 to 8.4.1" + print "* Supported versions for iPad 2 are: 5.0 to 9.3.4 (excluding 9.0.x)" return fi case $device_vers in - 8* | 7* | 6* | 5* | 4* | 3.2.2 | 3.1.3 ) :;; + 9* | 8* | 7* | 6* | 5* | 4* | 3.2.2 | 3.1.3 ) :;; * ) warn "This version ($device_vers) is not supported for jailbreaking with SSHRD." - print "* Supported versions are: 3.1.3 to 8.4.1" + print "* Supported versions are: 3.1.3 to 9.3.4 (excluding 9.0.x)" return ;; esac