Last week I upgraded my iPhone 3GS to iOS 5. A few days later I restored that same iPhone 3GS to factory settings and then set it up as a new device. I then sold the device yesterday (actually two of them that were reset in the same way). I know this question is a bit late, but looking for peace of mind. Did the above steps wipe the hardware encryption key and reset it and therefore clear out all my personal data? This article seems to indicate the pure restore (rather than restore-and-upgrade) would have cleared out my personal data because it would have activated the hardware encryption on the iPhone 3GS. However, this article from Apple support seems to indicate I should have erased the data from the phone itself rather than from iTunes. If the latter is true, then I would say that was a poor decision on Apple's part. The "Erase Everything" feature on the phone is pretty well hidden, while the "Restore" feature in iTunes seems the obvious route for this sort of thing. Does anybody know for sure? ---------- NOTE: This article from Apple says: Restoring your device will delete all data and content, including songs, videos, contacts, photos, and calendar information, and will restore all settings to their factory condition.