yashsingh1/xdaforums huggingface dataset:
[T-Mobile HTC One (M8)] ClausMontoya:
The problem seems to happen less frequently now. Maybe once or twice a day...a long day from 7:30am to maybe midnight. So I'm not sure what is the issue. A friend of mine has an S5 and his is doing the same thing. He's also on T-Mobile.
[T-Mobile HTC One (M8)] Garmig:
Deleted
[T-Mobile HTC One (M8)] smartphonedude:
Can I restore any of the recoveries via CWM?
[T-Mobile HTC One (M8)] Garmig:
I made these nandroid backups using twrp recovery, I don't think that you can use cwm recovery but you can try and let us know.
[T-Mobile HTC One (M8)] Vondis:
deleted
[T-Mobile HTC One (M8)] Jaybot:
I'm not even sure what I am doing wrong, I downloaded "twrp-TmoUS-Stock-Rom-Backup-1.12.531.19" unzipped it, and put it in my TWRP folder, as well as TWRP/BACKUPS and when I go into "restore" in TWRP, nothing shows up.

Any idea?
[T-Mobile HTC One (M8)] Garmig:
Delete the current twrp folder structure and then make a boot.img backup via twrp to create a new folder structure to recognise the fodder location. Now use that folder structure to copy the 1.12...backup.
[T-Mobile HTC One (M8)] leon912:
I can't unzip this file "2014-05-21- KOT49H-1.57.531.7-Stock_BackUp.zip"

Maybe there are something wrong with it on the server.
[T-Mobile HTC One (M8)] Garmig:
Check the md5, maybe you got a bad download.
[T-Mobile HTC One (M8)] Rsotbiemrptson:
Hello,

Thanks for the 1.57 nandroid, I am also unable to unzip it. Downloaded 3 times all MD5's matched. Tried WinRAR, 7-zip, and windows explorer. Any suggestions?

Thanks,

Rsotbiemrptson
[T-Mobile HTC One (M8)] Garmig:
When I get home in one hour I'll re-zip and re-upload the file.

Edit: [MENTION=357831]Rsotbiemrptson[/MENTION] try this copy from my Google Drive storage: Deleted →posted in OP
[T-Mobile HTC One (M8)] Rsotbiemrptson:
Hell,

The one from your drive account worked great.

Thanks,

Rsotbiemrptson
[T-Mobile HTC One (M8)] Garmig:
New zip for 1.57.531.7 twrp backup posted in OP

http://xdaforums.com/showpost.php?p=51836232&postcount=1
[T-Mobile HTC One (M8)] leon912:
[MENTION=1131176]Garmig[/MENTION] well, thank you very much. the new zip file works fine.:good:
[T-Mobile HTC One (M8)] TheStayHomeDad:
I get ERROR 155 when I try to RUU my phone back to stock.

Any help?
[T-Mobile HTC One (M8)] Garmig:
You have to relock the bootloader :

"fastboot oem lock"

Then "fastboot reboot"

and run the RUU as administrator.
[T-Mobile HTC One (M8)] TheStayHomeDad:
Thank you.. I don't need this. I went through your tutorial from the first page and did it that way. Thank you for all the help. Glad this was fairly easy!
[T-Mobile HTC One (M8)] edwardlanti:
I have a question. Do you have to flash the OTA right after I do the nandroid backup?

I am just asking because I did a nandroid backup of 1.12.531.19.zip a couple of weeks ago. I since have rooted it and tried doing the applying the OTA but is giving me an error.
[T-Mobile HTC One (M8)] Garmig:
You have to unroot it and flash stock recovery.
[T-Mobile HTC One (M8)] edwardlanti:
Thanks for the quick reply! What's the easiest way to unroot it?
[T-Mobile HTC One (M8)] Garmig:
The SuperSU app has an option to unroot or you can restore the 1.12.531.19 nandroid backup posted in OP.
[T-Mobile HTC One (M8)] edwardlanti:
I restored the phone again with your backup and then went ahead flashed the stock recovery. When I click on install from phone storage the phone just restarts itself.
[T-Mobile HTC One (M8)] razielpr:
Can I flash the radio on a AT&T M8 to enable AWS band????
[T-Mobile HTC One (M8)] Luigiesin:
Hey guys.. Being reading thread by thread.. But can't find a ZIP flashable of the latest firmware from the OTA for the M8 (tmobile)... Anyone has a link? Thanks!
[T-Mobile HTC One (M8)] Garmig:
This?

