yashsingh1/xdaforums huggingface dataset:
[HTC 10 Guides, News, & Discussion] Camq543:
Cant Recognize Sim

I recently purchased an HTC 10 off of Taobao (China's Amazon) and the CID and MID on the phone corresponded to the Sprint model. I followed this guide to try and debrand the phone (and various other guides) but can't get the device to recognize a SIM card unless I do the original Sprint install. Is this a firmware issue? Something to do with the OTA? I don't have much experience with Android, but plenty troubleshooting other computer problems so I've been struggling through not knowing what I'm doing so far. Is it because I'm trying to use a Chinese SIM card with the US unlocked version? I thought it would work since its the WWE RUU.

Tl;dr: Have Sprint HTC 10, followed the guide, but it won't recognize my SIM unless I convert back to sprint. Halp.
[HTC 10 Guides, News, & Discussion] bopsch:
Successfully converted my phone from wwe (germany) to us unlocked following these instructions :) now play store shows "uncertified", but well, I can live with that...

Thank you!
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
It's because Sprint devices are CDMA devices on contrast to US Unlocked and WWE which are GSM devices. If I remember correctly you have to backup the radio partitions, convert to WWE and re-flash the two Sprint radio images to get you SIM recognized. Or you may have to unlock it for any SIM card through sprint. Don't know for sure though as I'm an all time GSM user. One thing I know for sure its that my guide works on all GSM variant which is why I stated in OP that a GSM device is needed to follow this guide.
[HTC 10 Guides, News, & Discussion] bu3lwa:
My carrier support that's band

LTE working before I switched and after
[HTC 10 Guides, News, & Discussion] TheMadKing:
I've been thinking about something, and excuse me for being a noob, but like, after converting my 10 from what it was before to WWE, I never got the red text during boot.

So.. does only converting to US Unlocked result in red text during boot?
[HTC 10 Guides, News, & Discussion] hassoly:
need help please

hi i did all steps to convert my htc 10 wwe to unlocked us but its suck always at 44% so what i did wrong ???
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
On which step of the guide!?

Are you using the original USB cable that came with the device and are you using a 2.0 or 3.0 port on your PC? Did you try to use another cable if it might be the case that the one in use is defective. Another problem might be a bad download of THE RUU, thus I'd recommend redownloading it.
[HTC 10 Guides, News, & Discussion] hassoly:
thanks bro for replay i did it by sd method its working good now thanks again
[HTC 10 Guides, News, & Discussion] mightyvenom:
I have wondering about this too, I just asked today in the appropriate sub-thread and got the answers you look for.

Basically you can use a custom hboot file to match WWE / US firmware (located here) and not see the red text at boot anymore, but the "bad" news is that you need to flash a new one everytime an update via OTA is delivered. You got the answer to "why is that" here. Not a major thing if you ask me, although now that I have thought more about it I think I am just fine leaving the red text at boot, doesn't bother me that much...
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
It'd be better to leave the aboot as is. Tinkering on such a basis could easily lead to a brick. Just think if reverting to stock. If you're on official firmware, restore a nandroid, flash stock recovery and relock bootloader you'll run into a real problem if you forgot that you flashed a tinkered aboot, as the decide won't boot any longer and might even be hardbricked.
[HTC 10 Guides, News, & Discussion] mightyvenom:
I have tried (just to see if it works) running latest sunshine apk 3.5.5 with locked bootloader and apparently it has the potential to gain temproot and proceed to s-off locked state WITHOUT needing to unlock the bootloader via htcdev method....So my question is, in order to convert my device to US unlocked is the htcdev unlock bootloader method really necessary anymore?

Will gaining s-off / locked state directly via sunshine apk allow me to change cid/mid and flash latest us RUU, WITHOUT htcdev method prior to that?

Looking at the latest changelog in sunshine apk it seems that version 3.5.5 gained "Added Magisk support" so this method solely might do the trick?! What do you guys think?

Thanks

Later edit:

IT freaking works!! No unlock bootloader whatsoever, directly used sunshine apk on an unmodified HTC 10, the app will do everything by itself. So I am now un US unlocked with S-off/locked with sunshine method only.

