yashsingh1/xdaforums huggingface dataset:
[HTC One SV] b666:
Important: Recommended for hboot 2.21! My Hboot is 2.00.000. It will not be a problem?
[HTC One SV] russellvone:
ok, you'll be fine with the one you've already flashed, but keep the other one if you ever decide to upgrade your Hboot
[HTC One SV] old.splatterhand:
No problem, use the new one.
[HTC One SV] russellvone:
but it's always recommend to use the most updated one it will work too
[HTC One SV] b666:
Ok, I Flash new TWRP and what next? I am now in bootloader. restart phone or what?
[HTC One SV] old.splatterhand:
Boot into recovery from bootloader and make a backup, then flash SuperSU.
[HTC One SV] b666:
Ok, I am now in TWRP. I have now copy supersu 1.80.zip to phone or sdcard? My phone is now without sdcard...
[HTC One SV] old.splatterhand:
You can chose on TWRP if sd or external sd. So if you have no external, use internal.
[HTC One SV] b666:
My phone is now rooted!!!:):):) All that helped me thank you very much!!!!
[HTC One SV] ahac85:
Hi im currently rooted on 4.1.2 with moonshine, i would like to move over to 4.2.2, whats the best way?? im currently s-off, would i remain s-off, short and simple step guide would be appreciated.

also whats the best way to update over to 4.2.2, by OTA or some other way?
[HTC One SV] old.splatterhand:
S-off remains and ota is best in my opinion.

It depends on which version of One SV you are running.
[HTC One SV] ahac85:
i have k2ul will i be able to flash it on my current setup ie twrp recovery? i take it that will get replaced by stock recovery when i update?
[HTC One SV] old.splatterhand:
Did you already get the update notification?

I made a guide to downgrade hboot, then you can flash the RUU and run all the updates.
[HTC One SV] Seanie280672:
He's on T-mobile, so probably not, seem's its only T-mobile users who not got the update at all yet.
[HTC One SV] old.splatterhand:
Aaah, thanks, haven't seen this.

So he first have to change his cid to Supercid:

fastboot oem writecid 11111111

And then he can downgrade/RUU.

This was also my way and it worked easy and like a charm
[HTC One SV] ahac85:
Yes o have an simfree version htc001 cid. I have a custom recovery twrp installed, any links for stock recovery so I can flash the ota? Or can it b done on twrp??

Sent from my GT-I9300
[HTC One SV] Seanie280672:
Easiest way to upgrade is follow old.splatterhands guide here, its what I did, worked perfectly: http://xdaforums.com/showthread.php?t=2386426

Another way you can do it is copy the update to your PC and extract firmware.zip from it and then extract recovery.img from firmware.zip, then flash it through fastboot.
[HTC One SV] ahac85:
Whats the command? Fastboot flash recovery recovery.img is that right??

Sent from my GT-I9300
[HTC One SV] Seanie280672:
Yes, the same way you flashed TWRP, put the recovery file in your fastboot directory on your PC then flash it.

Your rom MUST BE completely stock for the update to work, no apps missing etc,if the update tries to update an app that you have removed it will fail, thats why if you've modded your rom at all then your better off going back to ICS using old.splatterhands methord which I linked, and then check for updates to update to JB then again to sense 5
[HTC One SV] ahac85:
Ok ive looked at that thread, whats the downside off being s-off but bootloader locked?? I understand bootloader has to be locked for OTA updates, is tht correct?

So after ive gone back to ics, lock bootloader to update to jb 4.1.2 then 4.2.2, can I flash twrp recovery with a locked bootloader?

How do I unlock the bootloader, thru htv dev again?

can I get root again with locked bootloader?

Also if I wanted to return for warranty purposes, all i need to do is leave bootloader locked and fastboot s-on again?

Sent from my GT-I9300
[HTC One SV] Seanie280672:
Before you run the ICS RUU you must change your HBOOT back to 1.00, it wont work with your current HBOOT which is 2.00, instructions for that are on that thread too.

Just unlock the bootloader through HTC dev site again after all your updates http://www.htcdev.com/bootloader, the way you did the first time, just follow the instructions at HTC Dev, being s-off allows you to modify anything, and yes once you've updated your rom, you can unlock your bootloader, flash twrp and then flash the Superuser / SuperSU zip through recovery to get root back, you will always be s-off no matter what you do unless you manually switch it back on, being s-off is a good thing, without it you wouldnt beable to back flash your hboot to 1.00 in order to run the ICS RUU.
[HTC One SV] old.splatterhand:
Ah, this is not needed. Some people reported problem with flashing the RUU.

