yashsingh1/xdaforums huggingface dataset:
[One (M8) General] EddyOS:
Give it a go, if you don't get the whelp message telling you it doesn't work then you should be good to go (may take a while tho). Otherwise, just flash your stock recovery and update and then re-root if you want
[One (M8) General] vision89:
how is the battery with new gpe version?
[One (M8) General] invano:
I'm currently s-off with stock rom and philz recovery.

Is it possible to flash the OTA manually without come back to stock recovery?
[One (M8) General] EddyOS:
No, you have to have to stock recovery
[One (M8) General] kw1mx5:
hey, thanks again, I've just tried repeatedly to get S-Off but it just keeps failing with a whelp after the first bottle and a message about it'll never work.

Looking through my backup files when I rooted, it looks like I did actually make a backup of the recovery.img. As you probably figured (when I was talking nonsense), it was the platform.xml file which was overwritten with a version that contains the MEDIA_RW GID added.

Do you reckon if just re-flash the stock recovery I won't need to bother about removing superSU and putting an UNedited platform.xml file back prior to trying the OTA ?

One further thought was, will putting the stock recovery back wipe the handset of all my installed stuff ?
[One (M8) General] EddyOS:
You will need to put the original platform.xml back on as the system has to be 100% stock. Removing root isn't necessary as it'll be removed anyway during the update
[One (M8) General] huismeester:
SupersSU pro has an option survival mode it hold root access even when you get OTA update

Verstuurd vanaf mijn HTC One_M8 met Tapatalk
[One (M8) General] kw1mx5:
Thanks EddyOS. I didn't have a copy of the original platform.xml but I edited the one I had back to original and overwrote the edited version using TWRP recovery shell. I installed stock recovery and the OTA update went through smoothly.

Will think about putting back TWRP and re-rooting now.

Annoying how following the OTA update the Play store starts updating apps to the latest versions, despite specific permission on every app to the contrary. Had to hit disable mobile data and wifi sharpish as there are some apps I specifically don't want to update. :)

Thanks for all your help and also to Darknites
[One (M8) General] wallstrum:
kw1mx5 - i was in a similar situation as you when i went to update to an ota as well. what i ended up doing (because all i need is root; i don't care about permanently having a custom recovery) is booting to a custom recovery temporarily. if you put the custom recovery image in the same folder where adb is installed, plug your phone in and run the following command (replacing "customrecovery.img" with the filename of the custom recovery you copied into the folder):

fastboot boot customrecovery.img

that'll reboot your phone into the custom recovery without actually writing that recovery to your phone. from there you can root your phone (and i'm assuming install your custom sd card permissions), take a nandroid, etc., then boot your phone back up normally and you're good to go. then when the next ota comes along, you won't have to do anything to prepare to install it (and i also wonder if you'd even have to undo the changes to the sd card r/w in order for the update to succeed, because that's not the same as removing one of the factory apps). hope this helps.

wally
[One (M8) General] -Duir-:
Ah yeah, I forgot all about that wp_mod.ko thing. I remember having to do that before we had S-OFF.

How did yours get patched for all vulnerabilities? Mine and a lot of others who got updates already still show being vulnerable to CVE-2015-3864.
[One (M8) General] ckpv5:
I guess HTC made a new patch for HTC__044 (4.19.707.4). That's why the last digit is .4 instead of .3

On 4.24.709.3 - I have the same as yours, CVE-2015-3864 still show vulnerable

O/T : on my M7 which just received HTC__044 update (7.21.707.35), all vulnerabilities are patched too.
[One (M8) General] hack14u:
Ha, that just happened to me, I was like ummmm, then I remembered I changed the CID, changed it back and all is good.
[One (M8) General] nhoc_maruko9x:
Me too, the first one is still vunerable. Other carrier applies other patch for their custommer?
[One (M8) General] -Duir-:
So your device had received a previous stagefright patch (.3)? Then the second (.4) which patched the final vulnerability?

