FORUMS
Remove All Ads from XDA

[GUIDE] De-brand/convert the HTC 10 to WWE/US Unlocked | CID HTC__001/BS_US001

3,761 posts
Thanks Meter: 3,370
 
Post Reply Email Thread
Thread_title

Hello folks,

as for me such guides were really helpful in the past, I decided to do one on my own, to show you how to perform a full de-brand of your device. I did it with a European HTC 10, that has been branded with a specific german carrier CID, as well as SKU, to obtain a full fledged WWE version and thus receive OTA updates as soon as they hit the marked.

In many points I tried carrying together all that has been written prior to performing the de-branding. So there are in fact many things menitoned bekow which have already been written by others. Anyway I'll give the steps again in this tutorial as I think it is of importance to many that they can read the hole to do in one thread. But I advise everyone to read - at least - the threads I linked to, to understand everything in detail.

Please note that I will not accept any responsibility for possible occurring bricks. I can only confirm that this tutorial has been used by me, for my specific unit and all went successful.

Contents
  1. De-brand/convert to WWE using a Nandroid backup
  2. De-brand/convert to WWE using a RUU.zip
  3. De-brand/convert to US unlocked using a RUU.exe

Conditions
  • Knowledge of adb/fastboot
  • htc_fastboot and adb installed
  • GSM HTC 10

RUU Errors
  • 07 RU_CID_FAIL: CID in android-info.txt does not match your phone’s CID
  • 10 RU_MODELID_FAIL: MID in android-info.txt does not match your phone’s MID
  • 12 SIGNATURE FAIL: phone expects an HTC signature and can't find one; or found a wrong one
  • 22 RU_HEADER_ERROR: something wrong with your zip; check md5 of download
  • 23 PARSING IMAGE FAIL: something wrong with the image within the zip
  • 24 ANDROID-INFO FAIL: something wrong with android-info.txt within the zip
  • 32 HEADER ERROR: the zip couldn't be read and unzipped properly; seems same as 22.
  • 33 NOT KNOWN YET: might indicate hardware failure.
  • 35 FAILED (remote: 35 RU_PARTITION_NOT_SUPPORT <PartitionName>): means you can’t flash an image in download mode, as it has to be done in bootloader mode.
  • 41 WRONG MODEL ID: means the RUU is menat for a different device
  • 42 WRONG CUSTOMER ID: means you got to swap CID first
  • 90 PRE-UPDATE FAIL: means it only flashed aboot and you have to run the process again immediately to flash all other partitions. The htc_fastboot.exe now auto-reboots on Error 90!
  • 99 UNKNOWN: usually indicates you are S-ON, but sometimes also recognizes other Security related issues.
  • 130 WRONG MODEL ID: see 41
  • 155 INDICATES DIFFERENT THINGS:
    1. the need to relock bootloader; if S-ON
    2. the RUU cannot be executed, because the software versions of ROM, Firmware and RUU aren't matching
  • 170 CHECK USB: RUU won’t run because ADB isn't working properly
  • 171 USB ERROR: happens all the time when the RUU reboots the phone to download mode. For some reason the device is losing its connection and making a RUU flash virtually impossible . There is an incompatibility between USB 3/3.1 and Fastboot/ADB, as well as an issue with Windows Device Detection on the newer Windows 10 builds.

171 USB ERROR FIX by @Sneakyghost:

Quote:

How to fix RUU error 171 on Windows 10x64 easily

System: Win 10 Redstone (1607) x64 with Intel based USB3.0 and USB2.0 ports:

  1. Sync Manager from HTC Website
  2. Imported Reg-File from Post #1
  3. Reboot

Credits

@jcase for his guide and PSA thread on rooting and S-OFF for the 10 found here and here
@Captain_Throwback for maintaining TWRP and his thread to be found here
@Chainfire for developing and maintaining SuperSu and his thread found here
@topjohnwu for his Stock Backups/Recovery/OTA/RUU thread, found here

Visit me

WordPress G+ Youtube Twitter FB

Recent Changes/Additions
Quote:

  1. De-brand to WWE using RUU.zip updated to 2.41.401.4

