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

Search This thread

kajfux

Member
Oct 20, 2014
24
0
I have an HTC U11. I wish to convert it from EVE__001 to HTC__001. I believe that this is a WWE? Do I have to the MID as well as the CID?

(bootloader) kernel: lk
(bootloader) product: htc_ocnuhl
(bootloader) version: 1.0
(bootloader) max-download-size: 1560800000
(bootloader) serialno:
(bootloader) slot-count: 0
(bootloader) current-slot:
(bootloader) imei:
(bootloader) version-main: 2.33.91.7
(bootloader) boot-mode: download
(bootloader) version-baseband: 8998-002772-1711161638
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 2PZC10000
(bootloader) cid: EVE__001
all:
finished. total time: 0.002s
Thanks
Hello. Could you give me the sdf1 file or clear photos of how the file should look, I lost it and can not start the phone.
Apparently in this file there is a software number, in my case is now only the CID and IMEI number, I need the data where the software number should be.

Wysłane z mojego Redmi Note 3 przy użyciu Tapatalka
 
Last edited:

Sasqwatch

Member
May 5, 2014
23
1
Changed cid and mid on HTC U11. Did a check before rebooting, all ok. However after a reboot, and a system upgrade of 345mb I now have no cid or mid according to getvar all. Simple cid getter apk gives cid as HTC__001 WWE. Any thoughts as to why fastboot get var all gives
(bootloader) boot-mode:FASTBOOT
(bootloader) unlocked:no
(bootloader) off-mode-charge:0
(bootloader) charger-screen-enabled:0
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:4084
(bootloader) version-baseband:
(bootloader) version-bootloader:
(bootloader) variant:MSM UFS
(bootloader) partition-type:cache:ext4
(bootloader) partition-size:cache: 0xE000000
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0xDBD000000
(bootloader) partition-type:system:ext4
(bootloader) partition-size:system: 0xEF000000
(bootloader) secure:yes
(bootloader) serialno:xxxxxxxxxxx
(bootloader) product:HTC_Phone
(bootloader) max-download-size:536870912
(bootloader) kernel:uefi
all:
finished. total time: 0.002s
 

DaveedDB

Senior Member
Nov 11, 2013
1,111
472
Bridgetown
Changed cid and mid on HTC U11. Did a check before rebooting, all ok. However after a reboot, and a system upgrade of 345mb I now have no cid or mid according to getvar all. Simple cid getter apk gives cid as HTC__001 WWE. Any thoughts as to why fastboot get var all gives
(bootloader) boot-mode:FASTBOOT
(bootloader) unlocked:no
(bootloader) off-mode-charge:0
(bootloader) charger-screen-enabled:0
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:4084
(bootloader) version-baseband:
(bootloader) version-bootloader:
(bootloader) variant:MSM UFS
(bootloader) partition-type:cache:ext4
(bootloader) partition-size:cache: 0xE000000
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0xDBD000000
(bootloader) partition-type:system:ext4
(bootloader) partition-size:system: 0xEF000000
(bootloader) secure:yes
(bootloader) serialno:xxxxxxxxxxx
(bootloader) product:HTC_Phone
(bootloader) max-download-size:536870912
(bootloader) kernel:uefi
all:
finished. total time: 0.002s
When you boot into download mode what does it show ?
 
  • Like
Reactions: Sasqwatch

jacobob

New member
Feb 15, 2012
1
0
Thanks to all for the great work in this thread.

I have an HKG CID and was going to change it to a TW CID to get more regular updates.
But I many people want to change it to the European model.
Beta_Tester666 I notice you did the opposite of what I was going to do are you getting the regular updates on the HTC__001
version that's the WWE version isn't it .

Any thoughts on which way to go.

Rgds W
plase recovery link expired, can re-upload plase
 

bdk1989

Member
Aug 21, 2014
11
1
Hi everyone!
I have problem when when flash ruu from version 1.24.400.3( HK) to 1.24.709.93( TW), error show "sending 'zip'... (2119628 KB) FAILdata too large, 2170499475 > 1316429824" and i dont know why, even i tried 2 method ( from htc_fastboot command and sdcard method).
My device is s-off, unblock bootloader, cid change to 621 or supercid 11111111, mid is 2Q4D10000.
The ruu file is: 2Q4DIMG_OCEAN_M_DUGL_O80_SENSE90GP_hTC_Asia_TW_1.24.709.93_Radio_8998-002772-1712201227_release_528412_signed_2_4.zip
Any idea for this. Thank u so much!
 
Last edited:

skodann

Senior Member
Jan 3, 2009
662
180
Bucharest
Xiaomi 13 Pro
Hi everyone!
I have problem when when flash ruu from version 1.24.400.3( HK) to 1.24.709.93( TW), error show "sending 'zip'... (2119628 KB) FAILdata too large, 2170499475 > 1316429824" and i dont know why, even i tried 2 method ( from htc_fastboot command and sdcard method).
My device is s-off, unblock bootloader, cid change to 621 or supercid 11111111, mid is 2Q4D10000.
The ruu file is: 2Q4DIMG_OCEAN_M_DUGL_O80_SENSE90GP_hTC_Asia_TW_1.24.709.93_Radio_8998-002772-1712201227_release_528412_signed_2_4.zip
Any idea for this. Thank u so much!
U11+ s-off? How?
 

Freak07

Recognized Developer / Recognized Contributor
Jan 2, 2011
6,441
23,039
Thank u, but i dont understand, what is different bettwen thems and can i convernt it to taiwan version or not?

A development phone is usually used for internal development.

Therefore it comes with S-Off ( security -off) and you’re able to convert it to any version.

Pay attention though with permanent S-Off you can modify pretty much anything leading to a non working device.

I suggest you do a lot of reading on the htc u11 forum as how to convert a htc phone to another fw. There are also good threads on htc 10 forums. You’ll be able to modify it quite easily since you’re s-off. This thread here covers a way to do it while still being s-on.
 
  • Like
Reactions: bdk1989

bdk1989

Member
Aug 21, 2014
11
1
A development phone is usually used for internal development.

Therefore it comes with S-Off ( security -off) and you’re able to convert it to any version.

Pay attention though with permanent S-Off you can modify pretty much anything leading to a non working device.

I suggest you do a lot of reading on the htc u11 forum as how to convert a htc phone to another fw. There are also good threads on htc 10 forums. You’ll be able to modify it quite easily since you’re s-off. This thread here covers a way to do it while still being s-on.
Many thank for your help.
 

edkmho

Senior Member
Aug 6, 2005
255
27
Hey guys,

I am attempting to change my cid from 060 to 621. Just wanted to check if the twrp-3.2.1-3-ocm_181101 can be use as i can't find the version mentioned in the instruction.

Please help. Thanks.

---------- Post added at 06:05 AM ---------- Previous post was at 05:52 AM ----------

hey guys,

I have flashed the recovery - twrp-3.2.1-3-ocm_181101 and the phone is encrypted, can't proceed.

Please help. thanks.
 

edkmho

Senior Member
Aug 6, 2005
255
27
Hey Guys,

Finally managed to get the cid change from HTC_060 to HTC_621 and also update to the latest version.

Many thanks, guys
 

edkmho

Senior Member
Aug 6, 2005
255
27
You need to format data in twrp.

Many thanks for your advise.

I have to basically need to use the correct twrp according to my current patch.

So i have install twrp-3.2.1-3-ocm_171201.img and it works fine.

On top of that i need to change the version in sde1 partition to match the new RUU i am going to flash, with this i am able to completely change CID and flash the Taiwan RUU.

Many thanks, guys.
 

vladifua

Member
May 11, 2016
25
4
Shumsk
Sorry I forgot to post full instructions - here they are:-

1) Download all the relevant files. You'll need:-
a) RUU from https://xdaforums.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

Hi! Will this instuction work on U11 Sprint USA?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    WARINING!!!!
    Flashing TWRP before doing anything, or you may lose your phone!
    And NEVER flash ENTIRE SDE and SDF parititions from OTHER phone!
    ------------------------------------
    In sdf1, there are some information after the IMEI2
    After I bricked my phone, I think these information is unlock code
    ------------------------------------
    Hello guys!
    After the last time I successfully downgraded by modifying /dev/sde1, I tried to modify cid and mid in the same way. I successfully done this today, but I encountered some problems while flashing the RUU pack.
    FAILED 14 android_info.txt missing or malformed
    It seems that HTC has some cryptographic verifications for this, so I cannot modify everything.
    The following is the method of modification. I hope people who are familiar with these can find things that I didn’t notice.
    -------------------------------------
    Changing mid:
    1.Get image of sdf2 partition by
    dd if=/dev/block/sdf2 of=/sdcard/sdf2.img
    and then pull it to your computer by
    adb pull /sdcard/sdf2.img
    2.Open the image file by hex editor, find the mid of your phone. For me, it is
    change it to the mid you want.
    3.Push the image back to your phone by
    adb push ./sdf2.img /sdcard/sdf2.img
    the flash it back to the sdf2 partition by
    dd if=/sdcard/sdf2.img of=/dev/block/sdf2
    4.Done. You can check it by
    -------------------------------------
    Changing cid:
    1.Get image of sdf1 partition by
    dd if=/dev/block/sdf1 of=/sdcard/sdf1.img
    and then pull it to your computer by
    adb pull /sdcard/sdf1.img
    2.Open the image file by text editor, find the cid of your phone. For me, it is
    change it to the cid you want.
    3.Push the image back to your phone by
    adb push ./sdf1.img /sdcard/sdf1.img
    the flash it back to the sdf1 partition by
    dd if=/sdcard/sdf1.img of=/dev/block/sdf1
    4.Done. You can check it by
    (Yes, I copied the above :) )
    -------------------------------------
    For changing version number to downgrade, here is the link:
    https://xdaforums.com/htc-u11/how-to/downgrade-downgrade-flashing-version-t3762172
    I noticed that there is also a cid in sde1, but modifying it does not make me to pass the checking of HTC.
    -------------------------------------
    After I failed on flashing the other RUU pack, I restore cid, mid and version number, and I pass the checking this time, so I don't think modifying them will cause trouble.
    There are many things in the extracted image, maybe some encrypted data is hidden inside.

    Hope this can help you.
    7
    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://xdaforums.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
    1
    I was pull file sdf1.img,sdf2,img from my devices but it's smaller than your file.
    adb shell "dd if=/dev/block/sdf1 of=/sdcard/sdf1.img"
    adb pull /sdcard/sdf1.img

    adb shell "dd if=/dev/block/sdf2 of=/sdcard/sdf2.img"
    adb pull /sdcard/sdf2.img

    sdf1.img size=16 kb
    sdf2.img size=256 kb
    1
    Hello
    I try get file sde1 but error

    What should I do?
    and how do you modify the sde1 file? "what is software?"

    Try it in recovery mode, or try
    dd if=/dev/block/sde1 of=/sdcard/sde1.img
    then
    adb pull /sdcard/sde1.img
    Just modify it by any text editor.
    1
    Wtf, when you connect the phone, either be in TWRP (it should be mounted via MTP already) or when phone is booted into system (there choose file transfer), then you can see the phone's storage.
    Then look in the root of the either internal storage or external storage and transfer the file to your PC to edit it.

    Sent from my Google Pixel 3 XL using XDA Labs

    Thank You,
    With your information I was able to change from Russian firmware (CID__A70) 1.24.401.2 to Indian firmware (CID__060) 1.24.400.2. I now have VoLTE, also I get ViLTE (carrier video Calling) by rooting the phone, on Jio network.