yashsingh1/xdaforums huggingface dataset:
[One (M8) General] tameracingdriver:
Excellent guide. I've flashed a fair few ROMs in my time, but I certainly don't consider myself to be an expert, yet when I normally read guides for flashing ROMs, they always end up being 100x more complicated than in the instructions, but yours were spot on. Thanks for this guide! :good:
[One (M8) General] mindmajick:
Just gotta say- "kudos to HTC!"

this is the best lollipop rom I own. Lightly debloated and memory tweaked.. but still better than any lollipop Rom I've run on this device or my N7.
[One (M8) General] jshamlet:
Agreed. Other than a few minor issues with iptables and the new audio subsystem (which you can switch out), this has been a fantastic upgrade so far.
[One (M8) General] SiK TL:
I've always had a hard time when flashing RUU. So I have a few questions. I'm on BlissPop 1.7. Should I flash to a sense 6 rom (currently on a AOSP ROM) with TWRP recovery before trying this? and will I be able to flash TWRP like I regurly would after doing this ? Sorry for the noob. questions. Just trying to get all my ducks in a row before I attempt this lol
[One (M8) General] abyssis:
Delete
[One (M8) General] bassitone:
Just worked flawlessly for me! (At least, flawlessly in terms of the phone doing what it needed to do - had to reboot windows to kick adb in the pants once before writing CID)

Now waiting for all the things to redownload onto lollipop. For those on the fence, it's about as painless a process as you can get, long as you're careful and follow the steps exactly/ :good:
[One (M8) General] Andrew149:
were you gpe based or sense based?
[One (M8) General] bassitone:
Sense-based. I never did the GPE conversion (looking back, it would've saved me a ton of headaches this weekend), though I run plenty of AOSP-based ROMs on this thing.
[One (M8) General] chegeluuv:
Developer vs Unlocked

Just a quick n00b question. What's the difference between the developer edition and the unlocked edition of the M8? It's not quite clear in all the articles that I've been reading. What's so special about the developer edition other than currently getting to upgrade to lollipop?
[One (M8) General] fma965:
no idea most likely it is the version of the phone that the HTC developers use.
[One (M8) General] jshamlet:
As near as I can tell, the Developer edition is an unlocked edition that can have its boot loader locked and unlocked without affecting the warranty. Otherwise, they are both SIM unlocked and run the same software.
[One (M8) General] xtcislove:
New Phone

Is there a free way to get s-off? I like to install the latest roms
[One (M8) General] :
Hi,

Thanks for your guide, it worked flawlessly. Can I safely assume that I can now change my CID to supercid and proceed to flash the new 4.16.401.9 firmware ? Or does the 4.16.1540.8 coming with the RUU superseeds it ?
[One (M8) General] tameracingdriver:
Agreed with others, does seem like a very good upgrade. I've just swapped out stuff like the dialer, launcher, messages, keyboard etc etc and it's mostly pretty Nexus like in most respects but it seems to have excellent stability and battery life so far and it does look a bit nicer overall. Happy with it so far! I might even go so far as to say I prefer it to the GPE version (except in one or two fairly unimportant areas).
[One (M8) General] xploitUK:
Followed this guide and now have a beautiful lollipop experience on my one m8 :)

Only thing now, how do I get badges on my icons telling me how many notificatioms each app has? Cheers
[One (M8) General] fma965:
Great work but pointless if you ask me as you said thats how to do it without a computer but you still need a computer to get the rom.zip therefore kinda rendering the first point mute. Thanks anyway though.
[One (M8) General] fma965:
Nope

I believe 1540 is newer.

Yeah definitely a good and non-bloated upgdate :)

Thanks, No idea though sorry.
[One (M8) General] ducted:
Hello!

You have reason, my post is bad structured from the start.

I'll make some corrections.

Cheers!
[One (M8) General] supreme329:
Does this work for Sprint?
[One (M8) General] jshamlet:
1) No, there is only Sunshine, and it's $25 per device. However, if you have the most recent firmware, you will be waiting for a while, as it doesn't work at all for some devices right now.

2) You do not have to S-off to install alternate ROMs. You only need S-off to install other variants of HTC ROMs which check the CID/MID. If you don't/can't pay for Sunshine, there are a couple of Lollipop ROMs for the M8 out already.
[One (M8) General] fma965:
Thanks, Don't get me wrong though good work and nice guide it's just the first few lines said you didn't need a computer but then it says later on that you do to extract the RUU :)

Sprint uses GSM? if so yes... i'm british so dunno.

Yeah he is correct, I used sunshine my self and worked great for around £15 GBP :)
[One (M8) General] gzhn:
changing mid worked for my s-off unlocked device. thanks a lot
[One (M8) General] Smith2001:
Hi,

I've installed this rom on my UK voda (S-off) phone however the phone is now set to English (US) and i cannot seem to find the English (UK) option. Anyone any ideas on what do here?
[One (M8) General] BerndM14:
Just change the keyboard to English UK that way it'll do the spell checking with the keyboard layout as well, not much else you can do other than that.

Almost looks like one of those "Why do they speak American in England" moments :rolleyes:
[One (M8) General] mindmajick:
Also change settings in date and time.

Those two things are all you should need. I've accidentally installed the UK version a number of times and just switched those two things so it would be "right" for me.
[One (M8) General] Viper4713:
This may sound goofy but can I simply run this RUU without MID change and such to try out Sense? I will be doing custom roms so OTA's won't be a thing for me anyways.

I am on GPE now, in fact I have an authentic GPE from Google Play Store.

EDIT: Also, could I just get the unlocked/dev RUU from HTC website and use that with SuperCID? like for future reference.

EDIT 2: I studied more and believe I have a better understanding, thank you!
[One (M8) General] exocetdj:
your MID will need to be changed to run the RUU if its different to the variant that RUU is for. It won't work. Should be the only thing to change if u are s off and super cid
[One (M8) General] Viper4713:
Yeah I got it all sorted out now thanks, Sense 6 is better then I thought, I am enjoying it more than GPE at the moment :D

I haven't tried "Sense" sense version 3.0 :laugh:
[One (M8) General] plocri:
just a stupid question: is the RUU multilanguage or english only?
[One (M8) General] BerndM14:
Well there is Italian, it is multi-lingual but NOT all languages, or even all "dialects" like "Brazillian Portuguese" for example. Italiano however is there. Seeing as you have an Italian flag there, I just figured...
[One (M8) General] SiK TL:
So if I'm on US T-Mobile s off & I unlocked. I can use the RUU in the OP and follow the instructions? Thanks in advance

Sent from my One M8
[One (M8) General] BerndM14:
Yes, you'll definitely need to change the MID(T-Mobile is 0P6B13000, you need 0P6B12000) and CID, after that you can just run RUU.
[One (M8) General] SiK TL:
Thanks. I have a couple last question. I'm having a hard time finding the stock recovery I'll need to be able to replace my custom recovery after I flash TWRP. Will my current stock recovery work or do I need the lollilop based one? And to confirm. That adb command in OP will get me the 0P6B12000 mid i need. Sorry for the noobness! Lol just trying learn here.

Sent from my One M8
[One (M8) General] BerndM14:
Well running the RUU would flash back the necessary stock recovery regardless.

There should be a stock recovery in the backups thread RUUs, OTAs, Stock TWRP Backups, Firmware & More Collection else just download the firmware.zip for the device(I take it this is after you're already Developer edition so in this case Developer edition) OR you can download the OTA.zip also available in that link I gave. Inside the OTA.zip you'll find the firmware.zip and inside that you'll find the stock recovery.img which you can extract.

Edit: Yes the command in the OP will get you to 0P6B12000.
[One (M8) General] SiK TL:
Man! Thanks a bunch bro.

Sent from my One M8

---------- Post added at 07:31 PM ---------- Previous post was at 06:32 PM ----------

ok so i changed my mid/cid but when trying to run RUU. the prgram would just stop running after hitting next and accepting the terms.
[One (M8) General] BerndM14:
Doesn't it give an error message or anything? If you want you could do the following:

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] SiK TL:
thanks buddy! ill try this. crossing my fingers lol
[One (M8) General] jshamlet:
How long did you wait? The RUU program has some ridiculous delays, and I thought it had crashed the first time I used one. It is a UI fail, but it will generally come back.
[One (M8) General] BerndM14:
Yeah I opened the 3.28 one on the work PC and saw it took a while to do anything. Which is why I never bothered with it when I used the RUU(4.16), apart from not having a windows box it was better to just use the sd card method to flash the RUU.

Didn't even take that long :cyclops:
[One (M8) General] SiK TL:
Oh I waited. I had my task manager open so I can confirm the program closed down. I'm going to try a different PC but right now my wife is on it. I tried the SD card method but it wouldn't let me transfer it over. I appreciate all the help. I definitely learned how change mid's though. Lol