I think I remember reading something about some of Google's devices being done like that, but wasn't sure how HTC was doing it. I thought you had received just one update that patched all. Couldn't understand why/how they'd completely patch one device in one update. :)
[One (M8) General] ckpv5:
Sorry for the confusion. They are two different ROMs.

4.24.709.3 - TW version - still vulnerable CVE-2015-3864

4.19.707.4 - Asia WWE version - fully patched.

So it's one update for 4.19.707.4 (Asia WWE) that patched all but not for 4.19.709.3 (TW version)
[One (M8) General] -Duir-:
I'm not sure I'm any less confused. That means HTC did fully patch only one variant, and in only one patch. So, what about the rest? Will we get a 2nd OTA or are we screwed till M? What about variants that haven't got theirs yet, will they get the full patch or the partial?
[One (M8) General] ckpv5:
Don't know for sure about that but I guess all variants that yet to receive OTA will have a full patch .. 4.19.707.4 only available today.
[One (M8) General] danial.aw:
Is there a difference with these higher numbers... i installed the WWE europe on my canadian one m8 .13 it ends in....

any benefit to upgrading to these 4.19 or is just different versions for different areas? :/
[One (M8) General] ckpv5:
It just different versions for different regions
[One (M8) General] mightywhites29111971:
I have just received the 4.17.1540.9 OTA update for my phone. I am using the Brightstar ROM that is in the developer thread and I have 4.16.401.10.img stock recovery. I am also using the developer MID. When I go to install the update it the phone goes to recovery and when the progress bar gets a quarter of the way across it crashes. I am now unrooted. Does anyone know why this is happening?
[One (M8) General] ckpv5:
You need the right recovery either 4.16.1540.8 or use the one inside the OTA 4.17.1540.9

Using 4.16.401.10 recovery won't work
[One (M8) General] mightywhites29111971:
I tried the 4.16.1540.8 stock recovery and it gets about half way across before it crashes. How do I use the one in the OTA?
[One (M8) General] nhoc_maruko9x:
What's the output when it crashed? Maybe you should reflash RUU to get the right recovery.
[One (M8) General] ckpv5:
Both won't work for you when you have a unrooted ROM which originally rooted.

On lollipop, OTA will fail when stock ROM is rooted due changes in binary.

You need a pure non-rooted stock ROM. Re-unrooted a rooted stock ROM won't work either

Install RUU to bring it back to pure stock and do OTA.
[One (M8) General] mightywhites29111971:
The phone was rooted with ViperRom. I then unrooted the phone and then installed the developer edition. Will this still be an issue?. I use a mac so am unable to use an RUU unless I can do it using Windows 10 and VirtualBox? I have just tried it again and it says when it fails:

'E:Error in /data/media/0/Download/OTA_M8_UL_L50_SENSE60_MR_rightstarUS_WWE_4.17.1540.9-4.16.1540.8_release_446548.zip (status 7) Installation aborted'

It reads to me that it doesn't like the stock recovery I am using but I am not sure.
[One (M8) General] TheKawa:
hey guys, whats new in the latest OTA update? (for me it's 4.16.401.13...I've noticed that its different for some of us..)

and if my phone is rooted and I have a custom recovery, I need to switch back to the stock recovery in order to install the update?

and then I'll have to reroot?

already forgot how things work..sorry
[One (M8) General] 10rdan:
Stock recovery, stock rom. NO root.
[One (M8) General] psycho2097:
Hi.. I am trying to update to 4.17.1540.9, but does anyone have the stock recovery? I think I just have to flash the recovery and I will be good to go.
[One (M8) General] ckpv5:
Check my stock recovery collection, link in my signature (post #4)
[One (M8) General] psycho2097:
Thanks man...my phone updated fine but for some some reason every time I try to flash an RUU the application closes after I accept the T&C. I am running in admin, and ll drivers are installed fine. Not sure what to do. So I am just gonna the phone using OTA, and flash the correct radio. Any idea what the radio is for 4.17.1540.8 and where I might find it? Honest, if my computer allowed me to flash a RUU I would have done that instead of all this crap.
[One (M8) General] nhoc_maruko9x:
Are you using Windows 10? I also had that problem with Windows 10, the program just exits. But I find another way, before you accept the T&C, open %temp% folder in Explorer (via Start/Run or in Explorer's address bar). There will be a folder with long, random name like "0A0EA737-C2C4-405D-8CD6..... blah blah". Open it and copy htc_fastboot.exe and rom.zip to another location. Then just use htc_fastboot.exe to flash rom.zip and everything will be fine :D
[One (M8) General] andy905:
Haven't gotten anything on HTC_059 yet
[One (M8) General] psycho2097:
Thanks man...how do I run htc_fastboot?

EDIT:Using CMD, dumb question.

So, thanks a lot, once again!
[One (M8) General] M_Shaaban:
I'm stuck in boot loop after applying the latest Stagefright update. My phone is Dev Ed S-ON and unlocked bootloader. I can access the hboot and recovery. I tried applying the latest RUU. I got the 155 error, after reading here, I have locked the bootloader and now at the hboot it says Relocked. I have tried several times applying the RUU and now I get the error 170 about USB connection. I have tried different cables including a brand new one high quality cable and different ports. I have tried applying rom.zip using those commands fastboot oem rebootRUU

htc_fastboot flash zip rom.zip, it goes well and then fails. I tried htc_fastboot from the forum here 87.7 KB and I tried the one found in the RUU, the one found in the RUU brings a missing dll message.

I've been stuck for days, and I'm going crazy here. Any suggestions on what to do? I don't have any other phone to use at the moment except an old Nokia I found in my desk.

Thanks in advance!

P.S. I'm using Windows 7 and right now I'm installing a fresh installation as I read somewhere that the USB error might be due to a faulty driver. So I will install HTC Sync Manager, uninstall and keep the drivers, then install the naked universal drivers for fastboot. Anything I should do differently?

Update 1: I have tried after the fresh windows installation. Now I get Error 132 Signature Error? Any ideas?

Update 2: I thought about using a Nandroid backup and went and got an SD card. I tried flashing stock recovery and twrp and both failed due to signature error!

Solved, thanks to [MENTION=830797]ckpv5[/MENTION]

Since you have PC/USB connection .. have you try this :

1. Rename the RUU.zip to 0P6BIMG.zip

2. Put the 0P6BIMG.zip on your microSD (I believe you have one)

3. Boot to bootloader/hboot - it will ask you to update, volume up to accept

4. let it do its stuff

5. once finish it ask to reboot, then reboot

6. remove the file from microSD

7. done

Thank you very much [MENTION=830797]ckpv5[/MENTION]
[One (M8) General] JimmySoo:
Hi guys, I tried installing the latest update however it failed saying that

"/system/pri-app/SystemUI/SystemUI.apk" has unexpected contents.

E:Error in /data/media/0/Download/OTA_M8_UL_L50_SENSE60_MR_TC_Asia_WWE_4.19.707.4.-4.19.702.2_release_449298.zip (Status 7)

Installation aborted.

Anyone has any clue about what happened? My phone is completely stock, non-rooted.
[One (M8) General] mightywhites29111971:
Your problem appears to be the same as mine. I am also on stock and unrooted. I might try and re-install the RUU again but I don't reallty want to do that if it is not going to work?
[One (M8) General] JimmySoo:
Hmmm perhaps the pros here can advise, and if it works where can I get the RUU? :)
[One (M8) General] ckpv5:
Yours is rooted before and unrooted now .. not non-rooted. While it was a rooted device, changes were made to system files and that is why OTA failed.

You can use RUU to revert to non-rooted stock but you will need to relock bootloader if your device is S-On and re-unlock if you decide to root it again

And running RUU will wipe everything in your internal storage... and re-unlock will wipe your data.

RUU you can get it here : http://xdaforums.com/showpost.php?p=56140330&postcount=1

and another way is to restore to stock non-rooted backup then do the update.

You don't need to relock bootloader for this and no reunlock bootloader

You can read my thread on how to revert to stock with TWRP backup and all the needed files are there : http://xdaforums.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
[One (M8) General] mightywhites29111971:
Above noted. I am S-Off, I take it I can just use the RUU to revert to non-rooted stock and I do not need to relock the bootloader?
[One (M8) General] ckpv5:
That's not for you as you have a different device. His one is same as mine.

But yes .. S-Off no need to relock bootloader but still you need to backup your internal storage data (like musics, photos & etc) and RUU will wipe everything.

You need to use RUU meant for your device version
[One (M8) General] JimmySoo:
I dont recall rooting the device at all, anyway the phone is locked with S-ON, so by using/running RUU will do just fine I assume?
[One (M8) General] ckpv5:
I see ... yeah, just run RUU. Make sure to copy all your important files like photos & so on in internal storage to PC first. RUU will wipe everything.

Also note RUU is advisable to run with USB 2.0 and run it after select "Run as administrator"
[One (M8) General] JimmySoo:
Cool! thanks alot :) I will try that out.
[One (M8) General] andy905:
Are you sure it's out for HTC_059. I still haven't received the patch
[One (M8) General] Callliope:
Still nothing for CID 622, i love asian carriers...
[One (M8) General] ian.anindya:
Hi,

After update OTA M8 (OTA_M8_UL_L50_SENSE60_MR_TC_Asia_WWE_4.19.707.4.-4.19.702.2_release_449298.zip) I cannot get flash TWRP recovery works!

Do you have the same experiance with TWRP recovery after this OTA update?

I use latest TWRP update from this link : https://dl.twrp.me/m8/

Just want to get "root" back.
[One (M8) General] ckpv5:
I'm on the same version as seen in my signature and I don't have any problem with TWRP - I'm on TWRP 2.8.7.0

Do you run command fastboot erase cache after you fastboot flash recovery NameofRecovery.img ? Try that.
[One (M8) General] vlaf:
Try with twrp 2.8.1.0 and report.
[One (M8) General] ian.anindya:
Finally I got success using cwm touch recovery and get rooted now. Thanks!
[One (M8) General] stuart0001:
Can anyone that's got the update confirm if you're getting the same issue as me please.

http://xdaforums.com/showthread.php?t=3197608

Thanks
[One (M8) General] dohtune:
Upgrade to CM 12.1 for m8_dugl

Network loss after phone restart. Please help!!!
[One (M8) General] Zubeplanet:
this is the thread for the official stock rom and not for custom roms like cym.

so go to the thread of your rom and complain or ask there or search fro an answer there., cause if it is a common problem there will be a fix
[One (M8) General] Badelhas:
I am with the internation unlocked T-Mobile Poland firmware and just received another system update available warning saying that it solves the libStageFright security problem and that my firmware will go from 4.19.118.3 to 4.19.118.4! I dont understand since the last update from 4.19.118.2 to 4.19.118.3 was already to solve this problem...

Anyone got it also?

Cheers
[One (M8) General] nhoc_maruko9x:
The previous update didn't solve all stagefright security bugs, did it?
[One (M8) General] tgearman:
I'll just leave this here...

[MENTION=494185]LlabTooFeR[/MENTION]: List of devices that get Android M + Sense 7

Desire EYE, 816,820,826

HTC One M8,M8s, M8 EYE,E8

HTC One M9, M9+, ME, E9, E9+

Butterfly 2, 3
[One (M8) General] ahmoda:
I wish it comes in November as they said earlier.
[One (M8) General] leandronb:
really hope this too. it took 3 months to m8 to be updated to lollipop and it was the flagship, now the flagship is the m9, i really hope that htc don't keep us waiting 90 days again. and at least clean the mess that is lollipop on m8.
[One (M8) General] Badelhas:
To be honest, I lost faith on HTC. With all their financial problems they seem less and less worried with us M8 owners...
[One (M8) General] Zubeplanet:
Yeah thats sadly true. but it is a ****ing buisness. so they need to save money and thats sadly the way they prefer.

I hope we will get android m upgrade before second quarter of 2016, but i dont have hope in it :(((((((((

i am still at version 4.16 dont even get updates to 4.19 and i have international version without branding arghhghghh makes me anrgy.
[One (M8) General] Badelhas:
If there is an update for your phone You can easily flash the latest update without voiding the warranty, if you want.
[One (M8) General] Badelhas:
Good news:

"President of HTC America, Jason Mackenzie, has taken to Twitter this afternoon to announce that*Android 6.0 Marshmallow*will be coming to a slew of HTC smartphones, with the M8 and M9 to receive the update by the end of the year"

http://m.androidcentral.com/htc-roll-out-android-60-marshmallow-12-phones-end-2015
[One (M8) General] Callliope:
I still didnt got stagefright update, so i m sure marshmallow Will arrive on my m8y (asian version) in 2016
[One (M8) General] woodydog:
I'm sick of waiting for updates. IV had one x, m7, m8. Ordered nexus 5x at soon as the page come up.
[One (M8) General] Ankobarabanko:
Same here with my M8y
[One (M8) General] nhoc_maruko9x:
I'm going back to Sense, but can't flash latest RUU:

C:\android-tools>htc_fastboot.exe flash zip rom.zip
htc_fastboot v3.0.9.2 (2015-05-29)
target rom version: 4.17.1540.9
found large-zip header, file count: 7
processing file 1/7...
sending 'zip' (54297 KB)...
OKAY [ 2.828s]
writing 'zip'...
FAILED (remote: project does not have sa key to decrypt rom)
finished. total time: 2.828s
htc_fastboot finished. total time: 3.609s

htc_fastboot.exe and rom.zip is from RUU_M8_UL_L50_SENSE60_MR_BrightstarUS_WWE_4.17.1540.9.exe, I downloaded it from here: http://www.htc.com/us/support/htc-one-m8/news/
[One (M8) General] blackbuffalo:
Do you reboot into RUU mode before flash this rom.zip?

fastboot oem rebootRUU

fastboot flash zip rom.zip
[One (M8) General] NV30:
GPE will also be updated:
[One (M8) General] xtcvampire:
http://www.fudzilla.com/news/mobile/38906-htc-android-6-0-plans
[One (M8) General] nhoc_maruko9x:
Thank you. I did go to RUU mode. I just find out that in this link: https://www.androidfilehost.com/?fid=95897840722644595

the file is named "..._decrypted.zip", so I think the RUU.exe I downloaded from HTC is encrypted, someone has to decrypt it to get RUU.zip. I can't find a way to do that. I decided to flash older RUU zip then upgrade via OTA.
[One (M8) General] blackbuffalo:
Your device is S-OFF or S-ON?

This link RUU your linked used for S-OFF
[One (M8) General] alexisv635:
HTC One M8 CID_332 4.20.599.3 ---> 4.20.599.4
[One (M8) General] navi131:
google's son.
[One (M8) General] grentuu:
I asked Mo Versi about the GPE Marshmallow upgrade.

[IMG="moversi"]http://penman.space/wp-content/uploads/2015/10/moversi.png[/IMG]
[One (M8) General] BreadedChicken:
I'm not in the least bit excited because to me, it doesn't matter how soon does M comes to our M8 if we'd have to wait for months for xposed to work on M.

Am I the only one?
[One (M8) General] jshamlet:
Xposed? How about root period. I'm not sure about the M8, but the Nexus devices won't even boot with root modifications. (Much as the OTAs will fail in Lollipop if /system is modified, now the whole OS will refuse to boot)

I'm not going to be interested in Marshmallow until there are solid custom ROMs with root support baked in. However, HTC releasing the source is a prerequisite (or at least incredibly helpful), so I'm still excited about the news.
[One (M8) General] asacado:
Shamu Xtrasmooth rom wants to have a word with you. We got root+custom kernel etc and didn't have to flash stock OTA or anything. Dev just dropped the rom on us. Only real thing you gotta do is flash the new radios and bootloader but TWRP/root etc works right now. :P

Now if we can get the same thing for GPE, maybe custom roms will start flowing in again for the M8.
[One (M8) General] Callliope:
Its really exciting for guys who didnt root like me, and have battery problems (app usage in gsam 70% constantly, on Kitkat was around 50%)

So, let s hope they fix this in marshmallow and i m happy with my device
[One (M8) General] Badelhas:
Exactly what I think. If they mess this up no more htc for me.
[One (M8) General] timbohobbs:
The doze feature in marshmallow should help a lot, also, marshmallow is a more optimised version of lolipop . HTC didn't create your issues, most are Google so I'm expecting marshmallow to be good news for m8 [emoji4]
[One (M8) General] snoopy1e11:
I thought the stage fright update already came but this is h10 anybody know what's new besides security updates
[One (M8) General] Isotopes:
imho it's the latest Stagefright 2.0 fix :victory:
[One (M8) General] :
I restored a lollipop TWRP backup and flash stock recovery (recovery.img in firmware.zip) but when I try to update my phone gets stuck on the the HTC logo!

Anyone know how to solve?
[One (M8) General] quny:
Before you update, you must remove the root.
[One (M8) General] Bobbi lim:
Android 6.0 aka Marshmallow build in doze features work great out of the box on my N7 2013. An improvement of battery life is seen as compared to Android 5.x on my N7. As for high apps usage on 5.x, it's actually fine but the cause of battery drain is actually Mobile Radio Active Bug whereby the radio of the ROM is running after the user has exited the app which wasn't the case in kitkat whereby the radio is powered off resulting in higher drain on 5.x as compared to 4.4 and it's very obvious on AOSP/GPE ROM but somehow it's not taking it's toll on Sense based ROM.

As for ROOT to work, it's easy. You just need a modified kernel that ships with Selinux (I think it's permissive) for root to work as stock kernel will not allow root to work. I've rooted my N7 2013 :p

If no dev decided to build for the M8, I can do so but I would need some volunteers as my M8 is currently not with me anymore...
[One (M8) General] Callliope:
I dont think its actually fine, let s hope this bug will be gone in Stock sense 7 marshmallow
[One (M8) General] Badelhas:
Are you saying 5.x drains faster on Sense or the other way around?
[One (M8) General] RyukAkira:
HTC M8 Claro Perú

Hi I'm from Peru

I have a HTC M8 bought Claro Peru but still has Android 4.4.2 KitKat and want to change it to a stock rom HTC. I appreciate it may indicate the steps I must follow in order to improve my smartphone and has lollipop.

Thank you
[One (M8) General] KelArth:
Hi. Any one knows if we get Ant+ on M. As far as I remember we have the hardware in M8 but no software.
[One (M8) General] ashypanda:
i really hope it does get it, as the ANT+ HAL APK has been there since january and i've tried pretty much everything i know to get it to work, and i'd love to have more options when it comes to bike sensors,.
[One (M8) General] Bobbi lim:
With 5.x, Sense ROM tends to have a better battery life compared to GPE/CM as HTC has made a lot of improvements under the hood that results in MRA bug being either completely removed from the OS or greatly reduced compared to GPE/CM as seen on my OPO.

First off, you need to do an official OTA.

I think there's a thread that's full of nandroid backups, grab them and restore them with a custom recovery and flash stock recovery after you're done.

After that you're good to go and you can receive OTA updates again.
[One (M8) General] :
I have root, so I delete xbin/su and /system/APP/supersu is this sufficient to update OTA?
[One (M8) General] bdizzle1686:
Must be 100% stock rom and stock recovery to take an OTA..