http://xdaforums.com/showthread.php?p=52806314
[T-Mobile HTC One (M8)] PunishedSnake:
Last time I nandroided and ran the update.zip from twrp
[T-Mobile HTC One (M8)] Luigiesin:
BRICKED!!

Hey guys... I screwed up!!! was trying to update firmware on my M* but I think I flashed the wrong one... now I'm bricked at the HTC screen with exclamation signs... Being looking all over the internet to find a solution and nothing..

When I unplug the USB cable from the phone it goes to the screen where it says RUU.. but it doesnt give me any option.. any ideas?

I can't even access bootloader neither recovery!

I'd really appreciate your help or a link.. thanks!!!
[T-Mobile HTC One (M8)] Tidbits:
Try flashing the factory ruu?
[T-Mobile HTC One (M8)] Luigiesin:
Ended up doing that.. But at the beginning it wouldn't even let me do it because it wouldn't load fastboot... Eventually did and flashed it and was able to restore nandroid... Thanks! That was scary! LOL! ?
[T-Mobile HTC One (M8)] warnerblak:
Cant get RUU to run after installation

Hey guys. Ran into an issue with the RUU. After I downloaded the RUU, I got to the installwizard. It installed and I got to a terms and conditions screen and clicked "accept" and then "next". Nothing happens after that. I'm running the application as an administrator and I'm using windows 7. I'd appreciate any help. I am on a T-Mobile htc One M8 that has been converted to a GPE. Again, I'd appreciate any help, thanks XDA!
[T-Mobile HTC One (M8)] Garmig:
Search for "GPE" in this thread and you will find a lot of suggestions.
[T-Mobile HTC One (M8)] Droid_ALM2ND:
Flashed the latest custom firmware from the other thread to keep data and recovery and lost audio from my HTC Music app. Should I reflash the firmware?
[T-Mobile HTC One (M8)] salwansk:
i flashed my tmobile m8 to google stock while back, now i wants to get back to stock tmobile sense....

i saw the RUU and tried to flash it, im getting error 159 every time.

i did relock the bootloader "fastboot oem lock".

but i still getting the same error, is there any way to flash the bootloader first and then run the RUU? OR any other suggestion?
[T-Mobile HTC One (M8)] i82muchcurry:
Hey man really quick question.

version: 0.5

version-bootloader: 3.16.0.0000

version-baseband: 1.16.21331931.LA24G

version-cpld: None

version-microp: None

version-main:

version-misc: PVT SHIP S-ON

For some reason I don't have a "version-main". Currently, I am using the ViperOne ROM and I tried to flash many custom roms to try if I can get it back, but to no avail. Although, before I rooted my phone, I know for sure that I did an OTA update. Plus, I can't gain S-OFF because apparently firewater doesn't support my current version. So do you think I should use the 1.57.531.7 backup and recovery? Because I am trying to go back to stock by using the RUU.

Also, if you can please list the steps that I need to do to use the RUU, that would be much appreciated.

Thanks you :D
[T-Mobile HTC One (M8)] Tidbits:
For me to get from GPE to Stock

I had to flash this twice http://xdaforums.com/showthread.php?t=2754063

then I ran the RUU, and it has worked for me.
[T-Mobile HTC One (M8)] i82muchcurry:
What did you flash exactly?
[T-Mobile HTC One (M8)] Tidbits:
The official firmware.
[T-Mobile HTC One (M8)] Tdeljr:
Here's my question, I am rooted with s on and I noticed that I have the old radio, so my question is if I restore the older stock backup, relock my boot loader and put stock recovery back on and allow the phone to accept the ota update, will that update include the newer radio?