XDA:DevDB Information
[GUIDE] De-brand/convert the HTC 10 to WWE/US Unlocked | CID HTC__001/BS_US001, ROM for the HTC 10

Contributors
5m4r7ph0n36uru, all named in Credits section
ROM OS Version: 7.x Nougat
ROM Firmware Required: 2.4x.xxx.x

Version Information
Status: Stable
Current Stable Version: 2.41.401.4
Stable Release Date: 2017-03-01

Created 2017-03-11
Last Updated 2017-06-14
The Following 49 Users Say Thank You to 5m4r7ph0n36uru For This Useful Post: [ View ] Gift 5m4r7ph0n36uru Ad-Free
8th May 2016, 10:13 AM |#2  
5m4r7ph0n36uru's Avatar
OP Senior Member
Flag MD5: 91497e1b11f2262d0d8ff0aa7a164f3b
Thanks Meter: 3,370
 
Donate to Me
More
De-brand/convert to WWE using a Nandroid backup
Guideline
  1. unlock Bootloader via HTCDev (THIS WILL FACTORY RESET YOUR DEVICE AN THUS DELETE ALL DATA!)
    • go to settings > about
    • tab Build Number as long until you get an onscreen message that developer options have been unlocked
    • go to setting > developer options and check OEM Unlock as well as USB Debugging
    • go to www.htcdev.com and follow the instructions given to unlock your device
  2. flash TWRP custom recovery
    • download custom recovery at https://twrp.me
    • reboot to download mode
      Code:
      adb reboot download
    • flash recovery image
      Code:
      htc_fastboot flash recovery nameoftwrp.zip
    • boot to recovery
      • reboot to bootloader
      • reboot to recovery (ATTENTION: don’t allow TWRP to perform changes to system; load as read only)
  3. perform a Nandroid of you current boot and system image (NOT system but system image as stated)
  4. reboot to TWRP again, this time allowing changes to system
  5. flash latest SuperSU beta by @Chainfire that is to be found here
  6. perform S-OFF
    • do a full reboot of your device
    • go to setting > security and enable unknown sources
    • download SunShine from http://theroot.ninja
    • install SunShine and let it run its tests
    • achieve a license and let SunShine and
    • choose S-OFF/locked when prompted and let it do the job
  7. convert to WWE
    • unzip the Nandroid provided (currently 2.41.401.3)
    • copy Nandroid to TWRP/Backup/SerialNo/Nameofbackup on your extSD
    • restore Nandroid by using TWRP > RESTORE and choosing above copied Nandroid
  8. restore /data
    • in TWRP got to WIPE and tab Format Data, as the partition has been corrupted by SunShine (see Point 6 of this guide)
  9. convert firmware
    • reboot to download mode
    • perform
      Code:
      htc_fastboot getvar all
      and note down your original CID and MID
    • change CID to WWE (for Europe it would be HTC__034)
      Code:
      htc_fastboot oem writecid HTC__001
    • change mid
      Code:
      htc_fastboot oem writemid 2PS620000
    • flash incremental no-Wipe WWE firmware by @Sneakyghost
      Code:
      htc_fastboot flash zip nameoffirmeware.zip
      (ATTENTION: this has to be done twice to comlete, and it will flash full firmware, thus TWRP will be replaced by stock recovery)
    • flash stock signed WWE firmware provided
      Code:
      htc_fastboot flash zip nameoffirmeware.zip
      (ATTENTION: this has to be done twice to comlete, and it will flash full firmware, thus TWRP will be replaced by stock recovery)
  10. reset verity flag
    Code:
    htc_fastboot erase devinfo
  11. * flash TWRP custom recovery
    • reboot to download mode
      Code:
      adb reboot download
    • flash recovery image
      Code:
      htc_fastboot flash recovery nameoftwrp.zip
    • reboot device

* only necessary if one wants to obtain root and have a custom recovery again.

Downloads

2.41.401.3 Nandroid: AFH
2.41.401.3 Firmware (no-Wipe by @Sneakyghost): AFH
2.41.401.3 Firmware (stock, signed): AFH | Dropbox
2.41.401.3 Recovery: AFH | Dropbox
The Following 16 Users Say Thank You to 5m4r7ph0n36uru For This Useful Post: [ View ] Gift 5m4r7ph0n36uru Ad-Free
8th May 2016, 10:14 AM |#3  
5m4r7ph0n36uru's Avatar
OP Senior Member
Flag MD5: 91497e1b11f2262d0d8ff0aa7a164f3b
Thanks Meter: 3,370
 
Donate to Me
More
De-brand/convert to WWE using RUU.zip
Guideline
  1. unlock Bootloader via HTCDev (THIS WILL FACTORY RESET YOUR DEVICE AN THUS DELETE ALL DATA!)
    • go to settings > about
    • tab Build Number as long until you get an onscreen message that developer options have been unlocked
    • go to setting > developer options and check OEM Unlock as well as USB Debugging
    • go to www.htcdev.com and follow the instructions given to unlock your device
  2. flash TWRP custom recovery
    • download custom recovery at https://twrp.me
    • reboot to download mode
      Code:
      adb reboot download
    • flash recovery image
      Code:
      htc_fastboot flash recovery nameoftwrp.zip
    • boot to recovery
      • reboot to bootloader
      • reboot to recovery (ATTENTION: don’t allow TWRP to perform changes to system; load as read only)
  3. perform a Nandroid of you current boot and system image (NOT system but system image as stated)
  4. reboot to TWRP again, this time allowing changes to system
  5. flash latest SuperSU beta by @Chainfire that is to be found here
  6. perform S-OFF
    • do a full reboot of your device
    • go to setting > security and enable unknown sources
    • download SunShine from http://theroot.ninja
    • install SunShine and let it run its tests
    • achieve a SunShine license,
    • choose S-OFF/locked when prompted and let it do the job
  7. convert CID and MID
    • reboot to download mode
    • perform
      Code:
      htc_fastboot getvar all
      and note down your original CID and MID
    • change CID
      Code:
      htc_fastboot oem writecid HTC__001
    • change mid
      Code:
      htc_fastboot oem writemid 2PS620000
  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
  9. flash OTA Update via in-build OTA funcionality
  10. * flash TWRP custom recovery
    • reboot to download mode
      Code:
      adb reboot download
    • flash recovery image
      Code:
      htc_fastboot flash recovery nameoftwrp.zip
    • reboot device

* only necessary if one wants to obtain root and have a custom recovery again.

Downloads

2.41.401.4 RUU.zip: AFH
The Following 17 Users Say Thank You to 5m4r7ph0n36uru For This Useful Post: [ View ] Gift 5m4r7ph0n36uru Ad-Free
8th May 2016, 10:22 AM |#4  
5m4r7ph0n36uru's Avatar
OP Senior Member
Flag MD5: 91497e1b11f2262d0d8ff0aa7a164f3b
Thanks Meter: 3,370
 
Donate to Me
More
GUIDELINE
  1. unlock Bootloader via HTCDev (THIS WILL FACTORY RESET YOUR DEVICE AN THUS DELETE ALL DATA!)
    • go to settings > about
    • tab Build Number as long until you get an onscreen message that developer options have been unlocked
    • go to setting > developer options and check OEM Unlock as well as USB Debugging
    • go to www.htcdev.com and follow the instructions given to unlock your device
  2. flash TWRP custom recovery
    • download custom recovery at https://twrp.me
    • reboot to download mode
      Code:
      adb reboot download
    • flash recovery image
      Code:
      htc_fastboot flash recovery nameoftwrp.zip
    • boot to recovery
      • reboot to bootloader
      • reboot to recovery (ATTENTION: don’t allow TWRP to perform changes to system; load as read only)
  3. perform a Nandroid of you current boot and system image (NOT system but system image as stated)
  4. reboot to TWRP again, this time allowing changes to system
  5. flash latest SuperSU beta by @Chainfire that is to be found here
  6. perform S-OFF
    • do a full reboot of your device
    • go to setting > security and enable unknown sources
    • download SunShine from http://theroot.ninja
    • install SunShine and let it run its tests
    • achieve a SunShine license,
    • choose S-OFF/locked when prompted and let SunShine do the job
  7. convert CID and MID
    • reboot to download mode
    • perform
      Code:
      htc_fastboot getvar all
      and note down your original CID and MID
    • change CID
      Code:
      htc_fastboot oem writecid BS_US001
    • change mid
      Code:
      htc_fastboot oem writemid 2PS650000
  8. flash US Unlocked RUU to convert
    • copy RUU.exe to desktop of you PC
    • connect the HTC 10 to PC via USB (prefferably USB 2.0)
    • run RUU.exe as administrator
  9. flash available OTA Updates via in-build OTA funcionality
  10. * flash TWRP custom recovery
    • reboot to download mode
      Code:
      adb reboot download
    • flash recovery image
      Code:
      htc_fastboot flash recovery nameoftwrp.zip
    • reboot device

