yashsingh1/xdaforums huggingface dataset:
[One (M8) General] Geoffr86:
we have same MID, do you remember your original CID man?
[One (M8) General] kuihome21:
Yess its HTC__622
[One (M8) General] kuihome21:
yes, its HTC__622. hey btw on which android version are you?
[One (M8) General] Geoffr86:
Thanks man, 4.4.4, should we have same mid if we're in diff countries? Not sure how it all works lol.
[One (M8) General] ninjai117:
So what happens if the command screws up? Is the device bricked or do I have the opportunity to fix it? If so, how would I fix it?

Additionally, since I'm with Wind mobile, are my radios affected by changing the MID?
[One (M8) General] hamdir:
M8 Eye :)

modelid: 0P6B90000

cidnum: HTC__044

WWE Asia .707

echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x39\x00\x30\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384
[One (M8) General] werro6:
so should i do this to change my mid or should i just find a difrent firmware im trying to flash 4.16.401.10 for arhd but my mid is 0P6B20000, the MID for the firmware is: 0P6B10000 so would changing my mid solve this i realy dont want to brick
[One (M8) General] jjdp:
Do I need to be rooted in order to do this I keep getting permission denied
[One (M8) General] Garmig:
Yes sir, your device needs to be rooted and in debug mode.
[One (M8) General] jjdp:
Dammit I was rooted before I gpe converted. Don't really want to do it again but might have to for otas
[One (M8) General] boe323:
Does anyone actually have a eng bootloader so I can complete the process of making it a test device, ie, 11111111 ans s-off, just need the eng bootloader options lol
[One (M8) General] Behold_this:
You don't need eng bootloader for any of the things you just mentioned.
[One (M8) General] boe323:
I know, just wanted to mess with the extra options you get with the eng bootloader.
[One (M8) General] Pumpino:
My device is rooted. I'm trying to change my Australian Telstra branded M8 to generic European.

The process appears to hang, and I noticed that I don't get a true # prompt when I enter su.

Also, does this change the CID as well as the MID? I haven't checked what the CID is.

C:\miniadb_v1031>adb shell

shell@htc_m8:/ $ su

su

echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x31\x00\x30\x00\x30\x00\x30\x00\x30'

| dd of=/dev/block/mmcblk0p5 bs=1 seek=16384

echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x31\x00\x30\x00\x30\x00\x30\x00\x30'

| dd of=/dev/block/mmcblk0p5 bs=1 seek=16384

EDIT: Nevermind. I got it to work.
[One (M8) General] anttaz:
Hi Do you or anyone in here Know European, unlocked, developer MID ?

Not the AT&T or US one?

:confused::confused:
[One (M8) General] BerndM14:
It was in the first post.... :eek:
[One (M8) General] anttaz:
yes thats how I got from o2 to europe

but thats not the european dev/unlocked mid
[One (M8) General] BerndM14:
:confused: Didn't know Europe had a developer edition. :confused: As far as I knew only the US had an "unlocked/Developer Edition" but not the EU or the rest...
[One (M8) General] EddyOS:
We don't have a DE, only the 'normal' unlockable M8_UL with MID 0P6B10000

On an unrelated note, anyone know the MID of a stock EU Dual-SIM M8?

EDIT: Don't worry, found it (0P6B64000)
[One (M8) General] scotty1223:
same here.

do you want me to add this to the second post?
[One (M8) General] EddyOS:
If you want. Others helped after I PM'd you and they also added the command needed for the MID switch which should be:

echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x36\x00\x34\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384
[One (M8) General] scotty1223:
adding now :)
[One (M8) General] jaxenroth:
I have this same question. I'm S-off, SuperCID, and using TWRP. Will the FW flash because of SuperCID, or fail cause of the MID mismatch? Any input would be great.
[One (M8) General] Tigerstown:
I got one for the m8..had one seen last march :)
[One (M8) General] toysoldierq:
thank you for this work perfectly
[One (M8) General] hellshinoda:
My MID is 0P6B100. Is there are code to change back to it yet? I tried but cannot find it anywhere in this post
[One (M8) General] Tigerstown:
If you can't figure it out. I can change your mid for you not using this method.
[One (M8) General] elderlypwnage:
I changed the MID on my Wind phone and having trouble getting it back to the right MID. When I run fastboot getvar all my modelid is 0P6B1300000 when I would expect it to be 0P6B13000. Is the command correct? I'm curious because I'm trying to go back to stock and get an OTA for Lollipop but when the download finishes it fails verification and says the download is corrupted. I suspect it has to do with my MID. Any idea why my MID has the couple extra 0s at the end?

(bootloader) modelid: 0P6B1300000
(bootloader) cidnum: GLOBA001
[One (M8) General] elderlypwnage:
I've now solved my issue. If anybody comes across this, it's because when I changed the MID initially the command I used wrote 0s where it shouldn't have. Luckily it didn't write over anything important.

hexdump /dev/block/mmcblk0p5 -s16384 -n32 -c
0004000 0 \0 P \0 6 \0 B \0 1 \0 3 \0 0 \0 0 \0
0004010 0 \0 0 \0 0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0

I had to add \x00\x00\x00\x00 to the end to put null bytes where the extra 0s were. Note to self: take more care when running commands!
[One (M8) General] EddyOS:
The code on the back is missing digits, it's actually 0P6B1000 (EU model)
[One (M8) General] deadirony:
I have a Indian M8 CID was HTC__038. I changed CID to 11111111 after S-Off. If I change MID can I get updates with WWE edition? Actually want to convert it WWE edition.
[One (M8) General] fcukmayank:
echo command for indian M8 0P6B65000

echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x36\x00\x35\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384
[One (M8) General] deadirony:
I just changed from this to European. Thank you guys.
[One (M8) General] fcukmayank:
Congrats

Let the flashing begin ! :D
[One (M8) General] drmoeed:
Can't change MID back ...

Hi ...

I own Taiwanese HTC One M8x ... i converted its MID to EU edition i.e from OPB611000 to OPB10000 using the command you gave in OP ...

Now I have to grab an OTA of Android 5.0.2 and want to change MID again to OPB611000 ... Im following the same command and method but its not changing back ... Help plz ...
[One (M8) General] rickylambert:
Changing firmware and MID won´t do any harm, however I had no joy in my (many)attempts to flash ARHD this way. Somehow and despite what some recognized users claim I´ve not been able to get past bootloader.

What I do is stay on VZW firmware/MID and flash ARHD along with Elite kernel, which has proved to work on all versions since 21.0. Smooth as silk, no issues at all.
[One (M8) General] redpoint73:
You need to have the correct CID

and

MID to flash a firmware. So CID check will pass (for just about any firmware, since you have SuperCID), but MID check will fail if you have the wrong MID.

---------- Post added at 03:23 PM ---------- Previous post was at 03:20 PM ----------

Verizon/Sprint version are different hardware than GSM variants. If you are trying to flash GSM firmware, they won't be compatible with your Verizon variant, and that is why your phone won't boot.
[One (M8) General] rickylambert:
Yes, you´re right. However it feels like being so close, because in fact I´m on GSM network with my VZW device. Maybe some dev will find out the magic needed to complete conversion.
[One (M8) General] Tigerstown:
Will still need help?
[One (M8) General] David_UK:
Hi i changed my MID and CID From european to google play edition how can i change my MID back to europe? the commands won't let me? I can't paste the code? iam s-off and SU? the command will not paste into window?
[One (M8) General] prasadnaidu66:
hi guys,

Plz helpme

how to change indian MID ( 0P6B65000) from europe .. ??

send me the process

Thanks in advance
[One (M8) General] David_UK:
Can anyone help me out?

Edit I've managed to sort it out now :)
[One (M8) General] HOLLOWHEART:
I'm basically in the same situation as these two guys i need to change my mid i think.

Has anyone found a way of doing this without bootloops ? :confused:
[One (M8) General] prasadnaidu66:
Hi all,

Please provide ModelID for 0P6B65000 . Indian version ??

I want to return back from European to indian ID

Thanks in advance
[One (M8) General] Rjev07:
Original cid for Indian is HTC__038 & modelid 0P6B65000

Check post no 292 of this thread for indian echo command...
[One (M8) General] salahmusmari:
mid htc one m8 asia-india

I don't see 0p6b6500 mid code in the list of codes. Any one help me to get it.
[One (M8) General] EddyOS:
Dude, the post directly above yours tells you where to look...
[One (M8) General] desighee69:
CID and MID not matching. what to do?

My HTC one m8 is S-off. my modelid is OP6B63000 and CIDnum is HTC__622. all i want is for my phones MID to match with my CID. can anyone please tell what MID would be suitable for the 622 CID? I'm really confused about this issue. the phones a GSM version and i believe its of an asian region(making that assumption based on my phone's CID). If anyone legit knows what my MID should be please reply as soon as you see this. stuck on 4.4.3 and need to match the CID and MID to process OTAs and simultaneously update the firmware which after which i can update to lollipop sense and use the software without any issues like broken wifi and stuff...
[One (M8) General] EddyOS:
Why don't you think they match?
[One (M8) General] jxcorex28:
Have you tried changing the mid ? Try this link