This is big news for all the people who are afraid to get the re-lock option and (therefore) not suitable for warranty or people like me to just want to remain stock and get more frequent updates directly from HTC U.S.. Hope this info will help others, cheers!
[HTC 10 Guides, News, & Discussion] capo56:
Hi,

just would like to confirm I understand it correctly.

I will be able to change my EU device to US one (for example), receive OTA and install it without lose of data (when already changed of course).

During the conversion (following steps from post #2), I am able to backup and restore everything so I am not losing any data, apps, settings....

If I skip step 11 from post #2 the device won't be rooted (I can't have my phone rooted to be able to use company's Mobile Iron).

Correct?
[HTC 10 Guides, News, & Discussion] Tarima:
Were you on Marshmallow before you did s-off? Temproot is supposed to work only on marshmallow from my understanding, therefore of you're on Nougat you'd need to unlock the bootloader before using sunshine.
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
No already working on Nougat as far as I saw ;)

All points are correct as you understood and refrained them. So good to go without the steps having an asterisk.
[HTC 10 Guides, News, & Discussion] nubreed000:
Hey guys, I am in desperate need of help here. I bought a brand new HTC 10 off eBay, and I am trying to flash the last North American developer Marshmallow RUU release on my phone, but I am getting an error (Error 158) on the final page of the RUU installer.

My bootloader is unlocked,

S-off,

the CID is BS_US001,

and MID is 2PS650000.

OEM Unlocking is checked

USB debugging is checked

The name of the file is: RUU_PERFUME_WL_M60_SENSE80GP_NA_Gen_Unlock_1.96.617.20.exe which I understand is the correct file, but every I run it, it tells me to "Get the correct Update utility" etc.

