yashsingh1/xdaforums huggingface dataset:
[One (M8) General] redpoint73:
Its not possible. Different partitions, incompatible radios, etc. will not allow you to convert Verizon version to international version.
[One (M8) General] tunnex190:
Well done guys. Please how do I know if my HTC one m8 is developer or non developer edition? I got it not quite long and it seems to me the phone is unbranded as I have never seen any logo of brands on it and neither their bloatware. Just necessary apps and the HTC apps. That's all. So I don't know if it is developer or unlocked edition.
[One (M8) General] jshamlet:
Check the CID/MID - The Developer Edition is usually BS_US002
[One (M8) General] redpoint73:
I think BS_US001 may apply as well (at least I've seen it listed in some places) but BS_US002 is more common.

Also not sure, but I think these CIDs may apply to the US unlocked version, as well as Dev Ed.

The Dev Edition would be bootloader unlocked out of the box, and have system write protection disabled, as well (can delete system apps, and the changes will persist after a reboot). But OS software is the same as US unlocked, I believe.

---------- Post added at 09:15 AM ---------- Previous post was at 09:12 AM ----------

Where did you buy the phone from?

In addition to US unlocked and US Dev Ed, there are quite a few unbranded Euro versions. So as mentioned above, checking the CID and MID are your best bet.

If the bootloader LOCKED, RELOCKED or UNLOCKED?

S-on or s-off?
[One (M8) General] tunnex190:
Please how can I check this CID/MID?

---------- Post added at 04:18 PM ---------- Previous post was at 04:14 PM ----------

I bought the phone here in UAE. And I think it is bootloader LOCKED and s-off.
[One (M8) General] jshamlet:
The easiest way, if you can use fastboot, is to reboot to the bootloader and run "fastboot getvars all". Look for the row with "cidnum" in it.
[One (M8) General] tunnex190:
I saw something like CID : 11111111 last time I entered boot loader with power key+volume down.
[One (M8) General] redpoint73:
The phone has been modded to SuperCID (1111111).

You still need to do an adb getvar all, and post the output. We may still be able to determine more by the MID and productID. Delete the IMEI and serial number, as those are private info.

Whether the phone was originally a Dev Ed or not is a bit irrelevant at this point. Its been modded to change CID, and probably MID. Possibly originally a Euro version, then converted to Dev Ed.

Why exactly do you want to know (I assume you just want to know what the heck you've got), and more importantly what do you want to do moving forward? Keep stock, or root, flash ROMs, etc.?
[One (M8) General] tunnex190:
Yes your assumptions are very right. I need to know more at least of something about the phone. I am not accessible to PC at the moment, is there any way I can run this fastboot through terminal emulator to get this CID or MID?
[One (M8) General] redpoint73:
Not that I know of.

There are apps to read some of these things (at least there is for CID). But I've also seen those apps give incorrect CID (did not match getvar CID).
[One (M8) General] tunnex190:
I guess I must wait until I am accessible to the PC then. Thanks anyway.
[One (M8) General] mightywhites29111971:
I have a mac so am unable to use the ruu file. Is there a zip file for this?
[One (M8) General] primoski:
Hi,

The exe file its not working for me, after license agreement i accept the blue windows closes and nothing happens.

Im on windows 10 btw :)
[One (M8) General] SiK TL:
Extract the Rom.zip from the RUU.exe file.

Start the RUU.exe after the stage where it "unpacks" and gives you the terms to accept click on Start(or press "Windows" key) and search for %TEMP% and hit enter to open the temp file. Then at the top right of the folder you'll see a search bar, in it is search for Rom.zip.

You can then copy the Rom.zip AND the "htc_fastboot.exe" file to your adb/fastboot folder.

You can then either flash the rom.zip inside RUU mode (fastboot oem rebootRUU) with command htc_fastboot flash zip rom.zip <<< flash 2 times same command.

OR

You can place the rom.zip on your External SD Card(Root of SD Card) and then rename the rom.zip to 0P6BIMG.zip (make sure it's not .zip.zip though) and reboot phone into bootloader mode. From there you can just confirm to flash and Hboot with flash the RUU for you, pretty easy.
[One (M8) General] primoski:
Thanks!

I did that but when i open the rom.zip file, it say some file are corrupted, i had downloaded 2 times and still getting the same error.

I downloaded the L50 one.
[One (M8) General] SiK TL:
Why are you trying to open the rom.zip file?
[One (M8) General] Mr Hofs:
It's not corrupt, it's encrypted !!!
[One (M8) General] redpoint73:
Will the firmware flash if you do it this way (is it included in the ROM.zip)?
[One (M8) General] SiK TL:
Yes and yes
[One (M8) General] II_DiE_4:
Can i ask something since im new to HTC phones

Can i change just the radio to another if i followed this thread and turn the M8 into developer edition?

And if yes which ones are compatible radios?

Seems like the one in this doesnt like my router. If i connect to another router it works fine but with mine it fails to connect to couple of websites. Strange. Never had this with Nexus.
[One (M8) General] usmankh1001:
I bought a used m8

Its s-off,rooted and super cid but locked bootloader. I am unable to update via ota as i get an error of modified firmware error.

So kindly let me know the procedure how i can install ota update.
[One (M8) General] c5satellite2:
Is it rooted?
[One (M8) General] usmankh1001:
Yes its rooted super su installed
[One (M8) General] c5satellite2:
Unroot and try ota again.
[One (M8) General] usmankh10:
As i am on stock recovery,s-off,boot loader locked and super cid. Kindly tell me how to unroot my device.

i guess devices with supercid dont receive ota updates. Am i right?
[One (M8) General] :
If your s off, you can change your CID at anytime while in fastboot. I myself never use super cid. I use what cid I convert my phone to. For example...HTC__001 for EU...etc...

But run an RUU to unroot if you'd like.
[One (M8) General] usmankh1001:
As i am on supercid , i can run RUU of any region? All i want is to update my phone to MM. So let me know in my case supercid,rooted,booloader locked and s-off device.
[One (M8) General] bford152:
http://www.htc.com/us/support/htc-one-m8/news/

Download the file at the bottom of the page, dont change your Cid or Mid, follow the directions, and you'll be on MM Developers Edition stock, no root for GSM phones.
[One (M8) General] usmankh1001:
You are saying regardless of what ever cid and mid my phone has i should simply run this RUU?
[One (M8) General] c5satellite2:
You should be able to with super cid and locked bootloader. You may have to change mid. The RUU specified is HTC Developer edition. It should work for most GSM users.

But you originally asked about getting the ota. You should be able to get the ota if you are on a stock rom. If you have root, there should be a program in your app drawer named superuser or su(or something to that effect). Open it and you can disable root access. Reboot and try to get the ota. CID may need to be changed back to original.
[One (M8) General] ok_then_so:
Is this Guide working on Verizon htc m8, super CID and S-Off ? thanks
[One (M8) General] redpoint73:
No, you need to match the MID of the RUU also.

---------- Post added at 01:54 PM ---------- Previous post was at 01:52 PM ----------

Absolutely not.

Verizon and Sprint are different from most other M8 versions (different partition scheme).

Trying to convert to another version won't work, and will probably brick the phone.

---------- Post added at 01:56 PM ---------- Previous post was at 01:54 PM ----------

This RUU will only work if the MID is that of the Dev Edition, which is also same as AT&T version (plus proper CID or SuperCID).
[One (M8) General] tanzhjoash:
Hi, I am on S-off unlocked, using an international M8, MID 0P6B11000, CID 11111111.

Im wondering why i get this permission denied response in ADB

adb shell

shell@htc_m8:/ $ su

su

1|shell@htc_m8:/ $ 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=16384

0\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384 <

/dev/block/mmcblk0p5: cannot open for write: Permission denied

Can anyone help please?
[One (M8) General] jshamlet:
You didn't get root. Note the $ in front of your second command.

Make sure your device is properly rooted and that you accept the root request for ADB shell.
[One (M8) General] tanzhjoash:
Thanks! got it!
[One (M8) General] chevyjohn01:
That's unfortunate. Why the change? How then to backup recovery?
[One (M8) General] fma965:
You haven't been able to do it since 3.x

recovery can be extracted from the OTA zip (untested file attached)

Extract it and fastboot flash recovery recovery.img
[One (M8) General] fma965:
Did you install the RUU in OP?
[One (M8) General] chevyjohn01:
Oh, I see. I've been locked under AT&T stuck on 2.35 firmware for months now. Finally got tired of waiting for 4.4.4 update and finally decided to go Dev edition. Oh, well, I guess with each advancement we get there will always be one thing or two things that get harder in the process.
[One (M8) General] fma965:
Yeah i was on a custom ROM without the correct CID/MID for the OTA so i had to re-flash from scratch using RUU's and OTA's :) hence why i wrote the guide.

HTC and it's CID and MID's are really confusing compared to other phones... but other phones have their own weird issues aswell i guess, like loki/bump... etc.
[One (M8) General] hijodedios51206:
i had flashed the RUU in OP shortly after RUU was released.
[One (M8) General] bcduma:
I've followed the instructions to the letter and the RUU keeps failing. I guess it doesn't work on devices converted to GPE?
[One (M8) General] ducted:
I think you are in trouble... that MID looks ugly. Obviously something went bad when you changed your MID, the problem now is known what bytes where affected and revert it to his original state.

You should do a backup of the mmcblk0p5 partition, and do a check byte-by-byte with any hex editing tool starting at address 16384 (decimal). But this won't be easy...

The command to backup the mfg partition is:

dd if=/dev/block/mmcblk0p5 of=/sdcard/dump/mfg.img

Run the command after getting su permission performing an adb shell, and mfg.img will be written into your sdcard. It would be a great idea to have the same partition for the same model untouched to compare if this mess can be solved.

Anyway, if you dump the partition, post it here and I'll take a look. Crossing fingers I thin we can solve it... I hope...
[One (M8) General] hijodedios51206:
Nice!! i didnt expect such good news so quickly. luckily my brother and i both have M8's. his is completely intact, since his CID was never modified in the first place. ill upload once i get a chance tonite.. you will need just mine (the bad one) right?

also would this command work while running 4.16 update? i couldnt resist and restored nand backup on the collection thread.
[One (M8) General] ducted:
Perfect!

Yes, dump both, so I can compare it one against the other. That partition is a small one, only 256 KB.
[One (M8) General] BerndM14:
[MENTION=4348417]fma965[/MENTION] http://dl3.htc.com/application/RUU_...G_20.68.4196.01_F_release_411207_signed_2.exe

RUU For 4.16.1540.8 is available. Should make updating to Lollipop so much easier :good:
[One (M8) General] otariq:
If I convert my T-Mobile phone to the developer edition to get lollipop, would I able to simply flash the tmobile rom to get wifi calling once it comes out?

---------- Post added 15th January 2015 at 12:15 AM ---------- Previous post was 14th January 2015 at 11:52 PM ----------

Does this work for either of the 2 CIDs (the unlocked or developer version) I'm about to convert my T-Mobile phone to the Dev edition
[One (M8) General] BerndM14:
Yes it should work for both BS_US001 and BS_US002
[One (M8) General] saroot:
Clean and Clear and Fast. .

successfully upgraded to Sense Lollipop.

(From Stock 4.4.4 Canadian [Bell] )

Thanks a lot :)
[One (M8) General] otariq:
Thanks all seems to be working fine
[One (M8) General] hijodedios51206:
I was not able to get my hands on my brother's phone just yet. in the meantime, here is mine. i will post his, once i get a chance.
[One (M8) General] fma965:
Don't think it works on GPE

Thanks, OP Updated with new RUU and less steps

Yes will work for both

No worries, Glad it helped.
[One (M8) General] otariq:
Yeah the ruu only works if you have a sense base already on the phone. If you did the gpe ruu you need to follow the guide on getting back to sense first and then try this guide to update to lollipop
[One (M8) General] fma965:
Yeah thought so, pretty sure this has been mentioned in this thread already though, Also OP updated!
[One (M8) General] Jamal Ahmed:
Can anyone provide the MD5 for this file?
[One (M8) General] fma965:
I don't see any reason to as i'm pretty sure HTC would have built in safety checks for the RUU but regardless i will do it any way.
[One (M8) General] fma965:
LOLLIPOP RUU

http://dl3.htc.com/application/RUU_...G_20.68.4196.01_F_release_411207_signed_2.exe

CRC32: 665CF81E

MD5: FDB3C48A40F1D42165783D75CFF4B846

SHA-1: 0B3C785F7735133ED11852E2FFAD29949A514DB1

KITKAT RUU

http://dl3.htc.com/application/RUU_..._2G_20.63.4196.01_release_394319_signed_2.exe

CRC32: 79E8DE54

MD5: 5040B8D54D0ADA150531C66D899ABBE9

SHA-1: A1E39A089A23417DDF5A682BB6A23C9BDE77025B
[One (M8) General] ducted:
Hello!

