yashsingh1/xdaforums huggingface dataset:
[HTC 10 Guides, News, & Discussion] dd66:
Hi again,

I just successfuly s-offed my HTC10 but on every reboot I have this very annoying red message:

"This build is for development purposes only do not distribute outside of HTC without HTC's permission ..."

Is there's a way to get rid of this?

Thanks!
[HTC 10 Guides, News, & Discussion] Tiffany84:
I'm s-off, so it actually shows locked already because that's what I choose when running sunshine. So I just need to get S-On.
[HTC 10 Guides, News, & Discussion] jollywhitefoot:
Three steps and each one is easier than the one before it.

1) know what you're doing and why you want s-on

2) return device to 100% stock, preferably by ruu

3) "fastboot oem writesecureflag 3" with device in download mode
[HTC 10 Guides, News, & Discussion] Tiffany84:
Great. Thank you. By the way, The reason for S-On is I'm trading it in.
[HTC 10 Guides, News, & Discussion] KOLIOSIS:
Same here,currently S-Off/Unlocked.Trading-in next Friday.

I've turned in devices w/the Knox 0x1 tripped on Samsung devices & T-Mobile hasn't said a thing,as recent as w/the Note5.

I doubt if they look for S-On/S-Off/etc...... but,I want to turn it in just as it was the day I got it.

So,I'm wondering what the exact steps are for going from S-Off/Unlocked to S-On Locked.

Do I re-run Sunshine & select S-Off/Locked,then,RUU,then the "fastboot oem writesecureflag 3" command ?
[HTC 10 Guides, News, & Discussion] jollywhitefoot:
I believe that's what you do. There's a thread in this section that jcase started that tells you how. Look on page two or three.
[HTC 10 Guides, News, & Discussion] Kisakuku:
Sunshine won't do anything if you're already S-OFF, so the sequence is: flash RUU, set S-ON, run Sunshine to set S-OFF / LOCKED, flash RUU again, set S-ON again. Be aware that there's still a possibility of hard-bricking when going S-ON even after RUU'ing and you're doing it twice in this scenario.
[HTC 10 Guides, News, & Discussion] KOLIOSIS:
Not worth taking the chance, especially w/T-Mobile, returns are easy as it is.

Just for giggles, S-On is achieved w/a fastboot command?
[HTC 10 Guides, News, & Discussion] c19932:
hey guys, I am confused becuse I have the latest 2.76 superSU included in LeeDroid, I still have no data. I have cellular signal, but no data.

the steps I did:

1) went into TWRP. Formatted using the "typing yes" method.

2) Installed LeeDroid. Choose the unecnrypted option during installation.

3) Room booted. No data. Only cellular signal.

Any help is appreciated. Thank you.
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Shouldn't you be asking this in the LeeDroid thread? This thread isn't about being decrypted and having data. That's a ROM feature that should be built in.
[HTC 10 Guides, News, & Discussion] sorenjul:
Hi

Based on the new guide for rooting is it correct that unlocking the phone with htcdev you get s-on and with sunshine you get s-off.

Does anyone have a more detailed description of the new method?

\Sorenjul
[HTC 10 Guides, News, & Discussion] larnoy:
Could we turn S-off without sunshine please

I need to S-OFF but I can't pay online so could someone tell me another way to S-OFF without sunshine ?

please help me !!!!
[HTC 10 Guides, News, & Discussion] :
Sunshine is the only way to get s-off.
[HTC 10 Guides, News, & Discussion] aussiebum:
No radio after flashing twrp - s-off, locked

Need some help here. Picked up a HTC 10 and was planning to run it with just stock rom + rooted + xposed.

For some reason, flashing twrp-3.0.2-6-pme.img causes my HTC 10 to lose signal, ie. I can't make any calls - not even Emergency. Radio is turns off and I can't turn it back on. If I try to make a Emergency call the phone pops up a "Turning On Radio" notification that never completes (ie. stays spinning).

