How to Remove a Jailbreak from any iDevice iPhone iPod iPad
This tutorial will show you how to completely remove a jailbreak from any iDevice. It works for any iPhone, iPod Touch or iPad on any version with the help of iTunes.
This method removes ALL traces of a jailbreak. If you plan on bringing your device back to the Apple Store, this is what you should do before going. No Apple Store employee will ever be able to tell if you jailbroke your device before.
IMPORTANT NOTE: If you plan on getting everything out of your device, you should eventually do a clean restore and SET AS NEW DEVICE since iTunes backup will keep old files that will stay on your device and still use precious space even if you can't use them. *Thanks to XxsniperbuddhaxX for bringing this up!