Just an update, used your backup , updated ota and all is good new radio and all. Thank you for this.
[T-Mobile HTC One (M8)] i82muchcurry:
But why did you flash the official firmware twice?
[T-Mobile HTC One (M8)] Tidbits:
The first time near the end it always throws an error. Its the same thing when you flash GPE through the RUU. Once you finish that the RUU.exe always works for me.
[T-Mobile HTC One (M8)] i82muchcurry:
If I do flash this, is there a possibility of bricking my T-Mobile HTC One M8?

If it ends up working, do I just run the RUU afterwards?

Thanks, sorry if I am asking so many questions.
[T-Mobile HTC One (M8)] Tidbits:
Anything you do flashing wise always has a risk.

First it will fail like the GPE RUU. Then flash it again and it'll complete.

Then do fastboot reboot-bootlader

Then fastboot OEM rebootRUU

Use the RUU.exe.
[T-Mobile HTC One (M8)] i82muchcurry:
Ok thanks! One last question I promise :) When do I have to relock the bootloader? Before I flash the official firmware or after?
[T-Mobile HTC One (M8)] Tidbits:
both times I have my bootloader relocked. I never tried with it unlocked.
[T-Mobile HTC One (M8)] i82muchcurry:
Do I need to have S-OFF for me to achieve this?
[T-Mobile HTC One (M8)] Tidbits:
you don't need to be S-Off to flash official software I believe as they are signed correctly.

However if you are on GPE(using RUU) you should be S-Off as it won't install without being S-Off.

You will retain your S-Off if you are.
[T-Mobile HTC One (M8)] koakawe:
Very much appreciated. Thank you.
[T-Mobile HTC One (M8)] jacklc000:
I flashed the twrp backup posted in this thread to remove root, then restored stock recovery and re-locked boot loader. Is there a way to confirm that my new system is complete and can receive OTA updates?

I assume the system apps are complete?
[T-Mobile HTC One (M8)] :
Thank you so much for this! I made a big boo-boo and bricked the crap out of my M8. The RUU should get me back to working order. Too bad I have to run it through a VM as I don't currently have a working physical Windows machine. Either way this should get my M8 back in working order. Thank you for posting this.

Edit: I am actually having some trouble getting it to run... What are the dependencies for RUU.exe? Does it require Java and Android SDK?
[T-Mobile HTC One (M8)] Prod1702:
If you have working adb or Fastboot, the ruu should be working. from my understanding you need to be in android since the ruu will reboot your phone for u. other wise I think you can boot into the bootloader and do a Fastboot reboot ruu . I think the command is that which will put you into the mode the ruu does its work with. if your brick doesn't let you boot into the bootloader or recovery you may be out of luck. Also to add I am not 100% sure If you can use a VM with the ruu. other wise Goodluck.
[T-Mobile HTC One (M8)] :
I actually can get into bootloader and recovery, in fact, I can even get into Android, but the only ROM I can get to even flash is CM11 because my /system is way smaller than it should be. I posted a full description of my problem on this thread: http://xdaforums.com/showthread.php?t=2805872

I actually did end up using a physical Windows machine, so that shouldn't be an issue...
[T-Mobile HTC One (M8)] Prod1702:
The problem is unless you have s off I dont think there is much you can do. Have you tried getting s off or is that going to work becaus eoc your hboot version.
[T-Mobile HTC One (M8)] :
That's what I thought. When I ran firewater, Bottle 1 was empty, and Bottle 2 said "Remember the golden rule? Never take an OTA? Obviously not. Device patched by HTC. You are out of luck." Or something along those lines. I guess I will just stick with CyanogenMod nightlies until I can get S-OFF for my HBOOT.

Shamefully sent from an iPhone.
[T-Mobile HTC One (M8)] Garmig:
You can get S-Off via sunshine, it's a paid app but works on all M8s.

http://xdaforums.com/showthread.php?t=2792487
[T-Mobile HTC One (M8)] :
That requires a Sense based ROM and unfortunately, my /system/ partition is 1008 megabytes. Does anyone know a Sense based ROM that is smaller than 1008 MB so that I can flash it and get this thing S-OFFed?

