yashsingh1/xdaforums huggingface dataset:
[HTC 10 Guides, News, & Discussion] santod040:
Their temp root that enables it to s-off the device, isn't working on 1.9x.

However, those that can use HTCdev, to unlock and root first, may still be able to S-off after that...

You guys are confusing what each process does and how. :)
[HTC 10 Guides, News, & Discussion] Kisakuku:
Temproot (and not having to unlock the bootloader) doesn't work on 1.9x, but SunShine's S-OFF procedure itself works fine after you unlock the bootloader.

I r 100% not confused.
[HTC 10 Guides, News, & Discussion] razor54:
That's what I though, alright then
[HTC 10 Guides, News, & Discussion] zukers:
I'm after S-off/locked procedure, how can I get rid of red warning message "this build is for......" ??
[HTC 10 Guides, News, & Discussion] Kisakuku:
Read the modded aboot thread and make sure you understand all the instructions and warnings.
[HTC 10 Guides, News, & Discussion] zukers:
I din't know that s-off/locked make this red warning, I thought that is only when you install modified kernel.

Is any other way to remove this if I would return to stock, restore system image, boot?
[HTC 10 Guides, News, & Discussion] Kisakuku:
Are you asking if there is a way to remove the red text warning without modifying the aboot?
[HTC 10 Guides, News, & Discussion] zukers:
I would like to know how to remove this warning when return to stock would be needed, because I have branded phone and there isn't anywhere RUU for my phone, I have only system image & boot backup.
[HTC 10 Guides, News, & Discussion] santod040:
Disregard...
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
smh [MENTION=1331268]santod040[/MENTION] u didn't read what he said ;)
[HTC 10 Guides, News, & Discussion] santod040:
Guess not, no more multi tasking for me... Haha
[HTC 10 Guides, News, & Discussion] razor54:
Well I have rooted, s-offed and have installed a custom ROM, now if I want to return 100% stock I need to download the RUU(can I downgrade?) and and run "fastboot oem writesecureflag 3" in download mode, is that it right?
[HTC 10 Guides, News, & Discussion] matekaneve:
Yes, with s-off you can use any RUU to upgrade or downgrade, just need to make sure cid and mid are the correct ones according to the RUU.
[HTC 10 Guides, News, & Discussion] razor54:
Thank you
[HTC 10 Guides, News, & Discussion] gigawatt:
Hi, I am on the verizon m10 and s-off using sunshine of course. Problem is, now, no matter if I flash back to verizon rom, or any rom and radio combination, no sim is detected. I have tried going in to the secret radio menu and turning radio on and off, so should I try to restore from someones backup, or what would you guys suggest. I tried several roms, from t-mobile, unlocked, and verizon with no luck. Thanks, and if you have a link to a backup that would work, and the correct twrp I would appreciate it if that is the suggested step. Thanks
[HTC 10 Guides, News, & Discussion] Khixar27:
alright so im completely on stock rom rooted with su s-on and twrp custom recovery im on 1.80 base/firmware whatever

i want to officially update to latest firmware from htc how do i return to stock i have a non rooted backup of older firmware

and if i root on 1.95 and then how will i update to the nougat update in the future i cant s-off coz i cant pay for sunshine (3rdworldcountryproblem)
[HTC 10 Guides, News, & Discussion] yldlj:
Its all there in OP

http://xdaforums.com/htc-10/how-to/stock-stock-collection-recovery-ruu-ota-t3359297/page105
[HTC 10 Guides, News, & Discussion] pierceheart:
Similar question from me, however, it's an unlocked phone, going to be on AT&T.

BLUF: is it possible to flash twrp, supersu, and then root, without a SIM card, _and_ have the system work when I get my SIM from AT&T?

If not, I'll wait until I get my new SIM.

I guess I've got the same question as to the need for an SD card in order to do all of that, as well. Bootloader is already unlocked.
[HTC 10 Guides, News, & Discussion] CareRaja:
Hi, I'm from Chile and I have an HTC 10, which came from US, but I'm not sure, though. How can I now which version is it? If it's unlocked or not? Anyways, regardless of the phone's version, can I use the 3 videos posted on the 1st page of this thread, without brick risk? That's what I'm afraid of, that I might brick my phone. I have only rooted the Samsung Galaxy S1, thousand years ago. This is all kinda new to me.

Thanks for your help.

(Sorry for my English, as it's not my native language).
[HTC 10 Guides, News, & Discussion] Ganuke2kx:
I often see it stated in xda threads to post questions in the threads that have the topic about the app, mod, utility, etc. we have the question about. So with that in mind last night I posted a question in the latest stable SuperSU thread. I then received a reply from [MENTION=4403217]Pkt_Lnt[/MENTION] that was not a " How to root " thread and that my question instead belongs in a HTC forum thread.

Looking around this HTC forum threads I hope then is the best one for my questions. The questions I have are

1a) Can I flash via TWRP the latest stable release of SuperSU onto my HTC 10 Without risk of loosing radio ( cell / data) signal ?

1b) If it is safe to do so...... after I flash the latest stable release of SuperSU...... Do I then need to do anything else ( such as create and run a script or modify a certain file ) to keep the force encrypt and not loose radio signal ?

2a) ...... Or must I still flash via TWRP the SuperSU 2.74-2 With ForceEncrypt Set to Default by topjohnwu ?

2b) If the answer to ' 2a) is " Yes " ...... Then after flashing via TWRP the SuperSU 2.74-2 With ForceEncrypt Set to Default by topjohnwu ...... Can I then update SuperSU through the Google Play Store to the latest version ( Pro that I purchased some time ago on my previous smartphone) without risk of loosing radio signal on my HTC 10 ? ...... Or do I need to stay permanently on the SuperSU 2.74-2 With ForceEncrypt Set to Default by topjohnwu version and no higher ?

Reading through this thread I did see a few weeks ago similar to this question being asked with one response that seemed to be that that latest stable release of SuperSU is safe to flash without loosing radio ( cell / data) signal...... But I just want to be absolutely sure before proceeding with any action.

I hope this thread was the proper one to ask these questions...... And eagerly look forward to any replies.

Ganuke
[HTC 10 Guides, News, & Discussion] s2kaka:
Hi all,

I have a HTC 10 of AU KDDI in japan.

I try to unlock bootloader but i had this error :

"Error Code: 170.

Error Reason: CID Not Allowed."

I try to SuperCID but it need to S-off. But my phone was not unlock and root.

What i need to do now? before i use LG so dont have to do thing like HTC . so please help me with my phone.

Thanks!
[HTC 10 Guides, News, & Discussion] nitramus:
Just flash the latest stable supersu and you will be fine. That is what I did about 3-4 weeks ago and everything was fine. When you follow the root guide/videos you will notoce that certain details have changed like wording or versions but you will still be fine. Having quite a bit of experience my self I was still very nervous but there was no problem.

That part of loosing radio was fixed with the stable version a few versions ago.

The first time you enter twrp set to read only and backup everything that way you have a complete stock phone to come back to if you have any problem.
[HTC 10 Guides, News, & Discussion] Ganuke2kx:
I got anxious to get SuperSU on my HTC 10 and went with first flashing via TWRP the SuperSU 2.74-2 With ForceEncrypt Set to Default by topjohnwu...... Then updated SuperSU to the latest version in the Google Play Store...... Rebooted and loaded up SuperSU at which point it prompted me to update binaries so I ' clicked ' ok ' and got a " success " message...... Rebooted once again and went back to the Google Play Store to install the Pro version ( previously purchased years ago while using a different phone) of SuperSU. All along it never appeared that I lost radio ( cell / data) signal.

It would have been a quicker process had I got confirmation that the latest stable SuperSU was now safe from loosing radio signal. Reading / searching through various threads gave me conflicting info it seemed.

And...... Yep...... After flashing TWRP I definitely did a system image, data, and boot backup of my stock HTC 10 right away.

Thanks much for your reply. At least now I know should I flash by backup or an ruu update I can next time just flash the latest stable SuperSU release and be good to go. I asked some questions in other xda threads over the past days which remain unanswered ( so I acted on my own with things there as well. ) I thought my post here would be another unanswered.

Unfortunately it seems a question for assistance gets looked at with rolled eyes or completely ignored altogether. Great to see there are still people here such as yourself willing to take the time and effort to respond with a direct answer of what you know.

Ganuke
[HTC 10 Guides, News, & Discussion] bigcid10:
hello,

I want to just flash the firmware file from the latest ota for US unlocked(1.96.617.1)

Is the process :

pull the firmware.zip out of ota file

remove recovery.zip

rename zip ?

flash from ADB?

all this searching has my eyes blurry

can someone assist,Thank you

htc 10,s-off,us unlocked

viper 3.10
[HTC 10 Guides, News, & Discussion] petalyaa:
I have one question regarding the OEM Unlock option in the developer mode. Do I need to leave it ON even after I unlock the bootloader or I can safely turn off to flash custom rom/etc?
[HTC 10 Guides, News, & Discussion] beaups:
Won't have any affect on how the device runs, but it's recommended to leave it on in case you screw something up and need to unlock again via traditional methods.
[HTC 10 Guides, News, & Discussion] pupochek:
Well, FRP is another thing to consider. If you don't want to deal with it, keep OEM unlock checked...
[HTC 10 Guides, News, & Discussion] ordeniz:
What to do to be s-on again?
[HTC 10 Guides, News, & Discussion] spjetrovic:
hello wanted to buy the unlocked HTC10, but im on VZW and the reason is that when traveling would like to use it on other networks. before i pull the trigger on the red HTC 10 with $150 Off, would like to make sure this method works with out issue!
[HTC 10 Guides, News, & Discussion] beaups:
This method still works and the verizon and unlocked models both work fine on other networks when traveling (verizon devices ship sim-unlocked).

--beaups
[HTC 10 Guides, News, & Discussion] spjetrovic:
thanks bud for the quick response, the red isn't available on the carrier models only unlocked.
[HTC 10 Guides, News, & Discussion] thznutz87:
why was this skipped over? no answers? i have the same issue.

i did

1. unlocked

2.rooted

3.few different roms

4. s-off w/ sunshine

5. encryption issue

6. format data

7. restored stock, had 3g/lte

8. couple reboots still had signal

9. upgraded firmware, -radio and recovery

10. no sim shown

11. ruu to stock still no sim and constant reboot about 5 min apart.

please help me
[HTC 10 Guides, News, & Discussion] 0kk0:
Hi guys! Im Just a proudly owner of a htc 10.. comming from m8... Amazing phone.. Love htc

I was wondering if i wanna s-off... Im on os 1.80.401.1 and bootload still locked. is it possible to just use sunshine > temproot > s-off and will bootloader after that be locked or unlocker and if s off and bootloader still lockrd, will that be a problem or what are the consequenties?

Thnx a lot!!
[HTC 10 Guides, News, & Discussion] beaups:
Yes you can use sunshine without unlocking first on your firmware version. We recommend choosing the locked/s-off option in sunshine (it won't wipe data as a bonus). You can choose unlocked/s-off but really there's no real world difference.
[HTC 10 Guides, News, & Discussion] 0kk0:
Thanks beaups!! good to know. Will use it later today to s-off my new htc 10.

Keep up good work!!
[HTC 10 Guides, News, & Discussion] thznutz87:
I couldn't get temp root to work
[HTC 10 Guides, News, & Discussion] syntropic:
Enjoyed reading this thread..

Thanks guys for your help answering questions (captain, jcase, beaups).

I just received the red HTC 10 (SIM unlocked) today from HTC. It looks quite nice, but after reading this thread I am hoping that rooting and Sunshine will still work. The phone shipped with software build 1.91.617 (and I just downloaded an OTA...which I guess I won't be running).

I really was hoping to use Sunshine for temproot and to unlock the bootloader. Well, I'll try getting a token from HTCDev, and be back here if I run into anything not already covered in this thread. Thanks again.
[HTC 10 Guides, News, & Discussion] 0kk0:
Just like my HTC One M8 almost 2 years ago, i'm now a proudly owner off a HTC 10 S-OFFED :D

Thanks beaups, jcase and the rest! Awesome!
[HTC 10 Guides, News, & Discussion] ruizit0:
S-OFF or not S-OFF on this device, anyone can tell me the PROS and CONS of the sunshine method ? Coming from HOX

Thanks
[HTC 10 Guides, News, & Discussion] d_Schizzo:
Hi,

quick question about that:

I i would choose locked/s-off how can i flash twrp and root the device? Still with fastboot or will this not be possible?

Sorry, for noob question. Got the htc10 few days ago and its my first htc device.

Thanks in advance

Regards,

Schizzo
[HTC 10 Guides, News, & Discussion] beaups:
When it's s off, flashing is the same...use fastboot and download or bootloader mode.
[HTC 10 Guides, News, & Discussion] d_Schizzo:
Thanks for your reply.

But i meant that, if bootloader is locked how can i flash twrp and root? If these things are somehow possible with s-off and locked bootloader i would choose this option.
[HTC 10 Guides, News, & Discussion] beaups:
If you are s-off, you can flash things in bootloader/download regardless if you are locked or unlocked. That's why we recommend using the S-OFF/LOCKED option.

--beaups
[HTC 10 Guides, News, & Discussion] d_Schizzo:
Oh, thats great to hear!

So i need to go s-off/locked with sunshine

flash twrp with fastboot

flash superSU

and flash then a custom ROM?!
[HTC 10 Guides, News, & Discussion] beaups:
Yep. If you are flashing a custom ROM you don't need to flash supersu though. Just twrp and your rom.
[HTC 10 Guides, News, & Discussion] d_Schizzo:
Wow, seems a lot easier now!;)

One last question: Before flashing ROM, i need to wipe System/Data/Cache as in every other device?

Many many Thanks for your help!

Regards,

Schizzo
[HTC 10 Guides, News, & Discussion] beaups:
you should wipe data, no need to wipe anything else.

--beaups
[HTC 10 Guides, News, & Discussion] syntropic:
Shouldn't this be qualified by saying that if your software build is higher than 1.8xx.xxx, then Sunshine will not work to attain temproot so S-off is not possible...And therefore the only way to get S-off is to use HTCDev to get the token and unlock the bootloader first?

If sunshine has been patched, I am happy to be mistaken.

I've haven't had time to unlock the bootloader using HTCDev, but 3 days ago I tried running Sunshine with the S-off/locked setting and it fails every time. I received the phone earlier last week directly from HTC (it's the sim unlocked variant) and it's running software build 1.96.617.2. I have had absolutely no luck with sunshine much to my chagrin (though I understand it will work after I get the bootloader unlocked).

Edit: I mention this because as of October 1, HTC has offered discounts and/or free accessories (and I expect they will continue to offer different incentives) as well as some additional body finishes. For these reasons, plus possibly the Samsung battery issue, I believe that those ordering directly from HTC (especially customers of AT&T and T-Mobile in the US which don't carry the 10) will increase somewhat. And HTC is shipping all HTC 10 with software builds higher than 1.8x.xxx.
[HTC 10 Guides, News, & Discussion] d.cortez:
i'm in that group - got a HTC 10 to replace my Note 7 - and i couldn't use SunShine. once i achieved root, i used SunShine to gain s-off without issue, however, i lost my wireless data capabilities (as described by others). i recovered wireless data after flashing the latest RUU downloaded from HTC. everything is all good now.
[HTC 10 Guides, News, & Discussion] syntropic:
Good to hear. Which software build were you on originally? I ask because I am wondering if the loss of wireless was due to some oversight on your part (while rooting), the software you originally started with, or some other identifiable reason.

Either way, I'll back up everything and start looking for an RUU first!
[HTC 10 Guides, News, & Discussion] d.cortez:
can't remember the version i was on prior to flashing an RUU today. it's possible i could have overlooked something, however, i had 2 HTC 10's, rooted both the same way, but only s-off'd one (mine). the other HTC 10 is working fine. just happy that i'm up and running again. :)
[HTC 10 Guides, News, & Discussion] beaups:
The loss of signal is due to flashing a version of SuperSU that does not set the forceencrypt flag. This was fixed in recent builds of supersu. It's also described in the OP.
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
An option was added to SuperSU to leave the forceencrypt flag intact, but it still has to be set manually by using

echo KEEPFORCEENCRYPT=true>>/data/.supersu

in TWRP Terminal or over adb shell prior to flashing the zip.

[MENTION=2376614]jcase[/MENTION]

You might want to add that part to the OP.
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Based on what you stated, your device is encrypted, so there's nothing you need to do.
[HTC 10 Guides, News, & Discussion] jsaxon2:
Go to settings / storage / phone storage and scroll to the bottom. It will show you there.
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
That means your data is encrypted. TWRP decrypts it so that you can perform operations to /data while in recovery, just like Android does when you boot the device. If you didn't see that message in TWRP, it would mean your data wasn't encrypted (because then TWRP wouldn't have to decrypt anything).
[HTC 10 Guides, News, & Discussion] d.cortez:
i used the SuperSU version from the OP for both HTC 10's i rooted. does that have the fix you reference above? nonetheless, [MENTION=711482]beaups[/MENTION] thanks for replying to my post.
[HTC 10 Guides, News, & Discussion] syntropic:
Hey.. Can I use Sunshine on a software build greater than 1.8.xx.xxx after I've unlocked the bootloader (but before installing TWRP or Supersu? I don't want to lose signal or encryption or anything else by flashing either of thoseâ??I expect that it would actually be safer to flash these items after I attain S-off.

Also to confirm (again), when I do flash SuperSu, I should just use the latest beta version from the thread (currently, SR1-SuperSU-v2.78-SR1-20160915123031), correct? But I note from above that I have to enter

echo KEEPFORCEENCRYPT=true>>/data/.supersu

first And to do this, all that is needed is to enter this as written into the terminal within TWRP?

Thanks a lot...!!!

EDIT: OR might it be just easier to use the last SuperSU which had its flashing script modified to keep the encryption? From looking around, it seems that "BETA-SuperSU-v2.74-2-forceencrypt.zip" was the last version modified. I would use the latest, but having to set the KEEPFORCEENCRYPT flag is a bit confusing. I have used the terminal in TWRP (or ClockWorkMod before that) probably 3 times and am not really clear how such a shell would workâ??how does it function as a command-line interpreter when the OS isn't even running??? Anyway... unless someone wants to please go into a little more detail regarding setting this flag, I think I may just use the older SuperSU. However, I would greatly appreciated any advice or guidance.

Note: I am following the videos made back in May by rootjunky because the I cannot use a guide which recommends using Sunshine to obtain temproot (in the case of pre-1.9xx.xxx software builds). One thing that is also confusing is whether I have to still format or wipe data in TWRP after backing up everything...or was that just a work-around for a specific problem?

Edit#2: After following those old videos, I seem to have had partial success. I managed to get root, but unfortunately lost WiFi Calling (that it is the only casualty I have spotted so far). I don't know how to deal with this.... I know people lost their radios because they lost encryption...and I think someone also lost all wifiâ??but I don't recall anyone losing just wifi calling.

I am going to ignore this for now and go forward with Sunshine and S-off. I will tackle my loss of wifi calling after I get S-off. But if anyone has any advice or guidance, I am all ears. Thank you very much!

EDIT#3: OK... Success. I obtained S-off and Wi-Fi calling was working again. The only problem of course was that after formatting data after S-off, I didn't have root any longer, so I reflashed the binary but this time I used the latest SuperSU (the version mentioned at the top of this thread). Root returned, but now Wi-Fi calling is broken again... although this might be fixed with just a reboot. Will confirm.
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
That's not what Magisk is for.

Look into suhide.
[HTC 10 Guides, News, & Discussion] Rolo42:
This would mean, then, that leaving TWRP on a device leaves data wide open, rendering encryption and screenlocking useless should the phone be lost to anyone who knows about rebooting to bootloader/recovery, correct?

If this is the case, then, would flashing stock recovery shut and lock that door?

(love the C-1701 avatar BTW)
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Just add a password/PIN on boot in Android and TWRP will require the same password to be entered when booting into recovery.
[HTC 10 Guides, News, & Discussion] biker57:
There are many sources about how to root the HTC 10, but many of them date back to May and things have changed since then. I looked for several days for something current that I'd feel comfortable using, but there isn't really anything concrete I can find. Can someone pass along the correct steps after unlocking the bootloader(done) via htc dev. I know there is Sunshine (what I plan on using) and they have s-off and s-off/locked. I want to do the right things when it comes to the encryption and radios issues I see. I've also seen threads saying that the current su version has problems and they've done better with an older version. I didn't have these possible mind fields when I rooted my older HTC's.

Thanks for your help....I appreciate it!
[HTC 10 Guides, News, & Discussion] Scutariu:
Where can you find that option? I've been looking to enable it, but I can't find it, I do have a pin on my device

Htc 10 s-off ice rom cleanslate kernel
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
It's only available if your device is encrypted, and is an option when you set (or re-set) your PIN, Password or Pattern.
[HTC 10 Guides, News, & Discussion] Scutariu:
But, having a custom rom/kernel, I can't encrypt, can't I?
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
That sounds like a question for your ROM dev. I'm sure your ROM would work if you remained encrypted. But you may have to go back to stock to encrypt.
[HTC 10 Guides, News, & Discussion] finger11:
Just got a new HTC 10, used htcdev.com to unlock, but sunshine couldn't achieve temproot. It's a unlocked version I plan on using on VZN. Do I just follow the old instructions for putting on TWRP/SuperSU then use sunshine?
[HTC 10 Guides, News, & Discussion] beaups:
Yep.

--beaups
[HTC 10 Guides, News, & Discussion] finger11:
Yea, I went ahead and went through with the instructions. At bootup after S-off, it asked for an encryption key (code) and whatever I put in said "correct, but data is corrupt. Need to factory reset." I ended up just flashing Venom ROM and it looks to be good. Will be cutting my MicroSIM to be a Nano and attempting to connect to the network by the end of the week.
[HTC 10 Guides, News, & Discussion] tailor999:
Please help i have this message... i cannot boot phone passed this, i haave lost recovery and cannot do fastboot as oem is locked. How do i proceed?