I checked your file and found the mess, after writting the MID, the resulting text from the output console where written to your mfg partition also causing this mess.

I'm 99,9% sure I can fix it, but to be 100% I'll need the mfg partition from your brother phone to check it out.

My M8 is the international GSM model, 0P6B10000 and there are only 4 bytes I need to check to confirm.

Once checked I'll send you the command sequence to fix it, but this time you should be EXTREME CAREFULLY with this one. If something goes wrong again you could brick your phone.
[One (M8) General] chevyjohn01:
Anyone know a way to root LP without flashing custom recovery?

I want to keep as close to stock as I can so I dont have to do a mess of reverting for OTAs to work.

Tried towelroot last night, doesn't work. Doesn't look like kingroot works either.

LP 5.0.1 - 4.16.1540.8, s-off, unlocked bootloader
[One (M8) General] ducted:
You can flash TWRP, enter to recovery, flash SuperSU, reboot to bootloader and flash the stock recovery again.

If you reset to factory your device from bootloader menu once SuperSU flashed and stock recovery also, you will be rooted but stock.

Anyway, if you receive a OTA you'll loose root privileges and you'll have to repeat the same process every OTA is released. This is happening to me from KK 4.4.2.
[One (M8) General] chevyjohn01:
Anyone have LP stock recovery?
[One (M8) General] fma965:
um no offence but i already posted it in this thread.