Sent from my HTC One (M8)
[T-Mobile HTC One (M8)] Prod1702:
I do not, but why not just do a warranty exchange with T-Mo to get a good M8. If you end up doing a warranty exchange I would recommend that you wipe /system with a custom recovery, then install stock recovery if you can. Tell T-Mo tech support that you phone will not boot. Since it won't boot because you do not have a rom on the phone after wiping /system. T-Mo does not care if you modded the phone. Since on there end it looks like the phone is stock with stock recovery. I do believe they just sent the phone back to HTC. That would be a worst case thing to do.
[T-Mobile HTC One (M8)] Garmig:
Download this Fenny ROM and remove some apps from the zip until you get the size you need.https://mega.co.nz/#!BxJixIKL!ez8HoC-LS4lFGIDG8KCr3jZahYFX6dGGEAjNAcinr2U

You can remove the Google and tmobile apps.
[T-Mobile HTC One (M8)] :
I have considered that... I figure if I try some more stuff and still no dice, I will do that.

Thank you!! I will give that a shot... Not a big fan of paying for the S-OFF, but if it works, it will be worth it.

Sent from my HTC One (M8)
[T-Mobile HTC One (M8)] :
Unfortunately, I couldn't get the file to flash after modifying it. TWRP just says "Error flashing zip." as soon as I swipe to confirm flash. I have no idea what to do now. I suppose I could attempt to use parted to manually grow my /system and make it bigger using parted. I might also just wipe /system, flash stock recovery, relock the bootloader, take it in, and say "I dunno what's wrong. It won't boot. :crying:" and hopefully they will replace it. :fingers-crossed:
[T-Mobile HTC One (M8)] Garmig:
Stand by...I'll try to resize the ROM and try it with TWRP recovery. I'll upload it and PM it to you if works.
[T-Mobile HTC One (M8)] :
That would be awesome. If all else fails, I will take it into T-Mo to see if I can get a new one, but it would be much more convenient if I can just get this one working. I will be really disappointed if I can't get this thing back up AND T-Mo refuses to take it back, but at the very least it can run CyanogenMod, so I will still have an awesome phone. Just disappointing that it will be all jacked up. I actually have been pleasantly surprised with CM in the few days that I have been forced to use it. The main deal breaker for me when I first tried it was the lack of Motion Launch, and a few other features, but now those features are present, making it actually decently usable for me. Anyway... Hopefully whatever happens, I can get this whole issue resolved. :fingers-crossed:
[T-Mobile HTC One (M8)] Garmig:
PM sent.
[T-Mobile HTC One (M8)] :
Unfortunately, I am afraid I have tried just about everything and my phone is permanently messed up. The good news is I erased the OS, called T-Mobile and told them it wouldn't boot up, and I should be getting a replacement device very soon. Thank you to everyone who tried to help. I really appreciate it.
[T-Mobile HTC One (M8)] aimfire72:
Dude... ugh! That really needs to be in the OP, lol!

Been trying to get this ruu.exe to work all night, had my bootloader unlocked! I relocked it, worked on very first try, haha.

Thanks for all of your help though, I appreciate it. :)
[T-Mobile HTC One (M8)] BlueCross:
will flashing the ruu return me to s-on?

If not, can I simply use fastboot oem unlock to reunlock the bootloader after the install? I'm coming back from the GPE conversion....
[T-Mobile HTC One (M8)] Garmig:
No, the RUU won't return the device to S-ON state.

I didn't have to relock the bootloader to run the RUU and after the installation the bootloader still was unlocked.

(You can only unlock the bootloader via HTC Dev. The command that you mentioned is for the nexus devices.)
[T-Mobile HTC One (M8)] dipole:
If I flash the gpe ruu, could I just flash the T-Mobile ruu to get back to stock? I was originally tmobile
[T-Mobile HTC One (M8)] Garmig:
Search the thread, I think that you have to downgrade the bootloader.
[T-Mobile HTC One (M8)] Tidbits:
That's what I had to do kind of. I had to flash the Stock non GPE bootloader then flash the RUU. If wouldn't let me do anything else until I did just that.
[T-Mobile HTC One (M8)] dipole:
Do you have a link for that bootloader? I searched this thread, looks like all bootloader questions revolve around locked vs unlocked
[T-Mobile HTC One (M8)] Garmig:
I have no bootloader in this thread but you can find one here http://xdaforums.com/showthread.php?t=2715490