Sent from my One M8
[One (M8) General] Jacobz1996:
I want to know what that set of commands that's under the red text that says it type it exactly or brick phone does because wen I turned my att m8 in to dev edition I didn't put that command and my phone's battery is draining very quickly even after a Factory reset
[One (M8) General] SiK TL:
Those commands will change your mid to the developer edition mid.

Sent from my One M8
[One (M8) General] dreckis604:
Hi guys quick question. I am on a custom Rom 4.4.3 with twrp recovery. Am I okay just to flash the ruu and follow instructions. Do I need to flash stock recovery first !??
[One (M8) General] BerndM14:
Are you trying to place some blame for something on the OP of this thread :confused: Possibly hinting that he's giving malicious commands to enter :confused:

0P6B12000 will look something like this in hexeditor:

30 00 50 00 36 00 42 00 31 00 32 00 30 00 30 00 0.P.6.B.1.2.0.0.
30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0...............

He uses the echo command to view text(Going by a pretty generic definition, I'm not an expert on the matter though. You might want to read up on echo command) with the -ne options added. "n" being to NOT output a trailing newline(Lookup newline in programming), the "e" is to enable interpretation of backslash \ escape sequences. In the command given the \(backslash escape sequence) used is \x which is a byte with hexadecimal value. In our "change" being made x is 2 digits "\x30\x00" etc.

So what he's "inputting there is as follows, after each \x## I'll put the corresponding number/letter in bold:

\x30[B](0 zero)[/B] \x00[B](. dot)[/B] \x50[B](P)[/B] \x00[B](. dot)[/B] \x36[B](6)[/B] \x00[B](. dot)[/B] \x42[B](B)[/B] \x00[B](. dot)[/B] \x31[B](1)[/B] \x00[B](. dot)[/B] \x32[B](2)[/B] \x00[B](. dot)[/B] \x30[B](0 zero)[/B] \x00[B](. dot)[/B] \x30[B](0 zero)[/B] \x00[B](. dot)[/B] \x30[B](0 zero)[/B]

30 = 0 ; 31 = 1 ; 32 = 2 ; 33 = 3 ... 39 = 9

41 = A ; 42 = B ; 43 = C ... 49 = I(i) BUT J = 4A ; K = 4B ... O = 4F ; 50 = P(Hence \x50 for the P in 0P6B...)

The rest you can look up for yourself, most he'll use the 30 - 39, the B and P in these changes.

So by now you should already have noticed how it runs there. You can look up for the rest yourself and if you don't fully understand it, nor want to take the effort to understand it perhaps you shouldn't run it in the first place. Instead of making posts which almost looks like an accusation.

---------- Post added at 10:29 PM ---------- Previous post was at 10:11 PM ----------

RUU installs stock recovery.
[One (M8) General] dreckis604:
just 1 last qiuck question, after flashing the RUU can I flash custom recovery and then SuperSU?? it shouldnt be a problem right?
[One (M8) General] SiK TL:
You should be able to proceed as you would before. I didn't have any issues apart from running the RUU.

Sent from my One M8
[One (M8) General] BerndM14:
Yes. Can get root like normal.
[One (M8) General] dreckis604:
I've flash custom recovery etc, but when i try to use titanium backup to restore my apps it asks for root access which I give however it says root access failed? any clue?

---------- Post added at 01:43 AM ---------- Previous post was at 01:33 AM ----------

never mind installed latest version and it worked! if i wanna take OTA I need to flash back stock lollipop recovery I assume? does anyone have a copy or know where i can find?
[One (M8) General] BerndM14:
RUUs, OTAs, Stock TWRP Backups, Firmware & More Collection
[One (M8) General] Jayare_H:
ok Noob question here but I am trying to learn when I run adb shell then type su it says su not found. I am s-off with sunshine what am I missing.

Edit 1: Through more research I found out that this will not work on Sprint because of CDMA. :( I would still like to find the answer to my question in order to learn more about this process. I am guessing I need to be rooted and flash superSU prior to doing this.
[One (M8) General] ameer8124:
i have htc one m8 And i can see 2 flags #TAMPERED# #UNLOCKED#

i have htc one m8

And i can see 2 flags

#TAMPERED#

#UNLOCKED#

AND ofcourse S-ON

Also rooted

Can i do as u show in video to remove tampered and unlocked and return it in to LOCKED??

please help me

Thanks looking forward to hear from you.﻿
[One (M8) General] balag59:
Hi,

First of all great work!!I had a question and i think i already know the answer to this question but i wanted to confirm once anyways. .I got a verizon factory unlocked m8 from ebay and im currently using it on a GSM carrier in India and i will continue to use it on GSM networks only. .so by any chance can i convert mine to a developer edition?im thinking not possible but just wanted to be sure. .Thanks a lot in advance!
[One (M8) General] anttaz:
How to perform in ubuntu wine does not detect phone so is there a linux friendly way?
[One (M8) General] :
This method worked perfectly. Only issue i had was when after everything was finished, i unlocked the bootloader again, pushed recovery, and flashed super user. Then after systemUI and DotView crashes non stop. Anyone come across this or was it user error?
[One (M8) General] fma965:
I'm british so it's defintely there.

Um what? i didn't make any video.

Is it S-OFF?

use ADB and fastboot for linux :P

Working fine for me try factory reset.
[One (M8) General] balag59:
yes im s-off and rooted.
[One (M8) General] :
Yea, i tried factory reset and even flashed ARHD and for some reason it carried over. Only thing i could think what happened differently is i has CF Lumen installed when i did everything and never uninstalled the driver for it. But i would think since a new firmware was installed , that driver would have been overwritten. ehh, no biggie. Thank you.
[One (M8) General] anttaz:
How in linux if I use use ADB and fastboot for linux with the download provided being an RUU
[One (M8) General] fma965:
I dunno lol, i was tired and drunk when i replied to that my bad xD
[One (M8) General] anttaz:
Extracted Rom.zip from temp file in Wine Windows directory tried flashing Rom.zip via fastboot with phone in ruu mode and it fails followed your guide to a t ?
[One (M8) General] anttaz:
error getting is

target reported max download size of 1826418688 bytes

sending 'zip' (1494129 KB)...

OKAY [ 59.929s]

writing 'zip'...

(bootloader) zip header checking...

(bootloader) shift signature_size for header checking...

FAILED (remote: 32 header error)

finished. total time: 60.251s
[One (M8) General] inningsdefeat500:
Guys, I got the update but when it goes via stick to update, it goes to red exclamation immediately
[One (M8) General] anttaz:
anyone the zips for this rom bootloader/firmware/rom?

Because I am a linux user and thiss ruu is unable to install.

Also I can not unzip this ruu?
[One (M8) General] anttaz:
Its ok just found zip for One M8

HTC

WWE EastEurope

MR

3.4.0

v5.0.1	534 MB

4.16.401.10

on htc uk dev website :)
[One (M8) General] wava11:
asian model

Hi,

I'm new to htc phones, I bought my m8 in hong kong (m8y) and i wanted to know if this method works for this model :)

also could anyone give me a link or tell me where i can find a link to a guide on how to s-off?

I'm still riddled with this subject, since my past phones were samsung's and i could simply flash roms on them without the need of unlocking stuff.
[One (M8) General] olimjon:
i have also m8y . you can s-off via sunshine if your phone is on 4.4.2.if you updated you cant s-off
[One (M8) General] wava11:
are you serious?

what the heck, so I can't flash anything to my device?

I have 4.4.4...
[One (M8) General] olimjon:
Unfortunately sunshine doesn't support our device after 4.4.2. You can flash custom roms s-off is different thing
[One (M8) General] wava11:
so, can I flash a rom which is 4.4.2 and then s-off and then perform this guide to make my device a developer edition one?

And, have you tried this guide? if so, did it work?
[One (M8) General] ThePhoneGeek:
First off thanks to OP for all the work in putting this together. Now conventional wisdom says it won't work on Sprint and there are many here much smarter than I about this so I pose the following question:

Since the Sprint version also contains GSM radios for use worldwide would it not be possible to follow this method and the underlying result be that the GSM radios would work on bands that overlap here in the US (a few but not all) and the CDMA radios be completely disabled since there would be no software recognizing they exist?

Again I don't ever claim to be the smartest guy in the room just curious if it were possible. Sure the obvious answer from many would be "you try it and let us know if it works" and perhaps maybe that's the answer which I am not willing to do yet, perhaps when I get my M9 but just wondered.

I've had a hard time really believing the hardware is different for the CDMA devices. It just doesn't make sense to have different hardware for all these devices, too costly, and manufacturers don't like spending extra money for different hardware setups. Maybe no choice and I am all wet and if so then so be it...
[One (M8) General] sampink69:
UK htc one m8 cid htc_001

Will this work in the uk with the uk radios?
[One (M8) General] neo243:
works great [MENTION=4348417]fma965[/MENTION] thanks for the Guide.
[One (M8) General] GHammer:
4.4.2 RUU Is The Answer

Yes, that is exactly what I had to do after taking the OTA from AT&T. I used a 4.4.2 RUU then did Sunshine, then was able to get the Developer Ed RUU to run. Easier than it sounds and I have been very happy with the result.
[One (M8) General] Jayanyway:
Everytime I try to open the RUU, it shuts down after I accept the terms and conditions. Very frustrating. I've re-downloaded it like 5x lol
[One (M8) General] SiK TL:
Look back at post #119 bro. I had the same exact issue and a member posted a walk through. That's how I resolved my issue. Hope that helps.
[One (M8) General] Jayanyway:
Yeah I'll give that a shot. I'm going to try to do it with the SD card method but so far every time I try to move the ROM file over to my SD card, my computer says the device is removed or not responding. So, I'm uploading it to my drive then going to try to download it to my phone. I'll keep you posted. Thanks!

Figured out what I was doing wrong/what was going wrong. Done with the update, I'm so damn excited. Thank you all for the hard work you put in, really appreciated!
[One (M8) General] starvednsl33py:
Unroot?

This is going to sound really stupid, but what happens if I unroot after completing the upgrade to lollipop on an AT&T variant?

I'm trying to run apps that don't function with root in place.

using SuperSU v2.46
[One (M8) General] fma965:
nothing will happen. you won't have root.
[One (M8) General] starvednsl33py:
Thank you so much for your fast response! I just wanted to double check that I only lose root functionality :) thanks again
[One (M8) General] :
I used to always have this problem too. The trick is, Adobe Air needs to be installed on pc.
[One (M8) General] albologna:
Having a problem

