yashsingh1/xdaforums huggingface dataset:
[One (M8) General] ckpv5:
Your steps are wrong, that is not RUU zip but TWRP nandroid backup zip.

Read the thread post #1 to understand what to do with it.

Your main problem with OTA is you have a rooted stock ROM and its binary was modified by root.

You need a non-rooted stock ROM like a RUU or a clean non-rooted nandroid backup.

Re-unrooted a rooted stock ROM won't work due to change of binary.
[One (M8) General] BlockABoots:
No i didnt flash a stock nandroid threough twrp, should i have done??. What i did was, got this M8_UL_Stock_Recovery_4.20.206.1 stock recovery image from here...

https://www.androidfilehost.com/?fid=95916177934522590

which is the same as the system version i was on. i renamed it to recovery.img and then in fastboot used....

'fastboot flash recovery recovery.img'

and got the following

target reported max download size of 1826414592 bytes

sending 'recovery' (17020 KB)...

OKAY [ 1.559s]

writing 'recovery'...

OKAY [ 0.737s]

finished. total time: 2.302s

I then restarted the phone (which booted fine) and the downloaded and updated the requested system update, which put my phone to version 4.20.206.2. the phone the restarted and got stuck on the white screen with the HTC logo after about 10 minutes on that screen i had to hold volume up and Power button to get the phone to reboot which in then bot past the white HTC logo screen but is now stuck on a black screen.

am i ok to get version 1.54.206.5 nandroid, seeing as im on 4.20.206.1 or 4.20.206.2??

---------- Post added at 11:54 AM ---------- Previous post was at 11:27 AM ----------

Ok so i have found a stock nandriod version 1.54.206.5 - TWRP fro my CID (CID O2_01) here...

https://mega.nz/#F!odoimZRD!fXWN36-1i3AUdkAHcgfy_A

now do i want to grab just the, 'stock recovery 1.54.206.5.img' or the 'stock _unrooted _1.54.206.5_twrp2.7.0.3' folder? Which ever one of these i need i need to move over to my M8 Internal or SD storage so i can flash with twrp right?
[One (M8) General] 10rdan:
I would try 1.54.206.5 nandroid and 1.54.206.5 STOCK recovery.

If you've still got twrp on the phone take a backup (nandroid) of your current os. It'll give you "get out of jail" card if the 1.54.206.5 doesn't work.

However, I'm sure you said your current os is rooted so it's no good for taking an ota but will give you something to go back to if the 1.54.206.5 nand fails.

Edit..... I've just read your post again. Am I right in saying your phone ran OK with stock 4.20.206.1 os and stock 4.20.206.1 recovery ?

If so, the ota failed because your stock rom is rooted.

If that's the case I'd flash 1.54.206.5 nand AND 1.54.206.5 STOCK recovery.

You need to get back to COMPLETELY stock, no root, no deleted stock apps, no NOTING to avoid the ota failing.
[One (M8) General] BlockABoots:
ok is 1.54.206.5 nand and stock recovery both found in this link...

https://www.androidfilehost.com/?fid=95916177934522590

?
[One (M8) General] 10rdan:
For nand I'd use one from "the great Dane" thread in the "general section" in this forum.

For stock recovery.... unless you can find it in this forum go to the arhd site and download the relevant firmware then extract the recovery. Remember to make sure it's named "recovery.img".

https://www.androidfilehost.com/?w=files&flid=32780

Download the 206 firmware and extract recovery.
[One (M8) General] BlockABoots:
Ok so ive extracted the recovery image from the 1.54.206.5.zip from the arhd site as linked above.

So i copy that to my M8 and then use twrp to flash it?
[One (M8) General] 10rdan:
NO.

Make sure it's named "recovery.img"

It has to be flashed with the phone in fastboot mode and flashed with fastboot command.

MAKE SURE YOU FLASH NANDROID FIRST WITH TWRP.

Once you flash stock recovery twrp will be gone.
[One (M8) General] lordmago:
Ota 4.16.401.13

Hi [MENTION=1755691]nintendolinky[/MENTION], I found this one, if you wanna add it http://xdaforums.com/showpost.php?p=62482267&postcount=361
[One (M8) General] ckpv5:
Don't waste your time when you have a S-On device.

This version won't work for you because you have a high version hboot and you can't downgrade hboot on S-On device.

You need to use same version that you have now 4.xx. and if you want to go for a lower version, you can use only one version lower 3.xx

1.xx & 2.xx won't work.

Read my earlier reply. Good luck.
[One (M8) General] BlockABoots:
well this is the thing i can find a version 3.xx or 4.xx nandriod that matches my CID (CID O2_001) there only appears to be version 1.xx, so what can i do?

EDIT: i used twrp to make a back up before i tried flash a stock recovry, i have just tired to restore this back up but when the phone reboots after the restore i still get the same lockup issue.

So can i use this boot image, 'boot_3.28.401.9.img' from here.....

https://www.androidfilehost.com/?w=files&flid=24263

rename it to recovery.img and use fastboot to flash (fastboot flash recovery recovery.img)
[One (M8) General] 10rdan:
My mistake re flashing lower version number, with all the threads being posted I couldn't remember if he was s-on or s-off.
[One (M8) General] BlockABoots:
thats ok, so what are my options then?

Can i use this boot image, 'boot_3.28.401.9.img' from here.....

https://www.androidfilehost.com/?w=files&flid=24263

rename it to recovery.img and use fastboot to flash (fastboot flash recovery recovery.img)
[One (M8) General] 10rdan:
No, 401 is for unlocked wwe phones, ie phones that aren't locked to a network like O2.

Unless you can find a STOCK nandroid AND recovery with the same version that you're on you're only option is to s-off with "sunshine" and then you can convert to 401.

After s-off it's easy BUT also easy to brick phone by flashing things that aren't compatible.
[One (M8) General] BlockABoots:
So my CID has been changed....... i think i can remember changing it when i first got my phone but that was like 8 months ago. In which case can i not just change the CID so i can find a stock nandroid & recovery that is 4.xx??

well i found a ruu exe file which is neamed...

RUU_M8_UL_L50_SENSE60_MR_O2_UK_4.20.206.1_Radio_1.25.21331147A1.06G_20.69.4196.01_F_release_414450_signed.exe

but it doesnt seem to compete the installion on my windows 10, when i get to the confim agreement step in the installer the window closes and nothing happens

You have to pay for sunshire dont you to get s-off ??
[One (M8) General] Rjev07:
Try to disable your antivirus if installed on your PC.
[One (M8) General] BlockABoots:
Yeah makes no difference
[One (M8) General] woodydog:
Did anyone with US developer edition receive the stage fright update?
[One (M8) General] M_Shaaban:
No, I've been checking regularly for the update but nothing so far!
[One (M8) General] woodydog:
Didn't think it got it. It should have been one of the first
[One (M8) General] irshansk:
Recent conversation with HTC Support:
[One (M8) General] Callliope:
Let's just hope and have faith for that [MENTION=4585329]irshansk[/MENTION]
[One (M8) General] BlockABoots:
All working now thanks to your guide, i got the 4.20.206.1 twrp backup and stock recovery from your thread and followed your guide, thanks!!!! Whats the best way for me to get s-off?
[One (M8) General] timbohobbs:
Hope this support staff are correct, would be surprised though. HTC have said sense 7 with Android M, that's unlikely this year and more likely May June 16.

Unless they've changed plan and give us 5.1 with sense 7 as originally thought, to try and win support before they go under [emoji34]
[One (M8) General] bigbear6708:
May/June?? I don't think it'd take that long.. Most times updated Android is released in Aug with the nexus..
[One (M8) General] navid0308:
Really don't get how that works. M won't come till November. Then htc will start working. It'll be March/April before m9 gets update, then m9+. Then maybe aero? Then M8. I'm estimating June/July of 2016 and sense 7 will probably be the last update since software support will end.
[One (M8) General] timbohobbs:
For nexus, yes. Although it's now September and marshmallow is still in preview/development
[One (M8) General] weepatc:
C'mon guys calm down. We'll get it when we get it. Personally I'm quite happy with things as they are. Could be better could be worse.
[One (M8) General] lofty5:
Does anyone know what is new in the 4.19.111.3 update?
[One (M8) General] Callliope:
With this mentality, you should remain at Android 1.0

They were better in terms of performance, now they ****ed up , is time to repair mistakes HTC!
[One (M8) General] underboy2008:
No complains about my M8. HTC Sense is faster then before. Bring updates over playstore was the best choise. Some times we think "we dont have ota updates for so long"... But we have been pleased with playstore updates for HTC app's
[One (M8) General] tunnex190:
I found this online hoping it could be true.

http://www.gospelherald.com/article...tes-for-htc-one-m8-one-m9-lg-g2-g3-and-g4.htm
[One (M8) General] Callliope:
If that is true we get 6.0 in 2016, and im hoping that it will be sooner
[One (M8) General] bingorabbit:
Nope, I have stock recovery, S-In but rooted and unlocked.
[One (M8) General] -Duir-:
Unlocked / Dev Edition update finally hit!

New FW version is 4.17.1540.9

For any who want it:

Full OTA zip (40MB)

Firmware only (23MB)
[One (M8) General] Snah001:
Does somebody have the ota saved of the "stagefright" ota?
[One (M8) General] -Duir-:
You should include some details like what carrier and region you are looking for if you want someone to help you (CID, MID, and carrier name would likely be most helpful).
[One (M8) General] M_Shaaban:
I'm stuck on boot loop since I applied this update! And I'm on Windows 10 and can't run a RUU!
[One (M8) General] nipun_jain:
I got the same update notification, but holding off since I am running a custom recovery (TWRP) on a rooted/s-offed HTC M8. Do you know if it is possible to install this update via your firmware file without returning to stock recovery?
[One (M8) General] high_voltage:
You should flash it using a stock recovery. ;)
[One (M8) General] -Duir-:
Was your device stock before updating? No root or anything like that? That's what usually causes issues. I backed up my apps with Titanium and then restored stock backup with TWRP followed by flashing stock recovery and no issues here.

I don't think the firmware part of the OTA really patches anything for the vulnerability, I think it's all a software patch.

Assuming root is the only modification to your system partition, You could easily unroot and flash the stock recovery (you can flash the one included in the OTA) and then flash TWRP and root again after the OTA.
[One (M8) General] Isotopes:
an here the full ruu from htc server -> Full RUU exe (1.44GB)
[One (M8) General] -Duir-:
Nice find on the RUU link. :)

Wonder why the sudden use of AWS? None of the links from their ROM Download page use that.

I even checked there to see if the RUU was posted eariler.

Alternatively, you can remove the "s3.amazonaws.com" from the link and it works just fine.
[One (M8) General] Snah001:
Thought that was clear.

It concerns Ota 4.16.401.13. WWE

Sent from my Asus Infinity TF700 with Dock
[One (M8) General] -Duir-:
A simple search or even glance at the most thanked posts in this thread reveals this.
[One (M8) General] toysoldierq:
The full RUU link posted its the dev or the unlock version, nevermind seems to be for both.
[One (M8) General] mallorcaben:
error, use correct rom

Hey, Ive tried a bunch of times to run a RUU on a friends M8 without success.

What version do I need and how can I tell.

Its a European unlocked M8

Its stuck in ****locked****security warning****

I can give a screenshot of the page. I dont know which version RUU I need.

thanks, (noob HTC user)
[One (M8) General] M_Shaaban:
I was stock but rooted and with stock recovery. I have always applied OTA updates while rooted and all it did was to mess up the root and I had to re-root. Now, I'm stuck in a boot loop!

---------- Post added at 09:10 PM ---------- Previous post was at 09:02 PM ----------

You need Windows 7 and RUU will run smoothly.

You can apply the ROM from a RUU manually. Refer to this thread and you will find the steps explained

http://xdaforums.com/htc-one-m8/help/trouble-installing-ruu-t3037815
[One (M8) General] M_Shaaban:
Thanks for the RUU!

Has any of you tried flashing this RUU?
[One (M8) General] TheEarman:
I am stuck after trying to install the OTA for 4.17.1540.9. My HTC One M8 is rooted and S-OFF. I have BS_US002. :(

Before the OTA, I Fastboot flashed stock 4.16.1540.8 with no problem to prepare for the OTA (removed TWRP). The update started and rebooted the phone several times, then it got stuck on a reboot with the logo showing on screen. I can boot into HBOOT/FASTBOOT.

I downloaded the latest RUU.exe from the HTC website and extracted rom.zip. I can't open it with 7zip, but I believe it is due to encryption. I tried several times and all were unreadable.

I renamed rom.zip to 0P6BIM6 ("zero" at beginning and "i" before the "M"). I removed the SD card from phone and placed the 0P6BIM6.zip on root directory then reinserted the card. I booted in HBOOT but was not offered an install option, it just shows HBOOT (with the usual VOL up-dwn info) and below FASTBOOT with the usual 6 options...

I don't know what to try anymore as I cannot connect to the computer if the phone does not turn on properly... I tried adb and fastboot on PC but they don't find the phone.

I downloaded the 2 files you provided links for (full OTA and firmware only) but don't know what to do with them with a phone which only boots into the HBOOT/FASTBOOT screen...

Interestingly, the data at top of HBOOT screen shows OS-4.17.1540.9, so it seems to have at least partially updated.

FYI, Data at top:

*** UNLOCKED ***

M8_UL PVT SHIP S-OFF

CID-BS_US002

HBOOT-3.19.0.0000

RADIO-1.24.21331147A1.09G

OpenDSP-V48.2.2-00564-M8974_FO.1211

OS-4.17.1540.9

eMMC-boot 2048MB

Aug 5 2015.22:04:09.27719

Any help will be appreciated.

Thanks!

UPDATE: My bad! I feel really dumb! I could not connect to my PC because I was not on the Fastboot screen but on the Hboot screen! I switched to the Fastboot screen and was able to send Fasboot commands from the PC. Then I ran the RUU.exe that I got from HTC website and it did find the phone in Fastboot mode and started the update.

This time the install went all the way to completion and it's working fine now!

I still don't understand why the OTA got stuck at the logo screen (before going to the screen when it says Android is upgrading) when I tried the first time, but problem solved anyway! :)
[One (M8) General] -Duir-:
I think the firmware will flash no matter what. I think it does that before running through the software part and diff checking the system partition. It's flashing the firmware (with the newer android-info.txt) that updates the value of the OS line.

If you can get to the bootloader screen you can run the RUU as that's all you need. You want to be in fastboot mode and it should display "FASTBOOT USB" when connected to the computer.

Also, yes, the rom.zip files are encrypted in HTC's RUUs and the only way to decrypt them is with a tool that requires linux to run (RUUVEAL).

-EDIT-

Remember though, the RUU will wipe the internal storage. If have anything important on there you may want to try flashing twrp and seeing if you can enter recovery. If so you will hopefully be able to plug your phone in to your computer and get the files off it.
[One (M8) General] TheEarman:
Thanks for your help. I was really stupid and was not in Fastboot mode! The flashing of RUU worked. The root disappeared, so I'll have to re-root later on. For the files I have a Titanium back-up, so should be ok. Thanks again!
[One (M8) General] navid0308:
Damn, HTC customer care is more clueless than I imagined :p
[One (M8) General] Snah001:
Thanks but was looking for a system dump of an fully updated Stock Rom with ota 4.16.401.13.

Anybody?
[One (M8) General] navid0308:
I haven't found any. Probably cause the ota is just over 50mb, doesn't make much sense to upload 1.5gb for such a small update.
[One (M8) General] -Duir-:
...

Glad you got it working. :)
[One (M8) General] danial.aw:
Exact thing happened to me... installed the firmware and phone would not boot past the boot animation... instealled it over WWE ... then I decided to flash the WWE new stagefright update .13 I believe.

Worked fine for me and booted fine after that... maybe this might help people who get stuck with the dev one
[One (M8) General] -Duir-:
Is your device dev edition or wwe? If it's wwe, it sounds like that was your issue as of course the dev edition OTA would not work.
[One (M8) General] danial.aw:
Ya I was not aware of that ... I thought with S-Off you could install any firmware so installed this... Flashing the WWE firmware fixed my issues
[One (M8) General] M_Shaaban:
Has anyone faced a problem rooting their device after the Stagefright update?
[One (M8) General] wetxxx:
Yes, I have a problem with make root in my device but I will be waiting for Mike's rooting tools.
[One (M8) General] -Duir-:
I've had no issues with root. Used the option in TWRP after flashing it back to my device.
[One (M8) General] quny:
What kind of trouble getting root?

Yes, TWRP latest version is not working. However, using a CWM is no problem with getting a root there.

As usual, here are downloading Custom Recovery--- http://xdaforums.com/showthread.php?t=2703223

Then install SuperSU in the .zip format. That's all.
[One (M8) General] wetxxx:
Sorry its very hot day, I have problem with RW issue. Root works fine. I have s-on.
[One (M8) General] -Duir-:
If you're talking about apps having access to the sdcard this app will work. It has KitKat in the name but it still works as it just modifies a xml file.
[One (M8) General] M_Shaaban:
Does TWRP work or not? Does the CWM 6.0.4.8 (normal or touch) work or not?
[One (M8) General] wetxxx:
Twrp 2.8.4.0 works great for me 2.8.1.0 also
[One (M8) General] -Duir-:
No issues so far with TWRP 2.8.7.0.
[One (M8) General] TheEarman:
Yes, I had problems rooting. However the fix was simply to get the latest SuperSU (v. 2.46) available here:

https://download.chainfire.eu/696/SuperSU

The previous version I had installed but did not root (could not load binary). After installing 2.46 the root worked fine.
[One (M8) General] ckpv5:
Latest update for HTC__044 & HTC__059 available

Software version no. 4.19.707.4
[One (M8) General] navid0308:
Forget stagefright, even the sdk api level is still unknown in the new wwe uk build :p
[One (M8) General] wetxxx:
Sdcard is ok but I have RW problem and only modyfie boot.img fix this problem.

http://xdaforums.com/showthread.php?t=2755657
[One (M8) General] tim_h:
There are a couple of people for whom TWRP with any version newer than 2.8.1.0 stops working. It is unclear why that is so. The discussion is going on here: http://xdaforums.com/showpost.php?p=62622042&postcount=52
[One (M8) General] nhoc_maruko9x:
I just got an OTA update, but I rooted and (maybe) made some changes in system. So it says cannot install OTA. Can I flash stock recovery and install OTA? What is the path where I can find OTA zip I just downloaded?

Thanks.

// I found it. In Download folder.

// Try to install via stock recovery. Get error: wrong footer - signature verification failed. It seems that I still must flash stock RUU to apply OTA updates :(
[One (M8) General] nhoc_maruko9x:
What the hell, after reflash stock RUU WWE and did nothing more, I downloaded OTA update but still can't install it?!

[IMG="Really, HTC?"]https://lh3.googleusercontent.com/Pz1wCeCOhfFZSw4lw-r__zFofOtzR0CkBhguwSjhGjA=w440-h782-no[/IMG]

What's wrong with you, HTC?
[One (M8) General] ckpv5:
Nah.. nothing's wrong with HTC.

Your device has wrong CID/MID combination
[One (M8) General] nhoc_maruko9x:
Exactly! I just find out that my MID is Europe edition, but my RUU is for Dev edition! So I changed MID to dev and even root with TWRP, then flash stock recovery. Now I can both install OTA and having root access. Awesome :D
[One (M8) General] glovesraisins:
exactly. except maybe recovery.
[One (M8) General] :
can you update it to iOS 8 though?
[One (M8) General] Dolphin87:
I suggest u to wait until dev issue a jailbreak for iOS8 [emoji23]

I have M8 and running IOS 7.1.1 pretty damn solid [emoji317]
[One (M8) General] mirfayozov:
htc inspire 4g

I have htc inspire 4g where I can take updates? and why there is no theme for the other models
[One (M8) General] EddyOS:
Wrong forum bud, this is the HTC One M8 forum. you wanna go here

http://xdaforums.com/inspire-4g
[One (M8) General] kw1mx5:
O2 UK

hi - I'm hoping for a little advice...

I have an M8 on near Stock. Only changes are TWRP, Rooted and change to system/permissions file to enable SD card RW access. I've not manually removed any system apps.

Device is S-ON with Tampered and HTCDEV unlocked bootloader.

I've tried Firewater and got a whelp on the 2nd bottle.

FW is 1.54.206.5 CID O2__001 MID 0P6B10000

I'm getting regular OTA nags to the point of it getting on my nerves but I've not tried doing it because I don't have the have the stock recovery and I would need to unroot.

I see the stock recoveries lower down on this page

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

I wonder if flashing the stock recovery for 1.54.206.5 is the right first step ?

I appreciate that I won't be able to reset the tampered and unlocked flags without s-off :(

I note that I would need to remove Super SU using the app linked to on

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

Because I'm not S-Off and there is no CID O2__001 Firmware available to reflash I cannot reflash the stock firmware.

I believe that because I don't have S-Off I won't be able to flash the unbranded EU firmware. Am I right ?

I would be content to accept the OTA and lose root just to stop the nagging as much as to get the update but I want to be 100% the OTA will work and want to make the conditions right for it to work.

If I were to remove the changes made to the permissions file, flash the stock recovery listed above (which I think is the correct one) and remove supersu, would be safe do you reckon to go ahead and flash the OTA ? Any ideas on if it would work or not ?

The biggie is what is the worst that could happen ?

Thanks for reading guys, your thoughts would be appreciated as I'm really not up on all this, I only rooted because I needed full SD card access. :)
[One (M8) General] Darknites:
If the recovery is for m8 then you should be good to go and don't worry about root the ota will remove it for you because HTC that nice lol.
[One (M8) General] kw1mx5:
ok thanks Darknites. I'll maybe give it a go.

Think I'm going try a couple of other things with Firewater first to see if there is any way I can get S-Off. I believe that some people have succeeded by copying a large file to internal storage at the same time firewater is running where they'd previously had a whelp so I may give that a go. I'd like to lose the Tampered and Unlocked flag and keep my future options open.

I guessing that even if I succeeded with the OTA it's going to leave the telltale flags set to true. (?)
[One (M8) General] EddyOS:
Were you on 1.54.206.5 before you flashed your first custom ROM? If so, you have the firmware already so restoring your backup and flashing the stock recovery should be enough to get the .10 OTA once o2 push it
[One (M8) General] kw1mx5:
hey EddyOS thanks for the reply. Yes I was on 1.54.206.5. I've not actually flashed a custom rom, just the custom TWRP recovery.

I have rooted then overwritten (using the TWRP shell) the system/permissions file with another but which has the media_rw bit added in the appropriate places to enable full micro SD card access, and I don't have my own backup of the stock recovery or firmware so I'd have to pull the 1.54.206.5 recovery file from XDA.

My gut feeling is that it might be worth trying a bit harder to get S-Off before going ahead as it seems unlikely to be possible to get it afterwards, and I'd really like to lose the tampered telltale too. What you reckon ? :)
[One (M8) General] Darknites:
There is adb command you can do to see if can s-off but most likely can't. Also the file transfer isn't good from what seen so be careful.