and here http://xdaforums.com/showthread.php?t=2754063
[T-Mobile HTC One (M8)] beats4x:
Could someone post the full (expanded) 1.57.531 firmware zip? The RUU fastboot flashable one. The one in the original thread 404's, and I can't run an RUU as I'm on ubuntu. Thanks in advance
[T-Mobile HTC One (M8)] Garmig:
I don't have that file, [MENTION=4174733]Behold_this[/MENTION] is the creator and only him can provide it.
[T-Mobile HTC One (M8)] Behold_this:
[MENTION=4884973]beats4x[/MENTION] I pulled the link to the expanded package for personal reasons and don't want it reposted, however, either of the other two packages will work fine. Thanks for understanding.
[T-Mobile HTC One (M8)] Garmig:
I've removed it, because users with S-ON devices kept complaining about the zip not flashing. If your device is S-Off I can provide you the link.
[T-Mobile HTC One (M8)] Garmig:
[MENTION=5471909]TheBestEver[/MENTION] here you go:

http://www.androidfilehost.com/?fid=23487008491965855
[T-Mobile HTC One (M8)] Garmig:
Use the 1.57... firmware and with 7 zip open the archive and delete all except the android info, radio and rc data files. Then flash the zip via RUU mode.

Commands:

Place the firmware file in your adb folder

Hold shift and click with the right side of mouse

Click open command here in the contextual menu.

adb reboot bootloader

fastboot oem rebootRUU

fastboot flash zip (the name of the firmware file) zip

and again the last command

Then fastboot reboot-bootloader( check if the radio change)

fastboot reboot.
[T-Mobile HTC One (M8)] ILowry282:
Can I flash one of these T-Mobile radios to my converted GPE?
[T-Mobile HTC One (M8)] ppgregory:
Some international users claim that the preload folder in the data partition (that contains calculator and flashlight apps) needs to be intact along with the original bootloader to accept an ota. Is this the case with T-Mobile otas as well?

I accepted the last ota before unlocking, rooting and s-offing so I wasn't sure.
[T-Mobile HTC One (M8)] TheAnarchist1:
[MENTION=1131176]Garmig[/MENTION]: While attempting to manually flash the radio.img through fastboot (both in the bootloader and in RUU mode) I continue to get FAILED (remote: not allowed)

I am using the following command 'fastboot flash radio radio.img'

I have a T-Mobile m8, unlocked and s-off'd with firewater

What am I doing wrong? Something corrupt?
[T-Mobile HTC One (M8)] Garmig:
Try this:

Rename the radio to "radio_firmware" and copy it to the root of the sdcard.

Then

do it via adb in recovery:

dd if=/sdcard/radio_firmware.img of=/dev/block/mmcblk0p20

Shared from Google Keep
[T-Mobile HTC One (M8)] Behold_this:
Sorry for this off topic but it can benefit a large portion of the m8 community:

If anyone can help with this please post your reply with the pertinent info here: http://xdaforums.com/showthread.php?p=54309178
[T-Mobile HTC One (M8)] treIII:
Is this the latest radio from the 1.57 ota?

Sent from my HTC One_M8 using Xparent Blue Tapatalk 2
[T-Mobile HTC One (M8)] Garmig:
Yes it is.

http://www.androidfilehost.com/?fid=23501681358537507
[T-Mobile HTC One (M8)] TheAnarchist1:
[MENTION=1131176]Garmig[/MENTION]

I just wanted to get back to you and say that what you posted worked for me. I appreciate the help I am still getting the oddest issue though where I will show as having full LTE (T-Mobile) but I am unable to get anything to load. I have tried on a handful of stock based roms and all the same thing. The only way to fix it is a reboot or toggle of airplane mode. Might you know what could be up with that?

Also does the remote: not allowed in RUU and Fastboot mode denote something wrong with my device?
[T-Mobile HTC One (M8)] Garmig:
Did you tried running the 1.57.531.7 RUU?

You can find the link in the OP.

