yashsingh1/xdaforums huggingface dataset:
[Verizon HTC One (M8)] TidusWulf:
I solved the issue. I just flashed the custom s-off ruu from the other topic, then flashed the stock M recovery over it in fastboot. The reason I didn't want to use the HTC adb/fb drivers is because I also have a samsung s4 that I sometimes mess around with and I didn't want the installs to interfere in some way.

And I only assumed the zip could be opened because other RUUs that I've downloaded were capable of being opened and looked at.

Anyway, I've learned a lot from this whole process and [MENTION=3472611]dottat[/MENTION], you were very helpful. had I not made the effort, by your advice, to get a stock rom and recovery running, I would have given up on fixing this phone and just fallen back on my old samsung s4. The only reason I am not more informed about how it all works is that I basicaly just follow the steps to root a phone when I buy it, then never worry about it every again. After that, the hardest thing becomes flashing a new ROM, which is pretty simple to do. I rarely have to deal with the command prompt.

Anyway, thanks again for all your help. Today my data is back. hopefully it will stay that way. I won't be using QXDM or DFS with this phone ever again. Just gonna stick with my viper ROM and slow HSPA data connection.
[Verizon HTC One (M8)] LineArc:
is your bootloader unlocked?
[Verizon HTC One (M8)] TidusWulf:
yes. I unlocked it back when I bought the phone almost 2 years ago, and flashing the RUU yesterday did not change that.
[Verizon HTC One (M8)] M-FayeHTC:
Off-Topic inquiry about SIM card change??

Hey Quick question on your post... Long story short, I've been having a REALLY hard time getting service from Verizon for the past 2 months (I have my personal phone & then also a work phone both Verizon carriers), I haven't moved or changed locations at all, and all the sudden no service in areas where I used to have it on both devices.

So, I bought my M8 from Verizon a while ago, since then I have unlocked my bootloader & am S-OFF (back in early Feb) I've also updated to MM back in March w/ Dottat's "VZW Marshmallow custom RUU".