IMEI is NOT missing or blank. Problem is present with or without SIM card.

Notes:

* Phone was initially bootloader unlocked via htcdev.com

* Bought Sunshine and set phone to S-OFF, Locked.

* Converted HTC__039 CID to HTC__001 CID so I could flash WWE stock roms

* Flashed HTC__001 1.80.401.1 stock RUU

* Flashed 1.80.401.3-1.80.401.1 and 1.90.401.5-1.80.401.3 OTA updates

* Rebooted into bootloader mode, flashed twrp using "fastboot flash recovery twrp.img" and rebooted once into twrp recovery to confirm it worked, then reboot system

I get no mobile signal after that. Things I've tried:

* I can't toggle Airplane mode off - it gets greyed out and stuck.

* I can't Turn On Radio using the *#*#4636#*#* menu. Pressed button and waited but does nothing

* Format Data in TWRP does *NOT* fixed the problem - still have no radio after format

* Re-flashing stock recovery doesn't restore mobile signal immediately

* Using the factory reset in the stock recovery doesn't fix problem either.

The only thing that seems to get me mobile signal back is if I completely revert to stock by flashing the firmware.zip from the 1.90.401.5-1.80.401.3 OTA, power off the phone and then leaving it for several hours before switching it back on.

I must be tripping some kind of verity check but I haven't been able to find any information on anyone experiencing the same issue trawling HTC 10 xda threads.

I have contemplated trying out a custom rom like Viper or LeeDroid and running with Data decrypted to see if it "fixes" the issue but would prefer to stay on stock if possible.

Any help would be appreciated. Thanks!

If I need to upload logs let me know which ones are required.
[HTC 10 Guides, News, & Discussion] yldlj:
Are you sure you format data and didnt just wipe? Wipe/format/ type yes? Flash the 1.90.401 RUU and boot to system completly stock see if you can get it working. Could be a sim card issue aswell.
[HTC 10 Guides, News, & Discussion] aussiebum:
Yes, I explicitly did Format Data -> Yes in TWRP. I've also tried Factory Reset in stock recovery.

Definitely not SIM card issue because I get no signal with or without SIM card... plus as I pointed out if I restore to "stock" by flashing the 1.90.405 OTA firmware.zip and leave the phone powered off for a few hours radio magically starts working and I get emergency call signal.

Haven't tried the 1.90.401 RUU. Will see if there are any working D/L links.
[HTC 10 Guides, News, & Discussion] yldlj:
http://xdaforums.com/htc-10/how-to/htc-10-stock-rom-ruu-t3378240
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Flashing TWRP can't break radio. Recovery is completely separate from Android. If you flashed a root zip, though, it would've patched forced encryption on your device, in which case you'd need to find the thread about how to run decrypted and keep working mobile network. Otherwise you can use the "KEEPFORCEENCRYPT" flag when flashing SuperSU to retain encryption and thus mobile data.
[HTC 10 Guides, News, & Discussion] aussiebum:
From reading multiple reads (including this one) that's what I thought too. The twrp-3.0.2-6-pme.img I flashed the night before is downloaded from https://twrp.me/devices/htc10.html

The weirdest thing is last night after I flashed twrp again, I did another Format Data again, rebooted and confirmed no signal then powered it off and left it for the night. Next morning radio was working??? :confused:

So just a few minutes ago I flashed topjohnwu's BETA-SuperSU-v2.74-2-forceencrypt.zip and rebooted. Sure enough it's back to no signal again - radio is off and I can't make any emergency calls (No SIM in the phone atm until I figure out what's going on).

I haven't tried flashing the 1.90.401.5 stock RUU I downloaded last night yet.

My current plan is to simply leave the phone switched off for several hours and see if that magically clears whatever is blocking the radio from starting up...
[HTC 10 Guides, News, & Discussion] yldlj:
I would flash the RUU if radio doesn't work on stock there is another issue going on.
[HTC 10 Guides, News, & Discussion] aussiebum:
Update: after flashing supersu with forceencrypt=true (and losing signal) leaving powered off for a few hours *does* restore radio. :confused:

