diff --git a/resources/firmware/FirmwareBundles/Down_iPod4,1_4.1_8B117.bundle/asr.patch b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.1_8B117.bundle/asr.patch new file mode 100644 index 0000000..71f96cf Binary files /dev/null and b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.1_8B117.bundle/asr.patch differ diff --git a/resources/firmware/FirmwareBundles/Down_iPod4,1_4.1_8B117.bundle/iBSS.n81ap.RELEASE.patch b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.1_8B117.bundle/iBSS.n81ap.RELEASE.patch new file mode 100644 index 0000000..7c33911 Binary files /dev/null and b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.1_8B117.bundle/iBSS.n81ap.RELEASE.patch differ diff --git a/resources/firmware/FirmwareBundles/Down_iPod4,1_4.1_8B117.bundle/restoredexternal.patch b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.1_8B117.bundle/restoredexternal.patch new file mode 100644 index 0000000..9645a8c Binary files /dev/null and b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.1_8B117.bundle/restoredexternal.patch differ diff --git a/resources/firmware/FirmwareBundles/Down_iPod4,1_4.1_8B118.bundle/asr.patch b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.1_8B118.bundle/asr.patch new file mode 100644 index 0000000..71f96cf Binary files /dev/null and b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.1_8B118.bundle/asr.patch differ diff --git a/resources/firmware/FirmwareBundles/Down_iPod4,1_4.1_8B118.bundle/iBSS.n81ap.RELEASE.patch b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.1_8B118.bundle/iBSS.n81ap.RELEASE.patch new file mode 100644 index 0000000..7c33911 Binary files /dev/null and b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.1_8B118.bundle/iBSS.n81ap.RELEASE.patch differ diff --git a/resources/firmware/FirmwareBundles/Down_iPod4,1_4.1_8B118.bundle/restoredexternal.patch b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.1_8B118.bundle/restoredexternal.patch new file mode 100644 index 0000000..9645a8c Binary files /dev/null and b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.1_8B118.bundle/restoredexternal.patch differ diff --git a/resources/firmware/FirmwareBundles/Down_iPod4,1_4.2.1_8C148.bundle/asr.patch b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.2.1_8C148.bundle/asr.patch new file mode 100644 index 0000000..e3f267a Binary files /dev/null and b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.2.1_8C148.bundle/asr.patch differ diff --git a/resources/firmware/FirmwareBundles/Down_iPod4,1_4.2.1_8C148.bundle/iBSS.n81ap.RELEASE.patch b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.2.1_8C148.bundle/iBSS.n81ap.RELEASE.patch new file mode 100644 index 0000000..32110df Binary files /dev/null and b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.2.1_8C148.bundle/iBSS.n81ap.RELEASE.patch differ diff --git a/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.1_8G4.bundle/asr.patch b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.1_8G4.bundle/asr.patch new file mode 100644 index 0000000..4a875c2 Binary files /dev/null and b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.1_8G4.bundle/asr.patch differ diff --git a/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.1_8G4.bundle/iBSS.n81ap.RELEASE.patch b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.1_8G4.bundle/iBSS.n81ap.RELEASE.patch new file mode 100644 index 0000000..c46d405 Binary files /dev/null and b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.1_8G4.bundle/iBSS.n81ap.RELEASE.patch differ diff --git a/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.2_8H7.bundle/asr.patch b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.2_8H7.bundle/asr.patch new file mode 100644 index 0000000..4a875c2 Binary files /dev/null and b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.2_8H7.bundle/asr.patch differ diff --git a/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.2_8H7.bundle/iBSS.n81ap.RELEASE.patch b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.2_8H7.bundle/iBSS.n81ap.RELEASE.patch new file mode 100644 index 0000000..795446d Binary files /dev/null and b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.2_8H7.bundle/iBSS.n81ap.RELEASE.patch differ diff --git a/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.3_8J2.bundle/asr.patch b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.3_8J2.bundle/asr.patch new file mode 100644 index 0000000..4a875c2 Binary files /dev/null and b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.3_8J2.bundle/asr.patch differ diff --git a/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.3_8J2.bundle/iBSS.n81ap.RELEASE.patch b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.3_8J2.bundle/iBSS.n81ap.RELEASE.patch new file mode 100644 index 0000000..795446d Binary files /dev/null and b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.3_8J2.bundle/iBSS.n81ap.RELEASE.patch differ diff --git a/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.4_8K2.bundle/asr.patch b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.4_8K2.bundle/asr.patch new file mode 100644 index 0000000..4a875c2 Binary files /dev/null and b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.4_8K2.bundle/asr.patch differ diff --git a/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.4_8K2.bundle/iBSS.n81ap.RELEASE.patch b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.4_8K2.bundle/iBSS.n81ap.RELEASE.patch new file mode 100644 index 0000000..8ba8685 Binary files /dev/null and b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.4_8K2.bundle/iBSS.n81ap.RELEASE.patch differ diff --git a/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.5_8L1.bundle/asr.patch b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.5_8L1.bundle/asr.patch new file mode 100644 index 0000000..4a875c2 Binary files /dev/null and b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.5_8L1.bundle/asr.patch differ diff --git a/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.5_8L1.bundle/iBSS.n81ap.RELEASE.patch b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.5_8L1.bundle/iBSS.n81ap.RELEASE.patch new file mode 100644 index 0000000..8ba8685 Binary files /dev/null and b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3.5_8L1.bundle/iBSS.n81ap.RELEASE.patch differ diff --git a/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3_8F190.bundle/asr.patch b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3_8F190.bundle/asr.patch new file mode 100644 index 0000000..6dce485 Binary files /dev/null and b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3_8F190.bundle/asr.patch differ diff --git a/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3_8F190.bundle/iBSS.n81ap.RELEASE.patch b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3_8F190.bundle/iBSS.n81ap.RELEASE.patch new file mode 100644 index 0000000..c46d405 Binary files /dev/null and b/resources/firmware/FirmwareBundles/Down_iPod4,1_4.3_8F190.bundle/iBSS.n81ap.RELEASE.patch differ diff --git a/restore.sh b/restore.sh index e2e8a80..2e7bb96 100755 --- a/restore.sh +++ b/restore.sh @@ -1588,7 +1588,7 @@ ipsw_preference_set() { esac elif [[ $device_proc == 4 || $device_type == "iPad2"* ]]; then case $device_type in - iPhone3* | iPad1,1 | iPod3,1 ) + iPhone3* | iPad1,1 | iPod[34],1 ) if [[ $device_target_vers != "4.2.1" ]]; then ipsw_canjailbreak=1 fi @@ -1647,6 +1647,8 @@ ipsw_preference_set() { $device_target_powder == 1 || $device_target_tethered == 1 ]] || [[ $device_type == "iPad2"* && $device_target_vers == "4.3"* ]] || [[ $device_type == "iPad1,1" && $device_target_vers != "5"* ]] || + [[ $device_type == "iPod3,1" && $device_target_vers != "5"* ]] || + [[ $device_type == "iPod4,1" && $device_target_vers == "4"* ]] || [[ $device_type == "iPhone3,1" && $device_target_vers == "4"* ]]; then input "Memory Option for creating custom IPSW" print "* When this option is enabled, system RAM will be used for the IPSW creation process." @@ -2314,11 +2316,14 @@ ipsw_prepare_32bit() { local daibutsu local JBFiles=() if [[ $device_target_vers == "3"* || $device_target_vers == "4"* ]]; then - if [[ $device_type == "iPad"* || $device_type == "iPhone3"* ]]; then - ipsw_prepare_jailbreak - elif [[ $ipsw_jailbreak == 1 ]]; then - ipsw_prepare_custom - fi + case $device_type in + iPad* | iPhone3* | iPod[34],1 ) ipsw_prepare_jailbreak;; + * ) + if [[ $ipsw_jailbreak == 1 ]]; then + ipsw_prepare_custom + fi + ;; + esac return elif [[ -e "$ipsw_custom.ipsw" ]]; then log "Found existing Custom IPSW. Skipping IPSW creation."