yashsingh1/xdaforums huggingface dataset:
[T-Mobile HTC One (M8)] Garmig:
[OTA] [T-Mobile] [M8] 1.57.531.7

Beginning May 16, the HTC One (M8) received a software update to 1.57.531.7

Software version

Android version 4.4.2/ Software 1.57.531.7-

Version

Android version 4.4.2/Software 1.57.531.7

Approved 05/16/14

Features

Improves battery life

Audio quality

Adds Extreme Power Saving

Improves Wi-Fi performance

Prerequisites

Device software is not rooted

50% battery life

Wi-Fi connection

Download here:

http://www.androidfilehost.com/?fid=23487008491965121

Instructions:

Restore nandroid backup posted in OP

Fastboot flash stock recovery

Copy the OTA file in the download folder of your phone

Reboot to recovery ( I use adb reboot bootloader and then with the volume buttons select recovery)

Wait for the warning triangle, keep pressing the volume button and touch and release the power button, the options should appear.

Select apply from phone storage and then go to the download folder where you copied the OTA file, select it and hit the power button to apply the OTA.

Let it run and follow the instructions at the end to reboot the phone.

View attachment 2751457

View attachment 2751458

View attachment 2751459

View attachment 2751460

View attachment 2751461
[T-Mobile HTC One (M8)] treIII:
Does this have the firmware included? Or is it just the new Rom from the update? And does my bootloader have to be locked? I'm soff by the way and my bootloader is locked. Thanks.

Sent from my HTC One_M8 using Xparent Blue Tapatalk 2
[T-Mobile HTC One (M8)] style154:
Does anyone have the new radio?
[T-Mobile HTC One (M8)] Garmig:
I'm uploading it right now.

Also, I've posted in OP the HTC link to download the new RUU for the base 1.57.531.7

Edit: Here you go Radio.img_From_1.57.531.7_base
[T-Mobile HTC One (M8)] fmedrano1977:
What's required for Tmo RUU?

Emm Eight
[T-Mobile HTC One (M8)] style154:
I'm sorry but is a flashable possible to make? Sorry but thank you for getting it up quick!
[T-Mobile HTC One (M8)] dante784:
Anyone have the 6.0 firmware? I'm looking to update my phone that's been S-Off and unlocked.

Thanks,
[T-Mobile HTC One (M8)] kc6wke:
Check Here
[T-Mobile HTC One (M8)] jdub1983:
Do you have any links to any RUU.zips for the tmobile htc m8 still? My phone is stuck in bootloader loop. Fastboot wont flash anything; twrp, stock recoveries etc

my phone is relocked, s-on:

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.23.213311491.05G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

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

(bootloader)

(bootloader)

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B13000

(bootloader) cidnum: T-MOB010

(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: 06f11f5b

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

any help would be very very helpful... im on a mac too
[T-Mobile HTC One (M8)] magicalpig76:
In Reply to

Thanks, but it didn't work for me. I flashed it through TWRP, wiped Dalvik, and when phone came back online, it had no carrier service. In About Phone, baseband was shown as "unknown". With fastboot getvar all I saw that it was listed as 1.23.213311491.05G .

My CID is T-MOB010 and I guess these radios were from CID=HTC__001 ?
[T-Mobile HTC One (M8)] Technoolli:
Here more RUU Files: http://androidruu.com/?developer=M8 :good::good::good:
[T-Mobile HTC One (M8)] Garmig:
Flashable http://www.androidfilehost.com/?fid=23487008491965855
[T-Mobile HTC One (M8)] Jhoopes517:
Damn. Probably sounding noobish to the extreme but...

Flashing the RUU returns the phone to full stock, right?

S-on, stock recovery, stock everything?
[T-Mobile HTC One (M8)] Garmig:
Yes, returns to fully stock everything.

Edit: My bad, I misunderstood the S-On question. After running the RUU and reboot you can go to fastboot and run the command that Behold_this provided three post down.↓
[T-Mobile HTC One (M8)] Jhoopes517:
Excellent. Thank you for the answer :)

