yashsingh1/xdaforums huggingface dataset:
[Sprint HTC One (M8)] nelr923:
Files

Yes I relocked the bootloader and tried the following files from this very post:

3.30.654.2 Full Firmware from OTA

3.30.651.2 Full Firmware from OTA (just in case)

Also used:

Sprint_HTC_One_M8_3.30.654.2_RUU.zip

Not sure what step to go with next.

I tried the two OTAs from Hasoon's and the FUU. I used to be decent with this stuff but now all the devices are so much pickier than before.
[Sprint HTC One (M8)] nuxbag:
I was soff and I ruu the non hk file. Still says soff but when I flash recovery in hboot it loads the zip and says power to reboot. And I still have stock recovery not twrp
[Sprint HTC One (M8)] nelr923:
Finally

Switched usb ports, cables, cracked open a cold one and stood on one foot. Took all that but it finally worked. Thanks for all the helpful input.
[Sprint HTC One (M8)] Veldetta:
The same thing is happening to me... i'm s-on
[Sprint HTC One (M8)] yuppicide:
Worked perfect for me. I cried a little when for a brief time I had to revert to stock ROM and all that Sprint crap popped up. But I'm now back with the latest ViperROM and doing great.
[Sprint HTC One (M8)] ReddMOA:
I've been having issues getting the ruu to run. It goes through up to the installshield then it never opens. Anyone else have this issue? I am on windows 8.1 pro x64
[Sprint HTC One (M8)] Captain_Throwback:
Make sure you have the Visual C++ 2008 Redistributables installed for both x86 and x64. I usually install all of the available ones from here just to be sure (though that's probably overkill). Then the RUU should work properly.
[Sprint HTC One (M8)] -Apollo-:
I had to go to HTC's website and download newest version of HTC SYNC and install on my pc which installed the proper drivers for windows 8.1.
[Sprint HTC One (M8)] jmalbright:
OTA Update

Hey all, I need a bit of help please.

I am running stock 2.16.651.4. I am rooted and s-off. I want to take the OTA update for 3.30.651.2, but whenever the phone restarts to do the update I get the picture of a phone with a red exclamation mark (I'm assuming when it tries to go into recovery). I have flashed the stock recovery for 2.16.651.4, but the problem persists. The last thing I should mention is that I am running xposed, but I uninstalled the framework before trying the upgrade.

Can someone please tell me what I need to do to be able to take the OTA update?

Thanks.
[Sprint HTC One (M8)] Captain_Throwback:
That IS the stock recovery. That means the update is failing because of a modified file on /system. When you get to that screen, press and hold volume up and then press the Power button to bring up the recovery menu. Then look at the output at the bottom of the screen to see where the update failed.
[Sprint HTC One (M8)] jmalbright:
Ok, thank you. I'll have a look at that when I get home tonight.
[Sprint HTC One (M8)] bridgep0rt:
Guess I will start here.

Rooted

Hboot 3.18.0.0000

TWRP 2.7.1.0

S-0n

Software 2.16.651.4

On Macbook Pro.

My 1st question is do I have to be on a PC to run these?

What should be my next step?
[Sprint HTC One (M8)] jmalbright:
Just a quick update in case anyone runs into the same issue as me. I had modified the platform.xml file so that I had full write access to my external sd card and this is what was causing the OTA update to fail. After restoring the original platform.xml the OTA update completed no problem. Thanks for the help.
[Sprint HTC One (M8)] lucky_515:
if i flash this and i am super cid...will i lose harmon audio?..since firmware has diff cid...by flashing this will i lose any features that i have on my sprint harmon karmon version?

---------- Post added at 04:45 AM ---------- Previous post was at 04:20 AM ----------

just wanted let people know..i used the fastboot methad and it worked great..i used to never get these options to work couldnt figure it out for longest time...remember windows hides extentions..so every methed i was renameing exactly how they said to ...firmware.zip and the 0P6BIMG.zip...but when useing windows leave the .zip out..i just placed the firmware package after renameing it to just firmware in the adb folder..and flashed it and it worked..hope this helps anyone out ..now updateing firmware is a breeze thanks to the great devs here ..thanks for the modified package...also forgot to mention when it says flush imeditally when flashing fastboot way..dont flip out..just do the same command again ..fastboot flash zip firmware.zip
[Sprint HTC One (M8)] Veldetta:
Ok... I'm still having issues and I need help upgrading to the latest firmware. As of this post, here's my set up:

S-on

Hboot: 3.18

Firmware: 1.54.651.8 (i restored to stock from here: Stock Backups + OTA's)

Relocked Bootloader

Stock Recovery

When I try to flash the OTA firmware, 1.54.651.10, via Flashboot I get the following error message:

"FAILED (remote: 44 hboot version check fail)"

When I try to flash the OTA firmware, 2.16.651.4, via Flashboot I get the following error message:

"FAILED (remote: 12 signature verify fail)"

I'm stuck and now sure how to either change my hboot to 3.16 or upgrade my firmware to the latest. Any assistance would be appreciated at this point. Thanks!
[Sprint HTC One (M8)] Magnum_Enforcer:
Exactly which firmware are you trying to install?
[Sprint HTC One (M8)] Veldetta:
I'm trying to get to the latest firmware - 3.30.651.2
[Sprint HTC One (M8)] Magnum_Enforcer:
Are you trying to flash the full firmware or modified firmware from the OP? Have you tried running the latest RUU? This will update your Hboot, software & firmware.

Also, for future reference, the firmware version you listed is actually your software version, not your firmware version.
[Sprint HTC One (M8)] zefriduo:
I got an error when installing the version Sprint_HTC_One_M8_3.30.654.2_RUU (RUU_M8_WHL_K444_SENSE60_SPCS_MR_Sprint_WWE_Harman_3.30.654.2_R_Radio_1.08.20.0916_NV_SPCS_1.52_003_release_395175_signed_2)

ERROR 131 ID user

Thanks for all...
[Sprint HTC One (M8)] Magnum_Enforcer:
Post your phone's info. Hboot, software & firmware (radio) version. S-on or S-off?
[Sprint HTC One (M8)] volk9029:
Are you trying to use ruu for hk on non hk phone?

Sent from my lair.
[Sprint HTC One (M8)] Robbie_G:
I also noticed no sound in the Google play market music preview.
[Sprint HTC One (M8)] zefriduo:
HBOOT: 3.19.0.000

RADIO: 1.08.20.0916

S-ON

Soft: 3.30.651.2

Version Base: 1.08.20.0916

Android 4.4.4

No root.

Thanks bro's. :o
[Sprint HTC One (M8)] Magnum_Enforcer:
You need to install the non-HK RUU. Why are you trying to run the RUU to begin with?
[Sprint HTC One (M8)] zefriduo:
It's the first time I have the equipment, trying to upgrade, root and s-off... Thanks you. :D
[Sprint HTC One (M8)] Magnum_Enforcer:
You're on the most recent update so there isn't a need to RUU. You'll need to run the Sunshine application to gain S-off on your device. This will also unlock your bootloader and allow you to flash a custom recovery to your device.
[Sprint HTC One (M8)] Veldetta:
Thank you for responding.

I'm trying to flash the full firmware. For some reason, 7-zip won't open up the .exe RUU file. so i can extract the zip file. Furthermore, when I try to flash the 3.30.651.2_OTA.zip file via flashboot... i get the error 12 signature fail.

I don't know where to go from here... please help.
[Sprint HTC One (M8)] benny3:
You dont extract the RUU its a .exe file for windows, double click it to run it. Are you trying to flash the OTA or the firmware in the OP? The instructions are in the first post. You have 2 ways to flash the firmware. You can rename it to "firmware.zip" put it in your adb/fastboot folder and use these commands in the prompt you opened from the adb/fastboot folder.

fastboot erase cache
fastboot oem rebootRUU
fastboot flash zip firmware.zip
fastboot reboot

Or you rename it to "0P6BIMG.zip" and put it on your ext_sdcard reboot in the bootloader and when it ask if you want to update hit the volume up. when it completes and boots up make sure you rename it or remove it from the sdcard

Modified firmware......https://www.androidfilehost.com/?fid=95784891001603141

Full firmware......https://www.androidfilehost.com/?fid=95784891001603142
[Sprint HTC One (M8)] Sloth:
I'm helping a member update his firmware...

s-on

re-locked

We keep getting

fastboot flash zip firmware.zip
target reported max download size of 1830612992 bytes
sending 'zip' (51931 KB)...
OKAY [ 2.656s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 5.386s

This has happened on 2 different PC's

We tried the version he is currently on aswell as the latest version both give the same error

We tried the FUU and get the side-by-side error...I had him update his C++ but still get the error afterwards.

Anyone have any ideas I'm stumped.
[Sprint HTC One (M8)] benny3:
Being he is s-on he needs to use the full firmware,Is that what you're using? and it cant be tampered with
[Sprint HTC One (M8)] Sloth:
Yeah full firmware

I checked the MD5 it matched.
[Sprint HTC One (M8)] benny3:
Are you flashing it in RUU mode?

fastboot oem rebootRUU
fastboot flash zip firmware.zip
fastboot reboot
[Sprint HTC One (M8)] Sloth:
Yup...I've done this a million times for myself and others but never had so many problems
[Sprint HTC One (M8)] benny3:
I guess try renaming it to "0P6BIMG.zip and flash in the bootloader
[Sprint HTC One (M8)] Sloth:
Didn't see it once booted to hboot.
[Sprint HTC One (M8)] Magnum_Enforcer:
Have him double-check how it's named. Also may need to try a different SD card.
[Sprint HTC One (M8)] Sloth:
I named it :) and it went through the paces of looking for the file but did not find it
[Sprint HTC One (M8)] benny3:
I know you know but i have to ask. Are you sure its not .zip.zip
[Sprint HTC One (M8)] Sloth:
.zip.zip.zip duh :p

Yup just 1 .zip.
[Sprint HTC One (M8)] Veldetta:
Did this...

and I get the same result as this...

Also, when i try to go through hboot... it doesn't give me any additional options except "press power to reboot"

Here's my GetVar

(bootloader) version: 0.5
(bootloader) version-bootloader: 3.18.0.0000
(bootloader) version-baseband: 1.08.20.0612_4
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: FA44XSF00185
(bootloader) imei: 99*****************
(bootloader) imei2: Not Support
(bootloader) meid: 99*****************
(bootloader) product: m8_whl
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B70000
(bootloader) cidnum: SPCS_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: d4c3cae5
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.016s
[Sprint HTC One (M8)] Sloth:
He had the same specs as you...we finally gave up. :(

What I find interesting, on both battery-voltage says 0mV I was thinking maybe it was not working because of low battery, but he booted and said it was at 95%
[Sprint HTC One (M8)] EVOuser94:
Okay so I have a few ideas. Take SD out of phone and boot to bootloader, go into RUU mode and try without having any SD card in.
[Sprint HTC One (M8)] Sloth:
That's only 1 idea lol

I'll mention it to him thanks.
[Sprint HTC One (M8)] EVOuser94:
I don't wanna overload you with too many ideas at once.. 1 attempt at a time...
[Sprint HTC One (M8)] EVOuser94:
My other idea is to boot into ROM and use the ##72786# and do factory reset there then try again. I'm pretty stumped if that one doesn't work

Edit: or any factory reset you can do like the one in bootloader since he is s-on it shouldn't hurt anything.. as always back up data first
[Sprint HTC One (M8)] pyromaniac1:
I'm currently on

1.54.654.13

S-on, bootloader unlocked.

I want to go back to stock firmware/recovery. But every time i try to flash full firmware 1.54.654.13 or even the later full firmwares, i get this error

D:\Android Stuff\HTC adb>Fastboot flash zip firmware.zip

target reported max download size of 1830711296 bytes

sending 'zip' (43992 KB)...

OKAY [ 2.462s]

writing 'zip'...

(bootloader) adopting the signature contained in this image...

(bootloader) zip header checking...

(bootloader) zip info parsing...

FAILED (remote: 99 unknown fail)

finished. total time: 2.817s
[Sprint HTC One (M8)] Veldetta:
I was finally able to upgrade to the latest firmware. Here's the steps I took to do so:

Used another computer and downloaded the RUU program

Flashed InsertCoin v4.0.2 rom (don't ask me why, I just did)

Flashed stock recovery img

Relocked Bootloader

Ran the RUU program. It took about 10 mins to load and another 10 mins to flash the phone

My phone is finally updated and I'm now running Viper 3.1.0. Hope this helps.
[Sprint HTC One (M8)] OMJ:
typically that error would indicate the zip is not signed, which is required if you're s-on...that firmware is pretty old, so I just pulled the firmware from the official OTA, try again using this one...

https://www.dropbox.com/s/k01lrepfh2el8nm/firmware.zip?dl=0
[Sprint HTC One (M8)] epedrosa:
I have a hk m8 Im s-on and when I'm trying to update the firmware I get that error too. I try via fastboot firmware.zip and with 0P6BIMG.zip
[Sprint HTC One (M8)] apitnauli:
Update firmware is just for s-off device. If u want to ruu. U have to relock bootloader. Then choose ruu thats match with ur current firmware. Then do the instruction. Cmiiw
[Sprint HTC One (M8)] epedrosa:
So no matter what, to update my firmware I have to relock my bootloader? I try to flash full firmware from ota fastboot flashable...
[Sprint HTC One (M8)] shonmac11:
I have an HK One m8 with s-on. How would I use the RUU process to get my device back to stock? I've tried the method where I had to flash back up and stock recoveries but it wouldn't take on my device. I'm getting very annoyed with the failed attempts. I just want to go back to stock. please help

this is my device's info:

version: 0.5

version-bootloader: 3.18.0.0000

version-baseband: 1.08.20.0612_4

version-cpld: None

version-microp: None

version-main:

version-misc: PVT SHIP S-ON

meid: 99000499134942

product: m8_whl

platform: hTCBmsm8974

modelid: 0P6B70000

cidnum: SPCS_004

battery-status: good

battery-voltage: 0mV

partition-layout: Generic

security: on

build-mode: SHIP

boot-mode: FASTBOOT

commitno-bootloader: d4c3cae5

hbootpreupdate: 11

gencheckpt: 0
[Sprint HTC One (M8)] pyromaniac1:
Hi

Thanks for the zip file. I basically just wanted to go back to a stockish feel. So i just flashed the recovery image from the original firmware file. Then took ota to 1.54.654.15. But that didn't remove the superuser app though :(

Will flashing a RUU remove it?
[Sprint HTC One (M8)] benny3:
The RUU will wipe the phone and set it back to factory stock just as it was brand new

---------- Post added at 10:27 AM ---------- Previous post was at 10:25 AM ----------

The RUU will take you back to factory stock but it also wipes the internal storage so backup anything you want to save.

This is why i recommend anyone with a Htc device to go s-off if you are going to modify your phone. With s-off it allows you to flash just the firmware, radio's older RUU's and firmware. It makes life so much easier.

---------- Post added at 10:37 AM ---------- Previous post was at 10:27 AM ----------

Just a FYI if using a RUU you only need to relock the bootloader. It doesn't matter what rom or recovery you are on.
[Sprint HTC One (M8)] indiscriminant:
Issues updating firmware

Hey guys, long time user of BadBoy on previous HTC phones and just got the m8.

Tried to do firewater but apparently I am caged, not able to do the sunshine at the moment but wanted to get rolling and set up with your software.

Already Unlocked with the recommended TWRP from CaptainThrowback.

Now, I have tried to do the fastboot flash of the full firmware but I keep getting an error right away with it and it crashes, tried several times, redownloads, etc.

Then figured since I am bone stock at the moment, why not just do the RUU to the newest version, updates the software and the firmware at once, then could flash Badboys rom.

RUU fails at the first of 7 steps and says its the wrong version ( I have non HK and downloaded the second file for the RUU which was the non HK I believe although only marking I could tell was the HK version had Harmon in the file name).

Third try was to just take the OTA, but when it downloads and tries to reboot the TWRP interupts it, I am always going straight into recovery.

Any ideas on how I can get this updated?
[Sprint HTC One (M8)] EVOuser94:
If you flash stock recovery you can take the OTA.
[Sprint HTC One (M8)] indiscriminant:
Ahh gotcha, thats what is causing it to fail. I had that on there to get root and try to firewater in the first place. Thanks, actually trying sunshine now to see if I can get S-off first, had some additional time that I didn't expect and seems to be fairly quick anyways
[Sprint HTC One (M8)] psyman42:
So I had the same problem where I went back to stock and was able to download the OTA but TWRP prevented the install...had I had known that was the cause I wouldn't have played around with other ways of updating and gone straight to installing stock recovery. Now my problem is I'm back in stock and the OTA isn't being pushed to my phone and the firmware updates via fastboot and hboot aren't installing as they keep getting errors such as the "99 unknown"

Right now downloading the 654 RUU as the 651 install said I had the wrong version....:confused:
[Sprint HTC One (M8)] indiscriminant:
BLack HTC Screen with triangles in corners

Ok, so I got Sunshine to work and got S-Off.

I went to fastboot update the modified firmware and everything went to plan just like in the video from thoughtless kyle except I got an error on the second try, the bar only got a third of the way, I let it run for several minutes and then tried the reboot command. It came back as a black HTC Screen with a triangle/exlamation point in each of the 4 corners. Can't boot back into recovery or anything else.

Yikes what do I do now heh?
[Sprint HTC One (M8)] indiscriminant:
I can reboot the device manually, then it will let me fastboot reboot again (only to the same black screen) and it will let me try to run the firmware flash again, it gets about half way and then I get an error that just says status read failed unknown error. Pic attached

*I believe I got it to work, literally took me reflashing almost a dozen times for it to complete. Rebooted as normal.

*not working, still says my hboot is 3.19 and not 3.30, trying to reflash twrp and then do the firmware again as suggested.
[Sprint HTC One (M8)] EVOuser94:
Reflash TWRP
[Sprint HTC One (M8)] indiscriminant:
Reflashed the twrp, reflashed the firmware twice (worked as the video showed), still shows me with firmware of 3.19.

Really confused as to what is still causing an issue.

*Am I confused? The Hboot says 3.19.0 but the OS shows 3.30.651.2 ... so did it work?
[Sprint HTC One (M8)] EVOuser94:
Yup it worked, 3.30.651.2 is latest firmware for non h/k m8's... Flash away
[Sprint HTC One (M8)] benny3:
Firmware and software are 2 different things. The firmware will change your baseband version and software changes with software like 4.4.2, 4.4.3,4, 4.4.4..etc.
[Sprint HTC One (M8)] EVOuser94:
He was reading his hboot version, lol
[Sprint HTC One (M8)] hasseye:
Hey guys, finally on the M8 bandwagon, just trying to get things running.

I had some weird issues where I couldn't install the unmodified update via fastboot, so I did an RUU and it seemed to worked. I unlocked via HTC, installed Bad Boys rom and everything seemed to work okay. I got that weird no sound issue, and tracked it down to not installing the HK firmware update. Oddly enough, I can't flash that firmware update though. I renamed it in hboot and it just says Power to reboot. If I try it in fastboot, I get error 99.

I was part of the community where this was all hobby and free, so I have yet to pay for the sunshine root, however looks like times have changed, so tomorrow I'l most likely be purchasing that. Before I do so, any tips or advice?
[Sprint HTC One (M8)] Sloth:
If you are s-on you cannot rename the file and flash from hboot.

You should however be able to fastboot flash the file.(Might have to re-lock bootloader since you are s-on)
[Sprint HTC One (M8)] hasseye:
That makes sense, don't want to go through the hassle again of locking and unlocking. I think the best bet is to spend the money to get S-off, would have saved me so many hassles by now.

Any idea what the best steps are to go s-off and install everything again?
[Sprint HTC One (M8)] Robbie_G:
is anyone else having issues with no sound from the HTC music app and Swype not working on the latest stock rooted (HK deodexed for me).
[Sprint HTC One (M8)] ahecht:
Did you flash the HK adsp firmware?
[Sprint HTC One (M8)] Robbie_G:
No only the modified firmware for the HK in the OP. Thought that one had everything. Should I try flashing Captain's firmware plus HK adsp firmware over what I have?

Edit: I went ahead and flashed Captain's modified firmware and the hk adsp and it did fix the sound issue (there may be a problem with the modified HK firmware in this thread), but Swype still crashes immediately for me.
[Sprint HTC One (M8)] nuxbag:
Starts Ruu but fails says get the correct ruu
[Sprint HTC One (M8)] Magnum_Enforcer:
You need to relock your bootloader since you're S-on. Should work fine afterwards.
[Sprint HTC One (M8)] nuxbag:
Cool beans. Can I down grade. No I can't
[Sprint HTC One (M8)] abieofficial:
Can't Unlock after Upgrade to 3.30.651.2

After upgrading my M8 to 3.30.651.2, my device can't unlock the bootloader

I've try 2 PC from my Laptop Win 7 Ultimate 64Bit core i5; PC Win 7 Ultimate 32Bit

I've request Unlock Code from www.htcdev.com and receive an Email unlock code

this is from my PC Win 7 Ultimate 32Bit

C:\Program Files\Minimal ADB and Fastboot>fastboot flash unlock_token Unlock_code.bin
< waiting for device >
target reported max download size of 1826414592 bytes
sending 'unlock_token' (0 KB)...
OKAY [ 0.131s]
writing 'unlock_token'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 0.137s
[Sprint HTC One (M8)] AarSyl:
I know that you did the email unlock code process, but have you requested the new unlock code after you updated using the latest RUU? Old unlock codes work work, it seems.
[Sprint HTC One (M8)] abieofficial:
I've request new unlock code since after upgrading to latest OS. Still same. Can't Unlock...:confused::confused::confused:
[Sprint HTC One (M8)] Sloth:
I'm pretty sure unlocktoken is 1 word

fastboot flash unlocktoken Unlock_code.bin
[Sprint HTC One (M8)] Magnum_Enforcer:
It's two words. Should be:

fastboot flash unlock token Unlock_code.bin

Are you sure you're connected via Fastboot USB mode and that the token file HTC sent you is in your ADB/Fastboot folder?
[Sprint HTC One (M8)] Captain_Throwback:
It's always been one word . . . it has to be one word because that's how the syntax of the command works. Otherwise it'll think "token" is part of the filename.
[Sprint HTC One (M8)] Magnum_Enforcer:
I stand corrected. Thanks, Cap:thumbup:
[Sprint HTC One (M8)] benny3:
Yeppers...lol

fastboot flash unlocktoken unlock_code.bin
[Sprint HTC One (M8)] Sloth:
FTFY
[Sprint HTC One (M8)] abieofficial:
Damnit! My mistakes. Thanks for attention :)
[Sprint HTC One (M8)] Batista315:
Hello. Let me say one thing before I say anymore: I am a huge tech noob. I was rooting my phone from 4PM to 12AM and managed to install the latest Lollipop Rom. I just want to know how to change the font and how to put other languages on the keyboard. If theres no way to do so, is it possible to go to another version of GPE that is 100%?

---------- Post added at 09:53 AM ---------- Previous post was at 09:44 AM ----------

Okay, I got the keyboards down, but now how do I change the font? And a new "problem": How do i show battery percentage on top?
[Sprint HTC One (M8)] Magnum_Enforcer:
Your questions are better off in this thread:

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