[Change CID and MID][S-ON]An interesting way to modify cid and mid on s-on devices

handsome_hell

Senior Member
Jun 18, 2017
88
20
0
Guang dong
If you want to go Europe,you must change cid from HTCCN701 select to HTC__001, HTC__034, HTC__J15,HTC__A07,HTC__002,HTC__M27
and mid from 2Q4D20000 to 2Q4D10000.
If you change cid and mid success,you can flash RUU 401 and enjoy with new rom.
Thank you!
I will try it today... I need to figure out the FAILED 14 problem first.
 

handsome_hell

Senior Member
Jun 18, 2017
88
20
0
Guang dong
Hi mate,
you can debrand your devices ?
F***
I flashed your sdf and sde image, now I can't boot into download mode.
Security Error
This phone has been flashed with unauthorized software & is locked.
I can only boot to bootloader or recovery mode now.
BUT I DID NOT FLASH TWRP!!!
So I can't use my phone now!!!
Trying to fix.
Trying very hard :crying::crying::crying:
 

handsome_hell

Senior Member
Jun 18, 2017
88
20
0
Guang dong
Hi mate,
you can debrand your devices ?
Hurray!!!!
I saved my phone!!!
I have used
fastboot continue
to boot into the system now
Then there is a Thai interface asking me to enter the password
After I wiped my data paritition, I successfully boot into my system
And I will be careful about changing CID and MID now
 
Last edited:

newyesor

Senior Member
Jul 27, 2014
606
226
0
Bangkok
Hurray!!!!
I saved my phone!!!
I have used
fastboot continue
to boot into the system now
Then there is a Thai interface asking me to enter the password
After I wiped my data paritition, I successfully boot into my system
And I will be careful about changing CID and MID now
Yes,you must careful about change CID and MID.
If your devices is unlock,you can flash twrp for change CID and MID.
 

handsome_hell

Senior Member
Jun 18, 2017
88
20
0
Guang dong
Yes,you must careful about change CID and MID.
If your devices is unlock,you can flash twrp for change CID and MID.
Again...
I can't boot into my system now
Even worse, the screen of my phone is totally black.
Seems that it won't react to hardware button or touch
But fastboot works
I don't know what should I do now.
------
I think it's the problem of TWRP's backlight control
___
I messed up everything
I think I need to send it back to the HTC
 
Last edited:
  • Like
Reactions: WayneKerr

newyesor

Senior Member
Jul 27, 2014
606
226
0
Bangkok
Again...
I can't boot into my system now
Even worse, the screen of my phone is totally black.
Seems that it won't react to hardware button or touch
But fastboot works
I don't know what should I do now.
------
I think it's the problem of TWRP's backlight control
___
I messed up everything
I think I need to send it back to the HTC
You can boot to TWRP?
If you flash RUU failed ,you must flash twrp new for change CID and MID.
If you can change original CID and MID,you can flash RUU(Cn) for comeback.
 

handsome_hell

Senior Member
Jun 18, 2017
88
20
0
Guang dong
You can boot to TWRP?
If you flash RUU failed ,you must flash twrp new for change CID and MID.
If you can change original CID and MID,you can flash RUU(Cn) for comeback.
I can't boot to TWRP.
I can't flash RUU because I can't boot to download mode.
The screen is totally black
I can't even force reboot by power button and volume down button.

I think this is my fault because I make some mistake while editing sdf1
In the future, I will double check every operations which are danger.

At first, I can boot to bootloader, but I can't do anything.
Flash zip RUU error, can't boot to recovery.
Then I type
fastboot erase board_info
I can't do anything now.

Already contacted HTC, they will try to fix my phone.

After they fix the phone, I may try again, but in a more cautious way
 

oxineitor

Member
Dec 6, 2012
13
1
23
Great article. Followed the instructions to modify CID. Managed to go from HTC__621 to HTC__001 with no issues. Thanks so much.

Sent from my HTC U11 plus using Tapatalk
Did you follow all steps? Or what steps did you follow? Did you run Europe RUU? I awant to change MID and CID, but i'm not sure to do with this metod a run the European RUU
I have the Asian version CID __621
 
May 22, 2011
32
19
0
Northallerton
Did you follow all steps? Or what steps did you follow? Did you run Europe RUU? I awant to change MID and CID, but i'm not sure to do with this metod a run the European RUU
I have the Asian version CID __621
I followed the instructions to change the CID from HTC__621 to HTC__001 (no need to change MID as it is the same). I then applied the relevant RUU from the SD. I then relocked the bootloader. I'll post a full list of the instructions.

Sent from my HTC U11 plus using Tapatalk
 
  • Like
Reactions: oxineitor

oxineitor

Member
Dec 6, 2012
13
1
23
I followed the instructions to change the CID from HTC__621 to HTC__001 (no need to change MID as it is the same). I then applied the relevant RUU from the SD. I then relocked the bootloader. I'll post a full list of the instructions.

Sent from my HTC U11 plus using Tapatalk
Waiting for that, I have same CID, Asian version :)

Enviado desde mi HTC_2Q4D100 mediante Tapatalk
 
May 22, 2011
32
19
0
Northallerton
Waiting for that, I have same CID, Asian version :)

Enviado desde mi HTC_2Q4D100 mediante Tapatalk
Sorry I forgot to post full instructions - here they are:-

1) Download all the relevant files. You'll need:-
a) RUU from https://forum.xda-developers.com/htc-u11/how-to/htc-u11-stock-rom-ruu-t3741849 (1.24.401.2 Europe)
b) Hex Editor (I used HxD from https://mh-nexus.de/en/hxd/
c) TWRP from https://github.com/sabpprook/android_device_htc_ocm/releases/download/3.2.1-2/twrp-3.2.1-2-ocm.img

2) Unlock your bootloader by going to https://www.htcdev.com/bootloader/

3) Boot into download mode, connect your phone via USB and run (just for reference):-
fastboot getvar cid

4) Install TWRP by running:-
fastboot flash recovery twrp-3.2.1-2-ocm.img

5) Boot into TWRP recovery

6) Select Advanced -> Terminal and enter:-
dd if=/dev/block/sdf1 of=/sdcard/sdf1.img

7) On your PC run:-
adb pull /sdcard/sdf1.img

8) Open the image in HxD and locate HTC__621. Replace with HTC__001. Save the updated disk image

9) On you PC run:-
adb push sdf1.img /sdcard

10) Back in TWRP run:-
dd if=/sdcard/sdf1.img of=/dev/block/sdf1

11) Boot into download mode and verify your updated CID by running:-
fastboot getvar cid

12) Prepare an SD card with the RUU in the root of the card, renamed as 2Q4DIMG.zip.

13) Power off phone & insert SD card. Boot back into Fastboot.

14) You should be prompted to install the RUU. Use volume and power to start the process. This will take a long time.

15) Phone should then boot up in WWE mode.

16) At this point you can relock your bootloader by booting back into download mode and entering:-
fastboot oem lock

Sent from my HTC U11 plus using Tapatalk
 
Last edited: