yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] navalynt:
As a heads up, I flashed this and I was able to go back to using a Sense ROM (ViperOneM8).

Firewater S-OFF w/SuperCID (11111111)

Flashed 1.54.401.5 firmware from THIS thread

Flashed TWRP 2.7.0.4

Did a full wipe of System and Data from recovery (may only need to wipe system)

Flashed ViperOneM8 v1.2.0 - Just make sure to NOT select the option for Viper optimized tweaks because there's a known issue with system ui crashing

That did it for me. I repeated my results twice going back and forth between GPe and Sense to make sure.
[One (M8) Android Development] adnan.makarevic:
but the question is, if i flash the gpe ruu with radio and bands for the eu are disabled, is somebody here hwo can help with that? and the seccond question is, i pulled a backup before convert to gpe from my stock radio partition, so if i get in to the problem to lose my signal with gpe ruu radio image, should it be possible to restore it with the backup one?
[One (M8) Android Development] taesk126:
have anyone tried screen cast? It is not working on my device.
[One (M8) Android Development] grentuu:
Then you'll be really happy with this. Just make sure you install the stock recovery.
[One (M8) Android Development] AUSTIN3:16:
I guess I'll have band 2 then since GPe supports it! Nice & thanks for the response.
[One (M8) Android Development] pigr8:
so upgrade your ADB :) 1.0.32 needed.
[One (M8) Android Development] grentuu:
[MENTION=3537886]graffixnyc[/MENTION]

reading back the last few pages, am I to take it that the pre rooted 5.1 RUU on your site isn't working?
[One (M8) Android Development] snachez:
I've been running it for the last few hours, seems great so far. I did the stock and rooted myself though..

Not sure why he hasn't announced it in the thread yet ;)
[One (M8) Android Development] jeremy.lievre@gmail.com:
Why having the rooted_GPE_RUU doesn't allow to install the OTA ?

[MENTION=3537886]graffixnyc[/MENTION] I know it's not the good thread, but will you be able to the same with the M7 GPE OTA/RUU ?
[One (M8) Android Development] grentuu:
Maybe with the time difference he is getting some much needed sleep...
[One (M8) Android Development] graffixnyc:
Yeah I just woke up.. Hehe I posted them on my site right before my head hit the pillow. I'll update the OP once I get some coffee in my system. Thanks to everyone who sent the links! I'll make sure to thank you all in the the OP when I update it :)
[One (M8) Android Development] graffixnyc:
Because of the way they update with lollipop. If the system partition has been changed at all the ota will fail. I don't think going from 4.4.4 had this issue but going forward from now on that's what will happen. I do not believe the m7 will be getting 5.1. If I'm not mistaken I read somewhere that it wasn't going to get updated anymore. If it gets updated then I could have someone pull the system partition the way I did for the 5.1 ruu here.. But I honestly don't think it will get it.. I could be wrong though
[One (M8) Android Development] jeremy.lievre@gmail.com:
Ok thanks!

FYI , only the One M7 GPE will be updated: https://twitter.com/moversi/status/585628339269984258
[One (M8) Android Development] graffixnyc:
Ok then when it get's the update I'll have someone pull it the same way I did here :)

Op has been updated thanks again to everyone that PM'ed me links!
[One (M8) Android Development] PwnCakes193:
Are you still going to continue with the flushable 5.1 like you did with 5.0.1? My personal favorite way to install ☺
[One (M8) Android Development] graffixnyc:
Since I don't have the device anymore I won't be but [MENTION=1016795]loserskater[/MENTION] will be updating it soon I'm sure! I made the thread a DevDB project and gave him access.
[One (M8) Android Development] PwnCakes193:
Sounds great! I'll go bug him on Hangouts :p What program do you use to edit the system images? I just like to remove some google apps before installation and no matter what I do I can't seem to access the system.img and edit it. Any way you could point me to the right direction there?
[One (M8) Android Development] graffixnyc:
I use a ROM kitchen in Linux just to unpack the rooted system image(although I'm sure you can find a tool on windows that will extract it) then I just usually will manually copy over the /system folder and boot.img into the previous version zip (deleting the system folder in the zip first) Usually that works just fine. Sometimes I might have to modify the updater script a bit but usually not..
[One (M8) Android Development] pattiman:
Thanks for the link and the instructions. One small remark: I downloaded the non-rooted 5.1 version, but the (your) website displays the MD5 of the pre-rooted version.
[One (M8) Android Development] graffixnyc:
It's displaying just fine for me:

pre-rooted is: acdb7b28b10a7c4fd3b40dfeace678ec

non-rooted is: 6fc7c540a4cd0fd83a7e386995a2a367

Which is exactly what the website is displaying for me.
[One (M8) Android Development] pattiman:
You're right. I checked it again and now its fine. Strange... ;)
[One (M8) Android Development] daitarn1972:
guys I have downloaded and installed the firmware 5.1 with the command fastboot flash zip, then I installed the original RUU following the lead equal to 5.0.1. All good and work very well. No reboot.
[One (M8) Android Development] grentuu:
[MENTION=3537886]graffixnyc[/MENTION]

I downloaded and installed 5.1 non rooted, all good.

I then backed up and downloaded 5.1 rooted.

MD5 checker stated a mismatch. I tried it with the md5 from the non rooted and it matched????

MD5 for rooted acdb7b28b10a7c4fd3b40dfeace678ec

I also noticed the files are identically named, previously you amend the name to show 'rooted' Is it the same file?
[One (M8) Android Development] graffixnyc:
The rooted should be: acdb7b28b10a7c4fd3b40dfeace678ec that's what I'm getting on my local file here on my system.

[MENTION=3468692]grentuu[/MENTION]

I figured it out! haha I was pointing to the wrong file for the rooted.. link will be fixed in a minute
[One (M8) Android Development] grentuu:
Just downloaded it again, it states mismatch but again it matches the non rooted md5

Are they both the non rooted on the server?
[One (M8) Android Development] graffixnyc:
Read my edit.. I actually had the link pointing to the non-rooted. I fixed it now..My bad.. That's what I get for posting at 2:30AM :P

Thanks for catching it. the rooted has _rooted in the file name
[One (M8) Android Development] exist2resist:
[MENTION=3537886]graffixnyc[/MENTION] is there any way or removing root from the phone after having installed superuser.zip via TWRP?

EDIT: NM I found the option in the SuperSU app.

However is there a way to completely remove the app?
[One (M8) Android Development] munraf:
Thank you again graffixnyc. Worked flawlessly. So happy to be on 5.1. You do amazing work.
[One (M8) Android Development] graffixnyc:
I didn't do much this time. The guys who pulled the system image for me did more work than I did. I just put it all together in the ruu.
[One (M8) Android Development] chuby007:
Root ?

Hi I flashed the wrong non rooted RUU, how can I root it without re-flashing the RUU ? thx
[One (M8) Android Development] sageandonion:
After upgrading to 5.1 via the rooted flashable zip how can I flash the firmware zip to get the stock recovery? Thanx in advance.
[One (M8) Android Development] graffixnyc:
The same way you would flash the RUU but using the firmware zip instead.
[One (M8) Android Development] sageandonion:
I've tried that using twrp but it doesn't work..
[One (M8) Android Development] graffixnyc:
you don't flash the RUU in twrp.. you flash the RUU(or in your case firmware.zip) in bootloader/RUU mode.. please follow the instructions in the OP except the only difference is the file you flash.. you will be flashing firmware.zip instead of the RUU file like the OP states..
[One (M8) Android Development] sageandonion:
Just one more quicky, will that loose me root?
[One (M8) Android Development] jxcorex28:
No....if it does just reflash a recovery then grab a superuser zip,and flash through recovery. Do you get what graffix said ? You'll have to fastboot oem rebootRUU then fastboot flash zip firmware.zip (twice). If you only flash once. You'll get an error 90 code...
[One (M8) Android Development] sageandonion:
Many thanx 4 the help. Used the no PC method and renamed it to 0p6bimg.zip. Flashed in hboot.
[One (M8) Android Development] iOStoAndroid:
Face unlock???

i flashed via SD card method.

I don't seem to have face unlock under smart lock.

can anyone confirm they still have this option?
[One (M8) Android Development] TonyStark R.I.P.:
This:good:

For future reference, here is the SuperSU that should be used.

Super SU v2.46

Place it in your internal storage and flash through TWRP. NO WIPE simply install.
[One (M8) Android Development] loserskater:
For some reason HTC removed it. In the OTA they remove all of the face unlock files.
[One (M8) Android Development] graffixnyc:
Did they replace it with the standard Nexus smart lock features? It might be built into that now instead of a separate thing
[One (M8) Android Development] iOStoAndroid:
That's rubbish by hTC ... Why oh why??? hTC

---------- Post added at 09:42 PM ---------- Previous post was at 09:35 PM ----------

Also noticed no mirroring on Chromecast ( the m7 I seem to remember had these)

WTF is happening? Is this hTC being lazy or Google does not give a ****?
[One (M8) Android Development] loserskater:
Nope. It was removed:
[One (M8) Android Development] TonyStark R.I.P.:
Before the "How do I do this via the computer" questions pile in (again), here is the most detailed YT vid to follow along.

Click here to follow video

[YOUTUBE]WEouT7eV8UA[/YOUTUBE]

While this video is for a previous edition, simply use the new file in plave of the one he uses.
[One (M8) Android Development] Captain_Throwback:
So no Trusted Face? That's odd . . .
[One (M8) Android Development] Scarchunk:
Not near a computer to try, but if you're on the 5.0.1 ruu rooted, couldn't you just delete the system checks from the update script in the official OTA? I would think it would flash just fine without losing any data just like the normal OTA process but maybe I'm missing something.
[One (M8) Android Development] lotzakritters:
It does have screen mirroring
[One (M8) Android Development] GoreTan:
Thanks for pulling the system.img so the rest of us can enjoy 5.1!
[One (M8) Android Development] DwadeCham:
You're welcome. I don't know if graffix used mine or not because I had to reinstall everything to pull it for him and it took forever, but it was fun learning it. I'm glad it's working out!

Sent from my HTC One_M8
[One (M8) Android Development] TogoFire:
Works on HTC M8 Verizon?
[One (M8) Android Development] thelangosta:
Help I'm stuck

That's helpful until you run into issues like I am currently having. I got successfully to the fastboot flash zip RUU-HTC....etc but I get "error: cannot open 'RUU-HTC...". So I'm basically stuck at the HTC on black screen and don't know what else to do. Anyone have any ideas? Thanks in advance.

Edit: Doh! It helps to put the RUU in the right directory on the PC. Fixed it so just ignore this post.
[One (M8) Android Development] loserskater:
The very first line in the OP has your answer: (Verizon is CDMA)
[One (M8) Android Development] blunden:
Did you purposely leave out the sbl images (sbl1-1.img, sbl1-2.img, sbl1-3.img)? Will the conversion actually work without them seeing as they would potentially end up using sbl images from a stock sense rom?
[One (M8) Android Development] graffixnyc:
They never get updated from an OTA. I think usually sbl1 will even skip the flash when it gets to them. When I first did the conversion other devs told me I should never include them but they never did harm so I just left them but they have never been updated during an OTA.
[One (M8) Android Development] chikess:
If I flash the firmware.zip via ruu, does it wipe my data?
[One (M8) Android Development] scifan:
I believe it it will...
[One (M8) Android Development] iOStoAndroid:
But it does not work
[One (M8) Android Development] TonyStark R.I.P.:
In the vid it says to do it a second time, if it did not take the first time around.

Did you enter the same command the second time? Follow the steps at the 8:50 time spot. It's best to copy the file (which should be in the folder with the other adb commands) and paste it into the dox box. MAKE SURE TO ADD THE .zip.

It will look like this, when copied and pasted in db RUU-HTC_One_M8_GPE_5.1-4.04.1700.4 you simply need to change it to this RUU-HTC_One_M8_GPE_5.1-4.04.1700.4.zip
[One (M8) Android Development] thelangosta:
I was getting a different error. It wouldn't even open the zip so it never ran the first time. I managed to get the 5.0.1 version to flash but I can't get the 5.1 version to go. I was going to just take the OTA but my phone doesn't seem to want to do that either. Stuck on stock nonrooted 5.0.1 and it is making me uncomfortable.
[One (M8) Android Development] gullygossner:
Is the firmware flash required if issuing the RUU? Coming from sense.
[One (M8) Android Development] Nic2112:
People that have concerns about what's in the 5.1 RUU can always download the 4.4.3 RUU and then OTA to 5.1, not a big concern.

I tried the SDCard installation method for the first time (used unrooted 5.1) and it works great! Thank you.
[One (M8) Android Development] graffixnyc:
The unrooted is the way to go even if you want to be rooted since OTA's will fail on a rooted system.. my suggestion for everyone who wants to be rooted is this:

use the unrooted RUU then do a backup of the system before you root, then root. That way when an OTA comes all you have to do is restore the unrooted system and then take the OTA.

Also the sbl-1,2,3 never have been updated during an OTA. I just never removed them. and will make no difference what so ever with OTAs.

I always build the RUU off the previous since not all partitions get updated with every OTA. For example say in one OTA the adsp partition gets updated but in the next one it doesn't. When I put the RUU together I will include the adsp partition that was updated in the previous OTA so that way someone doing a fresh flash will always have the most updated partitions. Or in one OTA the senors get updated but not the next. The latest version of the RUU will contain that sensor update from the previous etc... So I always leave whatever images that weren't updated in an OTA in the zip but were updated in previous OTA's if that makes sense.. :)
[One (M8) Android Development] pigr8:
applied 5.1 rooted and like always everything smooth and friendly.

only 1 thing, SuperSU was included but the binary had problems in my case, quickly flashed SuperSU in twrp and went back to stock recovery, no problem at all :)
[One (M8) Android Development] Nasaris:
Slow Download