A "possible" solution was relocking bootloader.

But when i did these steps i didn't lock the bootloader, no problem at all.

But i somebody does, yes unlocking at htcdev.

At least you can all have as before, root, recovery...

Going for warranty is more than relocking bootloader, but this is another story.
[HTC One SV] ahac85:
Ok Thanks for replies guys, but one thing I want to know is IF I lock the bootloader, can I get custom recovery and root? Or do I have to have it unlocked to be able to get custom recovery? ?

Sorry my thanks button is denied hence cant press the thanks button.

Sent from my GT-I9300
[HTC One SV] old.splatterhand:
Must be unlocked.
[HTC One SV] :
If you are S-OFF then you might as well keep your bootloader unlocked so this way it makes flashing things easier on you. Otherwise, you have to approach them differently. With S-off and a locked bootloader, it is still possible to flash images but its way more steps than is necessary. So just keep your bootloader unlocked. No need to relock it unless you are aiming for warranty - which at that case, as [MENTION=3142060]old.splatterhand[/MENTION] said earlier, is a whole other story :).
[HTC One SV] :
[MENTION=2820009]ahac85[/MENTION]

HTC has been securing their phones by locking the internal flash memory (NAND or eMMC)(eMMC in our case) to stop it from being written to, unless the file being flashed is signed by a private key only known to HTC. This is controlled by a flag (@ secuflag) and is identified as the device being S-ON. Telling the HBoot the device is Security Off (S-OFF) stops this check for the key, and allows us to write anything to any partition, which is what we are aiming for.

There are actually two levels of S-OFF. The Bootloader (HBoot) and the Radio. Getting S-Off on the HBoot gives us everything we need, but doesn't actually turn off the @ secuflag which is set in the radio - instead, the HBoot ignores it and therefore thinks it is S-Off, but this is not TRUE S-Off. It is possible to flash a HBoot that believes the Radio is set to S-OFF, as the HBoot is responsible for setting that flag.

Once the HBoot on the phone is S-OFF, we can write to all the partitions and basically do whatever we want, but it is possible to go one step further. Flashing a radio that is S-OFF and actually setting the @ secuflag to S-off gives us 100% total access to every part of the phone and it's software, as it becomes network unlocked allowing you to use any SIM and also allows you to flash a ROM from any carrier (known as Super CID). It also makes it practically impossible to permanently loose root no matter what you flash. Once you have radio S-OFF, it makes it much easier to flash new HBoots and ROMs even if you flash something that is locked down tight.

Setting the Radio to S-Off is not necessary, and gaining S-OFF on the HBoot is more than most people will ever need. Radio S-Off is just the last step of the puzzle, but it is worth noting that you can permanently brick your phone if flashing a radio or a HBoot, if either of these go wrong you will end up with a shiny expensive paper weight so there is risk involved.
[HTC One SV] ahac85:
Just following all your instructions, ive flashed ics ruu successfully, however bootloader became locked itself, but its no problem, I have previously saved the unlock code.bin file shud I use same one again or get a new one from htc dev? To unlock it?

Sent from my GT-I9300
[HTC One SV] :
Hold on to it. You should be able to use it again if the time comes for you to use it. Your bootloader is locked again because the RUU put your phone back to just the way it was when you get it out of the box ;)

---------- Post added at 11:33 PM ---------- Previous post was at 11:31 PM ----------

If for some reason you ever lose it or accidently delete it then just go back to the site and repeat the steps to recieve another one.
[HTC One SV] Seanie280672:
Yes you can use that unlock token again to unlock your bootloader, the same way you flash recoveries, put it in your fast boot folder on your PC and reboot your phone to Fastboot USB mode, (fastboot flash unlocktoken Unlock_code.bin)

Just make sure you get all your updates first before unlocking.

After that you can flash recovery here: http://xdaforums.com/showthread.php?p=41456540#post41456540
[HTC One SV] toldmango:
I just unlocked the bootloader through htcdev and everything went well. Yet when I get into bootloader then fastboot to do step 2), I just have a white screen with the 3 little pictures of android skaters... And even I go into recovery mode, I'm stuck on the Htc quietly brilliant screen. Can someone help please...
[HTC One SV] mlesic:
Can someone make instruction step by step how to root now on 4.2.2!?

Im lost and trying to find safe way to do root..
[HTC One SV] old.splatterhand:
Depends on which way you start. But its almost the same way as before:

- Bootloader must be unlocked

- Flash Recovery from fastboot

- Flash Superuser.zip from recovery
[HTC One SV] :
Drum rolls haha
[HTC One SV] swes013:
Recovery wont boot on newest update 4.2.2 sense 5

Hello everyone i cannot seem to get the recovery to actually boot on my newest update to 4.2.2 sense 5 on my htc one sv (Cricket version). Any and all ideas welcomed. I am not a newbie. I have a working fastboot and drivers. the recovery writes in fastboot just fine. I have tried all variants of the recovery i could find for my version. It simply says in red at the top entering recovery but, never really gets there. I want to install recovery and have root with this newest update... Any help??? Thanks in advance, swes013
[HTC One SV] artlov:
Strange taht locking do factory reset too.

Step 13, unlocking:

If you select Yes, your phone will be reset to its’ factory default settings, and your bootloader will be unlocked.

Step 14, re-locking:

This will not restore the factory default lock, but will simply re-lock the bootloader so no further changes can be made

It seem that unlocking and locking both will do factory reset.
[HTC One SV] MasterDL:
Wonderful, thank you OP and all that helped root this device, I now have a fully rooted with busybox.

I would like to contribute too with my experience through out the rooting process.

All went smooth, pushed superuser successfully got root rights although not fully but reboot a few times and things seemed to settle. Then I tried to busybox but it failed so I tried to push it as described on another post on this thread but it still wasn't working. hmmm

I solved this by using terminal emulator app (googled some extra advice) and followed this:

1. su

2. mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system

3. chmod 755 /system/bin/busybox or chmod 755 /system/xbin/busybox

4. mount -o ro,remount -t yaffs2 /dev/block/mtdblock4 /system

5. sync

6. reboot

Note step 6 didn't work for me so I rebooted manually, after reboot I used busybox installer app and installed latest busybox with symlink.

Now my SV is fully rooted capability, just waiting for relevant forum to open and kernel sources to mess about with. Missed my mods on my old desire S when it's reaching it's peak performance,but I'm not missing it much with this phone in hand.
[HTC One SV] bkcokota:
Re: [GUIDE] Root for HTC One SV

Yeah, when installing busybox myself I ran chown root and chmod 755, I didn't notice it wasn't in the post about it as I had mine installed prior to that point, it's always a good idea to do that to an executable when copying across file systems because of weird permissions and whatnot that can happen.
[HTC One SV] old.splatterhand:
What about a full working recovery?

Are there any files needed (like kernel source code)?

Or is nobody here who can do this?
[HTC One SV] bkcokota:
Re: [GUIDE] Root for HTC One SV

I'm working on getting a new version out but it still needs work, the source would make this a whole lot easier but they haven't released it yet. I'll update everyone when I have something new.
[HTC One SV] old.splatterhand:
Looking faithfully forward to your work!

Thanks in advance.
[HTC One SV] bkcokota:
Hi everyone, thought I'd supply everyone with a Saturday afternoon update. I have not got a new recovery built yet, but I have fixed the keypress errors, the only thing I need to fix at this point is the mounting from recovery (it should be a fairly easy fix) I'm hoping to have a new version out this evening or maybe tomorrow. I'll post up when I have it ready, thanks for your patience everyone.

EDIT: Ok, that took a bit less time than I expected, I have a new build ready which should fix a lot of the recovery problems, the only one I haven't cleared up at this point is the display moving left and right as that's due to HTC's framebuffering method. I'm going to update the first post and I'm also posting a new version below. Please note for this version at least you will still need to flash it through fastboot. recovery.img
[HTC One SV] jmz:
Can you point me to your device folder, I may be able to help. Also, I have a One SV forum setup on my team's forums if you want to post your stuff in addition since XDA doesn't have a dedicated forum. http://www.teamdirt.me
[HTC One SV] bkcokota:
I'm fairly sure I know how to get it fixed myself but I'm still getting my new computer up and running properly (i7 3770k ftw), this release is just because as it was I needed to fix a lot of major issues and this release got it down to a few minor config issues that I'll fix once I get my build env back up fully. Sure i can post this in your forum if you'd like, as it is I'm hopping in and out of a couple of forums who have picked up on this.
[HTC One SV] jmz:
Can I get the recovery.fstab at least? I'm working on something else
[HTC One SV] bkcokota:
Here you go: recovery.fstab, sorry it's a mess.
[HTC One SV] jesuli92_sfc:
muchas gracias por todo! Thanks so much!

PD: I don't know and I don't understand why not add HTC One Sv thread!! Please!!
[HTC One SV] MasterDL:
Is it possible to do a nandroid back up on the new recovery?

