yashsingh1/xdaforums huggingface dataset:
[One (M8) General] Uzephi:
http://xdaforums.com/showpost.php?p=58725526&postcount=150

http://xdaforums.com/showpost.php?p=58411722&postcount=130

Also that post says nothing about sprint or Verizon branded phones in the OP. I had Verizon for 6 years and dropped them recently due to having different hardware on all of their phones. My M7 would not convert like all GSM phones would. Sprint and Verizon are pretty much the only CDMA providers out there so they will not convert to GSM.

"FLASH A GLOBAL FIRMWARE IN A CDMA UNIT WILL BRICK YOUR PHONE, YOU ONLY NEED TO CHANGE MODELID AND CID!!!" from the OP. You cannot convert or flash anything GSM to your phone. ever.

http://xdaforums.com/showpost.php?p=64877847&postcount=2

Read the second post please. Also read the third. this user was asking if it was okay. two users verified the hardware was different.

http://xdaforums.com/showpost.php?p=58223952&postcount=65

http://xdaforums.com/showpost.php?p=58225107&postcount=67

http://xdaforums.com/showpost.php?p=58225239&postcount=68

Please read the quote tree leading up to the one post you linked. He doesn't have a Verizon model. a Verizon model has a different ID. This person is s-on meaning it never had the right model for Verizon ever on the phone. he was misled on the phone's model.

From someone who has had Verizon phones since the Motorola Droid 3, I will say this for you, it will not work. Ever. CDMA phones HAVE to have different radios in them to work on CDMA networks. I was around when Sprint and Verizon started making "global" phones. My HTC Rezound was one of the first and it was a CDMA radio with a small GSM radio that had limited bands. It wasn't until the HTC M8 that HTC just decided to dual band the CDMA and GSM to be it's own special model as well for each carrier to make manufacturing a little cheaper, but those phones are still compeletely different as their mount points and memory allocations are different to keep the CDMA radio in tact.
[One (M8) General] scotty1223:
I am speaking against it too. You'd be well advised to listen to the advice he's giving you.

Enjoy your Sprint or vzw "world phone" in gsm the way it is(stock or custom Rom that supports gsm on that device) or sell it and get a real gsm device.
[One (M8) General] c5satellite2:
As others have stated, not recommended. CDMA phones like sprint and vzw should not flash firmware other than their own. Partitions are different and bad things can happen like an unrecoverable brick.
[One (M8) General] Shan89:
Hello everyone, so my friend has tremendous issue, hopefully someone in here has an idea how to fix it.

He bought m8, represented as DEV Edition. Came to my place, phone isn't DEV EDITION, well it appeared to be one ( firmware and rom were developer editions ) so we went with changing mid to m8UL and did it, next thing was flashing m8 UL firmware, which we did but failed in many stuff, we didn't pay atention, anyway flashed stock rom, went to boot up, couldn't boot up, it sent us directly to bootloader,tried dev ed firmware and some older 401 firmwares nothing worked, it can boot into TWRP but no way in hell to boot STOCK recovery after flashing firmware.

After some super heavy digging we've found out the phone is actually SPRINT device ( M8whl ), which explains why we can't get the recovery to flash via firmware flashing ( nor manual works ) After finding out that everything became simple, but actually not.

The issue we have is we need to change MID to SPRINT mid so we can flash back it's original firmware from sprint and restore the device to it's original state, the issue is we cannot use ADB SHELL since we can't boot into OS, only options are FASTBOOT, recovery ADB SIDELOAD. There's nothing else that we can do.

Flashing sprint firmware wont work due MID, mid wont let us flash it, so we're stuck with m8uL mid which prevents us to flash sprint firmware and get stock recovery working again. RUU doesn't work as well. Not even m8Ul RUU. So basically only thing left is to find a way to change mid.

So anyone if there is a way to change MID from bootloader via FASTBOOD or recovery please send the link or give instructions.

Thx in advance.
[One (M8) General] Uzephi:
Speak of the devil... Well, you need to do that echo command I'm the second post of this thread. You can do adb commands in most versions of twrp. Best bet is to try it out. You're very lucky it didn't just hard brick on you.
[One (M8) General] Shan89:
Yeah 2min after I wrote my post I found twrp thing.

BTW I must have flashed it 50x+ even failed 10+x, started sending firmware and just stays on then, then hard resting it lol. It's a stubborn device.