the shell has... "cannot open for write: Permission deniend...

What can I do?

Thank you
[One (M8) General] leandronb:
Hi guys, i got s-off today and succesfully converted my cid_332 to developer. i want to know if this ruu method also changes the radio. thanks.
[One (M8) General] antoniobarrerad:
like a charm!

I converted a M8 from telce mexico with no issues.

I had to buy the sunshine but it was worth

Thanks so much.
[One (M8) General] Vjetar:
Worked like charm.

Many tnx [MENTION=4348417]fma965[/MENTION]
[One (M8) General] jshamlet:
If you use the full (windows-based) RUU, then yes, you will get the DevEd radio. I'm not sure about the ZIP based RUU that you install from a SD-card, as I've never used that method.
[One (M8) General] pctx:
Stuck on the RUU install that is linked in the OP. Cannot get it to copy over to my M8 after putting it in the RUU readiness state. Any help?
[One (M8) General] shafez:
Which method you are using? Pls describe what you did .
[One (M8) General] pctx:
Followed the OP;

I have Android SDK, Java SDK, HTC Sync manager installed.

Using the Adb commands provided, I am able to run all of the commands in the OP however, there are some steps that I would change. My exact method:

Steps:
1) Get to home screen on HTC One M8 w/ no lock screen, TWRP and SuperSU already installed (USB Debug turned on)
a) Run adb devices to ensure I am communicating with my device
2) Run adb shell
a) run SU
b) ensure I grant SuperSU access via phone

Paste this into my cmd line as OP stated:

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

Then in terminal as SU you MUST back out to register these commands:

# exit
$exit

Then I ran these commands:

adb reboot bootloader
fastboot oem writecid BS_US002
fastboot reboot-bootloader

I download and check summed the RUU file.

Ran these commands:

fastboot oem rebootRUU

HTC One M8 goes to HTC logo and awaits command input. Run EXE from Windows 8.1 x64, installer exits out and no communication to device takes place. From what I've RTFM'ed around the net, (on XDA and not on XDA) there is an issue with the RUU installer / potentially something wrong with a combo of drivers on my Windows machine. It seems I could go a manual ZIP method but I would need some guidance on doing that.

Hopes that helps.

---------- Post added at 06:38 PM ---------- Previous post was at 05:54 PM ----------

If you're on Win 8.1 x64 you may need this:

http://www.microsoft.com/en-us/download/confirmation.aspx?id=5582

once I downloaded that, re-ran my steps, I'm looking at my phone with Lollipop and Sense. :) What a freaking headache.