[HTC One S] xander1993:
i find it hard to restore my one s because there is no official RUU for my one s c2,i failed to s-off aswel to use older RUU that i have so i found out that you can still restore your rom to stock after using custom roms..this method is tested and working (but me reminded to always have nandroid back up and use it at your own risk)

1st step: download a OTA update,in my case i download ASIA WWE 3.17.707.102 (it is in a zip form): you can find yours here http://splanet.info

or you can obtain it form any other source

2nd step: once you have the zip file open it and extract the firmware.zip (put it beside the fastboot.exe or inside the folder where adb and fastboot is)

now before proceeding to next step you need to verify first your CID

To Get the CID of your phone: reboot the phone in bootloader/fastboot mode (adb reboot bootloader), and use fastboot getvar cid. Match this in the android-info.txt file found inside the firmware.zip file. If it doesn’t match, don’t go any further.

**************If you’re still here, I guess your CID matched.*******************

now we will need tools like notepadc++ and 7zip

3rd step: Now, in the OTA zip file, find the file updater-script in the directory META-INF/com/google/android. In this we’ll need to remove some code that doesn’t work with recoveries other than the default HTC ones. (extract the updater-script)

then Open the file with any decent text editor that preserves newlines (for windows, Notepad++ springs to mind, on Linux/Mac just use vi), and look for a textblock like this:

ifelse( is_ship_bootloader(getprop("ro.bootloader")) == "t" ,

assert(check_cid(getprop("ro.cid"), "00000000" , "11111111" ,

"22222222" , "33333333" , "44444444" , "55555555" , "66666666" ,

"77777777" , "88888888" , "99999999" , "HTC__044") == "t");

);

delete that line.. then save it. after that delete the update-script inside the OTA (located in META-INF/com/google/android.) after deleting copy the new updater-script that we have just edited to the same directory where you delete the old updater-script..

4th step: Next, reboot your phone into Clockworkdmod Recovery (or whatever recovery you have installed), make a nandroid backup of your phone, and copy the OTA zip file on the phone. As a safety measure, it’s recommended to make a backup of everything on the SD storage to your computer.

5th step: When the backups are completed, reboot your phone into bootloader/fastboot mode. It’s time to lock the bootloader again, so we can flash the firmware update. This can be done using the command fastboot oem lock. Your phone will reboot.

6th step: Reboot it once again, this time to OEM update mode: adb reboot oem-78

7th step: Flash the firmware update: fastboot flash zip firmware.zip. If this complains without getting you a green progressbar on the screen, try it again – the second time it usually sticks.(even if it fails the the 4th time around just try and try it)

Once this process completes, reboot the phone again in the new bootloader: fastboot reboot-bootloader.

Now you can unlock your bootloader again, using the Unlock_Code.bin file you got from htcdev.com: fastboot flash unlocktoken Unlock_Code.bin.

At this point, you’d sure as hell wish you’d made a backup, if you didn’t. Because now your phone is wiped, reset to factory default. Don’t say I didn’t warn you upfront.

8th step: After the reboot finishes, you can once again boot in booloader/fastboot mode, and flash your recovery anew. For Clockworkdmod Recovery, the command is fastboot flash recovery <filename.img> Now you can boot the phone in the recovery (select the option from the bootloader menu).

9th step: Once in the recovery, it’s time to restore your nandroid backup. You did make one, did you?

If you finished restoring the backup, or you can now flash the OTA zip on the phone, updating the ROM to the new version or stock version.

After this, you just need to reboot one more time, this time to the ROM itself. Let it finish upgrading all applications, and tadaa, your freshly upgraded phone.

This worked for me, might not work for you. No promises.

this tut i found is for the one x but i made a one s version (villec2) which works.. so have fun and restore your device to stock....

Hope This Helps...

if you like this feel free to like and thanks me

ps: sorry for really bad english

-- xander