http://xdaforums.com/showthread.php?t=2708581
[One (M8) General] EddyOS:
This is that thread!
[One (M8) General] jxcorex28:
Holy crap, You are right....My mistake was to ignorant for an Eureka moment. I was on my phone when I suggested that link, and thought I was on a different thread. My apologies !!!
[One (M8) General] scotty1223:
This.

If you changed it,you should have made a copy of a getvar all with all your original info. Or at least scribbled it down on a napkin

Best way to figure out what mid you need to be on if you have altered it is to find/capture an ota file and look on the android info document inside firmware.zip

Unless you need the phone stock for warranty,I personally would simply convert to European unbranded(x.xx.401.x) and leave it at that

Sent from my HTC One max
[One (M8) General] ziad_elmasry:
I have HTC one m8 s-off with "cid htc__038" "modelid: 0P6B65000".

I changed my CID to GOOGL001 and MID to 0P6B17000 and then flashed "RUU-HTC_One_M8_GPE_5.0.1-3.11.1700.5.zip" non rooted.

but after all that I didn't get the new update 5.1, can any one help me with that??
[One (M8) General] exad:
I couldn't get it either. Not sure why.

Oddly enough, just tried again, changed mid to GPE but used superCID instead of Google's CID, then flashed the 4.4.4 GPE conversion zip and it worked.
[One (M8) General] beardo81:
I've been trying this but to no avail, I have a corrupted serial number and modelid (see my thread here) and cannot see my phone via adb. I've tried everything listed but no joy.

Can anyone take a look at my thread and help maybe please? I'm losing my mind over this!!

Thanks
[One (M8) General] Rango85:
I've converted over to a non-rooted GPE 5.0.1 from Sense using "GOOGL001" as the CID. (From graffixnyc's thread).

However, I'm getting a "Permission Denied" error when I paste the long string after entering the "adb shell" command. Do I need to root?
[One (M8) General] scotty1223:
Yes. You need to be rooted.

Sent from my HTC One max
[One (M8) General] scotty1223:
Sorry for the late response, I will try and look at your thread in the next couple days

Sent from my HTC One max
[One (M8) General] beardo81:
Hi Scott,

No worries man, got problem sorted. Thanks for reply anyway.
[One (M8) General] shafez:
You will recieve OTA update from 4.4.4 to 5.01 but not from 5.01 to 5.1.
[One (M8) General] exad:
You're right. I ended up using the 5.1 RUU
[One (M8) General] Rango85:
Ok, but from what I understand, if I root I won't be able to download OTA updates.

I also haven't gotten any OTA updates at all since converting to non-rooted 5.0.1 GPE from official Sense (from graffixnyc's RUU thread). So I was wondering what could be causing this issue since I use "GOOGL001" as the CID and "0P6B16000" MID.
[One (M8) General] scotty1223:
Root doesn't matter. You need to be on a correct "release keys" version to trigger the ota,then have an unmodified system,and stock recovery in addition to the correct cid/mid in order for it to install.

You need root to change mid. If you wish to unroot after,you can use the unroot function of superSU or run an unrooted RUU
[One (M8) General] boe323:
Can this be done from twrp recovery?, im trying to help someone get there mid back to stock, there phone wont boot in to any OS because his firmware is all messed up, he needs the sprint model id so he can flash the stock firmware package?
[One (M8) General] shafez:
Yes can be done in TWRP recovery
[One (M8) General] elcientifico:
MID Change

Hr Everybody Can you help me change de MID 0P9C30000 to 0P9C70000. How calculate this?
[One (M8) General] henguich:
What's this mean?

warning! provided only for folks who have changed their mid and realized they shouldnt have,or achieved s off via a java card. DO NOT change a gsm or vzw device to this in attempts to use it on sprint and convert to a sprint device(or vice versa).

I have a htc one m8 (verizon), I'd like to convert it to a developer one, mi carrier works with gsm.

what's will happen if I change the mid to a developer ?

regards
[One (M8) General] dipal_roy:
MID needed for 0P6B65000

MID needed for 0P6B65000 Asia India version... Thanks in advance :D
[One (M8) General] Rjev07:
It's there mate....you need to search.. its very important one for your phone.If not read thoroughly..you might brick you phone...So read it.

Post no.291

