Skip to content

Commit

Permalink
Add warning about broken ideviceactivation for iPod touch on iOS <4
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeZGD committed Jun 11, 2024
1 parent ea99578 commit e76afdf
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}
Expand Down

0 comments on commit e76afdf

Please sign in to comment.