Hey guys

I have an issue with one of the buttons becoming loose on my phone ( a hardware issue) and would like to have it repaired by apple.

Trouble is, my phone was 1.1.1 otb and I've unlocked it.

Apple obviously checks to see whether phones sent in for repair have been tampered with in anyway before they service it, so I'd like to bring my phone back to factory condition in order for them to warranty it.

My goal is to have it in virgin 1.1.1 otb state.

I believe my phone was unlocked with anySIM.

Is there anyway to accomplish a revirginize 1.1.1 to otb factory settings as if I hadn't ever touched it? I'd like to know how to proceed.