Flash the phone and then format the microSDHC card, if you have one. That'll remove everything and you're good to sell it.