Oh if you just restore it, connect it to iTunes 8 or later and make sure you're connected to the Internet so it can install your new firmware and shit.
Take a photo and upload it, what Necro suggested should work.
Plug the iphone into your computer, open itunes, click the picture of the iphone on the left tab, click restore iphone.