I'm out of ideas on how to proceed, so any help would be greatly appreciated. I don't want to go in the custom ROM direction. I want to stay on the official ROMs. I even tried the Nougat ROM off HTC's website, and I received the same error.
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
Weird. What's the original CID/MID of your model? You could always extract the zip from the exe-file and try the SD card method as well. But I'd rather be interested in the original status if your phone.
[HTC 10 Guides, News, & Discussion] BillTheCat:
I'm jumping in here because we got our phones from the same seller, so I'm going to guess that we had the same Taiwan ROM, which if memory serves was (but don't quote me on this):

cid: HTC__621

mid: 2PS620000

version: 1.92.709.1

Hope someone can help this member... I'm all out of ideas.
[HTC 10 Guides, News, & Discussion] nubreed000:
I'm going to double check at home, hopefully I saved the original CID somewhere.

Mid: 2PS620000

version: 1.95.401.4
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
Did you de-brand to US Unlocked as well!?
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
According to the software number it is an EMEA device officially. But let's see if you can find it first.
[HTC 10 Guides, News, & Discussion] BillTheCat:
Yes.

https://xdaforums.com/showpost.php?p=72361501&postcount=327

I didn't have the same sort of problem as this user - my confusion was with the combination of CID/MID, but it all went according to plan. However, I was using a Taiwan ROM as a starting point.

There's some question about whether this user has a CDMA or GSM phone. If the former, it would explain a great many things, I think. However, I don't have the knowledge or experience to tell either way, or how to help him if his phone is CDMA.
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
Yeah. But as it is an EMEA device which is WWE it's a GSM one. Actually this is one of the variants you could de-brand to in my guide on the fire page.

As the error occurs quite far at the end, I'm thinking of a bad download, which still is weird. CID/MID are check right at the beginning, this I don't know how that could happen. A flash using SD card method might bring some insight, as one might get an output of what went wrong in the download mode on screen - might not will for sure though.

If he's really S-OFF I'd try the Nougat RUU first and see if it happens as well.
[HTC 10 Guides, News, & Discussion] nubreed000:
Sure thing. But, let's say I didn't write it down anywhere. Is there a way to find out which CID number I had? I already Googled to see if Command Prompt stores a log somewhere, and unfortunately it doesn't. Could I find a list of EMEA CID codes and somehow go through a process of elimination to figure out which is the proper code?

I know I am getting ahead of myself, but I'm worried that I did not record my original CID number so I'm thinking of other possible scenarios on how to solve this.
[HTC 10 Guides, News, & Discussion] BillTheCat:
Yes, I thought the same thing. I uploaded my copy of the RUU which threw an error, so I hit him with a link to another source for the download.

I think he wants to stick with MM for now, mostly because of the reports related to questionable battery life that have been going around.
[HTC 10 Guides, News, & Discussion] nubreed000:
Here's the thing:

BillTheCat linked me to a MM RUU.exe that failed. First thought was a corrupt image. He then uploaded the RUU that he used. That failed as well. I then downloaded a nougat release from HTC's website. THAT failed too. All of them yielded the same error.

Is it possible to take a screenshot from download mode?

---------- Post added at 04:38 PM ---------- Previous post was at 04:36 PM ----------

I could just try to do a system update. That *should* still work, right? Or will it fail because of the changed CID/MID?
[HTC 10 Guides, News, & Discussion] BillTheCat:
Random thoughts:

Dodgy internet connection or download client software

Incorrect download settings in client

Local hard drive corruption

Have you tried HTC__001 (instead of BS_US001) just for the heck of it?

[MENTION=5832952]5m4r7ph0n36uru[/MENTION], would a 'reset to factory settings' possibly help here, or are we venturing into soft brick territory?
[HTC 10 Guides, News, & Discussion] nubreed000:
Not yet. Haven't had a chance to.
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
Venturing into softbrick. As long as 401 software is installed he'd have to change CID and MID back to the correct one, as otherwise it would lead to an immediate soft brick.

Next step to take would be flashing EMEA firmware, after returning CID and MID to the original state. Just to check if all's fine.
[HTC 10 Guides, News, & Discussion] nubreed000:
No luck with finding original CID :-\

Yep. Same end result.
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
Sounds as if something regarding the HW is faulty. If all RUUs stop at the end it might well be such a thing.
[HTC 10 Guides, News, & Discussion] JohnCorleone:
You might want to write the CID to SuperCID -11111111
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
As it sarts flashing and errors out very far at the end this might not be the cause. The CID/MID check at the beginning is working.
[HTC 10 Guides, News, & Discussion] nubreed000:
I should have mentioned this but SuperCID was the first code I tried.

Anyways, so what are my options now?

Can I try the OTA update or will that softbrick the device due to incompatible CID/MID?

Or can I try this method first: Flash Ruu.zip
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
You shouldn't to fully revert the device at first. Meaning to set the CID/MID back to what it has been as you bought your 10. As a second step do a factory reset of the phone. This try to run an original RUU designed for you CID/MID combination using the SD card method. I'm out of ideas otherwise, as the error doesn't tell what is really going wrong, and without having the decide at my hands there's nothing I can do from here.
[HTC 10 Guides, News, & Discussion] nubreed000:
So,

Step 1:

MID to 2PS620000

CID to ???? (Can I pick a random European one from these: CID: HTC__001/HTC__034/HTC__A07/HTC__J15/HTC__M27/HTC__016/HTC__002)

Step 2:

Factory reset from download mode and then download a zip from HTC with region code x.xx.401.x and try to flash it?
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
Yes everybstep correct.

You might want to use HTC__034 as it is the one for central europe.

I hope this will work for you. Once you are back on the original stock state we can try to figure out what has happened.
[HTC 10 Guides, News, & Discussion] nubreed000:
Hey, I have a question regarding step 8

"flash WWE RUU to convert

rename RUU to 2PS6IMG.zip

copy 2PS6IMG.zip to root directory of SD card (currently 2.41.401.3)

reboot to download mode

press Power button to confirm flash of RUU"

What do you mean Root directory of SD Card? As in, I need an external SD card? Or put the zip on the phone, but not in any folder?
[HTC 10 Guides, News, & Discussion] yldlj:
External sd card,
[HTC 10 Guides, News, & Discussion] nubreed000:
OK... And I will be able to flash the zip through stock recovery??

Nevermind. Just Went into download mode and saw what happens.

Ok. Cool. I will give this a shot on Sunday.

Thanks everyone for your help.
[HTC 10 Guides, News, & Discussion] BillTheCat:
Correct me if I'm wrong, but isn't 2.xx.xxx.x the Nougat firmware? If so, then perhaps that's what's wrong - he might be trying to go from N to MM and the RUU is failing because it wasn't designed to downgrade?
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
He's S-OFF so that's not what should cause this problem. And all my linked RUU are Nougat which are the latest. If my guide is used with different starting conditions and files I can't guarantee anything any more. That's why I told him to run the Nougat RUU using the SD card method, to get him at least anywhere near a running a stock device.
[HTC 10 Guides, News, & Discussion] BillTheCat:
Oh, hell yeah, totally agree that an RUU is the way to go. I've never seen a case where an RUU isn't able to downgrade. This is certainly an odd situation. I'm still thinking that it could be a problem with the host PC, the version of ADB and/or drivers, or the downloaded file.

Nubreed, do you have a way to try a different machine to see if you have any better luck?
[HTC 10 Guides, News, & Discussion] Kisakuku:
[MENTION=711482]beaups[/MENTION] [MENTION=2376614]jcase[/MENTION]

I was wondering if you could comment on the existence of a mechanism for the HTC 10 aboot detect if the device MID is original. The report quoted above states that converting WWE to US Unlocked (or the inverse) on its own resulted in the red warning text and failed SafetyNet. Bootloader was locked, everything fully stock after an RUU. Sounds like the aboot detects the MID change and shows the red warning and sets non-green androidboot.verifiedbootstate flag.
[HTC 10 Guides, News, & Discussion] jcase:
No me exists, they are seeing the issue and we and us use different signing keys
[HTC 10 Guides, News, & Discussion] Kisakuku:
Alright, I was worried there for a second, but this makes quite a bit more sense.

Regardless of the current MID on the device, flashing an RUU from a different MID results in aboot / hosd / recovery / boot partitions having incorrect signatures and leads to all the usual effects of flashing unsigned firmware (red warning text in aboot, non-green androidboot.verifiedbootstate flag and thus SafetyNet not passing) despite bootloader being locked and firmware being fully stock (just signed with the wrong keys).
[HTC 10 Guides, News, & Discussion] johnnyle7:
I just follow the Nandroid method to debrand and convert my phone to WWE, but when I finished and reboot the phone, it can't pass the "HTC - Powered by Android" screen. Anyone knows what should I do to fix it?

Thanks alot.
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
Best method to debrand - even though both are explained - would be rouse the RUU method to make sure everything gets flashed properly.

But first things first what CID/MID did you come from?
[HTC 10 Guides, News, & Discussion] johnnyle7:
hi, i managed to fix it by using the RUU method. I wonder if the US unlocked firmware will limit the bands compare to other firmwares? As I think US bands are different with some other countries such as Australia, where I am living atm. Cheers.
[HTC 10 Guides, News, & Discussion] Pumpino:
Can someone please explain the difference between the US version and the WWE in the OP? Do they both receive the same number of updates (ie. patches only every few months)? Someone in another forum claimed that their de-branded US device was receiving monthly OTA patches, which I find hard to believe.

If choosing to have TWRP, OTA updates would fail and it's not possible to flash official RUUs with TWRP installed, is it? That being the case, is there any advantage in using an official ROM over a ROM such as LeeDroid or Viper?
[HTC 10 Guides, News, & Discussion] yldlj:
US have been receiving OTA while WWE hasnt been. WWE just received an update tho. You can use RUU with twrp installed. If you debrand your phone you will be S OFF so using a custom ROM is just as easy to update as all you have to do is update your firmware using a modifyed firmware zip found in sneakyghosts thread.
[HTC 10 Guides, News, & Discussion] Pumpino:
So it's not just the US version receiving updates before the WWE; it's actually receiving updates that aren't all rolled out to the WWE? Surely that makes the US ROM a better choice than WWE for people with s-off who want to remain stock.
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
The US ROM is sometimes used to test multiple update until all other free devices such as the WWE or the Taiwanese version get it as well. In general the two non-carrier branded versions in OP, are version right from HTC, while a lot of other version are carrier related and this have to been tested and released by the carriers as well.
[HTC 10 Guides, News, & Discussion] Pumpino:
Thanks. Can I suggest you correct the US download link in the OP? It should be http://dl3.htc.com/application/RUU_...648.794551576.1503809020-528624120.1503658555
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
Done.
[HTC 10 Guides, News, & Discussion] slickrick54:
Would just like to say thank you for helping me out bud!! Successfully converted my European version to US unlocked version!!!
[HTC 10 Guides, News, & Discussion] Pumpino:
Is it still necessary to use htc_fastboot rather than standard fastboot? If so, does anyone have a link to download it? I can't find it on htcdev.com. Thanks.
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
You're welcome mate. Good to hear it worked. :svetius:
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
In some cases it works better than fastboot. Don't have the link athand, but can be found on htcdev.com
[HTC 10 Guides, News, & Discussion] errikosd:
You have to login. Then start the Bootloader Unlock "wizard", you will find the links in the instructions page.
[HTC 10 Guides, News, & Discussion] ashwinkabbinahalli:
VoLTE fix in India?

Does this bring VoLTE feature to indian HTC 10?

Cid is HTC_060

Mid is 2PS6200
[HTC 10 Guides, News, & Discussion] simplex19:
I'm afraid not. Given that the firmware for the Indian and SEA CID doesn't even have support for the region's carriers, the WWE firmware is even less likely to have support for the Indian carriers. Can only hope that HTC will change this in later updates for the 10 (ultra and 11 seem to have VoLTE working on some regional carriers), but I'm not holding my breath honestly.
[HTC 10 Guides, News, & Discussion] Pumpino:
I just converted my newly acquired 10 to the US version. It flashed fine, however after flashing TWRP afterwards, I enabled wifi and went to check for updates. I get the error message "There was an unexpected error and the file system may be corrupted. Please contact HTC support for further assistance". Any ideas?
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
After flashing TWRP maybe an answer if you read this forum carefully. May it be that you booted TWRP and mounted the system partition r/w, or changed anything on it right after!?

If so the md5 of the system partition has changed and even a flash of stock recovery won't enable you to take OTA due to Google's Block Based OTA system. To be able to take OTA the system partition has to be in an unaltered pristine state, otherwise it will fail. That has indeed nothing to do with the de-brand.
[HTC 10 Guides, News, & Discussion] :
This will carrier unlock an htc 10?
[HTC 10 Guides, News, & Discussion] fdgd1998:
It worked in my European HTC 10:svetius:
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
[MENTION=7956683]Lothorin[/MENTION] first off: ALWAYS ask here for help. I'm never gonna assist via PM regarding my guides!

Regarding your problem you debranded a CDMA device (Sprint) to a GSM device using US Unlocked firmware and ROM. This it fails on boot, as you can't run GSM radio on a CDMA device:

As a CDMA debrand can only be accomplished using some tricky procedures which might be overwritten by future OTA updates, AND there are no CDMA devices available in Germany I mentioned in my OP that this guide is for GSM DEVICES ONLY. Maybe I should make this passage larger..

Anyway. If you want to get out of this situation you either re-brand to Sprint, and thus will be running proper firmware for the CDMA radios, or try to flash the Sprint radio while running a US Unlocked firmware and ROM elsewise. If I remember there are people around in this thread, who did it this way and shared the needed radio images. Try searching them, as I'm not gonna provide any assistance on CDMA conversion problems myself.
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
OP updated & temporary announcement

Hello everybody,

the OP has been updated!

Recent additions:

Announcement (temporary):
[HTC 10 Guides, News, & Discussion] errikosd:
Hi guys,

Can someone clarify whether converting a WWE device to US unlocked results in not passing SafetyNet, etc? If yes, is there a solution for this?
[HTC 10 Guides, News, & Discussion] cyrusct82:
Yesterday i converted mine and it passes the SafetyNet.
[HTC 10 Guides, News, & Discussion] errikosd:
Good to know. You did the RUU.exe method, right?

Also, are there any restrictions regarding mobile data (like 4G/LTE) if I convert? Thanks!
[HTC 10 Guides, News, & Discussion] cyrusct82:
I've used the ruu zip method. Used the zip from this post https://xdaforums.com/showthread.php?p=74025721

Changed CID and MID -> put the ruu zip on SD Card -> reboot to download mode and it will ask you if you want to flash the ruu zip.

For me the data works good without problems.
[HTC 10 Guides, News, & Discussion] errikosd:
Just out of curiosity, has anyone tried to S-OFF via sunshine while being completely stock? That is, no root and untouched bootloader.

I tried installing sunshine and it passes all tests and is good to go, but I wonder whether it is safe to do so.
[HTC 10 Guides, News, & Discussion] cyrusct82:
If you are with nougat firmware will ask you to root because it cannot root your device. If you are on marshmallow then it will continue and S-off your device.