[HTC U11  Guides, News, & Discussion] AHMADHAFEZY:
How to change CID with S-ON, without SunShine

:confused::confused::confused::confused::confused::confused::confused::confused::confused::confused:

Not so long ago, I got my U11 back under warranty - kindly replaced with a new phone (it has nothing to do with marriage). Naturally, the S-OFF license from SunShine is gone, as it is tied to the motherboard. I know before they could transfer the license to another phone, asked [MENTION=711482]beaups[/MENTION] about it .. received the answer that no, only within a month after the purchase you can transfer the license SunShine. I understand why the month is like for the USA and it’s not that I’m offended .. and for the sake of diversity I didn’t buy S-OFF more on this device and the result is here .. and I’ll put it on xda .. This technique applies exactly to U11, U11 +, HTC 10, HTC One M9 where checked, I think today and to the U12 + too.

How to change CID with S-ON, without SunShine

(to a friend: How to save $ 25 or how much he pays for the mean )

ATTENTION!!! There is a danger that the instructions will not be properly followed, which will cause the phone to scrape and go to the SC. Therefore, if you do not have a full understanding of what it is about or you do not know how to do it, then it is better not to start! Here the author of the post or anyone else on this forum is not responsible for what was done, all responsibility lies only with you.

Baseline:

OCEAN DUGL (Dual SIM), Product ID: htc_ocndugl, MID: 2PZC30000, unlocked bootloader Unlocked, the last permanent TWRP configured by the PC to run adb utilities.

By compulsory preliminary reading: Which version you can remake your U11

For example, EMEA with SKU 2.33.401.19 and the task to remake in Taiwan, CID HTC__621 Taiwan needs

RUU for flashing the phone after changing the CID, available for this phone from the cap 2.31.709.1

#

Initial data

Reduced by 88%

Attached Image

2240 x 4000 (2.47 MB)

Reduced by 81%

Attached Image

1440 x 2560 (86.28 KB)

0. Connect the phone to the PC and load it into TWRP and move it aside:

adb reboot recovery

1. In order to be able to flash the desired RUU, we clear the software number in the phone:

1a. Execute the command from the terminal:

adb shell "dd if = / dev / zero of = / dev / block / bootdevice / by-name / misc bs = 1 seek = 2208 count = 16"

Should get an approximate result:

16 + 0 records in

16 + 0 records out

16 bytes (16B) copied, 0.007466 seconds, 2.1KB / s

1b. Check done:

adb shell "dd if = / dev / block / bootdevice / by-name / misc bs = 1 skip = 2208 count = 16"

We see instead of the software number an empty space:

16 + 0 records in

16 + 0 records out

16 bytes (16B) copied, 0.006654 seconds, 2.3KB / s

If everything is so, we move on ..

2a. Copy to the internal SD the desired section for further editing:

adb shell "dd if = / dev / block / bootdevice / by-name / board_info of = / sdcard / board_info.img"

2b. The resulting file can be edited by third-party * programs on Android on SD or copied to your PC (as I did) to the subdirectory where adb utilities, in any way or:

adb pull /sdcard/board_info.img

Attention! Save a copy of this to your original file.

3. On a PC, you can edit this file with a regular editor, such as Notepad, but better, more professionally, Hex Editor

Attention !!! There is a danger of the human factor, automatic whistles, typos. HTC's CID consists of 8 characters ... for example, Taiwan should be right: HTC__621, Europe: HTC__001, Russsia: HTC__A07. Before saving, check that you have not touched IMEI, which is written together for CID. It is necessary to edit only within 8 characters of CID, otherwise problems cannot be avoided !!!

We are looking for the current CID and fix it to the desired one:

#

save.

4a. We return the edited file to the phone in SD:

adb push ./board_info.img /sdcard/board_info.img

4b. We sew in its place edited board_info.img:

adb shell "dd if = / sdcard / board_info.img of = / dev / block / bootdevice / by-name / board_info"

The result can be seen in the download mode with the command fastboot getvar all or fastboot getvar cid

#

5. Reboot into download mode:

adb shell reboot download

from where we sew a pre-prepared RUU with extSD according to the instructions from the header, confirming it with the Volume + button, or using the RUU firmware method from a PC.

We end up with a phone on another full stock firmware:

#

5a. If someone wants to stay on the stock, then you can close the bootloader for Google Pay and similar applications according to the instructions: HTC U11 - Firmware (Post ziand # 64292895)

PS It is especially useful for those who want to change Hong Kong to another to display Russian letters in the dialer stock dialers .. etc.

PSS Of course, there is a technique and MID changes, but I do not post it for reasons of general bricks, especially on U11 ... there you also need to change something else too mfg

enjoy HTC : derisive: