yashsingh1/xdaforums huggingface dataset:
[HTC 10 Guides, News, & Discussion] KOLIOSIS:
If you made a complete backup of the T-Mobile HTC 10 stock/unrooted ROM,revert back to it.

You can remain unlocked/S-Off/TWRP installed.

Just as long as you're on the stock-unrooted OEM ROM,you can SIM Unlock your T-Mobile HTC 10 via a purchased code.

You don't have to enter anything,just open the Device Unlock app & let it do its magic.

Once you're done,proceed back to whatever back-up or ROM you want to flash.

Just don't make the mistake I made & forget to re-root before proceeding........... :good:
[HTC 10 Guides, News, & Discussion] iHTC:
I was looking for a tmoibile restore but I will ahve to try and piece together my own never made a backup figured I would never need tmoible stock software (since Im trying to use on verizon anyway)/
[HTC 10 Guides, News, & Discussion] KOLIOSIS:
I hear ya,& I'm usually in such a hurry that I blow right past making a backup,but,this time was the exception (& future device backups as well).

I'm sure an RUU for T-Mobile will be available soon.
[HTC 10 Guides, News, & Discussion] iHTC:
I used the TWRP backup to get the tmobile software running and the SIM unlock tool worked, I no longer get asked for a sim pin but I can not get onto verizon at all using Vipers rom :(
[HTC 10 Guides, News, & Discussion] JohnCorleone:
If anyone is in the Newport Beach, California area shoot me a PM and then we can meet somewhere and make a copy of the stock recovery (as mentioned in TWRP FAQ) and get it added to the rest. I don't feel too comfortable doing anything just yet because the dev edition has had 2 updates already (I think) and the T-Mobile M9 received an OTA pretty quickly after release....or maybe we will get lucky and the T-Mobile RUU will get released soon...fingers crossed because the amount of ads has become ridiculous on stock. At least I found that "NoChromo" browser here on XDA Labs
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
What is it you don't feel comfortable with? Getting a backup of stock recovery won't prevent you from getting an OTA. The whole point is so that anyone that wants to can take an OTA. I guess I don't understand.
[HTC 10 Guides, News, & Discussion] :
Stuck at sideload step....getting this error

adb server version (31) doesn't match this client (35); killing...

and then on phone saying I need adb 1.0.32 or newer

Help?
[HTC 10 Guides, News, & Discussion] JohnCorleone:
Oh, so TWRP is that advanced that if I make a nandroid of the system image and boot, a future OTA update will not fail because of TWRP? I thought everything had to be full stock.
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
You won't have TWRP installed, if you're following the method I posted to backup stock recovery :confused:. Unless you're going to reinstall it afterwards.
[HTC 10 Guides, News, & Discussion] :
loading: 'C:\xxxxxxx\Desktop\HTC\BETA-SuperSU-v2.74-2-forceencrypt.zip'adb s

erver version (31) doesn't match this client (35); killing...

error: protocol fault (couldn't read status): Connection reset by peer

error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037:

Only one usage of each socket address (protocol/network address/port) is normall

y permitted. (10048)

could not read ok from ADB Server

* failed to start daemon *

adb server version (31) doesn't match this client (35); killing...

* daemon started successfully *

error: protocol fault (couldn't read status): No error

anyone?
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Update your Android SDK.
[HTC 10 Guides, News, & Discussion] JohnCorleone:
OK I think I understand it... So if I select read only and run the backup it doesn't actually install the TWRP until after I go back and install SuperSU?

Also, one last question... Do I really have to backup system image and the other system option or can I backup everything except userdata and system?
[HTC 10 Guides, News, & Discussion] :
I am using the current minimal adb 1.4

Is that not correct?
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
I think there's some confusion here.

We're all just looking for a backup of the stock T-Mobile recovery. Nothing I've been posting about is regarding a regular nandroid. Anything you do AFTER you backup the stock recovery is up to you. But I haven't been addressing any of that.

EDIT: In other words, everyone in the thread on the T-Mobile stock ROM is waiting for you to backup the stock recovery as detailed in the TWRP FAQ #6.
[HTC 10 Guides, News, & Discussion] JohnCorleone:
OK, I went to the link provided about making the stock recovery backup and it basically said that you need 2 people with the device. Let me re-read the directions because I am on T-Mobile and if I can help by providing the stock T-Mobile recovery before moving forward, I am happy to do so
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Added edit to my post.

Everything you need is already in the OP here. For proper instructions, see here.

EDIT: Actually, I meant, the files you need are in OP of this thread: http://xdaforums.com/htc-10/how-to/stock-stock-collection-recovery-ruu-ota-t3359297/post66375440
[HTC 10 Guides, News, & Discussion] JohnCorleone:
Yeah, it is my understanding that there is no stock recovery backup yet just a full ROM. I was going to try and get it done but looks like I can't

Edit.. No T-Mobile RUU yet so I would have to do option 2
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Yes, that's what everyone is hoping for ;).
[HTC 10 Guides, News, & Discussion] JohnCorleone:
Yeah, that's why I did that post about anyone else around my area who is stock because I like sticking with the T-Mobile firmware as crazy as that sounds...well the radio anyhow. I haven't dropped off of LTE signal since launch day. I don't understand why HTC/T-Mobile is lagging behind on posting the RUU.

On my M7 and M9 when I moved off of the T-Mobile firmware, my signal wasn't near as solid. I am getting a lot more of the better building penetration LTE band than I did on the M9.
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Backing up stock recovery doesn't require changing your firmware. So I don't understand how that at all relates to what we're asking.
[HTC 10 Guides, News, & Discussion] JohnCorleone:
Same here! I don't know what the hold up is for the T-Mobile RUU getting posted. I took advantage of a couple of their offers (like Sling TV for $14 a month instead of $20) and something else but I want to get rooted and TWRP...so many damn ads on stock now!
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
So you can do the backup we're asking for?
[HTC 10 Guides, News, & Discussion] JohnCorleone:
I am waiting for someone to get back to me who I know has the device on T-Mobile so hopefully I can get it soon here and then pass it along to whoever is hosting that thread with all of the others. Otherwise I might get impatient and add a 2nd line, do what needs to be done and return it...the restock fee is high though. I am pretty sure that I know someone who can help though
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Again, you don't need a second line or phone. There's already a backup of the boot.img in the thread I linked. If you read the instructions, that's all you need.
[HTC 10 Guides, News, & Discussion] iHTC:
I have tried formatting in TWRP as per some of the posts in this thread and I still have no signal, sim not recognized issue . Another person in another thread said need to enable encryption. I am bit lost , any help would be appreciated. thanks!
[HTC 10 Guides, News, & Discussion] MPenguin:
Everything worked great on my new HTC 10.

Thanks!
[HTC 10 Guides, News, & Discussion] chalmizzle:
Does the fingerprint reader work after root? HTC One Max broke it and I don't want to root if the same fate applies...
[HTC 10 Guides, News, & Discussion] Pauls57:
Works fine for me.
[HTC 10 Guides, News, & Discussion] hgoldner:
Fingerprint scanner works fine on One Max as long as you relock your bootloader. Unlike the 10, the One Max bootloader can be locked and unlocked repeatedly once the device is S-OFF. I always unlock before flashing, then relock afterwards so the scanner will continue to function.

On the 10, S-OFF and bootloader unlock have nothing to do with the scanner.
[HTC 10 Guides, News, & Discussion] RedNak71:
Hey all. So I have the US Sprint vairant HTC 10. I have successfully unlocked the bootloader, intalled latest TWRP, successfully made my backups but am stuck at the side loading of SU. Im getting adb server out of date. Killing "daemon started successfully, error Closed. Im using minimal adb and fastboot V1 .3 1. Im too tired to keep digging. Ill try again in the morning when Im not going to rush and do something stupid. If you have any advice for me to get past this part i would appreciate it. Thanks.
[HTC 10 Guides, News, & Discussion] yldlj:
Tried flashing zip normally from sdcard?
[HTC 10 Guides, News, & Discussion] jmorales30:
Twrp flash failed

I keep trying to flash twrp in adb but get a failed message every time.

C:\adb>fastboot flash recovery C:\adb\twrp-3.0.2-4-pme.img.md5

< waiting for device >

sending 'recovery' (0 KB)...

OKAY [ 1.005s]

writing 'recovery'...

(bootloader) HOSD CL#738269

(bootloader) start@1

(bootloader) ERR image is not valid

(bootloader) recovery@FAIL

(bootloader) end@Done

FAILED (remote: 255 )

finished. total time: 3.071s

I have tried flashing the stock recovery and reflashing twrp like somebody else stated, but no luck. Also have tried different twrp files.

Any ideas to get twrp to flash properly?
[HTC 10 Guides, News, & Discussion] yldlj:
Just a guess but why is the twrp file. Img.md5?
[HTC 10 Guides, News, & Discussion] jmorales30:
That is what the file is downloading as and it won't let me open the file in 7-zip
[HTC 10 Guides, News, & Discussion] yldlj:
Deleted
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
That's not the twrp image file, that's the md5. You have to download and flash the image file. Check the download page again and find the correct link.
[HTC 10 Guides, News, & Discussion] TomF1979:
What can i do after this Guide with Bootloader unlock, twrp Flash and Root with SuperSu when a new Ota was availaible?

How i can get it easyly?
[HTC 10 Guides, News, & Discussion] emrug:
Download and flash the one from this link https://dl.twrp.me/pme/
[HTC 10 Guides, News, & Discussion] RedNak71:
I did not try normal flashing the SU simply because that's not how jcase listed the procedure. I figured there might be a reason for doing this through sideload. If anyone else can confirm its OK to normal flash thru twrp the SU from an sd card to get root, I'll proceed that way . Then on to s-off.

EDIT. Found a version that worked. I did have to type the command twice tho. Failed the first time, went through the second. I now have root!! Thanks to Jcase and the rootjunkie video.
[HTC 10 Guides, News, & Discussion] nipun1110:
Hello, I have done the s-off, but that encryption key box at the beginning of the recovery is still there. Isn't it supposed to be gone after doing s-off?

Thanks.
[HTC 10 Guides, News, & Discussion] :
Read the whole guide.

After s-off you have to format data (TWRP > Wipe > Format Data > Type Yes - It will wipe all data on your phone)
[HTC 10 Guides, News, & Discussion] benj!:
All worked fine here, thanks for the great guide!
[HTC 10 Guides, News, & Discussion] EtherealRemnant:
Thank you, I just used this to turn my T-Mobile version to the US unlocked variant. I see HTC has made their red warning worse than ever LOL.
[HTC 10 Guides, News, & Discussion] 3's&7's:
During the Sunshine S-OFF process I selected the ("recommended") choice of S-OFF/LOCKED as the warning read we may not be able to re-lock in the future. The recommendation also suggested that choosing S-OFF/LOCKED would not generate any disadvantage vs S-OFF/UNLOCKED.

What is really the difference between S-OFF/LOCKED & UNLOCKED?

Does this choice prevent us from using RUU's, changing MID / CID, etc?

I only used a M9 for about a two months (and I owned a M8 GPE, no drama there) so this side of being a HTC enthusiast is a bit new to me. Thanks!
[HTC 10 Guides, News, & Discussion] 52vincent:
Just before the backup when going into twrp for the first time, I didn't select "read only", I think I just swiped and began the backup process. I finished and I'm rooted, and everything seems to be working properly. What may or may not be wrong by not selecting "read only"? And how can I test it?
[HTC 10 Guides, News, & Discussion] vegetaleb:
It was to backup your ''untouched'' system meaning if you want to flash an official OTA later you restore this non-tempered system to get the OTA, if you didn't backup in Read only then it will see it as tempered so you won't get the OTA, though you can update FW in RUU mode or find an untouched system and recovery made by someone else for your cid.
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Updating firmware in RUU mode won't update /system, so restoring stock system would still be necessary and the OTA would still need to be taken. The only way around that would be to flash a custom ROM that includes the OTA update.
[HTC 10 Guides, News, & Discussion] vegetaleb:
Si if you update the FW in RUU mode + flashing a custom rom that has updated the system partition you are all good?
[HTC 10 Guides, News, & Discussion] vegetaleb:
Thank you Captain :good:
[HTC 10 Guides, News, & Discussion] AlexBridgez:
"UnlockToken Verify Fail!!"

Hi guys,

I've been trying for half a day now to unlock my bootloader. I've managed to get up to flashing the unlock token. Whenever I run the command "fastboot flash unlocktoken Unlock_code.bin" I get this:

This is what it says in download mode:

I've tried with three different codes and on two different PCs. I've got HTC's 2.0.7.30 drivers from HTC Sync Manager and the latest version of Android. I'm close to pulling my hair out. What am I doing wrong?

Update:

Like other people have mentioned in this post, it was a driver issue. I had to generate a new code from the second PC which had proper drivers instead of re-using the code from the first PC.
[HTC 10 Guides, News, & Discussion] Zorachus:
Tomsgt, you are da man :) Thank you so much for these "root for dummies" videos, I'm no programmer whatsoever, but I can watch your videos and follow them which allowed me to Dev unlock my T-Mobile 10, and then rooted it and installed TWRP Recovery, running LeeDrOiD. Haven't done the S-Off will do that later this month.

THANK YOU :) Really, thanks man.

But my biggest question, and always my hardest one with HTC devices I've ROM'd over the years has been this whole CID thing., I have no idea how updating that stuff goes on HTC phones. I have mainly owned Nexus phones and OnePlus phones, and those have been super easy to update new radios, modems, or firmware, just flash a zip in Recovery and your golden.

Do you plan on making a walk through video on how to update to a newer software build ? I am on T-Mobile now, with I think the original 1.21 build, how do I update to 1.53 ?
[HTC 10 Guides, News, & Discussion] cBreezy22:
Justed picked up a Verizon Wireless HTC 10 going from a M8.

Looks like Verizon disabled the oem unlock option in dev options so I havent been able to get a token key.

Is there any way to unlock the bootloader and root the 10 on VZW yet?

Thanks!
[HTC 10 Guides, News, & Discussion] Sh3llSh0ck:
Only via mail in

http://xdaforums.com/showthread.php?t=3374323
[HTC 10 Guides, News, & Discussion] 52vincent:
OK, so in non-geek talk:o what does that mean. I know enough to be dangerous. I am able to get through rooting and flashing roms with no problem because this site is marvelous in getting people like me through it, after spending all that $$$ i would not have attempted it if I didn't think I could do it, and i enjoy tinkering around. Anyway do you think I should go back in and uninstall twrp and reinstall it then choose read only. Am I encrypted or decrypted?
[HTC 10 Guides, News, & Discussion] yldlj:
You cant the system has already been modified. Look in the stock thread there are unmodified system and boot images there with dtock revovery.
[HTC 10 Guides, News, & Discussion] Locklear308:
Just a quick question... Once all of this is done will it be possible to change ROMs with ease or would this have to be done every time?
[HTC 10 Guides, News, & Discussion] Jump1ng:
You only need to S-OFF once.

Not that you technically need to S-OFF to change ROM's. But it does give you some other benefits that IMHO is worth it which is why I S-OFF my phone.
[HTC 10 Guides, News, & Discussion] wschamps42:
What is your fix? I tried removing systemless root, removing systemless xposed, restoring the stock recovery, and yet nothing is working.
[HTC 10 Guides, News, & Discussion] jollywhitefoot:
http://xdaforums.com/htc-10/how-to/guide-how-to-ota-receive-corrupt-message-t3378187
[HTC 10 Guides, News, & Discussion] man_mug:
Weird situation

I have a weird situation and I need your help. My U.S Unlocked lost radio, no signal, unknown IMEI & Baseband. It is rooted and S-OFF. I run RUU, I restored the backup made earlier none of the two worked. What is weird is when I flash Verizon or Sprint radio IMEI, Signal and Baseband shows up normal, but get only 2G signal. When I flash back its radio it dies again. Why is this, what should I do?
[HTC 10 Guides, News, & Discussion] emrug:
Same here

Same here. Been stuck with the Phone for about 2 weeks or so, no solutions at all. I wish there's a way to backup IMEI while with Verizon Radio, then restore it when US Unlocked Radio is flashed back. Just thinking? :confused::confused:
[HTC 10 Guides, News, & Discussion] scothern99:
So let me get this straight..... At no point in time during any of this did it say that you have to pay $25 to S/Off your device. While I understand someone feels the need to get compensated for the time they contributed to the opensource projects, I do feel that spending the past hour downloading all of this, wiping my phone, losing all the settings that I mentally prepared for only to find that I can't do this until I get paid and can budget more money.

Before you flame me, which I'm sure someone will get butt hurt, realize that I'm only saying a heads up would have been nice.
[HTC 10 Guides, News, & Discussion] vegetaleb:
Ok so after we complete the tutorial, we have the phone unlocked, TWRP working and able to flash roms...though there are things I don't understand: systemless = encryption disabled ?

Is that true that choosing encryption off will wipe internal data?

Sorry but this new HTC security made me look very noob :o
[HTC 10 Guides, News, & Discussion] Qevinator:
No, systemless root means you'll have root acces without modifying your system partition (so you'll still be able to take OTA's the official way). And afaik you have to first wipe data in order to get decrypted. If you do that you will loose radio, but there's a fix for that now: http://xdaforums.com/htc-10/development/teaser-decrypted-device-mobile-network-t3394437
[HTC 10 Guides, News, & Discussion] vegetaleb:
Thanks

So better keep encrypted, unless there are any advantages?
[HTC 10 Guides, News, & Discussion] Qevinator:
Not that I'm aware off. Technically it might affect the performance, but I'm not experiencing that at all
[HTC 10 Guides, News, & Discussion] vegetaleb:
That's cool

I am gonna backup stuff as unlocking will wipe all internal data, the tutorial videos make things really easy, can't wait to use V4A
[HTC 10 Guides, News, & Discussion] tornado6:
Sorry if this has been asked before, I have complete the tutorial up until root and now thinking should i proceed to S-OFF.

With the release of Sunshine 3.3.11, do i still need to format my data partition?

Also, did anyone encounter this?

- ES Explorer doesnt seem to be able to access root permission

- Busybox still show not installed even after the successful installation message box
[HTC 10 Guides, News, & Discussion] aptorrent:
Full stock US unlocked here. Would the current S-OFF work on the latest OTA - 1.80.617.1 ? I've been holding off on taking the OTA in case HTC 'patches' the current S-OFF method.

Thanks!
[HTC 10 Guides, News, & Discussion] sorenjul:
Is there a specific reason you need to install/flash twrp?

Would it work just to adb boot <path to twrp.img> instead of adb flash recovery <path to twrp.img>

\Sorenjul
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
First off, adb won't boot anything.

Secondly, if fastboot boot worked, it would obviously be preferred, but it doesn't, which is why you have to flash the recovery.

This is explained in the FAQ of the TWRP thread, btw.
[HTC 10 Guides, News, & Discussion] sorenjul:
Sorry for swapping them, but you got my idea ;)

I started looking through this thread and didn't come across anyone mentioning it and din't see it in the twrp thread.

\Sorenjul
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Then you didn't look very well ;).

FAQ #6
[HTC 10 Guides, News, & Discussion] GOLDEN ZERO:
rooting HTC 10 means to lose the encryption data and you can't get it back again even if you're s-off and go stock , is that right ?

whats the benefit of the encryption data ?

thank you
[HTC 10 Guides, News, & Discussion] jollywhitefoot:
That's incorrect. Rooting can and should retain encryption. Just use [MENTION=1362360]topjo[/MENTION]nwu's supersu installer in the dev section and you will have root with encrypted data.
[HTC 10 Guides, News, & Discussion] :
Worked perfectly for me on the T-Mobile version, just had to flash the SuperSU in the OP instead of sideload. Everything works perfectly and still have Android Pay working.

Thanks for the guide!
[HTC 10 Guides, News, & Discussion] GOLDEN ZERO:
you mean this one http://xdaforums.com/htc-10/development/root-supersu-2-71-forceencrypt-verity-t3373258

do I need to format the encryption data in TWRP after s-off ?

also will following the steps in this thread work with the latest update from HTC 1.80.xxx.x

thanks
[HTC 10 Guides, News, & Discussion] jollywhitefoot:
Yes. That's the superSU zip.

I'm not sure about formatting data after s-off. S-Off wipes your internal storage though, so formatting shouldn't be an issue. You will know you need to format data if you reboot and don't have mobile signal. Or maybe someone that remembers better than I do can chime in.

Firmware version should not affect these steps.
[HTC 10 Guides, News, & Discussion] GOLDEN ZERO:
Thank you ,

I always root and s-off my phones "m7","m8"&"m9"

it's just different now with the HTC10 andI got kinda lost reading many threads now .

here's the video from " Rootjunky " ( Thanks to him for making those videos ) shows after s-off the phone asks for a password and need to format the encryption data in TWRP not just a full format .

another thing, Should I do whats in this thread

http://xdaforums.com/htc-10/development/teaser-decrypted-device-mobile-network-t3394437

or i just follow the steps here .

thank you again
[HTC 10 Guides, News, & Discussion] jollywhitefoot:
This thread is for S-off and rooting. The thread you linked to is to allow you to unencrypt your data and keep radio signal. I realize this is confusing...

Out of the box, the HTC 10 requires that data be encrypted. If data is not encrypted, you lose mobile data (it's like you don't even have a sim installed)

I believe the process to s-off breaks data encryption which is why, after you s-off, you have to format data to re-establish encryption on your data partition to restore mobile data.

The thread you linked to is a hack to allows an HTC 10 to have unencrypted data but still maintain mobile data. You can probably ignore that thread unless there's some reason you need your data to be unencrypted.

Hope this helps. Good luck.