yashsingh1/xdaforums huggingface dataset:
[Verizon HTC One (M8)] davidmatt34:
Any chance there will be an updated RUU with the new updates pushed out today?
[Verizon HTC One (M8)] dottat:
Soon as I have time to do the m8's in my house
[Verizon HTC One (M8)] davidmatt34:
I knew you were already on top of it...Thanks for the reply as always..
[Verizon HTC One (M8)] dottat:
OP of this thread updated with the newest pre-rooted RUU options.
[Verizon HTC One (M8)] jas88:
Thanks @ Dottat!
[Verizon HTC One (M8)] xsteven77x:
Thanks my man. We all appreciate you still taking care of us even though many have moved on from this phone. :)
[Verizon HTC One (M8)] hfam:
Awesome news, thanks dottat!

Will you again make an install so it doesnt overwrite data as you did with the 5.0.1? This last one you did worked so smooth and perfect: I ran it over 4.2, reinstalled twrp, reinstalled SuperSU, and everything remained intact and perfect!

This system update ready notification popup is also driving me crazy! :)

Thanks again for all your hard work!

**EDIT** I probably should have clarified:

I have a stock Verizon rom, S-Off, rooted, currently at 5.0.1 (thanks to your installer!), and you'd pointed me to your brilliant 5.0.1 installer here so as not to wipe my current data:

http://xdaforums.com/verizon-htc-one-m8/general/official-ruu1-55-605-2-t2883845

I was able to install that 5.0.1 without wiping any of my data, then I reinstalled TWRP and SuperSU, and was updated from 4.2 to 5.0.1 without losing any programs or data.

Will you be making a similar install to get the latest update push without wiping any data? I don't mind reinstalling TWRP and SuperSU, simple compared to wiping the entire phone! :)

If I'm missing something obvious here, feel free to slap me and point me in the right direction. I understand the one in this thread will wipe the phone completely, and am hoping there is another install which is similar to the one referenced above, it was absolutely brilliant
[Verizon HTC One (M8)] notslow1:
I've read over fifteen pages of this thread. I'm still a little unsure of a few things.

I've got two stock phones with 4.4.2 that I just used sunshine to s-off and rooted with the developers root tool thanks to advice on here by dottat and other members.

Can I just use the exe to to update my phones since it's on 4.4.2 or do I need to take other steps first?

Is the exe the best option?

This is a little advanced for me, usually just root and use titanium backup. So I don't want to mess this up.
[Verizon HTC One (M8)] dottat:
The only thing you may have to do is flash the hboot zip posted in the op first. You can flash that zip using fastboot or the SD card method. Once you complete that you can download the latest ruu zip or exe and flash that.
[Verizon HTC One (M8)] dottat:
Uploading it right now...
[Verizon HTC One (M8)] hfam:
You, sir, are the MAN!!! Thank you VERY much for all you do, and will follow up with my success!!

**EDIT**

Success!! Thanks again for keepin' our M8's alive and current!! I'll shoot you another donation shortly.

In the meantime, any idea how to get rid of this damn "System Update Ready" window that keeps popping up? Tried clearing dalvik/cache and it just re-optimized all my apps.

I checked and the system is reporting 4.17.605.9. I tried "System Update/Check new" thinking it would re-initialize and see it's current, but no luck.

I just keep hitting the back button instead of either of the "Install Now" or "Install Later" buttons.

I'm thinking if I hit "Install Now" and let it run, it will fail when it gets to TWRP, do a re-check, see it's current and STFU, but I am sitting perfect right now and don't want to screw anything up, so I haven't taken it or delayed it yet.

Any assistance would, as always, be met with eternal gratitude. ;)

Otherwise, everything went perfect; Updated, TWRP'd, and SuperSU'd, didnt lose a thing!

**EDIT 2**

Resolved the System Update Ready issue. Got antsy and figured it would fail at TWRP, so I hit Install Now.

It failed immediately with unsuccessful, and I hit OK.

Went into System Update/Check new and it then phoned home and said "good to go, you're already up to date" (not in those words...).

Problem solved!!

Thanks again dottat, you are incredible and all of us who own an M8 owe you a debt of gratitude. I'll get another donation to ya in a bit, making dinner now.
[Verizon HTC One (M8)] notslow1:
Thanks for the advice and the RUU. This should be just what we need to use Titanium backup to get our stuff off the motorolas and on the M8s
[Verizon HTC One (M8)] notslow1:
I got the hboot zip installed and the standalone ruu and everything seems good so far. The only thing is I didn't install TWRP. I didn't realize I needed it to install the tweaks. How do I install twrp now that the phone has rebooted? Or do I need to reinstall the full RUU? Do I need to rename TWRP zip to install?
[Verizon HTC One (M8)] dottat:
You can rename the twrp zip just like you did with the run and reboot to boot loader and let boot loader flash it. Once your phone boots up delete that zip as it will make it hard to enter recovery. The free app quickboot will work perfectly to reboot to recovery from within the os.
[Verizon HTC One (M8)] craichead:
I've read a lot in this thread as well as this other thread, and maybe it's just me, but I'm not clear on what I need to do to install the latest OTA update (which I believe is the stagefright patch) in my situation. I'd prefer the easiest method (whatever that is), and it's my understanding that I can't do an OTA update due to the current status of my phone, which is as follows:

Android version 5.0.1 (stock, rooted)

S-OFF

TeamWin Recovery

I'm sorry if my question has already been answered, I just want to make sure that I'm totally clear on what I need to do so that I don't screw up my phone. :)
[Verizon HTC One (M8)] dottat:
Flash the s-on one and and then simply flash twrp and the latest supersu.zip to reroot. That way you don't have to wipe. The one in this thread is pre-rooted but will wipe your phone.
[Verizon HTC One (M8)] craichead:
Thank you, dottat. So the S-ON will not affect my phone's S-OFF status? And is the 5.0.1 RUU zip with stage fright patch listed in this thread the correct one?
[Verizon HTC One (M8)] dottat:
Correct on both accounts.
[Verizon HTC One (M8)] runandhide05:
no firm ware was from your 4.4.4

the hboot says 4 and 3 fails, 3 is userdata, understandable 4 is the pg2fs_spcustom -- FAIL-PU
[Verizon HTC One (M8)] dottat:
do a factory reset from hboot (make sure stock recovery was loaded) and try the RUU again. If you run into a snag I can screen share with teamviewer...
[Verizon HTC One (M8)] runandhide05:
ok for some reason doing the old way doesnt work at this point

from cmd promt

fastboot flash zip 0P6BIMG.zip

im not worried, this is not my first go around, just thought the error was odd.

il let u know what i find
[Verizon HTC One (M8)] billblack:
I'm getting 155. I am running a rooted stock 4.4.3 ROM.
[Verizon HTC One (M8)] dottat:
S-off?
[Verizon HTC One (M8)] billblack:
Sorry, yes. S-Off.
[Verizon HTC One (M8)] dottat:
Did you download the exe version or SD version?
[Verizon HTC One (M8)] runandhide05:
rebooting and preforming a -w in fastboot then reflashing seemed to clear any errors up, booting into system now.

Thanks bud
[Verizon HTC One (M8)] billblack:
EXE. Also, I rebooted to bootloader, and tried from fastboot screen. Seems to be updating now. I'll advise in a few minutes!
[Verizon HTC One (M8)] dottat:
Yep.. that will force the matter :).
[Verizon HTC One (M8)] dottat:
man.. you guys are killing it today.. jumping to the next thing i was going to suggest before i even got there....

loving it...
[Verizon HTC One (M8)] aer0zer0:
HBOOT is still 3.19?
[Verizon HTC One (M8)] dottat:
yeppers... radio is the same version too.. go figure.
[Verizon HTC One (M8)] aer0zer0:
Yea, thats what i thought, and i here i expected big things
[Verizon HTC One (M8)] schnob:
I'm currently stuck at the fastboot screen with triangle exclamation points in all four corners. Got here by trying the FUU, got the same errors as everyone else. When I try to fastboot flash the standalone zip file it says it cannot load it. I also can't fastboot reboot-bootloader, it just boots me back to the fastboot error screen.

Ideas?

Edit: After reading the post below me I'm trying the FUU again, it worked!
[Verizon HTC One (M8)] billblack:
Long time lurker. I read and can use Google :). Regardless, it failed and scared the crap out of me as it wouldn't boot. Got back into boot loader, fired up EXE again and it seems to have finished the 2nd time. A few more grey hairs, but all is good my friend. Thanks.
[Verizon HTC One (M8)] sofla2:
I'm getting the 155 error. Tried the solution above. It's a no go. I'll get the connection error after it has detected the phone. It will through the process to where it goes into RUU mode then fails. I think I'll just try the SD card method. I'm on CleanRom
[Verizon HTC One (M8)] tier1dc:
I could use some help.

When I reboot my phone (updates, etc) it always kicks me back to the 'Android is Upgrading Apps' loading screen and then makes me reinstall all my app updates from the google store.

and I'm still getting the 'Verizon has an update for this phone' every day and have been unable to disable it permanently.

Any advice?
[Verizon HTC One (M8)] dottat:
You must have used the s-on ruu. Is that true?
[Verizon HTC One (M8)] tier1dc:
No. I used the one on this thread. You helped me a month or so ago.
[Verizon HTC One (M8)] dottat:
OK. So two issues. One, there has been an update. Ota. So new ruu to run. The second problem is that your ownership of /data is wrong. When I am not mobile I will try to find the post where the command to fix that is.
[Verizon HTC One (M8)] tier1dc:
No rush. Appreciate the help.
[Verizon HTC One (M8)] StarfishP:
Hey so I have been having a huge problem. Anyways my one m8 running AOSP firmware has not been getting any LTE data of any kind whatsoever, so I decided to run the RUU and do a factory reset within fastboot after the RUU to fix the problem. Running the stock rom, I was able to achieve getting LTE back and was pretty happy. I then flashed a new AOSP rom (AICP) and once again was unable to get LTE data. I went back to the the RUU and factory reset once more to fix the problem and afterwards installed a different AOSP rom (resurrection) and got LTE data on the first boot. However; after resetting the phone on this new ROM, my LTE data went away again and there is no way for me to get it back. Currently I don't know what to do and am at a loss of what is wrong. Can anybody provide insight or what I can do to my APN settings to get back LTE data?
[Verizon HTC One (M8)] mattie_49:
Obviously run stock or sense . Or looks like your sol
[Verizon HTC One (M8)] StarfishP:
it's weird though because this never happened before as I've always been on an AOSP rom. This only happened once I updated to the most latest firmware. I rolled back to see if it would fix it and it didn't work either.
[Verizon HTC One (M8)] mattie_49:
So until Verizon releases another software update we still are vulnerable to this stage fright bs. Right?
[Verizon HTC One (M8)] andybones:
Negative, [MENTION=1331268]santod040[/MENTION] posted a full patch. Make sure to give him a thanks.

http://xdaforums.com/showpost.php?p=62734095&postcount=3
[Verizon HTC One (M8)] dottat:
Fix for the /data/apps reverting on reboot...

adb shell

su

cd /data/app

chown -R system:system
[Verizon HTC One (M8)] tier1dc:
This has to be done on the PC, right?
[Verizon HTC One (M8)] dottat:
One might be able to get this done using terminal emulator on your phone.
[Verizon HTC One (M8)] tier1dc:
Downloaded terminal emulator

Entered the commands

This is the output from the window

u0_a117@htc_m8wl:/ $ adb shell

* daemon not running. starting it now on port 5038 *

* daemon started successfully *

1|u0_a117@htc_m8wl:/ $ su

root@htc_m8wl:/ # cd /data/app

root@htc_m8wl:/data/app # chown -R system:system

Usage: chown [-R [-H | -L | -P]] [-fhv] owner:group|owner|:group file ...

chown [-R [-H | -L | -P]] [-fhv] --reference=rfile file ...

1|root@htc_m8wl:/data/app #

Seems like it worked. Restart and find out?
[Verizon HTC One (M8)] dottat:
That's what i would do...
[Verizon HTC One (M8)] tier1dc:
unfortunately it either didn't take/work/fix the problem. I'm wondering if there is a command that can be used to directly check the ownership of the apps inside the terminal.

or should I just give the new RUU update a try?
[Verizon HTC One (M8)] dottat:
You can do that knowing it will wipe your phone. It would/should clear all problems.
[Verizon HTC One (M8)] rhys100:
Using step 1, I got "model id incorrect!" - What is the problem here?
[Verizon HTC One (M8)] dottat:
Your phone doesn't have the vzw mid. You can change your mid to the proper one using Scotty1223's adb command. If you can't find that thread I will help you when I'm not mobile.
[Verizon HTC One (M8)] rhys100:
I followed that step, now when i flash via step 1 method it says "CID Incorrect"

in bootloader my CID is "CID-VODAP021"
[Verizon HTC One (M8)] dottat:
Fastboot oem writecid VZW__001
[Verizon HTC One (M8)] abtxpress:
Is there a way to get this without root but debloated? I want to use Android pay, will not work with root.
[Verizon HTC One (M8)] dottat:
Flash the s-on one and then twrp. Use twrp file browser to delete bloat apps?
[Verizon HTC One (M8)] tier1dc:
so I'm going to use the new stagefright RUU and refresh the phone.

Is there anything I can do on my end to make sure the same ownership error with apps doesn't happen again?
[Verizon HTC One (M8)] dottat:
Just make sure if you get a data partition fail you rerun the RUU
[Verizon HTC One (M8)] carm01:
KUDOS

Just wanted to say KUDOS!

I tried two of the debloated versions of the 4.17.605.9 and was getting that stupid keyboard not popping up issue.Never had it until i used the .4.17.605.9 roms. 4.17.605.5 ROMS never had this issue for me.

I back up my data and renamed the zip to 0P6BIMG.zip and dumped it on my external sd, and flashed, made my tweaks, debloat, etc.. and never got that keyboard not popping up issue. Been three days without a hitch. Just wanted to pass on my KUDOS and feedback.

GREAT JOB

Best regards!
[Verizon HTC One (M8)] J_awn:
Again, thanks for the exemplary work for making us flashaholics' lives much easier :)
[Verizon HTC One (M8)] mattie_49:
So has there been only( one ) ota official update to patch stagefright?
[Verizon HTC One (M8)] sob372:
Just use modified Google wallet until someone mods android pay to work w root. Wallet used to have the same problem . It works fine only hitch is the occassional notif to update to android pay.
[Verizon HTC One (M8)] santod040:
Yes, this is Verizon...

If you want to patch the remaining vulnerability, see post 3 of my stock Rom/firmware thread.
[Verizon HTC One (M8)] dnkjordan:
[MENTION=3472611]dottat[/MENTION] I have been running AOSP ROMs and GP (as shown in my signature). Following an update to CM 12.1, I lost all LTE. I performed the RUU with stagefright patch then, following startup, I rebooted to the bootloader and performed a factory reset. After rebooting, I get the 3G indicator but the phone shows no data connection without wifi. I have flashed the HBOOT file from the OP and retried both methods and am a loss for what to do next. Any assistance would be appreciated.

Edit: RUU back to 4.4.4 followed by factory reset fixed the problem. Thanks for providing the resources to bail us out!
[Verizon HTC One (M8)] nervana1:
Was able to upgrade to current firmware, but not Wifi has authentication problems and will not connect.
[Verizon HTC One (M8)] dottat:
Firmware or ruu?
[Verizon HTC One (M8)] nervana1:
The RUU, was also able to install a new rom and added twrp. But now my wifi will not authenticate.
[Verizon HTC One (M8)] dottat:
Flash the boot img from your rom manually via fastboot and retest
[Verizon HTC One (M8)] nervana1:
I was able to flash the boot.img, but now it restarts into fastboot mode and lets me enter Hboot and twrp recovery. reinstalling custom rom, will report back if wifi still works.

