How to unjailbreak iphone 5?

I have an iphone 5 and its jailbroken but now i want to unjailbreak it and i tried to unjailbreak it by using itunes by restoring it but it did not work because there was an update for ios and that update was ios 6.1.3 and without updating i can't proceed further so i updated it but the update failed so i tried it from itunes but then also it got failed so how can i unjailbreak it can anyone please tell me

Here is my advice, Iphone 5 is the latest in its series right now, and since normal methods have failed I recommend a support centre, more complicated ways could brick it and you would have thrown you money to the ground.

  • Would I still get my warranty if I unjailbreak my iphone 5? I heard if you have an jailbroken iPhone the company won't fix it phone, if anything would happen to it.
  • Why can't I unjailbreak my iphone 5? I want to update to 6.1.2 but I'm jail broken with evasion and when I connect if go my computer to restore it takes a long time to load and says that it's up to day or something and when I check my software update on the iPhone it never loads and when I tried resetting it it never finishes what can I do? How do I unjailbreak when nothing's working
  • What will I lose if I unjailbreak my iPhone 4? So I have had my iPhone jailbroken for a while and now i want to update to IOS6 and just simplify my phone, how do i unjailbreak it and what will I lose if I do, I just don't want to lose message history and photos.
  • Should I unjailbreak my iPhone 4? Should I? It's slowing down and i don't want to mess it up anymore. Should I unjailbreak it?