I have a 16Gb 3GS and I used blackra1n to jailbreak it in version 3.1.2.
I want to upgrade to 4.0.1 because there are some iTunes apps that require iOS 4 to run. I haven't kept up to speed with all the updates and jailbreaking since I originally did it several months ago.
Can someone give me some detailed step by step instructions with what I need to do to upgrade? I have a windows pc. Thanks to anyone that can help. I needed some serious intervention the first time I did it.
Download a 4.0.1 from the downloads section of this site. Then hold shift while you click on restore in iTunes. Then select the firmware you downloaded.
After you've gotten it restored to 4.0.1 you will have to go to jailbreakme.com with safari on your phone. You'll have to reinstall all the packages that you've gotten from cydia. There is an app in cydia that makes that relatively painless though. It's called pkgbackup. If you run that then sync you phone then after you restore and jailbreak just go to cydia and install pkgbackup. Then you go into that and hit restore and it puts everything back.