How long does it take after you click Next? The software starts up... I read the terms and select next... and nothing. Yes, I checked that I agree.
[T-Mobile HTC One (M8)] style154:
You're awesome thanks!!
[T-Mobile HTC One (M8)] Behold_this:
Just to be clear the RUU will NOT set s on. There's only one way to do that and that is to execute the fastboot cmd to write the secure flag

fastboot oem writesecureflag 3
[T-Mobile HTC One (M8)] sojizy:
I noticed the RUU file posted here. How do I flash that through fastboot if its not a zip?
[T-Mobile HTC One (M8)] dave.michael:
Going from a fully converted GPE edition and running the RUU, it attempts to update the image version from 1.16.1700.16 (the GPE) to 1.57.531.7 (Stock/Sense/T-Mobile.) It results in Error [159]: Image Error.

I've changed my MID back to 0P6B13000 and left my CID as 11111111. I've tried running the RUU with both unlocked and locked bootloader, but I continue to get the "Error 159" message. Anything I'm overlooking?

Has anyone had success reverting back from a full GPE to stock?
[T-Mobile HTC One (M8)] tublah:
When you run the installer it extracts the rom.zip to C:\Users\<username>\AppData\Local\Temp\

Look for a folder that is recently modified and is something cryptic like {FF070330-D71A-4A58-B292-41FB431C7529} - look in the subsequent folders underneath that for Rom.zip

When you've found Rom.zip - copy it out to your desktop or somewhere else that is outside of that folder. Then you can close the RUU.

Now run:

fastboot oem rebootRUU

fastboot flash zip Rom.zip

**You'll likely want Rom.zip in the same folder as your fastboot executable for ease of running the commands)**

If it fails, just run it again (like it failed the first time you converted to GPE).

That SHOULD work and get around the RUU utility's checks in the app.

Having said that, I haven't tried this, so proceed with caution.
[T-Mobile HTC One (M8)] Jhoopes517:
I cant get the RUU to run at all. I accept the terms and then it just force closes...
[T-Mobile HTC One (M8)] tublah:
Before you accept the terms - look in the folder I mentioned. You'll not be using the actual RUU exe to reflash back to stock from GPE.
[T-Mobile HTC One (M8)] Jhoopes517:
Okay, Thanks.
[T-Mobile HTC One (M8)] Garmig:
Right click on the .exe file, click properties at the bottom of the window that pop out and click unblock.
[T-Mobile HTC One (M8)] tublah:
Sure thing. Let me know if it helps and works.
[T-Mobile HTC One (M8)] Rhiannon224:
Download is extremely slow, RUU download keeps failing. Anyone else having trouble?
[T-Mobile HTC One (M8)] dave.michael:
I found the rom file in the location you indicated. Flashing manually returned an error even after repeating the command. I then proceeded to try and open the zip. It doesn't open. I believe it should contain all the .img files such as recovery, data, system etc? I'm thinking the RUU may be corrupt? Can we get an MD5 sum please?
[T-Mobile HTC One (M8)] Tidbits:
you don't open the .zip
[T-Mobile HTC One (M8)] dave.michael:
I understand that. I first tried to flash it twice. Got the same error twice. Then I decided to check if I could even open it and examine the contents. It doesn't open. I tried both Windows and OS X. Shouldn't I be able to see what's inside?
[T-Mobile HTC One (M8)] Garmig:
You can't extract the zip, it's encrypted by HTC. The file is not corrupted because I've updated my device with it.
[T-Mobile HTC One (M8)] Garmig:
I just posted a mirror in OP
[T-Mobile HTC One (M8)] dave.michael:
That answers my issue with opening it. But flashing is still failing. Do you recall what version of HBOOT you were on prior to updating? I'm on 3.18.0.0000. Unlocked. S-On.
[T-Mobile HTC One (M8)] Garmig:
Check if you don't have a permission issue in your PC

http://youtu.be/oC3jHe3IYXQ

and also Right click on the .exe file, click properties at the bottom of the window that pop out and click unblock
[T-Mobile HTC One (M8)] dave.michael:
I went as far as creating a fresh Windows install. I'm a local administrator. I also re-ran firewater to get S-Off just because then changed my CID from 11111111 to T-MOB010. Then I tried flashing the rom.zip which failed after 4 repeat commands. Running the RUU.exe also failed. I'm giving up for now and will try again tomorrow. Thanks all for your help and quick responses. :)

By the way, in case there's anything askew, here's my getvar all:

C:\Users\David\Desktop>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.18.0.0000

(bootloader) version-baseband: 1.14.21331931.LA02_2G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.16.1700.16

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

(bootloader) serialno: <cleared>

(bootloader) imei: <cleared>

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B13000

(bootloader) cidnum: 11111111

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: a1aef34e

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.016s

I tried with all combinations of GPE and T-Mobile MID's and CID's with no luck. I have a weird hunch it's something with my HBOOT version and I may need to downgrade, but I'm not sure how to do it successfully. I tried two different versions of HBOOT and downgrading fails.

Also, this is the error when manually trying to flash the rom.zip:

C:\Users\David\Desktop>fastboot flash zip rom.zip

target reported max download size of 1830715392 bytes

sending 'zip' (1482813 KB)...

OKAY [ 47.591s]

writing 'zip'...

(bootloader) zip header checking...

(bootloader) shift signature_size for header checking...

FAILED (remote: 32 header error)

finished. total time: 47.960s
[T-Mobile HTC One (M8)] Tidbits:
I get the error about headers

(bootloader) zip header checking...

(bootloader) shift signature_size for header checking...

FAILED (remote: 32 header error)
[T-Mobile HTC One (M8)] dave.michael:
I couldn't give up and I think I've had success getting back. I'm waiting for the update to complete successfully, but I'll edit this post with what I did to make it all work. :)

Edit 1:

As I initially suspected, my issue was a problem with HBOOT. You need to downgrade your HBOOT! I used firewater's custom HBOOT and flashed that. In order for that to work, make sure you're flashing the HTC one (M8)	v1.54.401.5 and not the T-Mobile one which your phone is not (assuming you fully converted it to a GPE.) Once I had the custom HBOOT, manually flashing the rom.zip still failed (I think) but running the RUU.exe provided in the original post seems to be successful so far. It's going through all the motions now. I'll update on whether or not it succeeded or failed.

Edit 2:

Success! Screenshot attached. Be patient. The update process took around 10-15 minutes to complete. I guess installing all that bloatware I don't miss. But my device is back to stock!
[T-Mobile HTC One (M8)] Tidbits:
I just ran the RUU and same thing happened it seems to be working and so far so good. When I tried to flash I got a header error.
[T-Mobile HTC One (M8)] mrjonstott:
EVERYTIMEI run the RUU it quits after accepting license terms.

When I right click, properties, there is NO option for "unblock"

Someone please help. This is getting entirely too frustrating.
[T-Mobile HTC One (M8)] renn9420:
Is there a way to modify the OTA so it can be flashed thru custom recovery?

Phone: T-Mobile HTC M8 Rooted/SuperCID/S-Off

ROM: Latest Cyanogen

Recovery: Lates TWRP
[T-Mobile HTC One (M8)] Garmig:
Check here:

http://xdaforums.com/showpost.php?p=52806314&postcount=1
[T-Mobile HTC One (M8)] Garmig:
Do a Google search with your first sentence and you will find a lot of information. http://bit.ly/1mYLowB

I don't know which operating system you are using.

Firewall

Antivirus

HTC Sync Manager

Etc
[T-Mobile HTC One (M8)] renn9420:
Will that erase everything on my phone?

EDIT: Followed the steps in this thread and presto change-o phone is updated! Thank you so very much

Phone: T-Mobile HTC M8 Rooted/SuperCID/S-Off

ROM: Latest Cyanogen

Recovery: Lates TWRP
[T-Mobile HTC One (M8)] riggsboxer:
T MobileHTC M8

Garmig THANK you for the RUU work great....
[T-Mobile HTC One (M8)] Garmig:
Did you read the post?
[T-Mobile HTC One (M8)] jhat3k1:
I have a tmo m8, that I rooted using the toolkit, and then flashed the GPE rom, which has worked with no issues.

However, like many of you, I want the option to go back.

I tried dl'ing the T_mobile_1.57 rom, and moving it to my sd card, I tried flashing it, then wiping, but it always stays on the GPE rom. It jut factory resets, and starts me from the beginning.

In my understanding, I should just be able to load the stock tmo sense rom onto my sd, go into TWRP, and "install" the zip file, then wipe cache and delvik, and be good to go.

Ideas?
[T-Mobile HTC One (M8)] Garmig:
On TWRP recovery don't click install, you have to chose <restore>.

Note: I'm uploading a fresh TWRP nandroid backup....
[T-Mobile HTC One (M8)] lotzakritters:
Isn't the alternative/pc free way for only a .zip extension? Just wondering
[T-Mobile HTC One (M8)] jhat3k1:
good news!

So, I finally realized what I was doing wrong.

I now have the sense Rom running again.

However, it's asking me to update the software,

And keeping the icon in the system tray. When I try to update,it takes me to recovery.

Also, can I root this backup?
[T-Mobile HTC One (M8)] monomojao:
I cant get the RUU.exe file to run past the licence agreement once i accept. It just closes and yes i did do UNBLOCK and RUN AS ADMIN.
[T-Mobile HTC One (M8)] jhat3k1:
error....

Now that I have it figured out, I realized I used the 1.12 backup. Also,

the 1.12 keeps asking me to system update. If I try, it takes me to twrp.

I then realized that you just uploaded a fresh 1.54 backup. I downloaded it,

but when I went to unzip it, it kept giving an error.It says the file is invalid. I tried

multiple mirrors.

Is there a chance the file you updated is corrupt for some reason?
[T-Mobile HTC One (M8)] style154:
For whatever reason this didn't change my baseband it is still 1.14.... The new one is 1.16... Right? Just making sure I'm not crazy
[T-Mobile HTC One (M8)] Garmig:
Extract the radio img from the zip and flash it via fastboot. I'll check what's going on later when I get home.

The command for fastboot flashing is: fastboot flash radio radio.img

Edit: try this zip,I've flashed it without issues.

https://copy.com/ZKaI6BqzFTN2G3n
[T-Mobile HTC One (M8)] Garmig:
Deleted

Double post.
[T-Mobile HTC One (M8)] renn9420:
After u restore the 1.12 backup, don't root it, reboot system wait until main screen the flash the 1.12 stock recovery. Now you'll be able to install OTA. Wait for that boot up to main screen and now you can flash the custom recovery and root. I dirty restored backup and did up date without losing a thing.

Phone: T-Mobile HTC M8 Rooted/SuperCID/S-Off

ROM: Latest Cyanogen

Recovery: Lates TWRP

---------- Post added at 07:29 AM ---------- Previous post was at 07:25 AM ----------

After installed the Harmon Kardon sound and now phone has setting. No more Boom Sound. Yeah

Phone: T-Mobile HTC M8 Rooted/SuperCID/S-Off

ROM: Latest Cyanogen

Recovery: Lates TWRP
[T-Mobile HTC One (M8)] monomojao:
I get a persistent ERROR[159]: IMAGE ERROR everytime i run the RUU.exe.

is this issue similar to the one you were getting prior to downgrading your HBOOT?

Im Running Full GPE Conversion with locked bootloader and S-OFF.

***PS: Tried with both locked and Unlocked bootloader
[T-Mobile HTC One (M8)] dave.michael:
Yup. 159 is what I was getting. I'm not sure S-Off/On mattered, but what got me past that error was flashing firewater custom HBOOT.
[T-Mobile HTC One (M8)] monomojao:
Im on it!! Let me try this

EDIT: Did you have to go back to locked bootloader? I got the same error after flashing hboot_firewater_m8_1.54.401.5.zip
[T-Mobile HTC One (M8)] dave.michael:
I'm pretty sure my bootloader was unlocked when it worked for me.
[T-Mobile HTC One (M8)] monomojao:
Just be to be sure you were coming from the full GPE conversion, correct?
[T-Mobile HTC One (M8)] dave.michael:
Correct. Using this method.