WIFI still cannot authenticate
[Verizon HTC One (M8)] dottat:
The only typical things to cause that are a mismatched boot img for the custom rom you are using. If you are able to connect after running just the ruu, you will have to take the questions to the support thread for that rom.
[Verizon HTC One (M8)] nervana1:
The thing is that it was with any rom that I installed. This happened after the RUU flash. Can I revert to the earlier RUU by flashing the earlier or im stuck until new ruu?

[MENTION=3472611]dottat[/MENTION], I was able to finish and fix everything properly thank you very much.

For those stuck with my problem these are the steps I did.

I reflashed the newer RUU and once everything was peachy, I did a factory reset, that seemed to have fixed everything that was going on with my phone. I then added twrp recovery and reflashed my rom of choice. Very much appreciate it mate!
[Verizon HTC One (M8)] v1ral:
I have a dumb question.

If I hboot flash firmware to latest would I need to RUU if I am experiencing any connection issues etc?

I am interested in fixing connection issues I seem to be having and maybe doing the RUU will fix it, if not then I just stick to the firmware.

Thanks for your time!
[Verizon HTC One (M8)] dottat:
Just flash stock recovery and do a factory reset from the hboot menu.
[Verizon HTC One (M8)] v1ral:
While on Stock recovery I can just use flashify to reinstall TWRP?

Would I still be "rooted"? Or am I overthinking this?
[Verizon HTC One (M8)] dottat:
If you are having connection issues you need to factory reset using stock recovery. After you have completed the factory reset you can reflash twrp. Stock recovery factory reset is what returns the radio to golden configuration state.
[Verizon HTC One (M8)] piyushkohli97:
will this s on my phone?
[Verizon HTC One (M8)] dottat:
No
[Verizon HTC One (M8)] Vonsmuda:
I have factory reset at least 5 times using stock recovery, flashed most up to date firmwares, radios, hboots, I used FUU and RUUs. I even flashed multiple roms and I still only get cell service. No LTE, there was a point where I could switch from one to the other or had 3G with data. Also when in TWRP when I select mount, I don't see Internal Storage I only see micro SDcard and system isn't mounted. I checked system to mount and then resized everything and repaired. Reinstalled rom and still nothing but cell service or Wi-Fi... I have no idea what to try next.. stock recovery worked one time and then I was having problems sending texts even though I had 4G LTE ... So I tried to fix it and now I'm stuck and I think my data partition, system partition or internal storage is broke..
[Verizon HTC One (M8)] sob372:
Anybody have weird battery issues after running sf ruu? Flashing drained my battery from almost 50% and is taking forever to charge even with a quick charge 2.0
[Verizon HTC One (M8)] dottat:
That's not normal at all.
[Verizon HTC One (M8)] sob372:
Weird right? It's actually all good now. Took over 30 mins to get past 3% with the quick charge 2.0 but it wasn't using the qc because the green light wasn't on. I shut it off because it was super hot too and came back in an hour or so and it was fully charged and running perfectly fine. So thanks for the zip and the support op. Keep sticking it to the man and all that.
[Verizon HTC One (M8)] dottat:
You may need to calibrate charging circuitry. Power the phone off. Connect to power supply once off. Hold all three buttons for two minutes straight regardless of what the phone does.
[Verizon HTC One (M8)] sob372:
Does it matter at what state the battery is in? Or should it be done immediately after an ruu reboots?
[Verizon HTC One (M8)] dottat:
I would probably do it charged.
[Verizon HTC One (M8)] thetriplejranch:
Does anyone know how to get rid of the nagging WiFi notifications. I've been searching through the threads and it seems like only the custom roms have that stupid "feature" pulled out. The native tether and such was supplied with this baby, and it's awesome, I was wondering if a similar zip file can be made to get rid of the stupid WiFi notifications.
[Verizon HTC One (M8)] ryanguy426:
Anyone else having issues with settings.apk not being installed after flash? Or, if it does survive the flash, it'll disappear suddenly? I can't use the ROM because of this, and can't find a way to install the apk without unknown sources, which... is in settings.apk.
[Verizon HTC One (M8)] dottat:
This isn't a rom bro. Settings.apk doesn't disappear after an ruu. What else are you doing ?
[Verizon HTC One (M8)] ryanguy426:
Nothing, I'm flashing via the zip method in TWRP and nothing else. Maybe I should check the MD5 :rolleyes:
[Verizon HTC One (M8)] dottat:
Dude. You don't flash an ruu in twrp. ?
[Verizon HTC One (M8)] michaelbsheldon:
Place the RUU and HTC_fastboot.exe into your ADB folder.

commands in fastboot:

fastboot devices (see if your serial # shows now, if yes go further)

fastboot oem rebootRUU

HTC_fastboot abcdef.zip (name of the RUU your downloaded)

fastboot reboot-bootloader

fastboot reboot

now you are a happy camper
[Verizon HTC One (M8)] ryanguy426:
Honestly, I just realized I totally replied to the wrong thread... Oops.
[Verizon HTC One (M8)] dottat:
That's what I was waiting for lol. Sorry for the sarcasm but something told me when you said rom this was the case.
[Verizon HTC One (M8)] Dan Tekle:
Need to unroot for warranty. Is this the RUU I need for my vzw m8?
[Verizon HTC One (M8)] andybones:
Any ruu that isn't pre-rooted.
[Verizon HTC One (M8)] Dan Tekle:
Do I need to s-on if I'm already s-off to do this or is there simply an s-off non-rooted RUU file I can load via sd card method?
[Verizon HTC One (M8)] dottat:
If you are looking to turn it in follow that post step by step. You will end up with a phone that is ready to return and they won't be able to tell it was ever rooted.
[Verizon HTC One (M8)] Dan Tekle:
OK, will try later and report back. Thanks!!!
[Verizon HTC One (M8)] mattie_49:
I can vouch for that sent my m8 in a time or 2 for warranty work and nothing was ever said.
[Verizon HTC One (M8)] Dan Tekle:
Ok, got myself "locked" and running the s-on ruu now but got stuck at vzw red logo screen. How do I get this thing to boot as I still have the RUU file renamed to 0P6BIMG on my sd root? I saw something about a factory reset but not clear...
[Verizon HTC One (M8)] dottat:
Power up and volume until it reboots and then immediately switch to vol down only.
[Verizon HTC One (M8)] Dan Tekle:
It keeps trying to load the RUU- How do I get out of hboot? When I reboot and hold vol down only it goes right back into hboot and not bootloader
[Verizon HTC One (M8)] dottat:
Pop out the sd card silly. Then factory reset and boot up.
[Verizon HTC One (M8)] Dan Tekle:
Oh, it's the simple things, lol!!! Almost there...

Good to go!!! Thanks sir!!!
[Verizon HTC One (M8)] xdadevelopers-user:
Sorry to bring this back but in case anyone else comes across this I felt I needed to point out why this was wrong.

From a terminal app you should not run 'adb shell'. That's only to get a shell on the device from a PC. Also the 'chown -R system:system" command is missing the "."

So, if you want to run this from a terminal app you would type:

su
chown -R system:system /data/app

To check the ownership you could run:

ls -alR /data/app
[Verizon HTC One (M8)] TheNewNEXUS:
My Verizon Wireless Htc One m8 is having an lte issue. I cannot connect to 4g lte whatsoever, and I only connect to 3g or below. I have changed sim cards, which did help a lot in the past, however didn't work this time. I went to verizon and they couldn't seem to fix it. I tried the FUU tool and that didn't solve it too.

All help is very appreciated! Thanks in advance
[Verizon HTC One (M8)] Prasath1234:
Hey I flashed your ruu s off 5.0.1 but did not flash Lhboot.zip I somehow upgraded to lollipop but now am not getting data at all no 2g or 3g tried manually entering my APN airtelgprs Am from India.I bought HTC one m8 Verizon unlocked from eBay.I was rooted s off bootloader locked.I was not able to get lollipop update so tried your RUU 5.01.Plz help me how to get 3g or any data connection on my phone.