my iPhone 3gs had been randomly giving me an accessory error message when nothing was plugged in. Took it into the Apple store and they replaced it under warranty (3 days before it ended), brought it home, put iOS4 on it. Now it's on ebay to pay for the iPhone 4 on release day.