[emoji4]
[One (M8) General] dipal_roy:
Thank you man :)
[One (M8) General] mbwambo:
Heloo guys... My phone is from sprint variant with ss-off and supercid.....so by changing Mid can I go in other variants like T-mobile, or international because I hate CDMA which doesn't exist in my country I need WCDMA.......as shown below....
[One (M8) General] GraveDigger176:
yeah you have to watch on the first site of this post in wich mid you want to change, then follow the instructions and all is going well :good::cowboy:
[One (M8) General] scotty1223:
No!!!

Do not do it,its a bad idea and will not give you any different bands or change the simlock. There is good reason the vzw and sprint MIDs are followed by warnings

Sprint version can(or it could,haven't been following that) be sim unlocked,but you honestly are much better off to get rid of it and get a GSM version.

Sent from my Nexus 9
[One (M8) General] Economistaterry:
I tried changing my HTC One M8_WHL PVT SHIP S-OFF into developer edition using the guide on http://htc-one.wonderhowto.com/how-t...dates-0156524/ . I successfully changed the MID and the CID without breaking a sweat. After, I used TWRP to restore the backup which the guide instructed me to download and restore. After restoring that backup, device could only boot HBOOT. Now I tried running the RUU.exe for Developer Edition and I get the error which asks that I run the correct RUU for the device. Now, the device doesn't boot pass HBOOT

What I can do ...

1. Boot into TWRP recovery

2. Give fastboot commands with HBOOT

3. Boot into RUU via fastboot

What I can't do ...

1. Boot the device

2. Revert the MID change to its original state cos I will need to run ADB Shell to do that, which cannot be done from HBOOT

3. No RUU.exe is responding to flashing the device

The specific help I need ...

1. Be able to Change MID using Fastboot so I can run a SPRINT RUU

fastboot getvar all results ...

C:\adb>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.24.21331147A1.09G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 4.16.1540.8

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

(bootloader) serialno: Mod Edit

(bootloader) imei:

(bootloader) imei2: Not Support

(bootloader) meid: Mod Edit

(bootloader) product: m8_whl

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B12000

(bootloader) cidnum: BS_US002

(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: 3aa067db

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.031s

PLEASE HELP!
[One (M8) General] jshamlet:
This should really be posted to the Q&A section.

Put a Sprint TWRP backup on a SD card and use TWRP to restore it. Then, once you are running an OS, put your CID/MID back. Finally, if necessary, run a full Sprint RUU to clean up.
[One (M8) General] scotty1223:
Any luck? You can also enter the command to change the mid in recovery. You can then run the Sprint ruu.

Again, there is good reason that I recommended not doing what you have attempted.

Sent from my HTC One
[One (M8) General] mk1080:
europe m8 dual sim MID

0P6B64000

echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x36\x00\x34\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384

Hi. I used that command to change my mid, but it results in adding two zeros at the end. The same happens if I use the other mid echo commands. Always two zeros more at the end of the mid.

It would be very helpful if someone has an idea what causes this.
[One (M8) General] scotty1223:
That has happened before, I'm pretty sure it was with m8. Look back through the thread.

Sent from my HTC One
[One (M8) General] mk1080:
Thank you, I found it.
[One (M8) General] scotty1223:
Cool. I assume you are sorted?

Sent from my HTC One
[One (M8) General] mk1080:
Yes, with

echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x36\x00\x34\x00\x30\x00\x30\x00\x30\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384

I got rid of the two zeros at the end and ota-updates are working again.
[One (M8) General] Economistaterry:
Yes please, I resolved the issue. I booted into TWRP and ran the ADB Shell to revert the MID to Sprint. I changed CID to Sprint in HBOOT and I was able to flash a Sprint RUU. I returned the device for a full GSM one. Thanks for your help. Very grateful to you all.
[One (M8) General] Uzephi:
Great work as always Scotty. For anyone wondering, you can run a T-Mobile RUU on an AT&T model after changing to supercid and changing the mid to Tmo. Just did it and running all T-Mobile band on this AT&T branded phone.
[One (M8) General] semmihabi:
i have m8 mid is 0P6B12000 i wanna convert europe device how can i do please help me
[One (M8) General] Einwod:
Try reading the first post. It's all there.
[One (M8) General] semmihabi:
i try but it' s not working. my device mid is 0P6B12000 but i can install just harman kardon ruu and just flashing custom rom compatible with sprint. for example i can't flash viperone m8 4.6.0. how can i convert my mid to 0P6B10000 ? Please help me
[One (M8) General] scotty1223:
That doesn't make sense. If you are att/unlocked/developer mid you shouldn't be able to flash sprint ruu.

ROM flash has nothing to do with mid

YOU CANNOT CONVERT SPRINT or VERIZON PHONES TO GSM! I wish people would stop trying. If you have a sprint device fully convert back to sprint and hope everything still works.

If mid is not changing,you're s on,or your not following directions. Saying "its not working" is a vauge statement and doesn't provide enough info to even guess how to help you.

I suggest you read the first post carefully. If you're still having problems that then you need to reply in detail the state of your phone,whhat you tried to do,and what happened as a result.
[One (M8) General] semmihabi:
Thank you I convert my phone mid is 0P6B10000 cid is 11111111. When I flash custom roms like viperone m8 4.6.0 phone starting fastboot my phone is not open system what can I do please help me
[One (M8) General] redpoint73:
You don't need to change the MID to flash a custom ROM.

I suggest you immediately stop messing with things like changing MID before you do permanent damage. Create a new thread in Q&A, and state your issue in detail, step-by-step from the beginning; preferably with getvar data (with IMEI and serial numbers deleted).
[One (M8) General] :
my model id is 0P6B67000. I found the carrier of this model id. but I couldn't. can someone tell me the carrier for this modelid?
[One (M8) General] Einwod:
With that MID and a CID of CWS___001 you have a AT&T device.
[One (M8) General] :
my CID is HTC__J15. it can't be AT&T, can be?
[One (M8) General] Einwod:
You need to post the results of fastboot getvar all. Remove your SERIAL and IMEI numbers from the output before posting. These can be used against you. The MID you posted is for AT&T. Maybe you are S-OFF and it has been changed by someone else.
[One (M8) General] :
(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.25.21331147A1.06G

(bootloader) version-main: 3.36.401.2

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

(bootloader) serialno: HC57********

(bootloader) imei: 35*************

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B67000

(bootloader) cidnum: HTC__J15

(bootloader) security: on

I am sure that modelid had not been changed by anyone, because the inside & outside modelid both are same. This is a brand new bought phone.
[One (M8) General] Einwod:
The MID does not match the firmware version. Strange. You should try to update the phone via OTA. The firmware is old and not suitable for Lollipop ROMs..
[One (M8) General] Mr Hofs:
HTC__J15 is EU unbranded and from origin *.**.401.* firmware.

but your MID should be B1000 at the end if i am not mistaken.

Strange his firmware seems up to date as his hboot is 3.19. It looks strange ?!
[One (M8) General] ckpv5:
His device is an Egypt/Middle east version .. should have one OTA to 4.16.401.9 not the normal 4.16.401.10/13 as EU.

On other devices it is known as x.xx.415.x

But his problem is nothing to do with the thread
[One (M8) General] :
this device don't get update beyond 4.4.4 & when update is checked it shows no update available. product date of the device is july 2015. but it is a matter to wonder giving no lolipop update. I couldn't find a lolipop ROM for this modelid. (without a nandroid backup) this modelid is still a puzzle for me. I am sure it is not AT&T. as the processor is 2.5GHz, I think to convert device to an asia version after getting s-off. I don't know how much it is successful. what is your opinion?
[One (M8) General] ckpv5:
Yours is not AT&T because AT&T is 2.3GHz.

Yours is Egypt/Middle East version.

If you're willing to do S-Off, you only need to change the MID to EU then you can use EU RUU to update to 4.16.401.10 then OTA to 4.16.401.13 and you still have HTC__J15 .. you don't really need to convert it Asian Version
[One (M8) General] :
can it affect the performance from the processor 2.5GHz than 2.3GHz with an EU RUU? why there is no information about this modelid to find?
[One (M8) General] ckpv5:
You still have same performance as for 2.5Ghz.

There are a few devices with no or little information like yours and some America Latin that I know.

Gotta go now .. bedtime ... do that S-Off and you'll find you have better control of the device (just be careful and don't do something that you're not sure on a S-Off device)
[One (M8) General] :
I'm going to bed & I'm very thankfull for your advice. good night.
[One (M8) General] Mr Hofs:
oh yeah sorry chief !
[One (M8) General] elpicard:
Hi. Im getting

Im S-off

Edit:

Even with root, I have to use "su" command.

Profit
[One (M8) General] piyushkohli97:
I hv a verizon m8 running on GSM SIM without any issues. By changing CID and MID i will be able to convert my verizon phone to global version without running into any problems? And will my phone still work as usual on network part? And also is this reversible?

Sorry for all this but this is my first htc and i m new to all this stuff. I hv s off.