The download is very slow, is it from my side or server side? is there a way to make it faster? Thank you.
[One (M8) Android Development] sajk12345:
If i have changed the cid and mid to match GPE and only want the unrooted version, am I good to go with the OTA or do I need to download the RUU file and flash it via my PC like I did the first time when I converted the device?
[One (M8) Android Development] TonyStark R.I.P.:
Server side. New release = many downloads.
[One (M8) Android Development] Sophos1:
You should be all set as soon as your device receives the OTA. I did the 5.0.1 conversion on my att m8 with gpe cid and received the 5.1 ota almost immediately. Downloaded and installed no issues.

I play with my food
[One (M8) Android Development] icehust:
Hesitated about whether upgrading to Android 5.1 to fix the memory leaking bug or just staying with sense 7..
[One (M8) Android Development] blunden:
Fair enough.
[One (M8) Android Development] Xerro-Five:
I did that the first time too, but this time i was lazy :p the rooted 5.1 RUU didn't wipe the external when I did this yesterday. I can appreciate the better safe than sorry mentality though.

As always, thanks so much for getting these RUUs out so quick, you're the best!
[One (M8) Android Development] Harrowed:
Much appreciated, After following the instructions to add my CID OPTUS001 and MID, it went smoothly. Lil impatient on first boot but perfect.

