How do you remove a Jailbreak with losing data?

I have an iPhone 4 and I have had my phone jail broken for about a year. I've taken a lot of pictures and added a lot of contacts in that year. I know restoring your phone takes away the jail break, but will I lose the last year of my saved data?

Re: How do you remove a Jailbreak with losing data?

Originally Posted by phanjun

Hello i am new here,i would like to ask you how to I remove the jailbreak from my iphone3gs when i can't turn it on?

Plug the device into the PC and open iTunes. Press and hold the sleep/awake button and the home button for 10 seconds, then release the sleep/awake button but continue to hold the home button for 15 seconds. You will get a message in iTunes that the device is in recovery mode and needs to be restored.