Hey guys, I just decided to upgrade to a 3g and i want to sell my old iphone(2g people say, but it sounds sorta rediculous to me) before i buy a 3g.

I was wondering what would be the easiest way to reset my iphone so that if i sell it to someone, i want it to be unlocked and jailbroken without any of my personal information on it.

Im not gonna beat around the bush here, but i want to sell it for maximum profit gain( and the market seems to be higher in a unlocked and jailbroken iphone.)

So please if anyone can help or if there is another thread that shows how to do this (sorry in advance if im pissing someone off) would you be kind enough and link it to me.