You can do it in the latest OS....I suggest you can approach Mobile-unlocker.com and specify the country,locked network of iPhone3GS.Based on the availability you can get the permanent unlock code along with free instructions.To jailbreak visit Jailbreakiphone4sim.com