From e76afdf980ea4f89ca0bf0766c126b498be309f3 Mon Sep 17 00:00:00 2001 From: LukeZGD <26163116+LukeZGD@users.noreply.github.com> Date: Tue, 11 Jun 2024 17:28:16 +0800 Subject: [PATCH] Add warning about broken ideviceactivation for iPod touch on iOS <4 --- restore.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/restore.sh b/restore.sh index 9f46885..5bd85a4 100755 --- a/restore.sh +++ b/restore.sh @@ -7002,6 +7002,16 @@ device_activate() { print "* For hacktivation, go to \"Restore/Downgrade\" or \"Hacktivate Device\" instead." fi fi + case $device_type in + iPod[123],1 ) + if (( device_det <= 3 )); then + warn "Unfortunately ideviceactivation is broken for iPod touch devices on lower than iOS 4: https://github.com/libimobiledevice/libideviceactivation/issues/70" + print "* You may need to use iTunes/Finder to activate the device instead." + pause + log "Continuing anyway..." + fi + ;; + esac $ideviceactivation activate print "* If it returns an error, just try again." }