[Android Q&A, Help & Troubleshooting] ravisoni:
I want to install an OTA, but I had rooted it using TWRP and then followed so many procedures in trying to restore to stock that I think my phone's wasted. (It's functioning normally, but I can't help the feeling I've done something untowardly to it).

I have been doing a lot of reading, but I apparently suck since nothing seems to make sense (or that everything seems so disconnected). It appears that what could be one long, detailed post about something is to be found in many different posts, but I understand that since there are so many phones and each one probably needs its own way of being handled. So without complaining any further, I'll just let you know what I've done so far, and hopefully someone is able to tell me what the hell is wrong with me. And my phone.

Here's what I have with me right now:

Device: HTC One SV (Boost mobile) - K2_CL, OS- 4.1.2 (the OTA is 4.2.2)

Tampered, relocked, s-on.

adb is installed

fastboot is installed

android SDK with 4.1.2 and 4.2.2 packages installed

htc toolkit utility is installed

recoverytest.img from androidruu files.

revone

All right, I installed adb, fastboot, an htc utility toolkit, downloaded 3 different img files (one says recoverytest.img, which is from androidruu.com/k2_cl, another one was put here on xda by one of the members, and that was simply recovery.img, and another one called HTC_One_Sv_K2_Ul_boot_signed.img <-- this is probably the wrong file since my bootloader screen says k2_Cl).

Prior to this, a few months ago, my phone was rooted. SuperSU was working fine, and one day somehow I lost the root access when SuperSU upgraded. Tried a few methods to upgrade manually but none worked. Not sure if this is of any importance.

So after installing all those above, I did a variety of commands like revone, fastboot flash recovery.img, fastboot oem lock, fastboot flash boot recovery.img, all based on what was mentioned one one thread or another on the forum and mostly all of them gave me some kind of an error.

So I'm stuck now. My phone does nothing. When I reboot from bootloader, it says in red "this is for development purposes only, blah, blah". When I download the update and try installing it, the phone simply restarts. When I try to do factory reset from the hboot, the phone simply goes back into fastboot menu. My phone apparently doesn't have an RUU, only a recoverytest.img.

Here's where I am and I want to do what next. I jsut installed android sdk, and installed 4.1.2 package (which is the current version on my phone), and I want to update to 4.2.2, which is the latest update for htc one sv on boostmobile (installed the package for that in sdk also).

(A lot of people were also asking for cid, mid and phone model, and I have no clue how to make sure that the .img file is the same as my phone's).

I know I am all over the place, and call me a knucklehead, but I genuinely do not understand a lot of the things that are mentioned on the forums. Every thread mentions a process, and within each process is contained a subprocess which I equally do not know.

Thanks for any help with this!

PS: While I go from fastboot usb to hboot, the screen flickers for a couple seconds an dmessages like "sd checking: no image or bad image" appear for a couple seconds and then I see the hboot menu.

Edit:

Here are some, but not all, of the forums/threads I was trying to follow:

http://forums.androidcentral.com/verizon-droid-dna/287135-revone-s-off-root-method-help.html

http://androidforums.com/one-sv-all...root-without-overwriting-recovery-kernel.html

http://xdaforums.com/showpost.php?p=38018890&postcount=78

http://xdaforums.com/showthread.php?t=2292432

http://xdaforums.com/showthread.php?t=2405050

http://xdaforums.com/showpost.php?p=42371333&postcount=1480

http://forums.androidcentral.com/htc-one-sv/279026-htc-one-sv-ruu.html

http://www.androidfiles.org/?developer=K2_CL

http://xdaforums.com/showpost.php?p=43266179&postcount=6

The way I understand how to do this (in layman terms) is as follows:

1. Restore to stock {by first turning S-Off, then lock the bootloader, and then RUU. I cannot get S-off using revone (revone failed, error code 2 or error code -1); the bootloader is "relocked", and I cannot get to do anything with the RUU (iow I don't know what to do with it)}.

2. Restore to factory settings.

3. Download and install the OTA 4.2.2 update.