If I take my phone to another carrier (I'm not under contract, and I do own my phone #) will it work by simply just putting another SIM into it?? Any advice would be greatly appreciated because I absolutely love my phone and would hate to have to use a different device on the daily. My work phone is an iPhone and I absolutely hate it, I never use it except as a back-up if for some reason I were to have an issue.

I'm glad I came across your post as it gives me some hope.:fingers-crossed:
[Verizon HTC One (M8)] reaper420:
I'm going to use my m8 as a trade in on an upgrade, are these the files I need use to get it back to stock? Thanks for any help
[Verizon HTC One (M8)] dottat:
Yes. Lock boot loader first and then flash the latest signed ruu. Then once everything is verified good you can turn s-on.
[Verizon HTC One (M8)] MonnieRock:
Dottat,

I just want to be sure before doing this.

I have a stock Verizon HTC One M8 that only received OTA updates in the past while I had Verizon's Service. I no longer have Verizon service. Looking to be the latest stock Verizon as if I was currently using Verizon.

The current version on the phone is:

Android Version: 5.0.1

HTC Sense Version: 6.0

Software Number: 4.17.605.9

HTC SDK API level: 6.55

PRI Version: 2.90_002

PRL Version: 15379

ERI Version: 5

Kernel Version: 3.4.0-g5093fc3and@AABM #1 SMP PREEMPT

Baseband Version: 1.12.20.1211

Build Number: 4.17.605.9 CL452965 release-keys

Software Status: Offical

If I read correctly, with my current device, I can use "Option 2"

Download the 6.0 Mashmellow zip (DOTTAT_VZWM8_M_S_ON_6_0_RUU.zip)

Rename zip to 0P6BIMG.zip

Place it on FAT32 formatted SD card

Boot into bootloader, follow prompts?

Thank you,

Monnie
[Verizon HTC One (M8)] dottat:
Yes.. that should work... or else you can use the EXE.
[Verizon HTC One (M8)] MonnieRock:
Dottat,

Worked like a champ using the .zip file on a SD card.

Thank you for everything you do. Will give a like if I can

Thank you,

Monnie
[Verizon HTC One (M8)] worm9110:
If I download the "6.0 Marshmallow zip" on first page and use option 2 "0P6BIMG.zip" in bootloader will I lose TWRP? Does RUUing this latest version also update hboot to latest or do I need to install in separately? My goal is to install "ViperOneM8 5.0.2". Currently on older version of viper and phone in encrypted due to my company exchange policy. I want to RUU to clean everything including removing encryption since I cannot do a backup in TWRP. Do I need to update TWRP, currently on TWRP 3.0.0-1.
[Verizon HTC One (M8)] dottat:
For you, I would recommend flashing the zip via fastboot. This RUU will replace TWRP with stock recovery and will not wipe data so you will need to take a couple extra steps to achieve what you are looking to do.

before RUU i would run the following fastboot commands (this will format your /data partitions and wipe out encryption).

htc_fastboot oem task 28

htc_fastboot oem task 29

Then RUU via the fastboot method

htc_fastboot oem rebootRUU

htc_fastboot flash zip nameofruu.zip

after successfully completing you can flash the latest TWRP

htc_fastboot flash recovery nameofrecoveryimagefile.img

htc_Fastboot reboot-bootloader

now boot into TWRP and flash your rom
[Verizon HTC One (M8)] worm9110:
Dottat thanks. I will go the fastboot route you have documented above. I won't lose s-off will I? I also found your other thread "Custom VZW Marshmallow firmware/nand/recovery/RUU etc" should I use your "Custom s-off only RUU (includes TWRP, has amazon apps removed+htc speak+OTA updater removed)" zip instead since this also wipes internal storage to remove encryption?
[Verizon HTC One (M8)] dottat:
You can use that one as well... My own preference on a clean start is always to flash the signed one. You don't ever change s status or lock status without YOU specifically running a command to change either flag.
[Verizon HTC One (M8)] komitori:
hi. So my m8 has the software modified banner. Im running stock Lollipop and stock recovery. My bootloader is Relocked and i am S-ON. Will doing option 1 remove my software modified banner? I need to remove it for OTAs. Thank you
[Verizon HTC One (M8)] dottat:
Yes it will.
[Verizon HTC One (M8)] komitori:
i cant get it to work. I get the signature verify fail. What am I missing or doing wrong?
[Verizon HTC One (M8)] dottat:
Are you using HTC fastboot or regular fastboot?
[Verizon HTC One (M8)] komitori:
I am using HTC fastboot
[Verizon HTC One (M8)] dottat:
Paste the output of your commands
[Verizon HTC One (M8)] komitori:
here it is
[Verizon HTC One (M8)] dottat:
Paste me the output of

HTC_fastboot getvar all

Please remove imei and serial number.
[Verizon HTC One (M8)] komitori:
(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.25.214500021.06G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 4.16.401.13

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

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: HTC__J15

(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: f063fb42

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

i downloaded this file for the zip: DOTTAT_VZWM8_S_ON_5.0.1_SF_RUU.exe
[Verizon HTC One (M8)] dottat:
The reason it's failing is you don't have a Verizon model phone. You need to find the correct one for your device.
[Verizon HTC One (M8)] komitori:
ohhh i see. thank you :)
[Verizon HTC One (M8)] brandwick:
Stock Upgrade

My HTC Verizon is currently on 5.0.1 - 4.17.605.9 Stock S-On

Can I use this marshmallow executable to upgrade?
[Verizon HTC One (M8)] M-FayeHTC:
Dottat is on point!!!

;) I was going to hurry up & reply as I haven't seen many posts pop up in this thread lately. PLUS I know this has been explained SOOOOOOO many times, I figured I would take the hit for you, lol:angel: but you still answered before I could even login. You truly are so patient [MENTION=3472611]dottat[/MENTION] !!!

P.S. I lost root recently, I've just been super busy. I'm sure I will be okay since I've been through this a couple times now. Just in case, wanted to give a heads up & I'm glad to see this forum isn't dead like I thought it was:good:
[Verizon HTC One (M8)] miron1908:
MY friends,who install framework,please help
[Verizon HTC One (M8)] dottat:
What?
[Verizon HTC One (M8)] me.rashad:
My HTC Verizon is currently on 5.0.1 - 4.17.605.9

Never modified before, stock recovery, s-on and unrooted, bootloader is locked

can i use option 1 to update my device directly?

Thanks
[Verizon HTC One (M8)] dottat:
I just answered this exact question like 3 or 4 posts ago???
[Verizon HTC One (M8)] ThomasChooi:
Stuck When Updating

Hi,

I have KitKat 4.4.4 and the bootlocker is unlocked with s-off, i read that you can use the marshmallow exe to flash the ruu. So I've downloaded the exe and ran it, but it seems to be stuck at updating... (0/6) Sending... for 20 minutes. What do I do now?

Thanks :)
[Verizon HTC One (M8)] dottat:
Unplug and replug the device and follow the on screen prompts
[Verizon HTC One (M8)] ThomasChooi:
Sorry, I'm a newbie here, but do I unplug through the phone's end? Or at the computer's end?

