yashsingh1/xdaforums huggingface dataset:
[HTC 10 Guides, News, & Discussion] jollywhitefoot:
Do you know what's different about the Verizon branded version of this phone? Just that they still won't unlock the bootloader? Word is that the unlocked version works with Verizon, so I assumed the hardware was similar or the same. I didn't think it was still like previous devices where the CMDA iterations were completely different from the GSM ones.
[HTC 10 Guides, News, & Discussion] PoetraPDW:
I have failed when temroot in OS 7.0 what is the solution ?? And what if mail service fails
[HTC 10 Guides, News, & Discussion] hassoly:
hi i just flashed RR-N-v5.8.3-20170605-pme-Official and booted fine but ask me for password which i dont know or have so om stuck there and cannot pass .. any help????
[HTC 10 Guides, News, & Discussion] HaTrED_:
Go to data/system (under recovery) and delete following file - locksettings.db

Reboot and define new lockscreen security settings!
[HTC 10 Guides, News, & Discussion] hassoly:
i went to advanced file manager data but it was empty folder nothing inside to delete :confused:
[HTC 10 Guides, News, & Discussion] siroosbaneshi:
Hi every body

Sorry fo my bad english.

I'm going to open the bootloader when it's code

Fastboot oem get_identifier_token

I write inside Das says

Unknow command

My usb debug is on

Please help...
[HTC 10 Guides, News, & Discussion] DeeZZ_NuuZZ:
Boot into download mode. Not from system. Download mode is black with options to reboot and other things, also versions of different stuff is visible there
[HTC 10 Guides, News, & Discussion] siroosbaneshi:
Thank you very much for the good solution
[HTC 10 Guides, News, & Discussion] cBreezy22:
Am I hearing this correctly, that if I have stock HTC 10 with android 7.0, I cant install sunshine and get S-Off? I just got a warranty phone and im trying to get a new ROM on it.
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Where does it say that? Nowhere in the OP does it say that. Just download and install the app and run it. It'll tell you if S-OFF is possible, or what steps you have to take to make it work.
[HTC 10 Guides, News, & Discussion] cBreezy22:
I should add that this is a brand new Verizon HTC 10 that has Nougat loaded out of the box. With my past 10's I haven't had a problem running sunshine.

Running it now it keeps failing and after some research, it seems that Verizon locked down the 10 that I have to send it in to achieve S-OFF.
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Yes, it's always easier to accurately answer when you provide complete information.
[HTC 10 Guides, News, & Discussion] nubreed000:
does the bootloader need to be locked and s-on to do an OTA system update? I am getting an error message saying "We have determined that your phone may be running a modified version of its system software, etc"
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
See this thread: https://xdaforums.com/htc-10/how-to/guide-how-to-ota-receive-corrupt-message-t3378187
[HTC 10 Guides, News, & Discussion] duy_ng:
please delete
[HTC 10 Guides, News, & Discussion] wetxxx:
Now I`m Stock 2.41.401.41 SW: Official, Locked and S-OFF.

I must go to service with my HTC 10, so I should change S-OFF to S-ON from fastboot or do something more?

thx :)
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
If you are sure that every partition is fully stock and thus going S-ON wouldn't cause any kinds of bricks then yes you could do this.
[HTC 10 Guides, News, & Discussion] wetxxx:
So...If I don`t sure 100% that my every partition is fully stock? What I can do?

Flash Stock RUU ? I have 2.41.401.41 rom.
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
Yes flash the stock RUU. Thus it'll update all partitions firmware, as well as ROM and so on.
[HTC 10 Guides, News, & Discussion] timkG:
Hi Guys. I rooted, s-offed my HTC 10 Tmobile and changed CID to BS_US001. However when i try to run RUU_PERFUME_WL_O80_SENSE90GP_MR_NA_Gen_Unlock_3.16.617.2 I keep getting the ERROR[132} Signarure error
[HTC 10 Guides, News, & Discussion] ali nz:
That's because you have to flash oreo firmware first
[HTC 10 Guides, News, & Discussion] timkG:
Is RUU supposed to update deverything?
[HTC 10 Guides, News, & Discussion] Rolo42:
It is but that one isn't a release.
[HTC 10 Guides, News, & Discussion] satreddy:
How to root without losing OTA installing capabilities.