http://xdaforums.com/showpost.php?p=58178170&postcount=25
[One (M8) General] chevyjohn01:
My apologies, I thought that was for 4.4.4
[One (M8) General] fma965:
OK no worries
[One (M8) General] jshamlet:
As an aside, the latest TWRP will now boot correctly on the Lollipop firmware. That is to say, you don't have to flash it right now. Just boot it, root it, and reboot. That leaves the phone otherwise stock.

Just replace "fastboot flash recovery twrp.img" with "fastboot boot twrp.img"
[One (M8) General] clsA:
Will it backup your stock recovery then ? That would be great.
[One (M8) General] fma965:
um i tried this and it didn't work are you sure this is true?
[One (M8) General] chevyjohn01:
My phone is bricked.

I flashed twrp, tried to install super su with no luck.

Phone restarted and stayed on white htc screen.

I still had adb connection so I re flashed stock recovery.

My intent was to run ruu again but I thought maybe if I factory reset that would solve the problem.

It didn't, now I cant even connect with phone through adb.

Is there a flashable ruu I can put on sd card and flash through hboot?
[One (M8) General] jshamlet:
Pretty sure, as that is how I rooted my phone after the Lollipop upgrade. My phone is still running stock recovery.
[One (M8) General] hijodedios51206:
I have the image from both phones. i compared it myself on hex editor and i see what you mean about the adb output text. My phone (bad file) has been flashed with different MID's multiple times to take advantage of OTA's up till now that i tried it, you read my first posts. My brother's phone (good file) is completely unmodified and has yet to see another MID.

will wait patiently for the good news. my phone isnt fixed just yet but thank you so much, i learn something new every day.
[One (M8) General] fma965:
OK firstly it's not bricked people need to learn the definition of a brick.

Secondary if you can get in to hboot you can press fastboot then you can follow everything in the op again.

you can flash a RUU from fastboot by booting to hboot, pressing fastboot then connecting to fastboot on your computer and typing "fastboot oem rebootRUU" then flashing the RUU
[One (M8) General] fma965:
hmm strange i will try it when i'm home if i have time.
[One (M8) General] fma965:
yeah if this works it will backup stock recovery.
[One (M8) General] ducted:
I have good news for you, this is fixed! :highfive:

Instead writting you a large command or small ones that you'll have to copy & paste via adb shell, I cleaned and fixed your mfg partition, and made a small script that you can flash using TWRP.

Download the attached file: mfg_fixed.zip and flash it using TWRP. Then reboot to bootloader instead rebooting to system and perform a fastboot getvar all command.

How looks your output now? ;)

I cleaned the address 4011 to 4054 (hex) writting zeros and then set the right 4 bytes I told you in my last message at address: 4040 to 4043 (hex) with the right ones: 52 2D 77 48 (hex)

That's how looks your brother phone mfg partition and mine too also, so It's 100% sure is right fixed.

Now it's a good time to do something that almost nobody does, but could save your phone in the future if something goes wrong flashing firmwares or modifying partition files.

Perform a adb shell, gain root privileges with su and write:

ls -al /dev/block/platform/msm_sdcc.1/by-name

You'll obtain a list with all the partitions in your phone with his name and block number, looking something like:

lrwxrwxrwx root root 2014-06-29 10:12 hboot -> /dev/block/mmcblk0p11

lrwxrwxrwx root root 2014-06-29 10:12 local -> /dev/block/mmcblk0p31

lrwxrwxrwx root root 2014-06-29 10:12 mfg -> /dev/block/mmcblk0p5

lrwxrwxrwx root root 2014-06-29 10:12 misc -> /dev/block/mmcblk0p24

lrwxrwxrwx root root 2014-06-29 10:12 modem_st1 -> /dev/block/mmcblk0p25

...

Now, perform a backup of each one. You can skip the boot, userdata, cache & system that are large and these are written when you install any ROM:

dd if=/dev/block/mmcblk0p16 of=/sdcard/dump/adsp.img

dd if=/dev/block/mmcblk0p3 of=/sdcard/dump/board_info.img

dd if=/dev/block/mmcblk0p37 of=/sdcard/dump/carrier.img

dd if=/dev/block/mmcblk0p33 of=/sdcard/dump/cdma_record.img

dd if=/dev/block/mmcblk0p40 of=/sdcard/dump/cir_img.img

dd if=/dev/block/mmcblk0p30 of=/sdcard/dump/control.img

dd if=/dev/block/mmcblk0p22 of=/sdcard/dump/custdata.img

dd if=/dev/block/mmcblk0p14 of=/sdcard/dump/ddr.img

dd if=/dev/block/mmcblk0p28 of=/sdcard/dump/debug_config.img

...The list is bigger, there should be over 52 partitions (depending model)

Notice the number of block with his corresponding name. Once finished, store it in a safe place and you'll have a real backup of your phone.

Well I hope everything goes fine flashing the fix. Contact me if you have any problem, I'm glad to help. :good:

Best regards,

ducted.
[One (M8) General] fma965:
Great work :) hopefully it fixed it for him
[One (M8) General] chevyjohn01:
Sweet, thanks a lot!

Running ruu right now. I appreciate your help.
[One (M8) General] fma965:
No worries, but this is already written in the OP ;)
[One (M8) General] jjairoph:
Work perfect in cid HTC__332

[MENTION=4348417]fma965[/MENTION]

I bougth my cellphone in Colombia, I was looking a nand for a cid HTC__332 for a long time, but this model isn't popular.

This easy procedure worked perfect to upgrade to Lollipop. You don't need to update modem or whatever.

You need to root again. Lollipop is really nice OS.

Thank's a lot.:)

John Jairo
[One (M8) General] mindmajick:
Upgraded from the previous developer edition using the ruu. Worked flawlessly.

On supercid and didn't do anything to the mid! Flashed the dev edition rom from twrp. Was originally on at&t sense.

Just booted the phone normally. Ran the ruu from Windows. The ruu told me the version I was on and proceeded to reboot me into RUU MODE and installed lollipop.
[One (M8) General] SpiritStealer:
Hello and thx for your hard work, its really amazing... I've read the whole thread hopefully to find the answers i want but didn't find anything

1- yesterday the HTC guy i chatted with told me that my phone is verizon branded but meant for outside of the US, " C9 " My CID is HTC__J15 ... so do u think i'll work on my device?

2- in my network modes i have LTE option " i don't know if it's normal on all M8 devices " will this option remain after the update ?

3- does this ROM contain Arabic language interface and Keyboard "my current ROM does"?

4- will i later be able to receive OTA updates after this tutorial ?

5- i have to have S-OFF & Unlocked Device to proceed, right ?

sorry if i asked too many questions but i've learned my lesson to ask about everything before i start messing everything around
[One (M8) General] hijodedios51206:
Your file worked like a charm. MID is normal again. i will backup everything else once i get a chance (currently at work :p ). will backup my brother's phone while im at it in case of anything.
[One (M8) General] clsA:
If you are Verizon this will not Work !

whats it say in your bootloader
[One (M8) General] SpiritStealer:
here is my bootloader info:

C:\Users\Stealer>fastboot getvar all

< waiting for device >

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.22.21331147A1.29G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 3.28.401.9

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

(bootloader) serialno: SH455W*****

(bootloader) imei: 3587********

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: HTC__J15

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: df77f8b7

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

and as far as i know my device work on all carriers and doesn't have any special apps connected to verizon or anything
[One (M8) General] clsA:
Your not Verizon those are normal for an International One ... once your S-Off just follow the first post and you'll have Lollipop Developers Edition in no time
[One (M8) General] SpiritStealer:
thx alot for helping me, can you answer my questions b4 i go on with the process ?

u'll find the questions few posts back
[One (M8) General] clsA:
Sure
[One (M8) General] SpiritStealer:
thx man u're a life savior :D

Going to S-Off and start the ride :D

---------- Post added at 03:49 AM ---------- Previous post was at 03:27 AM ----------

i can't seem to find a way to S-OFF, can u give me a link for a good GUIDE ? i've searched about it and all i found was SUNShine and i hear it's an paid app

can u help me plz ?
[One (M8) General] clsA:
SunShine S-Off

http://theroot.ninja/

is all that works
[One (M8) General] SpiritStealer:
and it's paid right ?
[One (M8) General] clsA:
Yes it's $25
[One (M8) General] ducted:
Great! :victory: