Stupid question now but: How do I get my Z1C completely back to a "like out of the package" state so I can send it in for warranty?
Story: I made some underwater photos/videos and on the 3rd day of doing so (never had it more than 30 minutes or 1,5 meters under water) water leaked into the phone somehow, not trough the lids, checked them many times AND also checked them if they are wet after I saw the issue, they werent leaking.
Anyways, as said, I want to completely go back to the beginning like taking the phone out of the box. Now, how do I do that? What are the steps for this? Do I have to flash the stock ROM first? If so how exactly? Because as I think restoring the TA Backup first won't let me flash anything else anymore because of the locked Bootloader.
Thanks many times for replies already!

(Also if possible please really make an easy step by step instruction, it not only will help me but also future guys having the same problem

)
PS (Edit).: The phone still fully works, but one part of the Touchscreen doesn't anymore. I can still use an USB mouse tho, no problem there!