Thank you.
[Verizon HTC One (M8)] dottat:
Doesn't matter.
[Verizon HTC One (M8)] ThomasChooi:
Hmm it still refuses to work after retrying twice. Do i have to apply it through the fastboot usb screen? I've turned off firewall and also ran it as admin, to no avail. :p
[Verizon HTC One (M8)] dottat:
Yes you can sometimes get better results if your USB ports are picky by starting it in fastboot mode.
[Verizon HTC One (M8)] ThomasChooi:
Argh still couldn't get it to work, would it be better to flash the zip instead of using the exe?
[Verizon HTC One (M8)] dottat:
Yep. Properly named and placed it's sure fire.
[Verizon HTC One (M8)] stran0014:
Hi guys, if my Verizon m8 is on 5.0.1 (completely stock, s-on, unrooted) then can I just flash the marshmallow zip from the sd card to update the phone?
[Verizon HTC One (M8)] ThomasChooi:
I ran it through fastboot, it came up with an error saying

"fastboot flash zip 0P6BIMG.zip

load_file: could not allocate 1893367965 bytes

error: cannot load '0P6BIMG.zip'"

I know that my M8 has at least 7GB on it though, do you know what seems to be the problem here?

Sorry for the inconvenience, but thanks for your help so far though :)

---------- Post added at 08:34 AM ---------- Previous post was at 08:19 AM ----------

Okay I tried using the HTC boot, but it sent a ~55000 bytes file over and now my OS in fastboot says OS-3.31.512.2 (6.21.605.3)

On the CMD screen it stated something about flushing but i could reboot the bootloader because it immediately retried to send over the 55000 bytes file.

Hate being a noob lmao
[Verizon HTC One (M8)] dottat:
Let it do it's thing. You interupted it. It's sending smaller zips like it should.
[Verizon HTC One (M8)] stran0014:
Anyone?

---------- Post added at 01:56 PM ---------- Previous post was at 01:49 PM ----------

Okay please ignore this, the answer is yes, sorry I forgot to search the thread
[Verizon HTC One (M8)] ThomasChooi:
Alright, thank you so much, words cannot describe how much I thank you for!

It wasn't sending zips previously, it was just stuck there for a long while. But now that I ran it again, there wasn't anything about flush (IIRC) and it ran smoothly, getting the flashing done in 288 seconds.

Once again, thank you for your help!
[Verizon HTC One (M8)] Ricardianos:
Hey guys I have a bricked htc one m8 verizon. It stuck at the verizon red screen and I'm trying to install this RUU but everytime I try to flash the file it keeps telling me: "invalid sparse file format at header magi" and it fails at the end. can somebody help me or telling me if I just have to throw away my phone? I'll really apreciate any help

[IMG="error"]https://uploads.disquscdn.com/images/6e4c19c367f67657a8a3601058b86f0e683a84caf6b89295fae5a6892a0d9570.jpg?w=600&h=457[/IMG]
[Verizon HTC One (M8)] andybones:
if it turns on it isn't a brick...

you are stuck in a softboot it seems.

have you tried the RUU using the sd card method? that is the best option, IMO.
[Verizon HTC One (M8)] dottat:
Are you using htc fastboot or regular fastboot?
[Verizon HTC One (M8)] Ricardianos:
Yes, I do. But i format the sd to fat32, put the ruu file, reboot the bootloader and it does nothing. It seems like not even read the sd card

---------- Post added at 08:09 PM ---------- Previous post was at 08:08 PM ----------

Both
[Verizon HTC One (M8)] dottat:
If you are using HTC fastboot properly and the zip is good you will not have that issue.
[Verizon HTC One (M8)] Ricardianos:
The fastboot seems to work cause it reboot and it enters to ruu mode. I have downloaded 3 times the same file and it keeps sending me the same erro message. Is there any other ruu file to test?

When i try to flash lollipop RUU it says "error: cannot load 0P6BIMG.zip"

(Sorry for the broken english, i'm venezuelan) Thanks for your responses guys
[Verizon HTC One (M8)] dottat:
Problem is regular fastboot doesn't know how to handle a l@rge format zip (proprietary multi zip format that HTC uses) so it doesn't understand the header hence the error.

You have to use HTC_fastboot
[Verizon HTC One (M8)] Ricardianos:
Wich one do you recommend?
[Verizon HTC One (M8)] dottat:
Third paragraph in the 1st post of this thread. Download. Unzip. Open your command prompt from this folder and place your ruu zip in it and run your commands.
[Verizon HTC One (M8)] Ricardianos:
The file "fastboot" is not in the zip and when i try to flash doesn't recognize the fastboot command
[Verizon HTC One (M8)] dottat:
That's because it's HTC_fastboot
[Verizon HTC One (M8)] Ricardianos:
Oh men, THANKS I was drowning in a glass of water. That was the solution, using HTC_fasboot and replacing for the HTC_fastboot command. Eternaly Grateful.
[Verizon HTC One (M8)] Drunkula:
Thanks, dottat. Had to use this today. My M8 started exhibiting strange battery symptoms (draining very fast all of the sudden and running hot). Safe-mode did not help. Tried factory reset and it may have helped (still not sure).

Anyhow I decided to plan on the possibility it may have to go back to Verizon. I've already locked the bootloader. Keeping s-off for now. We'll see!
[Verizon HTC One (M8)] tdc0z10:
Can i use this to upgrade from 5.0.1 to marshmallow? if so,which one should i download? Thanks!
[Verizon HTC One (M8)] jurington:
I used the 6.0 ruu .exe it's was pretty easy, just double click it and let it do it's thing and you'll be on marshmallow.
[Verizon HTC One (M8)] tdc0z10:
It worked great, however I lost root and recovery. How do I go about reflashing these? Thanks
[Verizon HTC One (M8)] cntryby429:
The same way you flashed them before. You still have an unlocked bootloader so you can flash twrp in fastboot and flash the latest superSU via your new recovery.
[Verizon HTC One (M8)] kmpksprabhu:
Password required to decrypt...

Good morning guys, last night my Verizon htc one m8 was working (unlocked from carrier I suppose, I bought it thru eBay and it works in India GSM network).

But in the morning found it to be dead. So plugged in my usual charging hub(35w,8amp). It booted into bootloader.

I left it to charge... Googled and then used the original charger then it booted back or I should say I found this screen. Which asks decrypt password needed.

My mobile was never decrypted.

I tried factory reset available on the same screen, it will again after sometime come back at the same screen.

(S-ON, complete stock and havent touched anything related to dev)

Can i flash this to get my mobile working ?? pls let me know. Thx.

http://xdaforums.com/attachment.php?attachmentid=3795786&d=1466998002
[Verizon HTC One (M8)] kmpksprabhu:
I tried the SDcard method and the RUU reflashed and got completed. To my surprise to come back to the old decrypt screen.

Is there a way i can flash a custom rom this way. with s-on and bootloader locked. Bcz i dont think i can do anythinng else. Thanks
[Verizon HTC One (M8)] jdelfin85:
hey guys, so my phone started exhibiting the mobile data disconnected, after working fine on Digitel 4G for months.... i have ruu'd, reset, and i cant keep mobile data for anything... my last chance is to try a new sim... other than that, is the phone toast? i bought it used, and really hope its not time for another replacement already...
[Verizon HTC One (M8)] shako502:
Hello!

sorry for my English in advance!

I have HTC ONE M8 Verizon version. it is S-ON and Locked bootloader. i bought it on Ebay (i live in Georgia (country, not state) ) and in description was that it was unlocked so i would put my gsm sim and it would work well, but first problem was when i inserted my sim card it showed non-verizon sim card error but sim worked well (calls, sms and mobile data had worked good) but after 15 or 20 minutes sim card stop working.

when i restarted phone sim again start working. also play store and play services regularly stopped working. can't update apps or download new ones from play store. and phone restarts itself too. i decided to update my 5.0.1 android to solve these problems but here was problem too, check for update is allowed only in cdma mode. then i had remove sim card and tried to update. it started downloading new firmware and after complete it restarted and went in stock recovery. there it gives me an error that software can't be updated:

then i tried updating from PC via HTC Sync Manager but again no luck.

finally i downgraded software version from 4.17.605.9 to 4.17.605.5 with RUU which i found here :

http://xdaforums.com/verizon-htc-one-m8/general/downgrade-s-sunshine-purposes-t3202237

it continues doing above mentioned problems.

So, finally i want to know if this ruu: DOTTAT_VZWM8_S_ON_6_0.exe will work for me and will it solve my problems?

will it update my 5.0 android? again, i have s-on ,locked bootloader and no root. i don't know how to do bootloader unlocking or s-off ( i couldn't find instructions on xda).

if updating not working for me please give me some advice what can i do to solve everything.

Thank you very much and sorry again for my English.
[Verizon HTC One (M8)] andybones:
I would run DOTTAT_VZWM8_S_ON_6_0.exe RUU.
[Verizon HTC One (M8)] Cozmikk:
I have tried the 6.0 Version and it doesn't work for me. I end up with an error 132 and it tells me that I need to find a firmware that matches my phone.
[Verizon HTC One (M8)] dottat:
Please provide the output of

Fastboot getvar all

And please blank out your serial/imei.
[Verizon HTC One (M8)] Cozmikk:
(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.14.20.0930

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 6.21.605.3

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

(bootloader) serialno:

(bootloader) imei:

(bootloader) imei2:

(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: 205bdca3

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0
[Verizon HTC One (M8)] dottat:
OK so what method did you try to use to flash?
[Verizon HTC One (M8)] Cozmikk:
I have tried to flash it using the exe that you provided here: https://www.androidfilehost.com/?fid=24438995911975667

It will get to a stage where it says "Updating...(2/6) Updating Signature....." and then it will change to a screen that says Error [132] Signature error.
[Verizon HTC One (M8)] dottat:
Does the 6.0 hboot flash for you via fastboot? You need to be using HTC_fastboot to test this.
[Verizon HTC One (M8)] Cozmikk:
Sorry. I'm not sure what you mean by 6.0 hboot. I am not sure how to flash that. Could you link me to it? Also don't know what HTC_fastboot means.
[Verizon HTC One (M8)] dottat:
It's in the op.
[Verizon HTC One (M8)] Cozmikk:
Oh! I see it now. So what am I supposed to flash again? Using the HTC fastboot?
[Verizon HTC One (M8)] dottat:
The 6.0 hboot zip which is provided in the op.
[Verizon HTC One (M8)] Cozmikk:
Okay. Found it. Should I flash it through fastboot usb?
[Verizon HTC One (M8)] dottat:
Unzip the htc_fastboot zip in the op. Copy the hboot zip into this folder. Open a cmd prompt from this folder and flash it like you would an ruu.
[Verizon HTC One (M8)] Cozmikk:
Okay. I have tried flashing it and get this:

C:\Users\Ryan Ness\Desktop\HTC_fastboot_adb>htc_fastboot flash zip DOTTAT_VZWM8_

signedhboot.zip

< waiting for device >

sending 'zip'... (5183 KB) OKAY

writing 'zip'... (bootloader) adopting the signature contained in this image...

(bootloader) signature checking...

FAILnot allowed

FAILED (remote: not allowed)

Execution time is 12(s)
[Verizon HTC One (M8)] dottat:
You gotta put the phone into ruu mode.

HTC_fastboot oem rebootRUU
[Verizon HTC One (M8)] Cozmikk:
Okay It ended in success. Now what?
[Verizon HTC One (M8)] dottat:
Now download the 6.0 ruu zip and flash the same way.
[Verizon HTC One (M8)] Cozmikk:
Okay. My internet speed at home is slow. I will be working today and I can download it at work. I wont be able to get back to you until about 6pm eastern time. ATM I have the executable file downloaded though if that changes anything.
[Verizon HTC One (M8)] dottat:
Under your c drive there should be a folder called Android/com and if you go there you can open a cmd prompt and flash the ruu which is called rom.zip in that folder.
[Verizon HTC One (M8)] dottat:
Reboot-bootloader and try again. Was this phone previously s-off?
[Verizon HTC One (M8)] Cozmikk:
Do I always want to flash in rebootRUU mode?
[Verizon HTC One (M8)] dottat:
Any ruu or firmware yes.
[Verizon HTC One (M8)] Cozmikk:
I am not sure if the phone has been s-off before. I purchased it used off ebay. I just tried flashing again and got the exact same results.
[Verizon HTC One (M8)] dottat:
Well...I suspect it was s-off before and someone didn't restore it properly. Does it boot?
[Verizon HTC One (M8)] Cozmikk:
It gets to the green HTC Logo and just hangs.

---------- Post added at 02:13 PM ---------- Previous post was at 01:40 PM ----------

It isn't rooted or unlocked either.
[Verizon HTC One (M8)] dottat:
Where do you live? Might need s-off via javacard to fix.
[Verizon HTC One (M8)] Cozmikk:
I live in Indiana. In the US

---------- Post added at 02:46 PM ---------- Previous post was at 02:15 PM ----------

I live in the US
[Verizon HTC One (M8)] dottat:
Check the map in this thread to see if you have someone near you to s-off your phone... Once s-off it won't check signatures and allow any image to flash.

http://xdaforums.com/verizon-one-m9/general/m9-java-card-t3063247
[Verizon HTC One (M8)] Cozmikk:
Awesome! I contacted the person closest to me. Are all of these people proven to be trustworthy?
[Verizon HTC One (M8)] dottat:
I cannot vouch personally as I haven't met any of them.
[Verizon HTC One (M8)] Cozmikk:
Okay. I read the thread and from what it says, they seem to be trustworthy as they are all senior ops.
[Verizon HTC One (M8)] :
it is pleasurable to see your arrival back. keep maintaining future too. thank you.
[Verizon HTC One (M8)] Chandresh204:
recently bought verizon HTC one M8 from ebay which allegedly is new.... it is on 4.4.4 SUPERCID and S OFF . I would like to flash official marshmallow update. so I just download the zip and flash it via stock recovery?
[Verizon HTC One (M8)] dottat:
Flash it via boot loader from your sd card. Follow instructions in the op of the ruu thread.
[Verizon HTC One (M8)] Chandresh204:
do I need to flash firmware files separately or just the RUU.exe from computer ?
[Verizon HTC One (M8)] BadUsername:
Just flash from computer, RUU includes firmware.