Fix broken ideviceactivation for iPod touch on iOS <4

This commit is contained in:
LukeZGD 2024-06-12 12:43:26 +08:00
parent 02ced1b11d
commit 7e74f2288f
6 changed files with 2 additions and 5 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -7002,17 +7002,14 @@ device_activate() {
print "* For hacktivation, go to \"Restore/Downgrade\" or \"Hacktivate Device\" instead."
fi
fi
$ideviceactivation activate
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..."
$ideviceactivation itunes
fi
;;
esac
$ideviceactivation activate
print "* If it returns an error, just try again."
}