How to get rid of the jailbreak without getting rid of the unlock?

I have an iPhone 3GS [iOS 5.1.1] here in the Philippines and I was wondering if there's a way to get rid of the jailbreak without deleting the unlock for the phone. My uncle says to restore it to factory settings from iTunes to get rid of it, but I'm afraid that it also might get rid of the unlock for the phone. If anyone can give me any solutions that would be helpful.

You can't. It has to be jailbroken to be unlocked. No jailbreak, no unlock.

You can't get rid of the lock, it's a jailbreak feature only.

  • Unlock iphone 4 without jailbreak? I want to use my verizon iphone 4 with tmobile but i don't want to jailbreak it.anyone know how to network unlock my phone with having to jailbreak it?
  • Unlock iPhone 4 difficulty getting an unlock code? I need to get my iPhone unlocked to use with an Australian sim card. I have called Vodafone in Ireland to get this done but they have just tried to call me back and i do not have enough credit on my Irish number to receive the call as i'm in Australia at the moment. I can't perform the unlock procedure through Vodafone online either.
  • Tap to Unlock without Jailbreak? I just got a new iphone 4s. I previously had my 3gs jailbroken and had the 'tap to unlock" feature. I prefer that over slide to unlock because I'm left handed and it's annoying to have to slide the opposite direction. However my 3gs had some minor glitches and bugs due to the jailbreak so I'd prefer not to jailbreak my 4s, but is there a way to get tap to unlock without jailbreaking the phone? Or even reverse the slide or something? Any help would be appreciated.
  • Is there any way of getting iPhone 5 for 199$ and getting rid of the contract? I just want the phone and wanna get rid of the contract without paying for it. I know how to unlock the phone so that's not a problem.