Anyway flashed Hk sprint firmware now just waiting for RUU to finish downloading and hopefully boot the damn thing.
[One (M8) General] moonhtconeM8:
whats the model id of asia india ??????????
[One (M8) General] Uzephi:
Hey, how did the ruu go? We're you able to salvage the phone?
[One (M8) General] Shan89:
Yeah all went fine, flashed HK sprint ruu, working great now.
[One (M8) General] SonyXperiaS:
Step 1 done perfectly, In step 2

When i type 'adb shell' I get a message 'error: device not found'
[One (M8) General] Einwod:
You asked in another thread about flashing the ROM, now here you want to change your MID number. What is it that you are trying to achieve?
[One (M8) General] SonyXperiaS:
Well as far as have seen, there are lot of limitations to the Verizon variant. You have got to stick to a couple of firmwares,most of the roms are not compatible except Viper. So I thought to better give it a try in changing MID... I having a hard time researching for my M8[VERIZON] although it is unlocked to use GSM. :confused::(
[One (M8) General] Einwod:
That's the difficult thing about US devices, at least you can modify yours to a certain extent. Sprint devices are rubbish when it comes to modifications. I take it you are S-OFF otherwise MID change would have no effect. Make sure you write everything down, especially your original CID/MID combinations in case you decide to return to the stock version of your software. Enjoy flashing and playing about with your M8.
[One (M8) General] anttaz:
Does anyone have the Taiwan MID at all if possible please?
[One (M8) General] Uzephi:
Do not change your mid. The CDMA variants (Sprint/Verizon) cannot be converted. Go to the Verizon variant section. It has roms made for your phone.
[One (M8) General] SonyXperiaS:
An Update tried the above process, My MID got changed successfully. It may be converted I guess:confused:
[One (M8) General] Uzephi:
Do not flash an ruu. Firmware might work, but an run will either softbrick or hard brick your device. There is instructions to change the mid back to Verizon and in the notes it specifies why it is there and the purpose for it.

Edit: conversion isn't fully complete until an ruu is ran. I, and many others, advise against it as it has never worked for CDMA devices. We have helped fix some soft bricks, but some users were unlucky and it completely borked their emmc chip.
[One (M8) General] SonyXperiaS:
As for me there weren't any problems, successfully tested Android Revolution and ViperOne ROMs on my phone, both running smooth.

Maybe I get it that as mine is a Verizon unlocked phone to use GSM carriers. :good:
[One (M8) General] redpoint73:
SIM unlocked (VZN M8 is SIM locked from the factory) and what kind of carrier you are on has nothing to do with it. The issue is in the partitioning. The VZN M8 is not partitioned the same as other variants. If you try to "convert" by running another version's RUU, it wont' work, and may lead to a radio brick.

Simply put, do

not

run another version RUU on the VZN M8. And since running other RUUs isn't possible, changing MID doesn't get you anything, either.

Flash custom ROMs intended for the VZN version, and you will be fine (see Verizon M8-specific develpment section).
[One (M8) General] MeltdownSpectre:
Yes.

It's 0P6B1500 (or 0P6B150)

Sent from my Nexus 6
[One (M8) General] joejohar:
Kindly, help me get my old mid back : htc desire 816 dual sim 0P9C70000

Thank you
[One (M8) General] joejohar:
kindky help! I need the script for 0P9C70000

​
[One (M8) General] hbrajhbh1:
any one may please help to change mid for htc desire eye model id (any code )or guide? thanks
[One (M8) General] anttaz:
So How using ADB can I Change MID to this???
[One (M8) General] MeltdownSpectre:
You'll need to ask someone for the right command to change to this MID.

Why do you want to change anyway to this MID anyway?

Sent from my Nexus 6
[One (M8) General] anttaz:
To change mid to match firmware and Ron base yet also stay super cid

My mid at no is o2 uk

Firmware I have always used Taiwan as 90% of time a higher newer firmware version

---------- Post added at 08:14 AM ---------- Previous post was at 08:10 AM ----------

I have mid number for Taiwan

My current mid is o2 uk

Can you please provide the correct way to change mid to Taiwan please?
[One (M8) General] ckpv5:
That is wrong .....

Taiwan MID is 0P6B11000
[One (M8) General] MeltdownSpectre:
No.

0P6B11000 is the MID for Australia M8.

My M8 was Australia carrier branded and that was the MID on it.

Sent from my Nexus 6
[One (M8) General] ckpv5:
0P6B11000 is for Asia MID - Asia WWE (HTC__044 & HTC__059), Taiwan (HTC__621) , Australia Vodafone (HTC__039 & VODAP021) & Australia Telstra (TELST001)

Here is the details from Taiwan firmware -

modelid: 0P6B11000

cidnum: HTC__621

mainver: 6.20.709.2

btype:1

aareport:1

DelCarrier:1

hbootpreupdate:3

Here is the details from HTC Asia WWE firmware -

modelid: 0P6B11000

cidnum: HTC__044

cidnum: HTC__059

mainver: 6.14.707.1

btype:1

aareport:1

DelCarrier:1

hbootpreupdate:3

Here is the details from Australia Vodafone firmware -

modelid: 0P6B11000

cidnum: HTC__039

cidnum: VODAP021

mainver: 6.12.710.4

btype:1

aareport:1

DelCarrier:1

hbootpreupdate:3

Here is the details from Australia Telstra firmware -

modelid: 0P6B11000

cidnum: TELST001

mainver: 6.12.841.4

btype:1

aareport:1

DelCarrier:1

hbootpreupdate:3
[One (M8) General] MeltdownSpectre:
The WWE Asia Version (M8_UL) is 0P6B11000, the other Taiwanese variant (M8_UL_TW) is 0P6B150, the user did not clarify which one he was asking for.
[One (M8) General] ckpv5:
He did mentioned he has O2_UK MID which is m8_ul and MID 0P6B10000

Since you know about this and mentioned m8_ul_tw, can give a firmware no./version no. for this MID 0P6B15000 ? I mean the GSM firmware, not GPE.
[One (M8) General] MeltdownSpectre:
As far as I know, as long as it's S-OFF, GSM firmwares from the normal M8_UL can be flashed since the only main difference is the clock speed.

Normal GSM M8 is at 2.3GHz whereas Taiwan variant is at 2.5GHz.

However, people have said you shouldn't flash the radio as there is a difference and the GSM Radio (for example from the 401 RUU) will not work with a Taiwan variant.
[One (M8) General] ckpv5:
This is going my last respond since you don't get the point that I tried to explain and you don't really answer the question what the firmware no. for MID 0P6B15000.

Let say the user follow your advise and change MID to 0P6B15000, which firmware no. that he can install ?

We cannot expect him to install Taiwan firmware 6.12.709.4 or 6.20.709.2 which require MID 0P6B11000 ? AFAIK there is no GSM firmware available for MID 0P6B15000, unless you know there is one, let us know the no.
[One (M8) General] anttaz:
My Device is O2 UK unlocked my firmware is Taiwan Device is s-off just wanted to change mid to that of my firmware see if made a difference?

Just wanted instructions how to do this?

Can find specifics on pc to my mid firmware when home from work if like?
[One (M8) General] ckpv5:
Instructions are on OP ...

while in OS - you run commands

adb shell

su

follow by codes

while in TWRP recovery - you run commands

adb shell

follow by codes

O2_UK MID - 0P6B10000 - you can find code on post #1

Taiwan MID - 0P6B11000 - you can find code on post #2
[One (M8) General] anttaz:
All the codes look the same to me for changing MID?

This is why I'm Stuck
[One (M8) General] ckpv5:
They look the same for you but they are different for the system ...

Part of 0P6B10000 - x42\x00\x31\x00\x30\x00\x30

Part of 0P6B11000 - x42\x00\x31\x00\x31\x00\x30

Most important, read OP ... copy and paste the codes (don't write them on your own) ... Good luck ...
[One (M8) General] anttaz:
Sorry again and Thanks again

and is 0P6B11000 - x42\x00\x31\x00\x31\x00\x30 for sure Taiwan MID ?
[One (M8) General] ckpv5:
I answered this before .. check my previous post.

Or

Do you have the Taiwan firmware.zip ? (I believe you do have it, if not no reason for you to change MID).

Extract it and open the android-info.txt, you'll see the modelid (MID) written there ... then you can be sure what actually you need.
[One (M8) General] anttaz:
Firmware I am using is 6.14.709.4

My current MID is : 0P6B10000

Android-info.txt is giving me:

ModelID: 0P6B1****

ModelID: 0P6B6****

modelid: 0P6B10000

modelid: 0P6B11000

modelid: 0P6B12000

modelid: 0P6B13000

modelid: 0P6B11000

modelid: 0P6B15000

modelid: 0P6B16000

cidnum: 11111111

cidnum: VODAP***

cidnum:	VIRGI***

cidnum:	T-MOB***

cidnum:	TIM__***

cidnum:	TELST***

cidnum:	TELEF***

cidnum:	ORANG***

cidnum:	O2___***

cidnum:	BOUYG***

cidnum:	H3G__***

cidnum: HTC__***

mainver: 6.12.709.4

btype:1

aareport:1

hbootpreupdate:3
[One (M8) General] ckpv5:
That's not original htc signed firmware ... it's a customized firmware so people with S-Off can flash it without change MID.

The signed firmware can be flashed by both S-On & S-Off device and has only one MID for TAIWAN - same as what I posted earlier but that is for the latest firmware 6.20.709.2

Here is the details for the older firmware 6.12.709.4

modelid: 0P6B11000

cidnum: HTC__621

mainver: 6.12.709.4

btype:1

aareport:1

DelCarrier:1

hbootpreupdate:3
[One (M8) General] anttaz:
Thanks I also have the older firmware 6.12.709.4 Gives same info as above but MM one downloaded must have been modified then.

Thanks again
[One (M8) General] ckpv5:
OK ... I wonder why actually you installed a Taiwan firmware when there is O2_UK firmware 6.13.206.5 which I believe should be better for you and for where you are located.
[One (M8) General] anttaz:
MID after using x42\x00\x31\x00\x31\x00\x30 now is: modelid: x21100000

---------- Post added at 11:52 AM ---------- Previous post was at 11:45 AM ----------

Followed guide in post #2 now have mid: 0P6B11000
[One (M8) General] ckpv5:
I mentioned here, the code is on post #2 - http://xdaforums.com/showpost.php?p=66202825&postcount=459

and don't write the code on your own but copy paste.

Now you already successfully change the MID, so good luck with whatever reason that you need to change the MID in the first place.

Gotta go now ....
[One (M8) General] anttaz:
Seem to get better stability, performance and benchmarks using Taiwan firmware I use Taiwan firmware for years.

Was even better when skydragon did a Taiwan variant base of their rom.. Performance and stability was phenomenal.. Would love to see a Taiwan based custom rom again.. Would try it myself but I'm not skilled enough to do it alone I don't think.
[One (M8) General] eranda84:
do I need root also?

S-Off and but bootloader locked?
[One (M8) General] Einwod:
S-OFF is the only requirement to change the MID.
[One (M8) General] thejosh86:
Yes, you won't be able to execute the commands in adb without root.
[One (M8) General] Jongla:
(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 4.0.U605611@50319A

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 4.28.502.1

(bootloader) version-misc: PVT SHIP S-OFF

(bootloader) serialno: *

(bootloader) imei: *

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B13000

(bootloader) cidnum: 11111111

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: 06f11f5b

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

This is my getvar value.i want to update my firmware to MM.

But it seems that my firmware is AT&T and my MID is T mobile.

And also CPU-Z says it is M8 Europe.

I am so confused :confused:

Now which MM RUU should i run?
[One (M8) General] Einwod:
Did you read anything that I posted in the other thread where you posted this? Read the threads I pointed you to and you will get your updates. Why must we spoonfeed people that are so lazy to do any research? Iwill not help again.
[One (M8) General] Jongla:
Buddy,

I never posted in any other thread about this T-Mobile na AT&T thing.

But i was going to flash MM RUU,but i found the post at ask away thread,and saw that i had exactly same getvar dump that made me confused as i was thinking that my device was a HTC Europe all along.
[One (M8) General] ckpv5:
Just change the MID to EU - 0P6B10000 then you're good to install EU MM RUU which is better at where you are located now.

Leave the CID as it is now ....
[One (M8) General] Jongla:
So i can run any RUU just by changing the MID according to the RUU?
[One (M8) General] ckpv5:
Yes ... any GSM RUU not the Sprint or Verizon ones.

But to run a MM RUU exe ... you first need to flash it's MM firmware.zip, if not you'll get error 155.

Lollipop RUU, no need firmware.zip flashing.

Good Luck.
[One (M8) General] Einwod:
Please accept my apologies, I was thinking this was the exact same post as in another thread. Once again, sorry.
[One (M8) General] Jongla:
No worries. :silly:

That happens when you have to answer a lot of questions which actually have the same answer.
[One (M8) General] Skyfall007:
I have bought a phone with Verizon mid. Can I change it to Europe mid?
[One (M8) General] Einwod:
Depends on the version. If it is CDMA then DO NOT change it. It will not be compatible.
[One (M8) General] Skyfall007:
how can I find if it is cdma?
[One (M8) General] Einwod:
Google is your friend:

If it is a pure CDMA or GSM phone (i.e., not an LTE phone), then there is a simple check (certainly in the US where SIM's are not used for CDMA services).

Basically, if the phone has a SIM slot and an IMEI written on the phone (beneath the battery or reported by the settings), it is a GSM phone.

If it does not have a SIM, and it has an MEID or an ESN written on the phone (beneath the battery or reported by the settings), then it is a CDMA phone.

Note that some "CDMA worldphones" from Sprint and Verizon also have a SIM for when they are used for GSM overseas, but if they show an MEID, then they are basically a CDMA phone with GSM capability too.
[One (M8) General] Uzephi:
Do "fastboot getvar all" and make sure it is a Verizon MID. If it is, you cannot. Verizon phones are different and has been discussed in this thread quite a few times. Most recently a few pages back.
[One (M8) General] cincon:
my phone is verizon htc m8, CDMA phone but i am using with Sim card in europe but i can not gey any LTE signal in band 20,because verizon htc does not support band 20..if i chance to my verizon to international version;

can i use what i want to use bands?

thanx u
[One (M8) General] Einwod:
You cannot change a CDMA device to international. It's physically impossible.
[One (M8) General] cincon:
How can i active band 20? Verizon does not support it
[One (M8) General] Einwod:
Therefore you cannot.
[One (M8) General] arjhay07:
Hi,

Can I use this method to convert my HTC M8 Verizon variant to European variant?

Thanks!
[One (M8) General] Uzephi:
This has been discussed a million times over: No. You can change the mid, but flashing an ruu will either soft brick if you are lucky or hard brick your device. Verizon and Sprint variants have a CDMA radio and that makes them have different mount points and memory allocations.
[One (M8) General] downwiththebanksters:
(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.23.213311491.A13G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 5.07.1700.12

(bootloader) version-misc: PVT SHIP S-OFF

(bootloader) serialno: FA44xxxxxxxx

(bootloader) imei: 3587xxxxxxxxxxx

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B11000

(bootloader) cidnum: 11111111

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: 11459804

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

I have several questions, some noobish, some not. I use so many flash/java blockers in my browser I can’t do multiquotes, sorry so I’ll be quoting/bolding several threads above. My main goal is to get my recently RUU MM GPE’d phone back to the stock Sense partitioning so I can install the latest blues MM. My phone was originally MID HTC__621 purchased here in Taiwan. The” freshest” stock firmware I can find on (https://docs.google.com/spreadsheets/d/1aNd_nm4Em1wamRLFT7qHM2c3O9_sg_H3ztBrGq1u9Ws/pubhtml ) is the 6.12.1540.4 of the DevEd/unlocked. I think, from my readings here, the DevED is what I need to restore the correct “stock” partitioning since I’m on MM. I am a bit confused if I need to go back to stock Lollipop in order to eventually achieve stock MM partitions … but I think not?? I’m unsure if this will be a less than optimum radio for me here in Taiwan, but I’ll address that in later questions after I get my first sticking point resolved:

I think that I will need to change my MID to the ATT/Dev MID but I can’t find what the string of digits is here, except in the code you use in ADB (echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x31\x00\x32\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=1638) to change the MID. My first problem is I can’t, when in the OS, to get the miniadb M7 to give me a superuser prompt so I can make the change.

“Instructions are on OP ...

while in OS - you run commands

adb shell

su

follow by codes”

I see this post further down which says:

"Quote:

Originally Posted by eranda84

do I need root also?

S-Off and but bootloader locked?

Yes, you won't be able to execute the commands in adb without root."

My phone is not rooted, with stock GPE recovery. It is pure GPE as I wanted to feel the novelty of an OTA update just once in my life. I received last months, so the novelty has worn off.

Is my inability to gain superuser to then execute the change MID command because my phone isn't rooted now?
[One (M8) General] ckpv5:
You don't need to do those. Just install Taiwan MM Firmware.zip

http://xdaforums.com/showpost.php?p=66532965&postcount=11931

then install ROM.

If you need signed firmware, check : http://xdaforums.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860

(post #5)
[One (M8) General] downwiththebanksters:
Hi! You helped me with my much stupider issues to get to where I am now, thanks again! Nice to have someone in my timezone.

I have dl'ed that, but I'm confused if I need correct partitions to be stock Sense?

Do I need to root my phone before I do anything?
[One (M8) General] ckpv5:
Yes .. you need correct partitions to be on Sense or to install Blues ROM with Sense apps or any Sense based ROM.

No need root ... just follow the guide on the link on how to flash the firmware.

After you flashed the firmware, you need to install latest TWRP recovery if you still not on one ... in TWRP wipe menu you need to format data (not wipe data).

Note - backup all your important files from Internal storage like photos, musics & etc before you do this as the format data will erase everything on internal storage.

I'm on your time zone but I'll be away now and be around after 3 hours.