diff --git a/resources/patch/24Kpwn/iPod2,1/3.1.3/018-6508-014.dmg.patch b/resources/patch/24Kpwn/iPod2,1/3.1.3/018-6508-014.dmg.patch index 3cc0fa2..8b0c95b 100644 Binary files a/resources/patch/24Kpwn/iPod2,1/3.1.3/018-6508-014.dmg.patch and b/resources/patch/24Kpwn/iPod2,1/3.1.3/018-6508-014.dmg.patch differ diff --git a/resources/patch/24Kpwn/iPod2,1/3.1.3/LLB.n72ap.RELEASE.img3.patch b/resources/patch/24Kpwn/iPod2,1/3.1.3/LLB.n72ap.RELEASE.img3.patch index d9e0b23..1495251 100644 Binary files a/resources/patch/24Kpwn/iPod2,1/3.1.3/LLB.n72ap.RELEASE.img3.patch and b/resources/patch/24Kpwn/iPod2,1/3.1.3/LLB.n72ap.RELEASE.img3.patch differ diff --git a/resources/patch/24Kpwn/iPod2,1/3.1.3/iBSS.n72ap.RELEASE.dfu.patch b/resources/patch/24Kpwn/iPod2,1/3.1.3/iBSS.n72ap.RELEASE.dfu.patch index f129941..83ec3a7 100644 Binary files a/resources/patch/24Kpwn/iPod2,1/3.1.3/iBSS.n72ap.RELEASE.dfu.patch and b/resources/patch/24Kpwn/iPod2,1/3.1.3/iBSS.n72ap.RELEASE.dfu.patch differ diff --git a/resources/patch/24Kpwn/iPod2,1/3.1.3/iBoot.n72ap.RELEASE.img3.patch b/resources/patch/24Kpwn/iPod2,1/3.1.3/iBoot.n72ap.RELEASE.img3.patch index 8701409..79f1f31 100644 Binary files a/resources/patch/24Kpwn/iPod2,1/3.1.3/iBoot.n72ap.RELEASE.img3.patch and b/resources/patch/24Kpwn/iPod2,1/3.1.3/iBoot.n72ap.RELEASE.img3.patch differ diff --git a/resources/patch/24Kpwn/iPod2,1/3.1.3/kernelcache.release.s5l8720x.patch b/resources/patch/24Kpwn/iPod2,1/3.1.3/kernelcache.release.s5l8720x.patch index 892b711..ef84f00 100644 Binary files a/resources/patch/24Kpwn/iPod2,1/3.1.3/kernelcache.release.s5l8720x.patch and b/resources/patch/24Kpwn/iPod2,1/3.1.3/kernelcache.release.s5l8720x.patch differ diff --git a/restore.sh b/restore.sh index 8ef5850..c9af517 100755 --- a/restore.sh +++ b/restore.sh @@ -471,6 +471,13 @@ device_get_info() { device_ecid=$((16#$($irecovery -q | grep "ECID" | cut -c 9-))) # converts hex ecid to dec device_vers=$(echo "/exit" | $irecovery -s | grep "iBoot-") [[ -z $device_vers ]] && device_vers="Unknown" + if [[ $device_type == "iPod2,1" && $device_mode == "Recovery" ]]; then + warn "Your device is in recovery mode. Enter DFU mode to continue." + device_enter_mode DFU + fi + if [[ $device_type == "iPod2,1" ]]; then + device_newbr="$($irecovery -q | grep -c '240.5.1')" + fi ;; "Normal" ) @@ -480,6 +487,9 @@ device_get_info() { device_vers=$($ideviceinfo -s -k ProductVersion) device_udid=$($ideviceinfo -s -k UniqueDeviceID) [[ -z $device_udid ]] && device_type=$($ideviceinfo -k UniqueDeviceID) + if [[ $device_type == "iPod2,1" ]]; then + device_newbr="$($ideviceinfo -k ModelNumber | grep -c 'C')" + fi ;; esac @@ -2845,8 +2855,14 @@ menu_restore() { menu_items+=("iOS 5.1.1" "iOS 4.3.3");;& iPhone2,1 | iPod2,1 | iPod3,1 ) menu_items+=("iOS 4.1");;& - iPhone2,1 | iPod2,1 ) + iPhone2,1 ) menu_items+=("iOS 4.0" "iPhoneOS 3.1.3");; + iPod2,1 ) + if [[ $device_newbr == 0 ]]; then + menu_items+=("iOS 4.0") + fi + menu_items+=("iPhoneOS 3.1.3") + ;; esac menu_items+=("Latest iOS ($device_latest_vers)" "Other (use SHSH blobs)" "Go Back") menu_print_info