Need help with ugrade. Jailbroken.

I have the iPod touch 3G and it currently jailbroken but I wanna ugrade to 4.0 is there a jailbreak that's untethered and perfectly stable that I can use and how can I keep all my stuff and transfer it to ios4?
redsn0w. Very popular.
Transfer by backing up, and then transferring your stuff back after.
I'm not entirely sure on how to transfer it back though.
xxx

Original thread: https://forums.imore.com/threads/need-help-with-ugrade-jailbroken.207349/