yashsingh1/xdaforums huggingface dataset:
[One (M7) Q&A, Help & Troubleshooting] clsA:
That defeats the purpose ...you can turn power saver off and on as many times as you like. theirs also Greenify and other battery saving schemes
[Verizon HTC One (M8)] jsaxon2:
This is awesome to have. Thank you my friend.
[Verizon HTC One (M8)] Tigerstown:
Just to sum this up..technically I could run the lock an s-on fastboot cmds an then flash this s-on to reset my phone to just like how it comes officially ?
[Verizon HTC One (M8)] jsaxon2:
I believe you have to downgrade first using the 4.4.2 pre-rooted stock ruu he had put put together. Then lock remove tampered flag and then s-on. Once there you can flash this official ruu.

This will land you on stock out of the box 4.4.2
[Verizon HTC One (M8)] king kratos:
Is this an actual Official RUU leak from HTC or is this something you compiled yourself?

Kratos
[Verizon HTC One (M8)] dottat:
Official. Not leak.
[Verizon HTC One (M8)] timmy_k:
Thanks! Good to have as keepsake!
[Verizon HTC One (M8)] DizDroid:
Do you or anyone in the know sharing those steps more specifically? I'm about to undergo warranty screen replacement and need to get things back in shape to avoid dealing with HTC for rooting phone.

If I'm running stock 4.4.2 Clean Rom 8/17 I shouldn't need to downgrade, correct? From there I can run CMD commands and run this RUU, right?

TIA. I haven't kept up with this phone as I have in previous models, just trying to avoid a potential brick situation.
[Verizon HTC One (M8)] :
Quick question, I'm returning a 4.4.3 rooted CLNR device back to Big Red, should I RUU the hboot or full package file first? Many thanks!
[Verizon HTC One (M8)] dottat:
Hboot as you will want to downgrade that.
[Verizon HTC One (M8)] aer0zer0:
so this RUU doesnt work like the ones on the M7 that were official...meaning any firmware, official signed RUU, would wipe, downgrade, and reinstall all in one? (Im not planning to relock/SON)

So to follow how this works

1. Flash [MENTION=3472611]dottat[/MENTION] 4.4.2 rooted RUU to downgrade back to 4.4.2

2. Flash the signed HBOOT from link above

3. Flash the official RUU from the link above
[Verizon HTC One (M8)] dottat:
If you just wanted to downgrade from a stock Rom you could just simply do steps 2 and 3. They put a switch in the file to not wipe data so your data and apps would remain. An s off user who doesn't like the ota could downgrade that in one shot.

We tested it
[Verizon HTC One (M8)] aer0zer0:
Fantastic, thank you for the clarification
[Verizon HTC One (M8)] DizDroid:
Does anyone know if I am on 4.4.2, if we need to downgrade anything, or if we can run the commands to lock bootloader, and enable s-on, then run the ruu file listed above?

Sorry for the almost double post. Trying to get this in order before my 10 days are up.
[Verizon HTC One (M8)] dottat:
Downgrade first!!!!

I put the warning in the op you cannot downgrade once s on

If already 4.4.2 you are good as long as your firmware matches.
[Verizon HTC One (M8)] DizDroid:
Forgive my noobie question, can you educate me on what I may possibly need to downgrade too or what I need to be checking for in sys info (or link me to correct downgrade file)? Searched your previous posts but couldn't seem to find the file your are talking about. I basically rooted the phone when I got it 5 months ago and left it as is. Never changed anything from out of box or updated to 4.4.3.

I don't think I need to downgrade anything, but always safe to compare after being away from xda for awhile.
[Verizon HTC One (M8)] dottat:
As long as you are still stock and didn't flash any custom firmware beyond the 4.4.2 build you are fine. I put the extra caution out there because if you s on you cannot downgrade. I have a list of m7 users who went s on and somehow had no system installed. This ruu is the only public one which will flash if s on and only if you are at or below this software/firmware level.
[Verizon HTC One (M8)] Irieone:
I am about to return my m8 to Big Red also. I am on 4.4.3 firmware running Clean Rom and s-off. Do I need to downgrade first Or is that not needed since I am s-off? I was going to flash the RUU via fastboot, lock the bootloader, and then s-on the phone. Is that right? Leaving me stock with no flags?

Thanks in advance.
[Verizon HTC One (M8)] dottat:
I would highly recommend you lock your boot loader and reboot. Verify its good. Then boot and go into su and do a full unroot. Then boot to boot loader and turn s on.
[Verizon HTC One (M8)] Irieone:
I forgot that I needed su to lock the bootloader. Will the RUU flash via fastboot with a locked bootloader?
[Verizon HTC One (M8)] dottat:
now you want to unlock that bootloader?
[Verizon HTC One (M8)] vitogga:
Question about root

After take this ota can we get root with WeakSauce2?
[Verizon HTC One (M8)] str8str:
I believe the ruu is rooted already. If ota you can root with fire water

---------- Post added at 03:26 ---------- Previous post was at 03:05 ----------

I have the dottat m8 s-off 5.0.1 ruu. Is that one rooted? Can't remember where I got it I know it's tours
[Verizon HTC One (M8)] XENON36O:
Hey Dotat I Am Not using verizon network.my phone is not rooted and is s-on.If I Download DOTTAT_VZWM8_S_ON_5.0.1_RUU.exe And upgrade my phone.My phone will get locked? can i use cellular service?
[Verizon HTC One (M8)] dottat:
i cannot promise you that your sim/carrier will still work on the new OS/firmware. What I can promise you is that with s-on you will not be able to downgrade if it doesn't work.
[Verizon HTC One (M8)] WorldOfJohnboy:
OK, so I'm S-Off running Adrenaline 2.0 (Sense 7 ported). I want to send my M8 back to VZW since I can't get GPS lock on any ROM, (it's definitely a HW issue).

What are the exact steps I need to take after I run my backups? If what I've read is making sense, I need to first flash the stock rooted RUU, then clear my flags in HBoot (do I use the Faux HBoot, or the other way using the commands?), then S-On , then flash this RUU to go back to square 1 Lollipop without them knowing anything?
[Verizon HTC One (M8)] iguate12345:
Dotat

Im not sure if the 5.01firmware installed right, when I boot into bootloader for my opendsp it shows as:

OpenDSP-v48.2.2-00564-M8974_FO.1211, and everyone on here has something different? Also as soon as I boot into bootloader by holding the volume down and powerbutton together I get this : SD Checking.... Loading... [0P6BIMG.zip] No Image! Loading...[0P6BIMG.nbh] No image or wrong image Loading..... [0P6BIMG.zip] Loading..... [0P6BIMG.nbh] No image or wrong image! not sure why it does this everytime is this normal? whenever I am on a Stock nonsense rom my signal goes off and on, also my phone heats up a lot more than usual it gets over 119 degrees according to clean master, this has been going on for a while now no matter what rom I install there is always issues.I've been having this problem since 4.4.4 firmware. every rom I get has multiple issues with my phones especially the stock google roms , I flashed using the exe ruu, not the zip method and I have not downloaded or put the hboot file on my sd.Also no matter what rom I go with, battery life is horrible even after a full charge cycle
[Verizon HTC One (M8)] izzledizzle:
Thank you for the .exe for S-On users! I have to send my 2nd M8 back to VZW for warranty exchange and that method was so ridiculously easy to get back to stock compared to the old method. I had been S-off/unlocked/rooted and re-locked/s-on and couldnt find a way to get unrooted before finding that program. Many thanks!
[Verizon HTC One (M8)] Protocol114:
You helped me RUU to stock rooted, and now I am stock, unrooted S-ON for warranty repair. (4G radio stopped working, and I tried all the fixes I knew in case it was software!)

Thanks a bunch, dottat. You're a lifesaver.
[Verizon HTC One (M8)] WorldOfJohnboy:
HUGE thank you to [MENTION=3472611]dottat[/MENTION] for not only the RUU, but all the assistance.

Also, if I may recommend that everyone use the HTC fastboot/adb files linked in the OP, they are pretty spectacular compared to "stock" SDK ones.
[Verizon HTC One (M8)] haitu:
Is it me or is there something wrong with the 4.4.4 RUU? I cannot copy, move it, or open. I can rename it. I checked the md5 and it's legit.
[Verizon HTC One (M8)] dottat:
You can't open it. It's signed and encrypted. As far as moving or copying I assume you mean on the device. Use the HTC file browser (green folder icon) as on 100% stock no other file browser has rights to do so.
[Verizon HTC One (M8)] toknitup420:
I'm giving my phone to my father and want to make it stock and unrooted. It can remain unlocked he wouldn't know how to get to the bootloader anyway ?. can i flash this while s-off to land on stock unrooted.
[Verizon HTC One (M8)] dottat:
Yes you can.
[Verizon HTC One (M8)] MoNsTeReNeRgY22:
If the bootloader is unlocked/S-Off but its stock/unrooted, can you still receive official OTA's?
[Verizon HTC One (M8)] dottat:
Yes you can. I did the same exact thing Friday when my m9 showed up.
[Verizon HTC One (M8)] MoNsTeReNeRgY22:
Awesome, thanks for the super quick response!

Last thing I want to clarify since I might be selling this phone. Currently S-Off and rooted running a 5.0.1 sense rom.

I follow instructions in the OP of this thread and I will be stock/unrooted but still S-Off/bootloader unlocked.

If I want to relock my bootloader and S-On, I follow THIS THREAD

Seems simple enough?
[Verizon HTC One (M8)] dottat:
You can actually open the adb shell to run that command while booted in twrp. I would lock the bootloader before you run the ruu. That way after you run the ruu if you decide to sell it you will only need to factory reset and run the fastboot command to turn s-on.
[Verizon HTC One (M8)] DWDahlinger:
I'm a little lost on what's going on with all this but I have a problem and it seems to be the opposite of what everyone else is after. I have a Verizon m8, I was s-off with root and like an idiot I updated to 5.0.1 after ignoring the update for so long and now I'm locked with I guess the stock recovery. Root checker tells me the root is installed incorrectly now. I'm just lost. Can't find anything about unlocking the bootloader for the Verizon m8 with lollipop so I thought maybe I could go back to KitKat if that were possible.

So, with all that said, what I want to ask is can this method help me get back to the original KitKat version so I can s-off and root it again?

Sorry for the stupid question but this is kind of a last resort for me until something else comes out. Maybe support by the Sunshine apk...

Thanks, Dustin
[Verizon HTC One (M8)] dottat:
Are you still s-off? If so you can still flash twrp and root. You don't need sunshine second time after getting s-off as long as you stay s-off.
[Verizon HTC One (M8)] DWDahlinger:
I didn't know until just now but yes I am still s-off! That's great news. Guess I should of checked that before I started asking stupid questions... Thanks for the reply man. So I just need to flash twrp through the command prompt?
[Verizon HTC One (M8)] dottat:
Follow the steps to flash twrp in ruu mode I have listed here..

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

EXE/ZIP RUU M8_VZW 5.0.1 (s-off only)(tweaks zip)(newest)

Then boot the phone to twrp and open your adb cmd prompt on your PC.

Type the following (cut , copy paste)

Adb shell

#next part is all one line

echo -ne "HTCU" | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796*

Then

Exit

Exit

Adb reboot-bootloader

Verify you are unlocked again.
[Verizon HTC One (M8)] DWDahlinger:
OK so I followed the instructions and installed the program. All programs closed, hibernate and sleep disabled. Started the program and went through the process and my phone booted to a dark HTC symbol and it has been there for over an hour now. It says it should take 5 minutes but it still says "updating...(0/1) Sending.........................."

Is it OK to reboot the phone and try it again or should I just wait?
[Verizon HTC One (M8)] dottat:
I didn't say to flash the ruu! I said to flash the twrp in that op because you are bootloader locked! Unplug your phone now and force a reboot to fastboot and flash only that twrp.
[Verizon HTC One (M8)] DWDahlinger:
I didn't flash anything. The RUU prompted to make sure the phone was plugged into the USB so it could do its thing. Iran the RUU and now its at where I said it was.

---------- Post added at 11:15 PM ---------- Previous post was at 11:12 PM ----------

The RUU said it would boot the phone into the bootloader and it never went to the bootloader. It's just stuck at some point it seems.
[Verizon HTC One (M8)] dottat:
Go no further. Install teamviewer on your PC and pm me the id and passcode.
[Verizon HTC One (M8)] DWDahlinger:
PM sent.
[Verizon HTC One (M8)] DWDahlinger:
[MENTION=3472611]dottat[/MENTION] You are a magician man! Thanks for the help! Everything is running great!
[Verizon HTC One (M8)] Cykhet:
I'm having an odd issue on my HTC One M8 and am hopeful someone can point me in the right direction.

So I'm looking to return to the factory 5.0.1 rom / firmware unrooted but want to keep my device unlocked, S-OFF'd.

Using TWRP I wiped the Dalvik / Cache / System / internal data and booted into RUU and flashed this S-ON RUU to my device via the terminal on Yosemite.

After the RUU flashed to my device successfully, I rebooted using fastboot reboot, the loading screen took about 5-10 minutes (Optimizing apps). As soon as I skipped the setup wizard and was placed on my home screen, I noticed "SuperSU" was still installed on my device!

Forgive my ignorance if I missed something but shouldn't the advance wipe function in TWRP remove all internal data / system data? how is my device auto installing SuperSU?

Anyhow, perplexed by this I booted into hboot on the stock recovery (TWRP had been removed at this point due to RUU flash) and wiped the cache then the data and performed a factory reset. I rebooted after the process completed, went through the same process above and when returned to my home screen noticed SuperSU still installed... Confused by this, I used adb shell and was able to SU, was prompted by SuperSU to grant permissions. How the heck?

Just a note and I'm not sure if this has anything to do with why this auto-root/installation of SuperSU is occurring but, after I S-OFF'd / Unlocked my bootloader and installed TWRP, I downloaded the SuperSU update package (Latest build) from chainfire and used TWRP to "Install" the zip package to my device.

How do I fully wipe the device, keep my java (S-OFF / Unlocked bootloader) but return to a fully verizon factory stock 5.0.1 firmware / rom?

Thanks in advance for any help anyone is able to provide.
[Verizon HTC One (M8)] dottat:
Whats the name of the file you used? I have a couple on my android file host and it's possible you ended up with the pre-rooted version.
[Verizon HTC One (M8)] Cykhet:
DOTTAT_VZWM8_S_ON_5.0.1_RUU.zip

And I used this knowing that it wouldn't automatically clear internal / data which is why I tried wiping the data using TWRP prior to flashing your RUU.

Thanks for the help dottat
[Verizon HTC One (M8)] dottat:
When you flash it.. before you flash it rather run the following commands in fastboot mode.

fastboot oem task 28

fastboot oem task 29

now do the RUU.

Also, with winrar installed on your PC.. what happens when you doubleclick the RUU zip? What files do you see and how many?
[Verizon HTC One (M8)] Cykhet:
Thanks I'll try that now and report back soon.

As for opening the RUU zip file: android-info.txt, boot_signed.img
[Verizon HTC One (M8)] dottat:
Just those two? Proceed with the above commands.
[Verizon HTC One (M8)] Cykhet:
Partial success, getting FAILED (remote: 32 header error) on the RUU reflash.
[Verizon HTC One (M8)] dottat:
hate to tell you this.. but you need to use a windows pc for flashing via fastboot and you will likely need to use the htc_fastboot executeable i have posted on my m8 androidfilehost section.

Regular fastboot doesn't understand the split up system chunks and that it needs to send a couple zips over to the phone so you will see that error message as a result.

If you have a windows pc you can use this https://www.androidfilehost.com/?fid=95916177934554784
[Verizon HTC One (M8)] Cykhet:
I have Windows 7x64 in a VM on this same machine that I can boot into.

Thanks for the information, I'll give that a try now and reply back with results.

---------- Post added at 11:04 PM ---------- Previous post was at 10:36 PM ----------

Thanks dottat!

As per your recommendation, using your custom windows ADB / Fastboot utilities worked for reflashing your RUU. The phone is back to factory defaults, much appreciated.
[Verizon HTC One (M8)] devilalwayscries:
Will this work on an already stock device?
[Verizon HTC One (M8)] dottat:
Are you s-on?
[Verizon HTC One (M8)] devilalwayscries:
My friend is yeah
[Verizon HTC One (M8)] dottat:
It will work as long as it's the same version or newer than what he has.
[Verizon HTC One (M8)] devilalwayscries:
Ok cool thank you
[Verizon HTC One (M8)] oze_no:
*** Software status: Official ***

*** LOCKED ***

M8_WLV PVT SHIP S-ON

HBOOT-3.19.0.0000

RADIO-1.12.20.1211

OpenDSP-v47.2.2-00564-M8974-F0.1024

OS-4.17.605.5

eMMC-boot 2048MB

Feb 3 2015,21:50:28.0

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.12.20.1211

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 4.17.605.5

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: MOD edit

(bootloader) imei:

(bootloader) imei2: Not Support

(bootloader) meid:

(bootloader) product: m8_wlv

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B20000

(bootloader) cidnum: VZW__001

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: f2489bd1

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.017s

How to Recovery Stock 4.4x :confused: :confused: plz help me
[Verizon HTC One (M8)] dottat:
I edited out your serial number. Are you asking how to downgrade? If so you cannot while s-on
[Verizon HTC One (M8)] oze_no:
Thanks Mod :crying:
[Verizon HTC One (M8)] Talal916:
Hey, I'm having a little trouble and I'd appreciate a little help. I don't know what ROM I need to be on before I can use this RUU. Everytime I try to flash, I get either "Remote: 32 header error" or "Remote: Data length is too large." I've tried the Wizard, which always says my phone isn't connected or that my battery is too low, even though my battery is full and I can see the phone connected and mounted. I've tried flashing from the phone and it says "Wrong zipped image!" I've redownloaded every file multiple times, and still getting failures. I was however, able to successfully flash the hboot provided in the OP post.

When I boot to fastboot, I see:

I'm on a stock 5.0.1 rooted ROM. I uninstalled SuperSU, so it's not really rooted anymore. I just want to get my phone to absolute stock so that I can send it in for warranty repairs. I'd appreciate any and all help. Thank you!
[Verizon HTC One (M8)] Faridgh98:
image.noelshack.com/fichiers/2015/26/1435251318-20150625-174835.jpg

I can do this ?
[Verizon HTC One (M8)] dottat:
Yes. Use the last kit Kat one. 3.28.605.4
[Verizon HTC One (M8)] Faridgh98:
Software statut : modified is not a problem ?
[Verizon HTC One (M8)] dottat:
Running this will remove that and make it 100% stock.
[Verizon HTC One (M8)] Faridgh98:
Thanks ?
[Verizon HTC One (M8)] lcefrog:
Hello all. Sorry for bad english .

I have a HTC M8 Verizon running android 5.0.1 updated by OTA. I can't root, unlock bootloader, install Recovery or anything :(:(

Can I downgrade to 4.4.2 (or 4.4.4) with RUU file into post 1 ?? :confused::confused: and if can, what should i do ?? :). i want to s-off and flash cook rom :).

Help me pls!!!

My bootloader info:

S-ON.

Hboot: 3.19.0.0000

RADION: 1.12.20.1211

OS: 4.17.05.5
[Verizon HTC One (M8)] dottat:
No you cannot. No downgrade on s-on phones.
[Verizon HTC One (M8)] lcefrog:
Tks for your reply :(( hix hix ...
[Verizon HTC One (M8)] Talal916:
Has anyone got a solution to this? It would be much appreciated!
[Verizon HTC One (M8)] dottat:
Are you using the correct version of fastboot ? Show me the out put of you running your fastboot commands.
[Verizon HTC One (M8)] bburke88:
Hey dottat,

I'm running Lollipop 5.1.1/rooted and S-off. I need to S-on, remove tamper flag and unroot. I noticed you had a pre-rooted lollipop RUU. Should I use that? Is there a way to get all of this done with just an SD card? Any help would be appreciated.
[Verizon HTC One (M8)] dottat:
See this post

http://xdaforums.com/showthread.php?p=61772177
[Verizon HTC One (M8)] BSOD2600:
Using ADB 1.0.32 and CM11-M12 (4.4.4), the fastboot flash zip 0P6BIMG.zip (renamed from 0P6BIMG_M8_WL_K444_SENSE60_VZW_MR_VERIZON_WWE_3.28.605.4_HSM_Radio_1.09.20.0926_NV_VZW_2.11_002_release_393779_signed_1.zip) command does not work and the following errors is displayed:

C:\Program Files\Android\sdk\platform-tools>fastboot flash zip "D:\Downloads\0P6BIMG_M8_WL_K444_SENSE60_VZW.zip"
target reported max download size of 1826418688 bytes
error: cannot load 'D:\Downloads\0P6BIMG_M8_WL_K444_SENSE60_VZW.zip'

One step missing when you're in the bootloader -- select HBOOT to initiate the RUU load process.
[Verizon HTC One (M8)] kerryh:
Are there any steps I can take to NOT land with s-on and not rooted? You have another flashable zip I came across I believe, however while I can rename and flash the 4.4.4 version I can not flash the 5.0.1 version. Either through the RUU fastboot method or by renaming the file to 0P6BIMG.zip. FB method says file too big, not enough space.. renaming method says nothing at jut doesn't pause when it is supposed to and instead displays the recovery select option in hboot.
[Verizon HTC One (M8)] dottat:
OK. Just to be clear here this ruu will not turn s on or relock your bootloader.

If you are getting fastboot errors you likely are not using the proper version of fastboot. Are you using HTC_fastboot or just regular fastboot?

Did you try flashing the 5.0.1 hboot first before the ruu?