Can anyone suggest me how to root my US unlocked HTC 10 with magisk? It's completely stock with S-on, locked bootloader. Is there any way that I can keep magisk and not loosing root and can able to install update whenever I receive OTA? Is it necessary to unlock bootloader/S-off / change recovery just to install magisk? I just want to use Ad-block when rooted.
[HTC 10 Guides, News, & Discussion] DeeZZ_NuuZZ:
you can't have root with a locked bootloader, you need to have it unlocked in order to flash another boot.img, which can be patched with magisk in case you want to keep stock recovery, or flash twrp and flash the magisk zip
[HTC 10 Guides, News, & Discussion] satreddy:
After installing Magisk, can I lock the bootloader to receive and install OTA? As far as I know my system partition is intact and I can successfully install the OTA. If I do, am I going to loose the root access?
[HTC 10 Guides, News, & Discussion] DeeZZ_NuuZZ:
You don't need to re-lock bootloader. Where do you get this from? You can have it unlocked, you just need to be completely on stock with untouched system.

And yes, normally with OTA, if it had a new firmware inside, will remove root. If it's just a small update it shouldn't harm root
[HTC 10 Guides, News, & Discussion] The_Walking_Playground:
Hi,

All OTA updates will flash an updated boot.img, so root will always be removed. It's trivial to flash root again after updating, though.

TWP
[HTC 10 Guides, News, & Discussion] Mastacheata:
CID change without computer

Can one set the cid after going S-OFF from within the phone? The old setprop ro.cid option from older HTC phones doesn't work anymore.

My phone apparently has either a broken USB port or a firmware problem as it's not connecting with a computer at all.

Finding a matching firmware for my T-MOB101 CID is practically impossible
[HTC 10 Guides, News, & Discussion] akpe:
Hello everyone,

I'm using a US Unlocked device, bootloader unlocked and S-Off. I have switched CID and MID to European ones (HTC__034) and my software is completely stock (latest Oreo update). I want to get back to S-On/Locked, one of the reasons is to get rid of the the Uncertified flag from Play Store and pass Safetynet.

I won't have an issue because my phone's current CID/MID is different than the one it was when I got it right? And for the noobish question of the day, getting back to S-On/Locked status will keep my current (EU) CID/MID, they won't revert to the original US Unlocked ones, right? Kinda worried about this since there's no US Unlocked RUU out yet, and if it forces me back to US Unlocked CID/MID I would be stuck on Nougat without baseband...

If I get to keep EU CID/MID without issues (just the wipe mentioned in OP) I guess following this guide would be enough (omitting the RUU flash since my software is already stock).

Thank you!

Edit: I did try, but the fastboot oem writesecureflag 3 command gave me the following errors:

On bootloader mode:

C:\adb>fastboot oem writesecureflag 3
...
FAILED (remote: unknown command)
finished. total time: 0.030s

On download mode:

C:\adb>fastboot oem writesecureflag 3
...
(bootloader) HTC KEY CARD VERSION: 7
(bootloader) VERIFY_BY_PROJECT_SIGN_KEY_FAIL hosd (-9)
FAILED (remote: Partition verify fail -9)
finished. total time: 1.238s

Furthermore, I get the "this build is for development purposes only" warning on boot. I guess the dev flag and the errors mean that in order to get back to S-On/Locked and lose that warning I need to set the original CID/MID and flash the US Unlocked RUU. With which, being still on Nougat, I will lose baseband.

Anyway, will just running the "fastboot oem lock" command be enough to remove Uncertified flag from Play Store and also pass Safetynet? Or do I also need S-On (which apparently I can't do)?
[HTC 10 Guides, News, & Discussion] JochenP:
SON removes warning at startup "this device..."

Sent from HTC U11
[HTC 10 Guides, News, & Discussion] koudy_cz89:
I'm really not much clever from the first page describe...

I want to get phone as from factory, now I have it S-ON and unlocked bootloader, I want to lock it back without any trace of unlocking.

In RUU thread they told me to go S-OFF and then lock bootloader, but I cannot find some universal guide for HTC 10 here... what should I done, do I need that SunShine SW?

Thanks for any help.

EDIT: Can I use this guide? https://xdaforums.com/htc-10/how-to/guide-safely-set-bootloader-to-locked-t3386456

- OK SunShine won't work, because it cannot temproot my device, "great" :(
[HTC 10 Guides, News, & Discussion] Tarima:
That's ok. Just root your device with supersu, then run sunshine. But I think you'll have to run the ruu to remove root before going back to s-on
[HTC 10 Guides, News, & Discussion] akpe:
Yep, but sadly there was no way for me to get back to S-On and keep baseband, not until US Unlocked RUU is out. I ended up rerooting anyway :)
[HTC 10 Guides, News, & Discussion] JP10101:
OK, I'm in a huge mess atm. I've used a htc 10 tool to try and relock the bootloader after restoring the htc 10 stock recovery from TWRP and now I can't get in to my recovery to format my data to get passed the encryption from the RUU I flashed. Please, somebody help?
[HTC 10 Guides, News, & Discussion] jonah_big:
Please help I want to install Oreo on my HTC M10

The CID is HTC__034 EUROPE

Thanks guys
[HTC 10 Guides, News, & Discussion] Hamzajani:
regarding htc 10 download mode status

hi my download status is showing **locked** **fused** and as well as "S OFF" and cid 11111111

so my question is that can i safely flash custom recovery and root and do whatever :D?
[HTC 10 Guides, News, & Discussion] Mr Hofs:
Yes you should.
[HTC 10 Guides, News, & Discussion] 1NC0GN1T0:
So, who knows how to set the flags "LOCKED", "RELOCKED", "UNLOCKED" through a terminal emulator with root permissions?

[MENTION=2376614]jcase[/MENTION] [MENTION=711482]beaups[/MENTION]
[HTC 10 Guides, News, & Discussion] The_Walking_Playground:
Hi,

That's no longer possible, starting with the 10. That's the reason Sunshine has a "LOCKED, S-OFF" option on the 10.

TWP
[HTC 10 Guides, News, & Discussion] 1NC0GN1T0:
you're incorrect
[HTC 10 Guides, News, & Discussion] Mr Hofs:
Than i see no reason why you shouldn't give the correct info ?
[HTC 10 Guides, News, & Discussion] 1NC0GN1T0:
I feel like if I did, people wouldn't use Sunshine.apk.

I purchased my device from an eBay seller. "New" Verizon hTC 10, but it was shipped to me with Oreo installed already. Instead of shipping it to the Sunshine team, I purchased an XCT2 Clip and Power Adapter to achieve S-OFF. With it being a Verizon model I would've had to either purchase a licence from sunshine.apk, or send it to the team for unlocking the bootloader(which I did neither).

When jcase and beaups didn't reply I did some digging and figured out the syntax. I figured out how to LOCK, UNLOCKED, and RELOCKED the bootloader. I'm still trying to find how to remove the FUSED flag. Once I do, and with permissions from beaups and jcase I'll release the method.

That being said, I'm not here to take food from anyone's table, and if they'd rather me not, I will respect that.
[HTC 10 Guides, News, & Discussion] Mr Hofs:
I hope you understand my doubts as you seem to have created an account here at XDA and only replied to these specific posts about the flags.

I would like to see more proof, as i know that the sunshine team are doing this stuff for years and years.
[HTC 10 Guides, News, & Discussion] 1NC0GN1T0:
Alright dude, let me get a copy of your dev/block/mmcblk0p4

And dev/block/mmcblk0p3
[HTC 10 Guides, News, & Discussion] Mr Hofs:
My principles always told me not to share anything from my device online. So the answer is no.
[HTC 10 Guides, News, & Discussion] andybones:
Has anyone used the Sunshine app recently to achieve s-off for their htc 10 and is so what were the requirements?

Considering buying new device rather than replacing the battery and curious if the app is still available.

Thank you

---------- Post added at 11:13 PM ---------- Previous post was at 11:11 PM ----------

You can help me achieve soff for Verizon htc 10?

I'd pay for the service.
[HTC 10 Guides, News, & Discussion] dingus502:
i used sunshine 2 months ago still working to my knowledge
[HTC 10 Guides, News, & Discussion] andybones:
Which variant and firmware?

Unlocked and Nougat I'm thinking.
[HTC 10 Guides, News, & Discussion] dingus502:
verizon nougat
[HTC 10 Guides, News, & Discussion] jcase:
ive not seen it
[HTC 10 Guides, News, & Discussion] Ndaoud360:
What if the Verizon version will be able to be unlocked via HTC dev right out the box as well as get rooted via super su zip flash, then could sunshine work?
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Verizon doesn't allow HTC Dev unlocking.
[HTC 10 Guides, News, & Discussion] jollywhitefoot:
Since the unlocked version supposedly works on Verizon, I think many are hopeful that the Verizon version will be unlockable
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
The Verizon version won't be. I'll say it again - Verizon doesn't allow HTC Dev unlocking on their branded devices.

Also, while the unlocked version has the necessary bands to support Verizon LTE, they would have to be allowed on the network. Currently, they aren't, though perhaps once the Verizon version is officially available, they will be.
[HTC 10 Guides, News, & Discussion] Ndaoud360:
deleted
[HTC 10 Guides, News, & Discussion] jollywhitefoot:
Gotcha. I'm skeptical about the unlocked version working on Verizon, anyway. Just saying why I thought people thought there was hope for Verizon being unlockable.
[HTC 10 Guides, News, & Discussion] frostmore:
deleted
[HTC 10 Guides, News, & Discussion] :
what about sprint?
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Sprint allows it, yes.
[HTC 10 Guides, News, & Discussion] tech_head:
If the unlocked version is truly unlocked I see no reason it won't work.

It would have the same limitation as a Nexus 6P. While Verizon does not sell the device, you can activate it.

Initially you needed a SIM from another device, but not any longer.

So if HTC is making a single phone, then the unlocked version would work on Verizon.
[HTC 10 Guides, News, & Discussion] jollywhitefoot:
Skepticism is that this is a divergence from past devices, where the CMDA devices were different hardware. Skepticism is also from the A9, which HTC was unable to make compatible with Verizon and ended up having to cancel preorders for the Verizon model.
[HTC 10 Guides, News, & Discussion] Schedonnardus:
i had a customer service rep say that the unlocked will work on verizon (i played it off as if i just wanted the black phone). He swore it would work, and that they had a 30 day return policy. So hopefully it does work, or a dev is able to get it to work. If not, I'll just return it and get the verizon variant. Of course, I've seen other ppl state that customer service told them the opposite.
[HTC 10 Guides, News, & Discussion] jollywhitefoot:
well. I mean, like [MENTION=702877]tech_head[/MENTION] said, it looks like it should work. My skepticism is probably rooted in outdated information and experience with older devices.
[HTC 10 Guides, News, & Discussion] km8j:
So if I get an unlocked HTC 10 and want to unlock the BL on day one just to avoid having to reconfigure everything if I root, what is the implication? Any issues? Do I lose encryption, etc?
[HTC 10 Guides, News, & Discussion] Schedonnardus:
looks like verizon has an online tool to check if your phone is compatible with their network. If anyone gets their hands on an unlocked phone (and doesn't have a verizon SIM to test with), they could use the tool and let us know what it says.

http://www.verizonwireless.com/bring-your-own-device/
[HTC 10 Guides, News, & Discussion] Andyw2100:
Please pardon my ignorance. I read and attempt to understand what I can here, but it doesn't all make it through.

I'll be getting a Verizon HTC 10, and will probably be satisfied with root only, though if the easiest way to obtain that winds up being through Sunshine, and also getting S-off in the process, I'm happy to pony up for Sunshine, as I did with my HTC One M8. The idea of losing my data, though, does not appeal to me. Am I understanding the above correctly that as a preventative to losing my data if I ever do wind up using Sunshine and going S-off, I should do a factory reset when I first receive my phone, before setting it up? Or was that simply a step to take if the phone had become unusable because of the data not being readable, and taking that step as a preventative would actually prevent nothing, and thus be useless?

Just trying to understand.

Thanks!
[HTC 10 Guides, News, & Discussion] jcase:
Verizon HTC 10 isnt supported at this time. There wont likely be a stable temproot for it, probably will ahve to wait for an unlock solution
[HTC 10 Guides, News, & Discussion] Andyw2100:
Thanks. I was kind of expecting that, which was why I mentioned ponying up for Sunshine.

But my question remains. (I understand that it may seem so stupid you didn't even realize it was a question.) It boils down to:

--will I save myself any hassle in the future (having to restore an unreadable device) by doing that factory reset you mention as soon as I receive the phone, before loading any data on to it?

In other words, does that factory reset somehow take care of the weird encrypting, such that later, if I do use Sunshine to go S-off (when the Verizon HTC 10 is supported, because I have confidence you guys will get there!) I will not have to restore my phone from a backup?

Or, on the other hand, is there absolutely no reason for me to do a factory reset when I get the phone, because it would accomplish absolutely nothing?

Thanks!
[HTC 10 Guides, News, & Discussion] Andyw2100:
That's kind of what I thought. I was just trying to make certain.

My confusion boiled down to the following:

--

To fix this:

On stock recovery:

Do a factory reset

--

The "To Fix this" part of the statement to those who understood this stuff a lot better than I do obviously meant "To fix this after (the bad thing) has happened." I read it as possibly meaning "To fix this so that (the bad thing) never happens in the future..."

Now I've got it.

So if and when I wind up using Sunshine to S-off, to gain root (once my device is supported), I'll also have to plan to restore from some sort of off-device backup.
[HTC 10 Guides, News, & Discussion] jollywhitefoot:
Yep. It remains to be see how Verizon devices will be able to get unlocked, but you can plan on the unlocking process wiping your device and then having to wipe your device to complete the s-off process (if you choose to do that). Obviously, it would be best to unlock and s-off with a brand new device that you haven't set up yet, but that would mean not using your brand new 10 until some awesome person comes up with a way to unlock and root it.
[HTC 10 Guides, News, & Discussion] Andyw2100:
Thanks.

I don't even want S-off. If it winds up being an option, I'd prefer to have root, and remain as stock as possible otherwise, so that I could (hopefully) take OTA updates.

I did wind up S-off with my M8, and found it a royal pain to not be able to take OTA updates, as the whole process of flashing back to stock recovery, etc. was pretty confusing for me. I eventually just stopped doing it, and now every day "cancel" a downloaded OTA update that keeps offering to install itself. I'd pay MORE for Sunshine if it could provide root without S-off, but I know that's not going to happen!
[HTC 10 Guides, News, & Discussion] jollywhitefoot:
S-Off alone doesn't prevent you from taking an OTA. For example, you can s-off and return to 100% stock and take OTAs anytime they're available. But, with S-Off you don't really even need to take OTAs because you can flash firmware upgrades directly using fastboot in download mode. Modifying system and using custom recovery is what prevents you from to taking an OTA. But there are ways around this. Before you root, make a system image backup in TWRP. Then restore this backup when you want to take an OTA. After the backup is restored you have to flash stock recovery and the OTA should install.

Anway...it's a heck of a lot simpler to s-off and issue one simple fastboot command (fastboot flash zip NameOfFirmwarePackage.zip) than it is to go through all the hoops of restoring a backup, restoring recovery and crossing your fingers that they OTA will install.
[HTC 10 Guides, News, & Discussion] Andyw2100:
Thanks.

Perhaps if I do wind up with S-off, I'll wind up going this route.
[HTC 10 Guides, News, & Discussion] drmoeed:
Hi ...

I have Got S Offed ....

And did Format data in advanced wipe ...

But now my phone is stuck on HTC logo ...

It is having boot lop ... I can't make it boot ...

What to do now ????

Plz Help anyone
[HTC 10 Guides, News, & Discussion] jcase:
What version of superuser are you using?
[HTC 10 Guides, News, & Discussion] awareunlikeu:
Just want to say thanks to all you guys that got your 10's first and are experimenting for the rest of us. I am waiting for my unlocked 10 to arrive probably next week or week after and test to see if it works on Verizon.. And if it does going through the root and S off process.. And if it doesn't sending unlocked phone back, and waiting for the Verizon version to be as soft and ordering one immediately as soon as it is achieved
[HTC 10 Guides, News, & Discussion] :
edit
[HTC 10 Guides, News, & Discussion] Icon000:
I'm debating on getting this phone since it's one of the few flagship non-nexus phones that has the ability to unlock the bootloader. I was curious what do I lose if I were to unlock the phone and install CM or some other custom ROM.
[HTC 10 Guides, News, & Discussion] jcase:
see root guide linked from op
[HTC 10 Guides, News, & Discussion] jcase:
Nothing that couldnt be restored
[HTC 10 Guides, News, & Discussion] michaelduijkers:
Hi quick question...

I'm unlocked, rooted and running Leedroid v1.0.0. build 1.30.401.1.

Now I wanted to install the sunshine.apk but get a parcel error...

unknown sources checked...

what to do?
[HTC 10 Guides, News, & Discussion] jcase:
redownload it, and install it via ADB, if errors gives me the error here

md6 for SunShine 3.3.4 is 404762d33a61f7c10e7b61aff3ee715c
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
Short OT question: Does the command "fastboot oem writecid xxxxxxxx" still work after S-OFF, as known from M9. As I'll receive a german carrier branded HTC 10 tomorrow, I'd like to change CID and debrand using LeeDroiDs TWRP backup and firmware 1.30.401.1.

If someone could tell it would be great, otherwise I'll just text it. And in any case give a short guide of how I did it in a separate thread.

Thanks and sorry for highjacking your thread!
[HTC 10 Guides, News, & Discussion] Electronic Punk:
Yes it does, may have to be in download mode.
[HTC 10 Guides, News, & Discussion] BeansTown106:
isnt this how it has been for ages on nexus devices and devices that allow you to unlock the bootloader? as long as i have had a nexus it has always wiped data on lock/unlock. granted this isnt a nexus but i would have thought this functionality would have been present in other devices for ages.
[HTC 10 Guides, News, & Discussion] OSIRIS2010:
"fastboot oem writecid 11111111" tested and everything is ok
[HTC 10 Guides, News, & Discussion] JEANRIVERA:
i tryed to flash firmware 1.30 on US device with changed CID to 11111111 but it does not work got to change the MID also but there is no tutorial yet to do it i can not find how to do it mannually
[HTC 10 Guides, News, & Discussion] qriozum:
My unit S-off (thanks Sunshine), and probably the only thing I'm missing is the restoration of the flag "LOCKED" for the bootloader.

Is it familiar to you as the solution to be achieved in the case HTC10?

best regards

q.