Thanks.
[One (M8) Android Development] xs101:
Hello, I wanted to thank graffixnyc for the 5.1 conversion RUU, it works brilliant on HTC asia, model HTC__621.

My only problem, and this is offtopic, NOT related to the RUU, but to the mid change discussed on other threads, or it may be just an adb/fastboot problem, is that up to that point everything went smoothly :

1) unlocking the bootloader from htc website

2) flashing TWRP from fastboot

3) installing SuperSu to get root access and prepare for S-off

4) running sunshine S-off 3.0 (25$ well spent)

5) changing cid to GOOGL001, all is ok

but when I got to the last step, changing the mid to 0P6B17000 (htc m8 google play), after I did it and typed fastboot reboot, the phone woudn't start android anymore, and even the nandroid backup I had wouldn't restore after I did a full wipe. Luckily, I tried to flash the 5.1 RUU and it installed brilliantly and everything works great now !
[One (M8) Android Development] minhcoi:
0P6B17000 (htc m8 google play) difference for each M8. on my M8 is 0P6BDIAG
[One (M8) Android Development] Grudgie:
I had the same issue yesterday, when i changed my MID.

But how is the battery life with this rom?

Before flashing to this rom i was on ADHD rom and my battery life was like 2 days max. But now my battery is 87% after 1,5 hours when i plugged my phone from the charger.. :S
[One (M8) Android Development] J10BLN:
After installing a new rom it can take up to a week for the apps to settle and stop constantly updating and collecting info in the background.
[One (M8) Android Development] xs101:
Battery life I find depends a lot on settings. I have Location off, NFC off, batery saver mode on, wifi off except when i need it, and if I rarely used the phone on Sense 4.4.4 I even got 5 days of battery life. Now the batery saver mode changes the whole system to have orange bars, and it looks horrible, so I don't use it. Haven't tested battery life on 5.1
[One (M8) Android Development] Grudgie:
Okay

Now i have a problem with my sound. I can't Play my music. It wont start playing my music.
[One (M8) Android Development] navid0308:
Probably the mid changing command didn't work properly. Try checking if your mid has changed. Btw, you can run adb commands with full access as soon as you enter twrp...
[One (M8) Android Development] graffixnyc:
Please ask general questions in a different thread. This thread is to support flashing the RUU not to answer questions about battery life and other general stuff.
[One (M8) Android Development] chnoor:
I have followed this thread to convert my GSM One M8 to GPE. Everything worked as illustrated. I have still not received the Android 5.1 OTA notification. I am wondering if it is normal as the role out may take days/weeks or there is something wrong with my conversion due to which i am not getting OTA.
[One (M8) Android Development] pks4510:
What is flashable zip ? Can it be flashed through custom recovery on sense rom to convert to GPE ? Thanks
[One (M8) Android Development] navid0308:
I never get gpe OTA. Even if I flash 4.4.4 Ruu with gpe mid and cid. Just side load it.
[One (M8) Android Development] vpkb:
I flashed 5.1 Stock Non-Rooted GPE RUU - LMY470.H4: 4.04.1700.4 - do i need to flash the firmware or is it already updated with this image? Thank you!
[One (M8) Android Development] gitin:
sorry deleted
[One (M8) Android Development] navid0308:
RUU has everything included
[One (M8) Android Development] graffixnyc:
What he said.. Firmware is posted just so people can download it and get the stock recovery or boot,img or any other stock images they might have changed (some people flash modified hboots and such) so that gives people a way to get back to stock
[One (M8) Android Development] brushrop03:
Sorry if this has already been asked...