So doesn't seem like an issue with twrp or supersu.

Maybe it's a hardware fault (that only seems to trigger when I flash something???). Will get it RMA'ed if I notice further radio problems.

Thanks everyone for the suggestions earlier!
[HTC 10 Guides, News, & Discussion] oreitan13:
do i still need to do the "Wipe/format/" in TWRP with the new guide?
[HTC 10 Guides, News, & Discussion] tron13:
I have try with sunshine more than 5 times to get temproot but always fail.

is there any other option to install the TWRP?
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
You don't need S-OFF to flash TWRP, just an unlocked bootloader. The latest 1.90. update broke the temproot of SunShine, unless they released a further patch - didn't look up the SunShije thread jet. So at the moment and if updated already you got to use HTCDev unlock at the moment.
[HTC 10 Guides, News, & Discussion] tron13:
thanks for your reply, ive just unlocked my device with htcdev and now cant flash the twrp i get this error message: FAILED (remote: cannot flash this partition in s-on state)
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
Are you flashing in download or bootloader mode!? You got to flash it in download mode if S-ON, as far as I remember.
[HTC 10 Guides, News, & Discussion] willpeters:
My radio turned itself off yesterday, not sure why. I fixed it yesterday by flashing the latest no-wipe firmware found @ http://xdaforums.com/htc-10/how-to/2016-05-27-fastboot-flashing-firmware-t3387520

Then today I had the great idea to upgrade to the latest stock image to match the firmware I installed yesterday, at some point between doing that and flashing the latest super-su my radio turned off and refused to come on again.

Waiting with my phone off for a couple hours didn't work

Just ran

fastboot flash zip PMEWL_1.91.617.1_NoWipe_TWRP3026.zip

twice again and it fixes the radio.