Thanks for the work, not fair on us SV owners not having a home here when the HTC ONE gets a forum ahead of it's release.:crying:
[HTC One SV] bkcokota:
Yeah, nandroid backup is now working perfectly, I'm not sure why we don't get a forum especially now that this phone is going to boost in the US as well.
[HTC One SV] sr1ks:
Hello Guys,

I have been searching all over the place for a One SV forum but realized there isnt one yet :(

I have a HTC One SV with S-OFF, is it still necessary to unlock bootloader? or anyway i can bypass that ?
[HTC One SV] bkcokota:
You need to unlock the bootloader to get a custom recovery installed, you can get the bootloader from the htcdev.com site, can I ask how you got your one sv s-off?
[HTC One SV] old.splatterhand:
In a big german android board we have already a forum. But there are no dev's, like here on xda.
[HTC One SV] bkcokota:
I'm sure we'll get devs jumping all over this once HTC get around to releasing the source. I personally am really looking forward to getting cyanogenmod on this phone.
[HTC One SV] old.splatterhand:
How you did that would be indeed interesting!
[HTC One SV] jmz:
Prolly from factory. Won't help achieving s-off. But if you guys want help getting s-off I can prolly assist as long as someone that knows how to use adb is willing to do a few steps
[HTC One SV] old.splatterhand:
For k2u & k2ul there is a recovery, (the only) that works with 422 hboot. But i don't know, if these also work for cricket.

---------- Post added at 09:24 AM ---------- Previous post was at 09:21 AM ----------

You can find it, using my index thread (Twrp, thread by me).
[HTC One SV] swes013:
Alright well i did that one recovers and yes it works!!! Well boots at least. However I can't get root now. I have flashed the superuser zip in this root guide in the OP. Seems to flash alright then when I reboot and use terminal emulator or root explorer it has no root?? Any ideas? I hesitate to wipe all caches and factory wipe as I still am not sure if the partition s are different and that's why superuser zip didn't flash or stick right.. I don't want to brick the thing I am almost there....….. Swes
[HTC One SV] swes013:
Crap!!!

Oh damn now i am really stuck!! wiped all then tried to apply superuser.zip again and poof!! all os is gone. only left with TWRP recovery still booting and now stuck with the HBOOT 2.21 and no backups for twrp yet!!! I cant get he jb clockwork mod recovery to work with this at all and all i have is ascess to a clean jb clockwork nand back up.... any ideas???
[HTC One SV] old.splatterhand:
Are you S-off?
[HTC One SV] swes013:
s-off

Yes S-off with hboot 2.21 and the TWRP recovery installed from your post
[HTC One SV] old.splatterhand:
Do you have 412 Ota update.zip? If not, search for it, i don't have a link, because i'm on mobile. It has 2.00 hboot inside, which you can flash as a zip file in bootloader. Then your old recovery should work again.
[HTC One SV] swes013:
Okay

Alright i am getting this phone back now... Almost on 4.2.2 sense 5 again. i am going to try the htc quickroot exploit suggested to work on 4.2.2 by liontarion...... Hopefully that works and i am at least rooted and can delete crapware. However i guess i should stay on a stock recovery because although your suggested twrp does flash and boot i dont believe it wipes the correct partitions or it is just not happy running on this version being a US cricket version. What do you think?? Anyone else have insight that might be helpful in obtaining a working recovery for 4.2.2 sense 5 jellybean on a .21 bootloader for cricket let us all know. till then i am happy so far.

Thanks, swes013
[HTC One SV] old.splatterhand:
In fact, i had the same problem with booting to recovery, as you had. Until the new, working Twrp was out, i made a hboot downgrade to 2.00 and useed the old recovery. Had no problem with that combination, but its up to you, if you want to try or not.
[HTC One SV] russellvone:
[MENTION=867842]swes013[/MENTION]

you got sense 5 update AND your USA cricket?

.........

OneV

.........

OneSV

.........

(I'll help if I'm able)
[HTC One SV] swes013:
yes I do!!

Yes I have the sense 5 update and i am on US Cricket carrier. I now need some help getting a custom recovery to work correctly so that i may install superuser properly and achieve root... Anyone? old.splatterhand suggested i find the ota update 4.1.2 for cricket and downgrade the hboot to .20 instead of .21 and he suggests doing this may fix my recovery problem or make it so i can use old recovery. Will this work? does anyone have the ota zip file 4.1.2 for cricket? is that where i find the hboot? how do i go about downgrading the hboot to the .20 version? i have a working fastboot. Someone pleaase help. thanks.

swes013
[HTC One SV] russellvone:
I've got the cricket 4.1.2. I'll make the package for downgrading your hboot.

your S-OFF correct?

.........

OneV

.........

OneSV

.........

(I'll help if I'm able)

---------- Post added at 11:54 AM ---------- Previous post was at 11:52 AM ----------

Also what is your romver?

open Android terminal emulator and type

getprop ro.aa.romver

post it here I'll make the downgrade for you so you can use old known working TWRP.

.........

OneV

.........

OneSV

.........

(I'll help if I'm able)
[HTC One SV] swes013:
Thanks

Yes i am S-off the output of the getprop on terminal was 3.02.1050.10

Thank you so very much for your help. Can you also link me to the correct twrp file as i have downloaded a 100 versions. i want to be sure and flash the correct one. Thanks. swes013
[HTC One SV] russellvone:
uploading now I'll post link when it's finished.

.........

OneV

.........

OneSV

.........

(I'll help if I'm able)
[HTC One SV] swes013:
Recovery

Also I have never really used the twrp recovery. I have had clockwork mod since day one. I always just kept that one because i knew that that one was the one i would have to use to restore the clean jb backup so i could complete the final updates for the device.
[HTC One SV] russellvone:
2.0_downwardHboot_PL80IMG.zip

download this and rename it to

PL80IMG.zip

place it on root of microSD card(meaning not in a folder)

then reboot into bootloader(where the screen 'searches' for this)

press volume+ to accept and power to reboot

then you can use known working CWM or TWRP your choice

enjoy!

.........

OneV

.........

OneSV

.........

(I'll help if I'm able)
[HTC One SV] swes013:
Worked Great!!!

Thank You sir... My hats off to you!! Worked like a charm. I now have back my clockwork mod working!! SuperSU installed and rooted to the latest and greatest 4.2.2 sense5 with Blinkfeed. Setting up and debloat software now. Any chance someone will make an app for deodexing this rom on cricket version? I hesitate to try the k2u version.
[HTC One SV] old.splatterhand:
You need to upload a system dump for us in this case. But before you delete bloatware ;)
[HTC One SV] :
[MENTION=867842]swes013[/MENTION]

I NEED a system dump from you (please tell me you haven't deleted ANYTHING yet?)... I hope not, I NEED it to be untouched. If you are S-Off then that doesn't matter. As long as your system files are still intact.

Please send me a download link for your current system.img and boot.img with the recent 4.2.2 update you got.

Using a terminal emulator on your device type and enter the following:

dd if=/dev/block/mmcblk0p33 of=/sdcard/system.img

This will create your system image and store it on your sdcard. PLEASE upload it and send me a download link. I also need your boot.img as well.

If you can't do it then I NEED someone to do this.

In regards to Crickets recent 4.2.2 ota they have. If still on 4.1.2 then ignore me and move along.
[HTC One SV] swes013:
Sorry guys :( I already debloated and been modding system with various tweaks zips and fixes. I am really sorry. I wish I was able to do that and contribute some back. If there is anything else I can do let me know. I spent two hole days just borking thru different setups, recoveries, etc. etc. Again sorry guys.

---------- Post added at 09:54 PM ---------- Previous post was at 09:42 PM ----------

Let me finish getting my system all setup and backed up..… Then I will try and go back and replicate the process all over again. Then I will make a backup system dump for you guys. Maybe I will even type up a tut for everyone outlining my steps and including the other steps everyone here helped me achieve. Working tomorrow off on Thursday though soooo check back here for an update. I will try and have some news for ya by Thursday early evening. Thanks for everyone's help.

swes013
[HTC One SV] :
If your phone is debloated, and you have made system modifications already, then yours will be no good to me. Unless you are able to restore it.
[HTC One SV] swes013:
Yes this I understand. As soon as I have time tomorrow I will go all the way back with it to the original jb clean nandroid backup I have.... Then I will apply all updates up to the 4.2.2 sense 5 then I will dump the system and files as per your instructions them upload em for ya guys. Then I will unlock the boot loader again then downgrade the hboot, fastboot flash my recovery back and restore my debloated clockwork mod backup:) :) That will work for you right??
[HTC One SV] :
Yes it will :)
[HTC One SV] cyanide01:
TWRP

So the version of TWRP they have on their website wont work with the 4.2.2 OTA?? Then will have to go through the steps that [MENTION=867842]swes013[/MENTION] did in order for me to gain root access?
[HTC One SV] old.splatterhand:
I think so. If you also have the hboot 2.21 inside the update, you will need a new recovery.

But make sure, you are S-off, otherwise you can't downgrade hboot!