but can i fastboot flash the rooted 5.1 ruu directly over by rooted 5.0.1?
[One (M8) Android Development] graffixnyc:
yes
[One (M8) Android Development] brushrop03:
Ughhh... case sensitivity for the adb command prompts. fml...
[One (M8) Android Development] Harrowed:
If you're installing the rooted version, why are you changing CID/MID? Adding it to the android-info.txt and flashing is fine.

Rooted version wont receive OTA anyway.
[One (M8) Android Development] cdrom1028:
graffixnyc does it again!

Hey man thanks, my phone is running great on 5.1 rooted RUU.
[One (M8) Android Development] Titan XDA:
I just flashed the RUU on my phone, but when I go to Recent Apps (Square) it says "Couldn't Add Widget" the top.
[One (M8) Android Development] pigr8:
working fine here
[One (M8) Android Development] xs101:
I installed the non rooted version, so i can recieve OTA's. root was needed only before flashing the 5.1 RUU (while running sense 4.4.4) to enable S-OFF.
[One (M8) Android Development] Jonnyw2k:
Does this wipe the phone?
[One (M8) Android Development] SiK TL:
Yes. Internal only.
[One (M8) Android Development] joaocadide:
I cannot see "Trusted faces" under "Smart Lock". It was working fine with my previous Sense ROM.

I've tried factory resetting but nothing seems to work.

Any clues?
[One (M8) Android Development] mattplo:
You can't see it because its not there. It was removed. HTC removed this feature for the M8 GPE.

Further more, Users that come from Sense Roms should throw out all expectations of what should and shouldn't be in GPE. Its Apples to Oranges.

http://i.imgur.com/9i0DXsm.png
[One (M8) Android Development] klingel_One:
Hey,

so I converted my m8 to 5.0.1 gpe a will back. No I noticed that I didn't receive an OTA update. I had flashed the Non-Rooted Stock, CId and MID changed. When I was trying to flash the OTA directly I noticed that I cannot get into recovery mode (Android with open Chest and exclamation mark ( VOL UP + POWER does not help)).

Is there a way to flash the stock recovery again? Without completley flashing a ROM, or should I just flash the 5.1 RUU image?

Update: I flashed the 5.0.1 Stock Recovery again, Problem remains...

Is the broken recovery the explanation why I do not receive OTA updates?

Update2: Turns out the recovery is not broken
[One (M8) Android Development] Scarchunk:
I installed the 5.1 stock rom over the top of my 5.0.1 ruu install and I'd like to update the firmware that was pushed out with 5.1. Will flashing the firmware zip via fastboot wipe the phone? I don't see anything in the zip that would indicate a wipe but I'm not terribly familiar with how an ruu type install works.
[One (M8) Android Development] chikess:
It wont wipe
[One (M8) Android Development] rasstar:
If this is stock why am I not receiving a notification to update to 5.1? The cid and everything matched GPE and I am not rooted.
[One (M8) Android Development] graffixnyc:
No idea why you're not getting it but other people have gotten it just fine.
[One (M8) Android Development] graffixnyc:
It will only wipe if there is a system image in the ruu zip or a user data image in the zip
[One (M8) Android Development] sajk12345:
I got my OTA notification but I kept pressing delay because i wanted to do a proper backup. When I wanted to update the notification was no where to be found, and the system tells me that it's up to date. Did something similiar ever happened to you guys?
[One (M8) Android Development] rasstar:
Maybe HTC took down the update?

I sent a message to HTC and got this response. I am not sure what's a rolling update.

Hang in there. Lollipop is a rolling update and should be there shortly.
[One (M8) Android Development] alex2693836:
5.1.1 is here :) :) :)
[One (M8) Android Development] rasstar:
I have to restore to sense. Google play edition does not have an Fm radio. I can't believe it.
[One (M8) Android Development] pigr8:
it's 2015 dude, why are you still listening analog air radio? do you still use fax and oil lamps?
[One (M8) Android Development] rasstar:
It saves on data and battery life.