yashsingh1/xdaforums huggingface dataset:
[Verizon HTC One (M8)] dweber85rc:
So I have a stock Verizon m8 that is no longer on Verizon. It is running the stock Verizon 4.4.3. I don't know what s-on or twrp is. So what do I need to do to use this update to get me to 4.4.4? Total noob when it comes to this stuff.
[Verizon HTC One (M8)] dottat:
You never s offed the phone or rooted it? If you haven't, you can while on 4.4.3. If you have absolutely no need to...you can run this exe and it will update you to 4.4.4 without wiping anything.
[Verizon HTC One (M8)] dweber85rc:
No I have never s-offed(whatever that is?) or rooted it-I have no desire or need to. My phone is encrypted though, does that matter?
[Verizon HTC One (M8)] dottat:
You should be able to upgrade using this then.
[Verizon HTC One (M8)] dweber85rc:
So just so that I make sure that I understand right, all I need to do then is download the executable and then plug in my phone and run it?
[Verizon HTC One (M8)] dottat:
As long as you have HTC drivers I stalled yes.
[Verizon HTC One (M8)] SuperSonicRob:
I'm returning my phone for warranty. I'm on 4.4.4 with locked boot loader and s-on but I have a modified software warning in bootloader. do I just run the 4.4.4RUU to Fix? Thanks in advance.
[Verizon HTC One (M8)] dottat:
This should fix you. Report back if it does.
[Verizon HTC One (M8)] SuperSonicRob:
This worked perfectly. Thank you!
[Verizon HTC One (M8)] Firebolt1914:
Quick question, so if I'm on a custom Rom and I want to go back to full stock, I would first go to your rooted 4.4.2, s-on and lock the boot loader, then go to 4.4.4, correct?

If that's the case, where would your rooted 4.4.2 RUU be?
[Verizon HTC One (M8)] dottat:
Full stock to return the phone? As in locked and s-on?
[Verizon HTC One (M8)] Firebolt1914:
Yes ,even though I will not be returning it , I just want to be sure that I will be able to.
[Verizon HTC One (M8)] dottat:
All you would need to do is run the adb command to lock while on a rooted Rom. Make sure bootloader says locked and not relocked. Once you have that run my 4.4.4 s-on ruu. If everything looks good (no root) do a factory reset. If everything looks good (no red text) then and only then you turn s-on (if you want it on)
[Verizon HTC One (M8)] DizDroid:
I'm running DH's modified 5.0 firmware, I'm sending the phone back to Big Red via the Edge Up program. I'd like to put things, "back the way they were", for lack of a better description. Can I run your RUU over his modified version and return to a "somewhat stock" experience? I'm not trying to waste my time locking bootloader, s-on, or unrooting, unless someone here has a horror story returning equipment.

Thanks guys.
[Verizon HTC One (M8)] ldw213:
I'm currently on CleanROM 3.0.0 and running build 3.28.605.4. I'd like to return to stock.

I ran the RUU executable but got a 155 error. Can I run the RUU from fastboot?
[Verizon HTC One (M8)] dottat:
Use the fastboot contained in the zip for best results. Just hold shift and right click inside the extracted zip. Select open command prompt here.
[Verizon HTC One (M8)] italynstylion:
So maybe I'm in a unique situation (or just the first to ask) but I'm not looking to go back to stock/unroot. I've been told to run some of the newer Android Lollipop ROMS I need to update the bootloader. I was told I needed to use what was stated in the first post to accomplish this but I'm not really sure how that works.

So my question is, how do I upgrade the bootloader on my ATT HTC One M8 S-ON without loosing root so I can flash the newer ROMS? What are the steps and what do I need?? I'm sure this will be asked A LOT soon since others will need to update their bootloaders too!
[Verizon HTC One (M8)] dottat:
This is the vzw one m8 section. You will need to look in the AT&T m8 section for the latest firmware.zip and flash that. That will give you the latest firmware for your phone. You will need to relock your boot loader to update it. Then use your token and unlock it after flashing. Then reflash twrp. Then flash your Rom. Don't forget the unlock will factory reset your phone too.
[Verizon HTC One (M8)] italynstylion:
Gotcha....so basically, I need to completely unroot and erase my phone, is what I'm gathering. Kinda sucks. Oh well. I'll budget a few hours to get it done one day. Thanks for the help!
[Verizon HTC One (M8)] breakyosef:
I'm sorry I am kind of confused what's the best way to revert to stock I have to send the M8 back to VZW right now I'm on 4.4.4 ran the RUu
[Verizon HTC One (M8)] dottat:
Are you still rooted?
[Verizon HTC One (M8)] breakyosef:
Yes supersu is still on there and shows I'm rooted
[Verizon HTC One (M8)] dottat:
from your pc.. open adb shell

the echo command must be cut copied pasted...

adb shell

su

echo -ne '\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796

exit

exit

adb reboot-bootloader

verify you are now locked.

IF you are locked... factory reset.. and then run the S-ON RUU. IF all looks good after that (no su/red text), then you reboot to bootloader and issue the following command via fastboot

fastboot oem writesecureflag 3
[Verizon HTC One (M8)] breakyosef:
ok now im locked so i run the 4.4.4 on the beginning on this page?
[Verizon HTC One (M8)] breakyosef:
damn you are a life saver and a fast responded

---------- Post added at 08:21 PM ---------- Previous post was at 08:16 PM ----------

One more question factory reset go to settings backup restore factory reset from there?
[Verizon HTC One (M8)] dottat:
Or hboot or stock recovery. All accomplish the same.
[Verizon HTC One (M8)] breakyosef:
Is there a link to those options I want to make sure everything is done right
[Verizon HTC One (M8)] dottat:
When you boot to hboot factory reset should be on the hboot menu. Easiest way.
[Verizon HTC One (M8)] BFirebird101:
I want to make sure this is right.

I am currently running DH's Lollipop ROM, and due to a data issues, Verizon is sending me a replacement. Therefore, bringing me to this thread. If I follow correctly, these are the steps. Are these correct?

1. Flash the 4.4.2 RUU zip

2. Flash the 4.4.2 HBOOT zip

3. Do this:

As long as you are still rooted do the following..

adb devices

adb shell

su (if needed to get a # prompt)

echo -ne '\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796

(i would very strongly recomend you copy/paste this)

exit

(exit a second time if you need to to get back to a normal > prompt)

adb reboot bootloader

verify you are now locked

If you are locked... then proceed to flash the RUU.exe that i have in the OP of this thread.

After that is flashed, make sure all looks right in the bootloader (official software status etc). If all is well, you can turn s back on with the following command via fastboot. MAKE SURE YOU HAVE EVERYTHING AS YOU WANT IT BEFORE THIS NEXT STEP!.

fastboot oem writesecureflag 3

4. Unroot.

5. Profit?

I am not exactly certain on the steps.

Or perhaps it would just be easier to do option 1.
[Verizon HTC One (M8)] dottat:
If you are sending the phone out for a swap you don't need to downgrade. Just run the adb command from the rooted Rom you are on. Then verify you are locked. Then factory reset and run the s-on ruu ( will remove root). Then as long as everything looks right (no root/red text) you turn s-on.
[Verizon HTC One (M8)] BFirebird101:
Oh that's right, I forget our Lollipop ROMs are still 4.4.4.

Thank you for your help.
[Verizon HTC One (M8)] elvagoproductions:
question

This will restore my device to stock completely...? like out of the box?
[Verizon HTC One (M8)] dottat:
Yes...software wise. If you need to lock and turn s-on some additional steps are needed.
[Verizon HTC One (M8)] elvagoproductions:
And i'll be able to get OTA updates? Because with you rooted RUU version I'm having some issues with that, and with the duo camera...
[Verizon HTC One (M8)] dottat:
Yes. What issues?
[Verizon HTC One (M8)] elvagoproductions:
when I try to do an update, it tells me that i can not perform or complete the download ...

And when i try to use the camera, allways say that its blocked, but it isn't...
[Verizon HTC One (M8)] dottat:
Have you removed the film covering from your cameras yet? I know it sounds like a really stupid question but there's a coating on the lenses that needs to be removed with a slightly damp paper towel and some buffing. On a couple of mine I have used a wooden q-tip that was slightly damp with alcohol. If the coating is the least bit hazy it can cause that problem.
[Verizon HTC One (M8)] mabnz:
Will this RUU work with any carrier? I'm S-ON, 4.4.4 and not rooted (I recently removed supersu in an attempt to apply an OTA update). I haven't changed the custom ROM so I presume it's still Voda NZ.

The bootloader says 'Software status: modified' and 'unlocked' so I presume that's why the OTA update isn't installing?
[Verizon HTC One (M8)] androiddude81:
Hey Dotdat,

This is what I'm looking for but not sure what order to do it in. I S-OFF'd my new phone via sunshine then realized there is a dead spot on the screen. I flashed the zip from here to remove the tampered flags in the hboot, but it still says "Software status" modified in the software information under More.

So my 2 questions are:

Do I need to worry about the software setting stating modified?

What steps do I need to take to get me back to stock and S-ON?

Thanks man. Not finding an exact guide on here.
[Verizon HTC One (M8)] dottat:
Bummer....might be easier and quicker to help you using team viewer. In the meantime you can download the s-on ruu in the general section as well.
[Verizon HTC One (M8)] androiddude81:
Umm... are you sure. Don't want to take up to much of your time. I'm pretty competent when it comes to this stuff. here is what I gathered from other posts.

Flash 4.4.4 RUU

flash h-boot zip to remove tampered flag

lock bootloader

S-ON

the command to lock the bootloader and gain S-ON have been different in a couple places I've seen.

P.S. would you need windows if you remote in or is Ubuntu fine?
[Verizon HTC One (M8)] dottat:
You can run that adb command in twrp to lock. Then run the s-on ruu to remove red text. Then factory reset. If all looks good turn s on.
[Verizon HTC One (M8)] androiddude81:
Thanks dottat.

I'm back to stock now. For the record I did it in this order checking the bootloader each time to make sure:

Locked the bootloader (custom recovery is needed)

Ran your S-ON RUU .exe

Did the fastboot command for S-ON

Now I just need to do the factory reset when I'm ready to send it back. Thanks again.
[Verizon HTC One (M8)] sreister:
I am getting an unknown error 155 after the update starts. I accidentally used your pre rooted one first so I'm trying to use this to take root off (as the kernel keeps installed it after you reboot). Any help? I'm running the prerooted RUU that you have set up the same way as this, I need the not rooted version to sell the phone so someone. Thanks!

EDIT: I think I ****ed up. I am s-on right now and cannot unlock the bootloader again because firewater is gone, right? Am I just out of luck now?
[Verizon HTC One (M8)] lucky_strike33:
Try sunshine.apk??
[Verizon HTC One (M8)] sreister:
I thought you had to pay for that? I mean I will if I have to, but all I need is to get root off my phone right now, i'm on a rooted 4.4.4 verizon ruu.
[Verizon HTC One (M8)] dottat:
Are you sure you turned s-on and relocked? you can flash this RUU while s-off to land on stock unrooted 4.4.4

Can you paste the output of a fastboot getvar all

here without the IMEI and SN included (blank or X them out)
[Verizon HTC One (M8)] lucky_strike33:
Yes you do have to pay for it.

Are you sending it back to HTC for repair or something?
[Verizon HTC One (M8)] sreister:
http://imgur.com/5C907nH

---------- Post added at 03:48 PM ---------- Previous post was at 03:34 PM ----------

Or at least tell me how to unroot permanently? I'm selling my phone and want it to be ok for him.
[Verizon HTC One (M8)] dottat:
Does it say "locked" on your bootloader screen? If you run this RUU it will put back to 100% stock without root. IF you need help via teamviewer to do it I can help you too.
[Verizon HTC One (M8)] sreister:
It says unlocked actually but with s-on. I would like some help if you have a minute now. PM me if you do. Thank you a TON.
[Verizon HTC One (M8)] dottat:
you will have to relock the bootloader to flash this RUU or you will keep getting that error.

Fastboot oem lock
[Verizon HTC One (M8)] sreister:
I can't believe I overlooked that I was still unlocked. Thank you so much for having patience and dealing with people who don't double check their work. I really appreciate it! Off to go trade this for an LG G3!

THANKS AGAIN!!
[Verizon HTC One (M8)] jsminnis:
I have allready done this to one m8 back in november, but i think i took a really long route in accomplishing it. So could you please confirm that this will work.

1st I am unlocked and soff running a sense lollipop rom

1: Flash soff prerooted ruu in other thread

2: run fastboot oem lock, then confirm phone is locked and reboot.

3: run fastboot oem writesecureflag 3 to go back to son, again confirm and reboot

4: finally run this ruu and done.

The goal is to go back completely stock. I'm just making sure that I go back to son before flashing this as stated in the op. Thank you for your patience I know you answer many of the same questions.

Edit: after reading this again, I think I need to unroot before going son, is that correct?
[Verizon HTC One (M8)] qudwis:
Hello? I have s-off bootloader with Adrenaline sense 6.0 lollipop rom.

I would like to keep the s-off but go back to stock 4.4.2 or 4.4.3.

Reading the options, option two looks to be the easiest way to go to stock.

So I have downloaded 4.4.2 hboot and 4.4.2 ruu files.

Now my first question is that do I have to run hboot file first then the ruu file

or is the hboot included in the ruu?

My second question is that will running ruu files using sd card will go back to stock?
[Verizon HTC One (M8)] dottat:
Yes. That will put you back to stock. You may or may not need to flash hboot first. I can't tell you that for sure. You just need to try. Hboot is included in the full ruu.
[Verizon HTC One (M8)] qudwis:
Thank you for the answer. So I used the 4.4.2 ruu file in bootloader.

There was one thing [7] tp - bypass. Except that everything else were ok.

Now my phone is rebooting and I'm stuck in Verizon logo for about 5~10 minutes.

Did something go wrong or is that normal?
[Verizon HTC One (M8)] MotoTurbo:
Did you use the s-off or s-on RUU? If you used the s-on then you would need to be on stock rom to boot up properly
[Verizon HTC One (M8)] dottat:
You likely just need to reboot and do a factory reset. This one doesn't wipe cache or data.
[Verizon HTC One (M8)] qudwis:
I think a factory reset worked. Thanks.
[Verizon HTC One (M8)] dottat:
Yeah so the s-on ones for vzw don't wipe cache and data.... So when you tried to boot up you still had data and cache from previous rom. Depending on the rom, it's doubtful it would boot.
[Verizon HTC One (M8)] qudwis:
But I'm not s-on.

I have unlocked s-off bootloader...
[Verizon HTC One (M8)] dottat:
That only means you can run either option. The behavior of this ruu on either s-on or s-off is identical. No wipe of data and cache.
[Verizon HTC One (M8)] qudwis:
Oh...
[Verizon HTC One (M8)] Poseign:
ok I'm having issues.

I am trying to do this using the ADB method. I am trying to flash one of the RUU .zip files, after renaming it, it reports the download size then immediately after I am receiving an error:

Error: cannot load '0P6BIMG.zip'

I can download the hboot .zips and install them just fine. But none of the actual full RUU zips are working. I tried with teh SD card method too. It took its time to load and eventually just gave me a reboot prompt. No direction to install, nothing but "reboot". Is there a problem with the files that are being hosted?

I am unlocked and S-OFF running 4.4.4 by the way, using your other RUU build that you put together in your other thread.
[Verizon HTC One (M8)] dottat:
can you setup teamviewer and pm me the ID and password? Gonna be a lot quicker that way...
[Verizon HTC One (M8)] Poseign:
Actually I think i figured out what I was doing. I was using a different version of ADB and fastboot than you have linked in the thread figuring the results would be the same, but of course like a dummy i figured wrong. I got the HTC Fastboot working and it is flashing over now... memory issues like you stated earlier in the thread (in one of the 3 pages i didnt read from)

Give me 10 minutes to make sure I am okay and if not I will do this. Ill respond either way.

Thanks for your quick reply by the way!
[Verizon HTC One (M8)] dottat:
You got it man! AFH seems to be down which is why i mentioned the teamviewer bit. I have all of the files local on my pc.

You have less ram than your pc needs to use regular fastboot..... htc_fastboot on the other hand is optimized for low ram use.
[Verizon HTC One (M8)] Poseign:
16gb, that seems unlikely unless its capping out as a 32 bit application, but you would know better than me.

Im still having some small issues but i think i can handle it from here, I'll buzz the thread again if i encounter problems. Thank you!
[Verizon HTC One (M8)] dottat:
yeah.. i know.. it's the way it uses ram. I ran into it with 8 gigs all the time too...
[Verizon HTC One (M8)] Dan Tekle:
Warranty

---------- Post added at 07:10 AM ---------- Previous post was at 07:04 AM ----------

Hello, I am returning my m8 under warranty and need it completely stock unrooted. Currently I am s-on with a locked bootloader running most recent 5.0.1 rooted RUU. However when trying to remove SU via app as well as universal unroot I am unsuccessful. TIA!!!!
[Verizon HTC One (M8)] cntryby429:
Did you go back s-on before you unrooted? I would think you need a signed ruu which I don't think exists yet for lollipop. Let's see what doddat and/or tigerstown say. Your answer likely lies with them.
[Verizon HTC One (M8)] Shadoline:
Did you ever solve this ? If so, how ?
[Verizon HTC One (M8)] dottat:
You can't yet. Same boat?
[Verizon HTC One (M8)] Shadoline:
Yep... warranty replacement on the way....followed a return to stock how-to here on XDA, used the 5.01 ruu. The how-to wasn't clear on when to remove supersu.... can't get rid of it. :(
[Verizon HTC One (M8)] dottat:
How soon do you have to return ? You already turned s on?
[Verizon HTC One (M8)] Shadoline:
tracking shows out for delivery, so 15 days from receipt. And yes, s-on....
[Verizon HTC One (M8)] Dan Tekle:
Still waiting for s on ruu
[Verizon HTC One (M8)] dottat:
I just checked again and nothing yet
[Verizon HTC One (M8)] Dan Tekle:
Have faith my friend. I'm in same boat. I'm guessing my replacement will arrive today so I'll have 5 days to ship this m8 back. We should have s on ruu by then.. *crosses fingers*
[Verizon HTC One (M8)] dottat:
You guys may end up just having to hide it in the app drawer. The repair centers aren't going to look for a hidden app.
[Verizon HTC One (M8)] jfandl:
Same here...Flashed the 0P6BIMG via SD card on my latest 3.28.605.4 that said modified (after running Sunshine). After the flash, the software official status was returned to my device, ready to return back for warranty.

Thanks!

---------- Post added at 11:49 AM ---------- Previous post was at 11:16 AM ----------

I know that it says you cannot downgrade the firmware from 3.28.605.4 to something lower so is there a way to modify or tweak the 0P6BIMG file to letting it think it's a newer version of the software?

When I try to open the ZIP files, they say unexpected end of archive which I assume is due to the encryption. Can that be decrypted to it can be edited and rezipped up?

Is there a way to sign and encrypt a non standard firmware update into making it look official so it can be flashed?

My Goal is to downgrade the firmware, like so many others who want S-off. (Sunshine doesn't work on mine)
[Verizon HTC One (M8)] cntryby429:
If it were that easy it wouldn't take the likes of jcase, beaups and others to hack our phones. I don't know what it takes but I bet it takes more skills than someone asking these questions possess. I mean no offense. I'm not nearly smart enough either.
[Verizon HTC One (M8)] moogle2:
You can decrypt the encrypted RUUs and modify the contents, but you can't properly re-sign/encrypt a modified RUU to run on S-ON devices without HTC's private keys.
[Verizon HTC One (M8)] dottat:
Yeah.....to end this discussion you can't.
[Verizon HTC One (M8)] dottat:
Time to update the thread it seems... :)
[Verizon HTC One (M8)] monsieur_elegante:
Hi dotthat,

Thanks for making these resources and your expertise available. I was wondering if you could help me with some problems I'm running into with prepping my phone for OTA (Verizon's update prepping for the April OTA of Lollipop).

My phone is a Verizon HTC One M8 that was s-off'ed with Sunshine, had an unlocked bootloader, and was rooted. I got rid of the "tampered" flag. I went from 4.4.3 to 4.4.4 without any problem (reverted to stock recovery to take OTA, lost root but re-rooted with TWRP).

This OTA has been a lot trickier, though. I did all the steps I took to take the 4.4.4 OTA (stock recovery), but that wasn't enough. Another forum mentioned it's possible that I have to unroot to take this OTA, so I unrooted using the SuperSU app. That didn't help either. While it's applying the update in recovery, this error message always comes up: "/system/app/6525_v0.0.1.455_Production_3.2.2.57.odex contained unexpected contents." I googled this, and the only thing that came up was your reply in this other thread.

So I tried to flash the RUU using your zip, but an error message comes up saying "FAILED: 32 header errors." I did some research and found that the bootloader needs to be locked for the RUU, so I relocked bootloader (fastboot oem lock), and now the tag says "relocked," but I bump into the same error.

Would really appreciate your help and insight. Thanks!
[Verizon HTC One (M8)] dottat:
You saw this right?
[Verizon HTC One (M8)] dottat:
If you are s-off don't relock. It's more likely that when you flashed it you used your fastboot ? Are you on a mac or somethig?>
[Verizon HTC One (M8)] monsieur_elegante:
I am on Windows 8, and yes I was using fastboot when I flashed the RUU zip
[Verizon HTC One (M8)] dottat:
use the HTC_fastboot zip i have in the OP to flash this RUU.. not regular fastboot.
[Verizon HTC One (M8)] monsieur_elegante:
wow, that worked. didn't realize it would make such a difference. thanks!
[Verizon HTC One (M8)] Dan Tekle:
Worked like a charm!!! Thanks Sir!
[Verizon HTC One (M8)] dottat:
Older versions and mac/ubuntu versions often don't pass the header/key intact.

Plus I don't know if you noticed but it flashes until complete. Including reflush
[Verizon HTC One (M8)] jfandl:
Thanks for the replies guys. I thought it was worth at least asking a different way, perhaps someone had a creative solution. I often pose alternative questions to my IT team to solve a problem and you'd be amazed how many times they come up with a more creative solution than originally asked. Keep up the Great work! :good:
[Verizon HTC One (M8)] monsieur_elegante:
Yes, I did notice! The phone took the OTA successfully after; thanks again!
[General Questions and Answers] sirdudemanguy85:
i will try to explain this as best as possible. i own a SM-S890L, S4 mini from straight talk. It is an LTE just like the 9195, successful root via cfauto for 9195.. I backed up stock rom. running cm 11. No firmware listed for 890L. Pull battery the FCCID xxxxI257. That is the sprint/att model. during my flash confusion i formatted the phone and lost my original back up. The phone works more or less like an ipod atm. I cannot make or receive calls, USSD codes do not work. Any help would be appreciated, thanks
[General Questions and Answers] poshat:
Try back stock firmware
[General Questions and Answers] Killwish:
Find stock Rom here http://samsung-updates.com

And flash it

Good luck
[General Topics] vegeta86:
Hi guys. I have a problem with ditto note 3 5.5. I cannot use screen mirroring, it display a hardware problem. I had before 5.2 version and it was function perfectly. Is it a bug of 5.5 version? Is there a fix?