I need to clear all my data

I recently bought a 3Gs iphone and jailbroke and unlocked it today with the new ultrasn0w unlock. I also did the same with my old 3G iPhone but I want to give it to someone. My problem is that I want to erase all the stuff I have on the 3G iPhone before I give it to them... Any suggestions? I do NOT want to lose the jailbreak and unlock...


Thanks! --Keith
Settings, general, reset, erase all content and settings. It doesn't restore the phone, so your JB and unlock settings should be preserved.

Original thread: https://forums.imore.com/threads/i-need-to-clear-all-my-data.192131/