What are your current CID and MID?

I changed the GPE MID back to the T-Mobile MID and left super CID.
[T-Mobile HTC One (M8)] monomojao:
My CID is: T-MOB010. Im not sure how to check or change my MID....

Should i change to supercid?

And yes, i used the same conversion method you did.
[T-Mobile HTC One (M8)] dave.michael:
T-MOB010 should be fine since that's the stock/default CID. I'm not sure what the differentiating factor is for you in all this and due to my limited experience, I'm not positive what should be done now. But assuming our devices were pretty much the same, I'd run a getvar all and compare your output to mine. Maybe something in there might stand out.

This is mine before I flashed the firewater HBOOT. I think (assuming you used the same conversion method I did) yours should look fairly similar save for maybe the CID/MID.

C:\Users\David\Desktop>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.18.0.0000

(bootloader) version-baseband: 1.14.21331931.LA02_2G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.16.1700.16

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

(bootloader) serialno: <cleared>

(bootloader) imei: <cleared>

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B13000

(bootloader) cidnum: 11111111

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: a1aef34e

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

One other thing maybe worth mentioning is I converted to the non-rooted GPE version which comes with the stock recovery. I'm guessing rooted version comes with TWRP. It may possibly be something with that. Just exploring every possibility I can think of.
[T-Mobile HTC One (M8)] monomojao:
Here my info:

C:\Users\j.baez\Desktop\platform-tools>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.18.0.0000

(bootloader) version-baseband: 1.14.21331931.LA02_2G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.16.1700.16

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

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B13000

(bootloader) cidnum: 11111111

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: a1aef34e

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.025s

---------- Post added at 05:44 PM ---------- Previous post was at 05:42 PM ----------

we have the exact same info....

very strange now
[T-Mobile HTC One (M8)] dave.michael:
I added some extra info to a previous message, but in case you didn't see it, I'll copy/paste it here. Just a thought...

One other thing maybe worth mentioning is I converted to the non-rooted GPE version which comes with the stock recovery. I'm guessing rooted version comes with TWRP. It may possibly be something with that. Just exploring every possibility I can think of.
[T-Mobile HTC One (M8)] monomojao:
I also went with the non-rooted conversion.

---------- Post added at 05:54 PM ---------- Previous post was at 05:46 PM ----------

I tried everything already not sure whats happening.

- Flashed the hboot zip you provided.

- changed to super cid

- we match all our getvar info

- I tried running the RUU with unlocked/locked bootloader

*Still get error159.

Im just going to have to wait it out see how other people experience this.

Thanks for your help though! I really appreciate it.
[T-Mobile HTC One (M8)] dave.michael:
Very weird... I don't want to suggest anything else. I pretty much shared everything I did.

I don't mind converting back to the GPE and going through the whole process again, but I'd have to do that later tonight. After having Sense for a day, I'm kinda ready to go back anyway. I'll only miss the camera. Anywho, if you don't mind waiting, I'd happily go through everything again.
[T-Mobile HTC One (M8)] monomojao:
Sure man take your time. There's no rush honestly.
[T-Mobile HTC One (M8)] style154:
Didn't work either but I'll flash via fastboot tonight thanks for trying tho
[T-Mobile HTC One (M8)] Sisyphus306:
I'd rather do everything the "official" way. These OTA updates just care about root and recovery, right? Could I just restore the backup I took of the stock image a while back, load stock recovery, download updates, and then re-install TWRP, all without re-locking bootloader? I seem to remember being able to do that with the M7.
[T-Mobile HTC One (M8)] littlegreenalien:
Garmig im trying to download radio for tmobile m8 but mirrors not showing up,can u check

http://www.androidfilehost.com/?fid=23487008491966373
[T-Mobile HTC One (M8)] Garmig:
I just clicked the link and its working. Maybe was a glitch.

Edit: [MENTION=5562887]littlegreenalien[/MENTION] here is another Copy https://copy.com/ZKaI6BqzFTN2G3n