For ****s and giggles I reflashed SuperSU v2.76 and it killed my radio again. But the firmware flash fixed it again (even though it's the same firmware). Root still works after.

My HTC 10 is S-OFF/Unlocked. Originally was cid: T-MOB010 which I changed to cid: BS_US001, running stock (generic US) rom & firmware 1.91.617.1

EDIT: It seems if I reboot after doing this, I lose the radio again. Even without rooting...

I restored a clean stock image & applied the OTA update then flashed the firmware. Radio works. Rebooted and Radio stopped working.

Edit again: I gave up and just used the RUU to flash it, haven't had the problem since then.
[HTC 10 Guides, News, & Discussion] TheUnlockr:
Video on How to Root/S-Off the HTC 10

Hey guys, I did another video tutorial, this time for the rooting of the HTC 10 and getting S-OFF. Linking to it below so it can hopefully help people trying to do this. Thanks to [MENTION=2376614]jcase[/MENTION] for helping me answer some questions while doing this and hope it helps some people!

https://theunlockr.com/2016/08/14/root-htc-10/
[HTC 10 Guides, News, & Discussion] toontoonizer:
so if you have already unlocked your bootloader through HTCdev - which option do you select in sunshine to gain s-off?

There are two options in sunshine - one will wipe data, and the other does not but says something about a locked bootloader
[HTC 10 Guides, News, & Discussion] yldlj:
Locked bootloader is recommended.
[HTC 10 Guides, News, & Discussion] toontoonizer:
Thanks for the reply! But just to clarify, do you mean that the locked bootloader option is recommended, or that i should have a locked bootloader when i do this?
[HTC 10 Guides, News, & Discussion] yldlj:
When you run sunshine they recommend to choose the soff locked option as it will act exactly the same.
[HTC 10 Guides, News, & Discussion] disconnecktie:
Locked and unlocked aren't the same. There seems to be an issue with unlocked status.
[HTC 10 Guides, News, & Discussion] jollywhitefoot:
What's the issue? I've been s-off unlocked since the day Sunshine became available for this device. No issues here.
[HTC 10 Guides, News, & Discussion] santod040:
http://xdaforums.com/showthread.php?p=68381023

http://xdaforums.com/showthread.php?t=3444926
[HTC 10 Guides, News, & Discussion] Kisakuku:
Same here, been S-OFF unlocked since before the S-OFF locked option was implemented in Sunshine. Flashed a custom splash in bootloader without any issues. What does the Splash Flasher do that is different?
[HTC 10 Guides, News, & Discussion] jollywhitefoot:
Interesting. I've never encountered that, but that's a cool utility.

Are you sure that's a sunshine issue and not simply a normal limitation of having an unlocked bootloader? It seems like it could be a remnant of the days when we had to relock bootloader in order to flash firmware.

---------- Post added at 12:14 PM ---------- Previous post was at 12:11 PM ----------

It flashes in recovery and doesn't need android-info file so it works on any device without editing that for cid and mid differences. The concept would also be useful for flashing different radios.
[HTC 10 Guides, News, & Discussion] santod040:
It's a SunShine limitation for unlocked on the 10.

It hasn't been an issue with s-off unlocked using sunshine on previous devices and was confirmed by beaups already, as he knew of the potential issue when I first mentioned it.

Only time relocking was necessary for firmware on previous devices, was when unlocked but still s-on.
[HTC 10 Guides, News, & Discussion] jollywhitefoot:
Gotcha. Good to know.
[HTC 10 Guides, News, & Discussion] santod040:
It mounts the splash partition in recovery, using by -name mounting.

No need for firmware Android info txt file or fastboot commands.

It's explained in the OP of that thread. :)
[HTC 10 Guides, News, & Discussion] Kisakuku:
Not to sound dense, but I've read your Splash Flasher's OP before and wanted to clarify the exact nature of the S-OFF unlocked status limitation. Beaups mentioned the limitation, but didn't spell it out either. Is it just the ability to name mount certain partitions in recovery?

Also, not sure how android-info universality comes into this. What's wrong with just

htc_fastboot flash sp1 Splash1.nb0

in bootloader?
[HTC 10 Guides, News, & Discussion] disconnecktie:
Sometimes it's nice not having to use a PC to flash what you want. That's the purpose of the aroma flasher he created.
[HTC 10 Guides, News, & Discussion] jollywhitefoot:
Nothing. It's just that with his script you don't need a computer.
[HTC 10 Guides, News, & Discussion] Kisakuku:
Right, I get that the tool is unique in its ability to flash the splash partition in recovery. I was merely pointing out that android-info is not strictly required for fastboot flashing either and trying to clarify what exactly I'm missing by being S-OFF unlocked.
[HTC 10 Guides, News, & Discussion] disconnecktie:
If it isn't affecting you then don't worry about it. I was just pointing out that there is an issue with unlocked status. I haven't had access to a PC to flash certain things and not being able to do that from my phone even though I'm unlocked is frustrating.
[HTC 10 Guides, News, & Discussion] jollywhitefoot:
So you got it now? It's just different methods to do the same thing, but each has trade-offs.

His tool, requires s-off locked due to an apparent bug or shortcoming with sunshine

Directly flashing the firmware image with fastboot requires a PC

2PS6IMG.zip method requires a proper android-info.txt file
[HTC 10 Guides, News, & Discussion] Kisakuku:
Not worried, simply curious. Just finished reading the Verizon thread, and now beaups' explanation makes more sense. BTW, to answer your question from that thread, if you need to go S-ON, you would just RUU with one of dottat's RUU files (exe or zip) and then

fastboot oem writesecureflag 3

Yeah, I got it, but the question was not how recovery flashing is better than fastboot flashing, but rather what exactly is the nature of the S-OFF unlocked limitation. The Verizon root thread is very illuminating on this subject.
[HTC 10 Guides, News, & Discussion] disconnecktie:
The nature of it is that it doesn't perform the way an unlocked device typically would. As it stands right now the locked version of the exploit performs as an unlocked device does.
[HTC 10 Guides, News, & Discussion] Kisakuku:
Yes, that's exactly what I got from reading the Verizon root thread. I guess when [MENTION=711482]beaups[/MENTION] says "We will look into possibly incorporating the same feature for S-OFF/UNLOCKED users in a future SunShine release", he means we would still have to go S-ON and re-run Sunshine for S-OFF / "now fully unlocked". So anyone having issues might as well just go S-ON and then Sunshine to S-OFF / locked without waiting for the possible Sunshine update.
[HTC 10 Guides, News, & Discussion] beaups:
Just to clarify. This is not a bug, and this is not a shortcoming in sunshine.
[HTC 10 Guides, News, & Discussion] disconnecktie:
Would you mind explaining how to go back to s-on for this device so I can run sunshine again and use s-off locked?
[HTC 10 Guides, News, & Discussion] beaups:
Confirmed.
[HTC 10 Guides, News, & Discussion] razor54:
Will it be updated to work? Cause I didn't want to unlock the bootloader using the htc dev method...
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
There's no reason not to unlock your bootloader with HTC Dev. With Sunshine being able to set the device to "LOCKED" status, the device can be restored to complete stock so it won't matter whether you used HTC Dev at all.

P.S. I'm pretty sure the answer to your question is "No."
[HTC 10 Guides, News, & Discussion] dryspuri:
For me i am hesitant to use htcdev, as i believe that info goes to htc and they void the warranty ( I may be wrong)

second thing for me, use of sunshine is converting HTC in to a model which receives faster OTA updates, so dont want to alter system and then phone wont be able to update
[HTC 10 Guides, News, & Discussion] SkyboneNoya:
So, I have S-Off and it's Unlocked but I can't get around the encryption password screen.

Is it possible? Using HTC 10 from Bell, fully up to date. OS- 1.90

There is no format encryption option in twrp - newest.

Did I miss something?
[HTC 10 Guides, News, & Discussion] jcase:
wip> format data
[HTC 10 Guides, News, & Discussion] SkyboneNoya:
Thanks!

Went to "The Beerstore", eh!

Was using the wrong superuser.

Tried the one in your OP and found the Format Data option, the beer helped.

So after the initial setup, I install supersu to check out root and it says There is no SU binary installed, and superSU cannot install it.

blah blah

I have to gain root. hmm

Could I have the same problem? I tried locked and unlocked but not with the OP supersu until now, which is unlocked.
[HTC 10 Guides, News, & Discussion] jcase:
Install latest supersu beta, 2.77

no the locked/unlocked bug doesnt exist anymore
[HTC 10 Guides, News, & Discussion] SkyboneNoya:
Okay. I kept wiping/formatting data after installing the supersu, it's rooted now and no encryption popping up!

So, your method is great, just need to:

- Reboot after you see the encryption password screen.

- Return to recovery format data then before reboot.

- Flash SuperSU again and reboot!

Or waste ten hours and factory reset/format at end 8 times. :silly:

This is working with latest update - HTC 10 Bell mobility network.

Edit: Xposed and viper audio mods are working! It's all trial and error.

Cheers!
[HTC 10 Guides, News, & Discussion] jcase:
i cant assist with 3rd party mods or apps
[HTC 10 Guides, News, & Discussion] SkyboneNoya:
So root works but when I try to install anything using TWRP I get an error, is it related to this setup at all? or did I miss something?

my /system seems to not be writable..
[HTC 10 Guides, News, & Discussion] jcase:
Your recovery log shows your trying to install Xposed.

Again, like i said in the quoted text, I can't help with third party software like Xposed. I have not looked at how Xposed install works, I have not assisted in it's development. Its other people's code, and a lot of code. I am FAR from the appropriate person to seek assistance on it for a number of reasons.
[HTC 10 Guides, News, & Discussion] santod040:
Using a depricated/incompatible TWRP theme?

Try disabling/uninstalling your theme and then try flashing Xposed again.

Thats all I can see from your log...

As [MENTION=2376614]jcase[/MENTION] said though, support for Twrp and/or Xposed should be sought after in their respective threads.
[HTC 10 Guides, News, & Discussion] krakout:
Guys, I'm sorry for the question, but I'm really confused after reading all these pages - I just can't make out a narrative of it :(

I'm waiting for my 10 to arrive from the US, to replace my M8. Does the *new* guise in the OP works, without problems? I don't understand what all this about formating /data and restoring backups is... And am I correct to assume that Sunshine doesn't currently work to some degree?
[HTC 10 Guides, News, & Discussion] jollywhitefoot:
Sunshine works just fine. The only change is that prior to 1.9x firmware, sunshine was able to use a temproot method to s-off. If you update to 1.9x before you s-off, then you will need to unlock through htcdev and root before running sunshine.
[HTC 10 Guides, News, & Discussion] krakout:
Ahhh thanks man, that's valuable advice. I'll see what version it comes in, not doing any updates of course.

So is Sunshine really necessary after all?
[HTC 10 Guides, News, & Discussion] jollywhitefoot:
Nothing is REALLY necessary, and necessary is a pretty relative term, depending on what you want/need.

I like to be s-off for a few reasons. I like to be able to flash the latest firmware regardless of which region released it. Also, s-off allows you to return your phone to 100% stock.
[HTC 10 Guides, News, & Discussion] robbo10:
Just received a used Verizon HTC 10 locked. It's not yet activated (no sim card), can I run sunshine, flash twrp and su from this OP before I get it activated? Or should I activate it first? I'm coming from sprint. Also it has the latest software 1.19.605.22, but I read that sunshine still works with the newest update. My understanding you don't use HTC dev to unlock boot loader, sunshine unlocks it. TIA
[HTC 10 Guides, News, & Discussion] beaups:
That's not the latest software version. Sunshine will temproot and unlock/s-off all currently released software versions for the vzw 10
[HTC 10 Guides, News, & Discussion] krakout:
Yup, I'm like you. So for s-off I *will* need Sunshine from the looks of it...
[HTC 10 Guides, News, & Discussion] scottspa74:
I haven't rooted/unlocked bootloader yet. (my PC is all F'd up and can't use it) and my HTC 10 says system update available. Update to 1.81, I believe. So, can I actually use sunshine for S off while bootloader still locked? And, should I fear this OS update cuz it may make impossible for S off and root. Sprint device. Sorry, I've been doing all these study I can, I just don't have the time I used to have.
[HTC 10 Guides, News, & Discussion] razor54:
I am going to unlock the bootloader, already got the file from HTCDev and have the TWRP file, now I just need the superSU file and the sunshine app, the thing is, do I need the modified zip containing the force encrypt mod, or just flash the newest version from Chainfire site?
[HTC 10 Guides, News, & Discussion] Kisakuku:
Yes, SunShine's temproot was patched in 1.9x stock ROMs, but 1.8x should still work without having to unlock bootloader on HTCDev. P.S. Good to see you're still around )

You can just use the latest SuperSu flashable. Also, if your firmware is older than 1.9x, you don't even need to unlock the bootloader.
[HTC 10 Guides, News, & Discussion] razor54:
How come?

thank you for the help.
[HTC 10 Guides, News, & Discussion] Kisakuku:
On 1.8x and older stock ROMs SunShine is able to temporarily gain root privileges and does not require an unlocked bootloader. You should read the SunShine thread.
[HTC 10 Guides, News, & Discussion] razor54:
I thought it did't work on 1.90.401.5 firmware...
[HTC 10 Guides, News, & Discussion] Kisakuku:
:confused:
[HTC 10 Guides, News, & Discussion] razor54:
I had read in another thread that it does not work, and I tried now and it didn't...