IPhone 4S jailbreak/restore?

If i jailbreak my iphone 4s (which causes the warranty to become voided), will the warranty still be void if i unjailbreak it by restoring my iphone? I prefer answers from those who have tried this, but anyone may answer my question.

You're warranty will be back if you undo it.

If you restore the warranty will be back.

  • When you restore an iphone from itunes backup does it restore messages? I need to restore my iPhone 4S in iTunes, will I lose my messages or will it leave the messages from my most recent back up?
  • Jailbreak then restore iPhone 5? Is it possible to jailbreak my iPhone 5, install app locker- lockdown pro then restore it & keep the said app? Really want an app to lock individual apps on my phone, invariably people get there hands on your phone & in this scenario I want my private stuff to remain private. Not jus speaking of pics, I already hav that app. I mean for things like mail, txt, memos, notes. Don't want to jailbreak my phone if there's an alternative.
  • IPhone Jailbreak Restore Problems? I have a jailbroken iPhone 4S, running 5.1.1 software, but I wish to un-jailbreak the iPhone. Fistly, iTunes isn't recognizing my phone at all, and isn't showing up under devices. Second, when I put my phone into DFU mode and try to restore, iTunes says that it couldn't restore, because it couldn't recognize my device. I really want my iPhone to be restored to factory settings, but I don't know how.
  • If you disabled FindMyiPhone to restore your device, will the app be enabled again after the restore? A few weeks ago I upgraded to the iPhone SE and I restored the data from my iPhone 4s onto it. (I had to disable FindMyiPhone in the process). Little did I know that it would be lost/stolen 2 weeks later. Really need to know if FindMyiPhone would be enabled because I want to know if I still have any hope at all finding it. Thanks. I tried the app already… Says it's offline. Been waiting since.