Remember to backup all your files and transfer it to your PC first.
[T-Mobile HTC One (M8)] mcinski:
A question was asked previously that I want to confirm. I followed your instructions and my software number reads: 1.57.531.7 and 1.16.21331931 for baseband version, which matches T-Mobile's support page for the most recent version in the US. However, I am still missing the calculator/flashlight apps after doing this nandroid recovery, are these considered "system apps" that must be there in order to accept the next OTA update?
[T-Mobile HTC One (M8)] Garmig:
The preload folder with the flashlight and calculator apps is posted here in the General section [T-Mobile] Restore Stock Preloaded Data after rooting by [MENTION=522448]Fenny[/MENTION] , you can check there and follow the guide to restore it.

Another way to receive the next OTA is flashing the 1.57.531.7 RUU posted here in the OP.

Cheers!

Edit: Always when I answer I never receive feedback that's why sometimes I just ignore the repetitive questions.
[T-Mobile HTC One (M8)] mcinski:
Sorry for any repetition, I've read through the entire thread and may have overlooked something:

In this case what I did was copy the TWRP for v 1.57.531.7 directly and used that as my backup using TWRP before reverting to stock recovery.

Are you saying that it is most correct to use the 1.12.531.19 backup instead, use firewater to go S-OFF and then use RUU to go back to 1.57.531.7? I have read that RUU is best served with S-OFF otherwise problems may occur.
[T-Mobile HTC One (M8)] Garmig:
Just restore the 1.57.531.7 backup via twrp, root it via twrp too, reboot, open the SuperSU app to finish the rooting process and then you can use Sunshine to S-OFF your device.

Then you can run the RUU if you want.
[T-Mobile HTC One (M8)] TheAnarchist1:
[MENTION=1131176]Garmig[/MENTION]

Hey dude. I tried using the RUU. I get to the install shield, but after I run the RUU.exe as admin, and accept the terms of the licence, it flickers off and I cannot get any further....Sorry to be such a pest!

I re-locked my bootloader, and of course am S-OFF
[T-Mobile HTC One (M8)] Garmig:
You have htc sync manager installed?

If yes, uninstall htc sync and left the drivers.

If not, install it and then uninstall htc sync and left the drivers.

restart the PC and try.

Or

You can try updating your phone with the ROM.zip extracted from the RUU via fastboot commands:

Place the ROM.zip in your adb folder

connect your phone to PC via USB

While your adb folder is open, hold shift key and right click on a blank space and select "open command window here"

then type

*adb reboot bootloader

*fastboot oem rebootRUU

*fastboot flash zip rom.zip

and again if shows an error

*fastboot flash zip rom.zip

*fastboot reboot

Let me know how it goes.
[T-Mobile HTC One (M8)] TheAnarchist1:
I did not have HTC Sync installed [MENTION=1131176]Garmig[/MENTION]

I just tried to install sync, uninstall it only leaving the driver installer, and tried again (this time using supercid to change my cid

Once again. I accept the terms in the installshield installer, and it just exits, thats it. Nothing
[T-Mobile HTC One (M8)] Garmig:
Windows 7 or 8.1?

Also check this I found on [MENTION=1102297]Sneakyghost[/MENTION] thread:
[T-Mobile HTC One (M8)] TheAnarchist1:
8.1 Surface Pro 3

I suspect that might be the issue....

Trying manual mode now with the rom.zip

---------- Post added at 08:23 PM ---------- Previous post was at 08:19 PM ----------

Tried manual mode [MENTION=1131176]Garmig[/MENTION]

Remote 32 header error failed (both times I tried)
[T-Mobile HTC One (M8)] Garmig:
What about if you change back to the T-Mobile CID and try again?

fastboot oem writecid T-MOB010

fastboot reboot-bootloader

.....
[T-Mobile HTC One (M8)] TheAnarchist1:
[MENTION=1131176]Garmig[/MENTION]

Installing the redistributibles got the .exe working! It seems to be doing its thing now! I will update you when it finishes! :victory:
[T-Mobile HTC One (M8)] jororosco:
So i have a t-mobile m8 and I used the google play edition ruu to convert it, but now I want to convert back. I keep getting the same errors as above and I even changed my cid back to t-mobile one and I've tried it manually. Help!!

Thanks!