* only necessary if one wants to obtain root and have a custom recovery again.

Downloads

2.51.617.1 RUU.exe: htc.com
The Following 8 Users Say Thank You to 5m4r7ph0n36uru For This Useful Post: [ View ] Gift 5m4r7ph0n36uru Ad-Free
8th May 2016, 12:42 PM |#6  
5m4r7ph0n36uru's Avatar
OP Senior Member
Flag MD5: 91497e1b11f2262d0d8ff0aa7a164f3b
Thanks Meter: 3,370
 
Donate to Me
More
Arrow OP update.
Final download links are online.

Have fun!

HTCNerdYoda
<(-.-)>
The Following 3 Users Say Thank You to 5m4r7ph0n36uru For This Useful Post: [ View ] Gift 5m4r7ph0n36uru Ad-Free
9th May 2016, 05:16 AM |#7  
Senior Member
Flag Seattle
Thanks Meter: 60
 
More
MIght be a good idea to make a note of your original CID and MID in case you ever want to go back.
9th May 2016, 05:28 AM |#8  
Senior Member
Thanks Meter: 64
 
More
If I get an unlocked device from Australia, is this the same as the European version? Alternatively, how would I got about finding out once I get it?
9th May 2016, 07:42 AM |#9  
5m4r7ph0n36uru's Avatar
OP Senior Member
Flag MD5: 91497e1b11f2262d0d8ff0aa7a164f3b
Thanks Meter: 3,370
 
Donate to Me
More
Quote:
Originally Posted by FreydNot

MIght be a good idea to make a note of your original CID and MID in case you ever want to go back.

Yeah that's right. Will add it to the OP as soon as I'm back from work. Thanks for the hint

Quote:
Originally Posted by Cuffuffles

If I get an unlocked device from Australia, is this the same as the European version? Alternatively, how would I got about finding out once I get it?

You can boot to download mode and perform the command
Code:
htc_fastboot getvar all
to check which firmware you're on and which one is the CID and MID of your device. If help needed you can post your output here in thread (BUT delete your IMEI and serial no prior to posting it)

Regards
HTCNerdYoda
<(-.-)>

Sent from my HTC 10 using XDA Labs
9th May 2016, 08:10 AM |#10  
Spegeli's Avatar
Senior Member
Flag Stuttgart
Thanks Meter: 31
 
More
Why not use SuperCID?

And as I know, change mid is not needed.

But with S-OFF we can Flash anyway every Firmware?!
The Following User Says Thank You to Spegeli For This Useful Post: [ View ] Gift Spegeli Ad-Free
9th May 2016, 09:24 AM |#11  
Senior Member
Flag UK
Thanks Meter: 178
 
More
Quote:
Originally Posted by Spegeli

Why not use SuperCID?

And as I know, change mid is not needed.

But with S-OFF we can Flash anyway every Firmware?!

If your CID doesn't match the firmware you need to change it to match or indeed use the SuperCID which allows you to flash any firmware.
Post Reply Subscribe to Thread

Tags
conversion, debrand, htc 10, us unlocked, wwe

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes