yashsingh1/xdaforums huggingface dataset:
[T-Mobile HTC One (M8)] gamblor01:
Yep and it still didn't work. I even tried launching CMD as administrator and then running it from there, but it didn't give me any extra insight. Oh well. Ultimately, I just went into the stock recovery and ran a data wipe/factory reset and the next time it booted up, it just worked! No RUU required. Now I can avoid booting into Windows for many more months and happily run Ubuntu. :)
[T-Mobile HTC One (M8)] Rhiannon224:
I am rooted, s off, using twrp on lollipop. I wanted to return to stock because I used Jump and got an m9 and need to send the m8 back.

I ran the T Mobile RUU and it failed, I am now stuck on the HTC blackscreen with exclamation points in all 4 corners and can't get into recovery or boot past this screen. How can I recover from this mess? I've never had an RUU fail, it said that it was the wrong firmware for my device but it's the correct RUU. I was stock rooted before the RUU failed. Any help would be appreciated. Thanks.
[T-Mobile HTC One (M8)] thebeastglasser:
Does anybody have the RUU zip file you can flash with fastboot commands? I've never had good luck with the automated Windows executables.

EDIT: Just found this: http://xdaforums.com/showthread.php?p=52806314#post52806314

Unfortunately it 404's on the expanded firmware, which is the one I need. Anybody have an alternative link or mirror?
[T-Mobile HTC One (M8)] Veseliq:
If I'm converted to GPE (s-off, rooted rom), relocking the bootloader, set CID & MID to original values and flash the latest T-Mobile RUU is all that is needed to go back to stock, right?

By stock I mean stock firmware, OTA capable (unless I remove bloatware). Not S-ON (I don't care about S-ON actually).
[T-Mobile HTC One (M8)] Tidbits:
Yes son or soff doesn't matter.
[T-Mobile HTC One (M8)] mjh1978:
How would I unlock the bootloader again then after the update?
[T-Mobile HTC One (M8)] Garmig:
Use the token that you got at HTC Dev or get a new one there.

Did you locked the bootloader to apply the update?
[T-Mobile HTC One (M8)] mjh1978:
Yes, relocked bootloader then ran the RUU.exe file to update. I'm also s-off. Just finished the update. My HBOOT was on a 3. something version which I guess is out dated.
[T-Mobile HTC One (M8)] Garmig:
Ok, so you will need to get a new unlock token at HTC Dev and follow the same procedure as the first time you unlocked the bootloader.
[T-Mobile HTC One (M8)] mjh1978:
Ok so I got a new token from HTC dev and then re-rooted the phone again. Even after all that and the update, my HBOot version is still showing v.3. whatever and not the 4.20 something. Is T-Mobile just behind the other M8 variants?

Sent from my HTC ViperOne M8

with ElementalX 4.05 and s-off!
[T-Mobile HTC One (M8)] gamblor01:
For future reference, you can use these steps to lock and unlock your bootloader extremely easily:

http://www.pocketables.com/2014/07/nondestructively-lockrelockunlock-s-htc-one-m7m8-bootloader.html

As for your hboot, I no longer have an M8 so I can't check but I think 3.X is the latest. What you just updated was your software build. Go to settings, about, software information and verify the 4.20.xxx build there. Should also show under the more option.
[T-Mobile HTC One (M8)] mjh1978:
Ok, yeah I did the whole RUU process and HBOOT is the same as before. Thanks. Basically did it for nothing and had to unlock and reroot the phone. Haha!

Sent from my HTC ViperOne M8

with ElementalX 4.05 and s-off!
[T-Mobile HTC One (M8)] sgalbincea:
Ok, I promise I have searched and read and tried to get a good idea of what I need to do to return to stock for a Jump! upgrade - but I am still not 100% certain on exactly what needs to be done.

- T-Mobile M8

- S-Off via Sunshine

- Bootloader unlocked via HTC Dev

- Philz Touch 6 Recovery installed

- Current ROM is SkyDragon v9

Would like to return to as much stock as possible to prevent any issues with the Jump! upgrade. A concise list of ToDos would be much appreciated, thank you.
[T-Mobile HTC One (M8)] captainreynolds:
As of Sept 10, 2015 - today - what is the latest version of the T-Mobile M8 Radio.img?

Is it T-Mo-Radio-2.22.531.5?
[T-Mobile HTC One (M8)] mariosaraylian:
For TMOUS it is now 4.20.531.5., just released a week ago.
[T-Mobile HTC One (M8)] drumkid:
ok, i'm sorry to bother you, but I've been looking for weeks and can't find an answer. I'm using grafixnyc's GPE rom which is on the latest update, and my wifi keeps dropping or not connecting, and im sure i need the latest radio for tmobile, but for some reason i can't find the 4.20.531.5 radio. i'm stuck with the 4.20.531.4 radio and i'm hoping that's the issue. if you can help, i'd greatly appreciate it. thank you
[T-Mobile HTC One (M8)] mariosaraylian:
Your WIFI problem would not be because of the Firmware in this case. 4.20.531.4 should be just fine with WIFI. You might want to consult the ROM's thread itself and see what the issue might be. the .5 update has to do with security features and I am sure there will release a self flashing version soon we can all use....
[T-Mobile HTC One (M8)] renn9420:
Ok RUU'd my phone to update to 4.20.531.15, everything went fine. Then flashed TWRP 2.8.6.2 CPTB. Still booted up fine. But when I went to install SU then phone stuck on HTC logo. WTF? Any suggestions????

FYI hboot and OS version is updated in bootloader even after I restore backup.
[T-Mobile HTC One (M8)] :
You need the newest TWRP. I believe it is 2.8.7.0
[T-Mobile HTC One (M8)] RandySmith03:
I can install ?

Hi... I have a HTC m8 Rooted and with the CID number T-MOB010 , i can install that stock backup.?
[T-Mobile HTC One (M8)] mjh1978:
I'm on the T-Mobile US variant of the HTC One M8. Can anyone tell me if I'm up to date by version numbers below?

HBOOT-3.19.0.0000

RADIO-1.23.213311491.05G

HTC One M8 SkyDragon 10.2

ElementalX kernel 4.05

Dragon-Fi Audio

S-Off!
[T-Mobile HTC One (M8)] ILoveYouAll:
Hello everyone. I am going to RUU my m8 but I have forgotten how to reunlock my bootloader again? I am S-OFF so I believe the process should be easier. I just need a quick refresh of what to do, please.
[T-Mobile HTC One (M8)] mjh1978:
Found this on first page.

HTC One M8 SkyDragon v10.2

ElementalX Kernel 4.05

Dragon-fi Audio v26

S-off!
[T-Mobile HTC One (M8)] ILoveYouAll:
Yeah, I know those commands. I'm actually trying to re-unlock my bootloader via adb and trying to avoid htcdev at all cost. Sorry for not including the hyphen(-) symbol in the word. Probably looked that i said relock.
[T-Mobile HTC One (M8)] FinnTHidayat:
hello, im new to htc one m8, i wanna ask if i can just flash this in twrp recovery? i really want to go back to the original rom because in the custom rom i had can't access my internal storage and i don't know anything about flashing things like this in HTC. i don't know about RUU etc (because from my previous phone i just use flashtool to flash firmware, but this time its really hard and i can't understand anything at all :crying: ) and i already downloaded it but it doesn't progress at all. so i wanna try this to just flash it in recovery.
[T-Mobile HTC One (M8)] Garmig:
Yes, you can flash it in recovery if you have a T-Mobile US CID or SuperCid
[T-Mobile HTC One (M8)] FinnTHidayat:
i try using the restore backup and now it's finally went back to lollipop t mobile, BUT there is some problem, first it doesn't connect to my wifi at all (it said connecting for a long time and then it say avoided due to poor connection but other device work fine) and it keeps crashing after every reboots :crying:

i'm sorry, but can you help me with this, i just want my htc m8 to completely return to the way it was :crying:
[T-Mobile HTC One (M8)] Garmig:
I recommend you to run the RUU, it's easy here are the instructions: Manual system update instructions:http://www.htc.com/us/support/htc-one-m8-t-mobile/news/

If you are outside of Wi-Fi coverage, or the update is not found, you may perform a manual system update via USB connection to a PC. This process requires that you download and install HTC Sync Manager first in order to get the proper drivers. If you do not have HTC Sync Manager installed already, you may download the software fromhttp://www.htc.com/www/software/htc-sync-manager/.

WARNING: Performing the system update manually will delete all information from the device. Ensure all information is backed up before proceeding. See the Help & How To section of this website for more information on backing up your device contents.

Performing the ROM Update:

1.*****Download and save the HTC One™ for T-Mobile ROM update to your PC.

2.*****Connect your device to your PC via the supplied USB cable.

3.*****If the device is not recognized by the PC, ensure you have HTC Sync Manager installed and then disconnect and reconnect the device from the USB cable.

4.*****Once the device is properly recognized on the PC, locate the HTC One™ for T-Mobile ROM Update that you downloaded. Double-click on the file to launch the system update wizard.

5.*****Follow all of the system update wizard instructions shown on your PC.

6.*****Once the update is complete, click*Finish*in the Wizard and the device will reboot.

7.*****Once the device reboots, the initial setup wizard will appear.

8.*****Once the initial setup process is complete, openPlay Store, tap the*Menu*icon, then select*My apps*and ensure all installed apps are updated.

9.*****After initial setup and updating all apps, the device is ready for use.

Note: If the ROM update wizard fails to recognize the device, close the wizard and then follow the steps below:

·*********From a powered off state, hold*VOLUME DOWNwhile powering on the device.

·*********Use the volume buttons to scroll to*FASTBOOTand then press the*POWER*button to select it.

·*********Connect the device to the PC while in this state and attempt the ROM update again.

To exit FASTBOOT manually, use the volume keys to navigate to*REBOOT*and press the*POWER*button to select it.

Here is the link to download the latest one:

http://dl3.htc.com.s3.amazonaws.com...G_20.57.4198.02_F_release_446229_signed_2.exe
[T-Mobile HTC One (M8)] FinnTHidayat:
thank you very much, i will try it and hope this will fix everything :)

one more question, do i really have to lock the bootloader and S-Off?

i can relock the bootloader using All in one toolkit HTC M8 but i don't know how to S-Off..

nevermind, the new RUU works like a charm! no problems at all and my wifi works just like the way it was :D
[T-Mobile HTC One (M8)] xeper:
I'm on 4.20.531.5, rooted, I'd like to un-root when the 6.0 update rolls out, but I didn't take a TWRP backup before I rooted.

What files I need to roll back and where can I get them?
[T-Mobile HTC One (M8)] MGSpangler:
Ok, can someone please help me select which stock recovery I need to do the 4.20.531.5 RUU? I've searched everywhere, but nobody has actually clarified which one to use. I tried it already without the stock recovery and it stopped at 28% and just kept reading, "sending...................."

I'm on ARHD 41.

Here is what I'm getting from fastboot:

(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) 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: 6768a7b1

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

Thanks, in advance.
[T-Mobile HTC One (M8)] mateonexus4ever:
S-on back to stock

Hey everyone,

Just a quick question about s-on. I have an unmodified m8, everything stock (recovery, no root, s-on, locked bootloader). I'm starting to have massive battery problems and a simple factory reset has not fixed this so I want to RUU back to any firmware, either the same, earlier or newer, I don't really care. I'm worried however as I have mostly read that I can't RUU unless I'm s-off. I thought though that was only if you wanted to downgrade? or is that if I want to flash ANYTHING? So essentially is there no way to RUU any firmware unless I'm s-off is my question?
[T-Mobile HTC One (M8)] harihacker:
You cannot downgrade unless you are s-off. You can Ruu the latest one..but i doubt that it will help in anyway. May be the upcoming MM update would help you.
[T-Mobile HTC One (M8)] mateonexus4ever:
Thanks - so I just need to download the RUU for the exact same firmware that it's on and then run the RUU correct? I don't need to worry about doing anything else? Yeah it may not fix anything but I just want to rule out any software issues. Also can I upgrade while s-on? I'm on 5.0.1 currently. I haven't checked yet but I'm assuming their is an update out there.
[T-Mobile HTC One (M8)] harihacker:
Yes you can.
[T-Mobile HTC One (M8)] joshp8a:
Looking for TMo-M8-4.20.531.5 (CID T-MOB010)

Her Garmig and friends... When trying to get a stock nandroid for T-MOB010 - 4.20.531.5 for the HTC M8 with TWRP 2.7.0.2 I couldn't find the backup at start. I could see the files via ADB but when pulling just didn't work; but haven't had any luck. I hit permission errors on file (read only system file, since I moved the files from TWRP/backups to TWRP) and cannot find file/folder errors. So I upgraded to TWRP 2.8..4.0 where I could now change permissions but still no luck pulling via ADB and since I moved the files via ES File Explorer I still hit the read only file errors. Anyways... any idea on how to be able to pull or moved them back TWRP/Backup and see if that allows me to restore stock?

If no then any idea when the 4.20.531.5 will be available so I can try and restore with that? I know there is a 4.20.531.4, I would like to think there are no issues if restoring that version BUT reading along the XDA threads, it says the CID and Version must be the same, is this true?

UPDATE: I finally was able to pull the files from the TWRP backup. I am trying now to generate a rom.zip so I can test it and see if it works for everyone. The output for dir shows the files I got.

02/16/2016 05:34 PM 1,470 .twrps

02/16/2016 05:47 PM 1,611,533,824 data.ext4.win000

02/16/2016 05:42 PM 51 data.ext4.win000.md5

02/16/2016 05:42 PM 703,581,184 data.ext4.win001

02/16/2016 05:40 PM 51 data.ext4.win001.md5

02/16/2016 05:40 PM 1,050,919 recovery.log

02/16/2016 05:40 PM 1,608,335,360 system.ext4.win000

02/16/2016 05:35 PM 53 system.ext4.win000.md5

02/16/2016 05:35 PM 509,536,256 system.ext4.win001

02/16/2016 05:34 PM 53 system.ext4.win001.md5

02/11/2015 08:58 PM 65 system.info

I found a post on XDA here but the files I got don't seem to match the one described on the TWRP method. I checked your ZIP for the stock for TMO 4.20.531.4 and found some files similar to yours but still not quite sure if its just matter or moving them to a zip file, take out the md5 files and save the md5 on a separate file for MD5 checking. Any reference to the steps would be great.

I am still interested on getting the ROM for 4.20.531.5 in case I messed up somewhere.

UPDATE 2: After erasing the OS and not able to flash the TMO 4.20.531.4 from original post I finally was able to get it back to stock. For reference, HTC has the RUU 4.20.531.5 already out there on this LINK. After spending couple of days on this I'll wait a little bit to try and flash another ROM later.

Thanks in advanced,

JP
[T-Mobile HTC One (M8)] PunishedSnake:
My att m8 is s-on but I was wondering if I could use a nandroid backup as a rom to get the tmobile rom and wifi calling?
[T-Mobile HTC One (M8)] alvahroee:
May someone upload the latest marshmallow T-Mobile recovery ? Please and thank you
[T-Mobile HTC One (M8)] Behold_this:
http://dl3.htc.com/application/RUU_M8_UL_M60_SENSE70_MR_TMOUS_6.20.531.5.exe
[T-Mobile HTC One (M8)] DROITURK182:
[MENTION=4174733]Behold_this[/MENTION] do you know how to extract the firmware.zip and take out the stock recovery, and make it with no red text?
[T-Mobile HTC One (M8)] Behold_this:
To access the firmware.zip the RUU will need to be decrypted. There is a thread in HTC A9 forum that has detailed instructions on how to do so.

Edit:

http://xdaforums.com/one-a9/development/decrypt-ruu-ruu-decryption-script-htc-t3282562
[T-Mobile HTC One (M8)] DROITURK182:
Well it seems that you have to use a Linux distro to decrypt a RUU, which I don't have Sh!t....
[T-Mobile HTC One (M8)] Behold_this:
Firmware.zip you're looking for was already posted by [MENTION=1102297]Sneakyghost[/MENTION]

https://www.androidfilehost.com/?fid=24438995911974010

Go thank him!
[T-Mobile HTC One (M8)] DROITURK182:
I believe that's the whole ROM. just need the firmware. we need someone to decrypt it to get the firmware.
[T-Mobile HTC One (M8)] Behold_this:
It is. Misunderstood your issues. I thought you couldn't even get to the zip. I thought you said you couldn't extract the RUU zip in the other thread. This the zip you need to decrypt and I posted a link to the tool. No other way to do it.
[T-Mobile HTC One (M8)] DROITURK182:
A forum member sneakyghost extracted it from the RUU but I don't have a Linux distro to use the tools to decrypt it to get the firmware. Need help from the xda community on this.
[T-Mobile HTC One (M8)] scifan:
Nandroid of the new T-Mobile 6.20.531.5 (Boot and System only) - unmodified.

T-Mobile 6.20.531.5 nandroid
[T-Mobile HTC One (M8)] PunishedSnake:
I can merely nandroid over my 5.0.2 rom?
[T-Mobile HTC One (M8)] scifan:
I'm unsure. If I were certain about the partitions for the radio or recovery... I've made a backup of what I think is the radio and recovery, but am concerned about posting it and having someone brick their device...
[T-Mobile HTC One (M8)] AnAznBoy9724:
I restored the 4.20.531.4 nandroid backup when I was previously on SkyDragon Lollipop. Then I flashed the recovery image given by this link https://www.androidfilehost.com/?fid=95916177934527414. The phone booted up fine and the OTAs installed. Now I am at Marshmallow. However, my WiFi is always turning off randomly. Also, when I do "adb reboot recovery", I get a red triangle. Also, my software status in the bootloader is modified, even though I am on stock. Why? Do I need to run the RUU to officially update everything? I also cannot download anything from the Play Store.
[T-Mobile HTC One (M8)] bradley_e_smith:
The wifi issue is typically a firmware issue not matching (from my experience of what I have seen posted on xda). Below is the firmware on my phone that was OTA and running. I am currently not having any issues with WIFI (now bluetooth with my car since update is a different story).

Oh also the red triangle is the delivered recovery. Try the fastboot boot trwp from the boot loader.

M8_UL PVT SHIP S-ON

HBOOT03.19.0.0000

RADIO-1.29.213311491.05G

OpenDSP-v51.2.2-00593-M8974_FO.1015

OS-6.20.531.5

eMMC-boot 2048MB

Mar 1 2016, 00:59:13.24432

For others (not sure how everyone does this) - historically I have backed up my recovery partition and a non-rooted backup so that I can go back to stock anytime. Since Lollipop, I have actually not installed TWRP, but used the fastboot boot twrp.img method. This way I still have the stock recovery inplace but allows me to switch between stock ROM (don't install super su on restore) and ones off of XDA.
[T-Mobile HTC One (M8)] Spud37:
How do you check what radio you have, and does this thread have the latest or where do i need to go to find it.

Also i am kinda assuming i can just flash in TWRP if that is not the case do i need to use fastboot?
[T-Mobile HTC One (M8)] monkeypaws:
Looking for 6.0 recovery. I'm already on 6.0 firmware but didn't think I'd be so difficult to find it. I am coming from gpe ROM not ruu so I haven't messed with my cid/mid. Couldn't fit the recovery after 2 hours searching on the main HTC one thread. They just don't have it listed. Any help
[T-Mobile HTC One (M8)] ViaJCE:
I've no idea if anyone is still paying attention to this thread, but I've got a situation where my M8 is stuck in the fastboot menu. Just woke up one night to find it in that state. The phone IS NOT rooted or modded in anyway,

so I'd like to know if I'll be able to reinstall a ROM on it using the instructions here.

Thanks in advanced.
[T-Mobile HTC One (M8)] Krakozawr:
Hello!

I'm looking for stock 4.20.531.5 TWP backup, but without success. Help please!
[T-Mobile HTC One (M8)] setezacaron:
A " simbol is missing in the link

[URL="https://www.androidfilehost.com/?fid=95916177934527414]Tmo-M8-4.20.531.4-recovery.img[/URL]

to close the url.
[T-Mobile HTC One (M8)] dcshoecomp:
I got tired of trying to find the latest T-Mobile radio so i can flash in recovery so i decided to go ahead and try my hand at making one. The version number of the tmobile radio is 1.29.213311491.05G I used this radio to flash it on a stock sense dev edition rom. I do have supercid not sure if that makes a difference but i was unable to do a fastboot flash radio so i made it so it can be done in twrp recovery.

Tmobile_Radio_1.29.213311491.05G.zip
[T-Mobile HTC One (M8)] quinxy:
Not sure if this helps you, but to power off when stuck I had to press off and hold BOTH volume buttons down. After 10s it would shut off.
[T-Mobile HTC One (M8)] Garmig:
In OP I've added the steps to use the backup.
[T-Mobile HTC One (M8)] monomojao:
It seems like so much work to go back to stock with locked bl and unrooted. i just needed to return my phone lol eff it then..

Not sure why I decided to root a brand new phone :/
[T-Mobile HTC One (M8)] PunishedSnake:
T-Mobile radio usable in gpe?
[T-Mobile HTC One (M8)] pcriz:
Do you mean you would intend to pull the radio from the sense build and flash in gpe?

Should just work "out of the box" like buying a nexus device and plugging in your T-Mobile SIM.
[T-Mobile HTC One (M8)] treIII:
Just got rid of the tampered but it still says s- off. Is there any way to get it back to s- on? Thanks

Sent from my HTC One_M8 using Xparent Blue Tapatalk 2
[T-Mobile HTC One (M8)] treIII:
My phone is s off with the boot loader locked. Should I still be able to flash the stock recovery? I've tried several Times with the boot loader unlocked and locked and the computer says sending and that it successful but I still have no recovery at all. Thanks . I need to take the phone to a corporate store to exchange it.
[T-Mobile HTC One (M8)] monomojao:
Would these steps work coming from GPE?

I have S-Off and Unlocked bootloader.

I just want to get back to stock and unrooted honestly.
[T-Mobile HTC One (M8)] otariq:
If you did the ruu conversion then no. Your system partition has changed. There's a guide in that same thread in the second post on how to get back to sense. But if you just flashed gpe then restoring the backup will work
[T-Mobile HTC One (M8)] otariq:
Does this backup have the calculator app? I can't remember if I erased data after restoring this back up or before. If someone could tell me before I download it again it'd be much appreciated. Thanks.
[T-Mobile HTC One (M8)] Garmig:
No, it does not include the preload folder/apps

you can restore them here:Restore Stock Preloaded Data
[T-Mobile HTC One (M8)] chivamex10:
does anybody have the boot.img? cheers
[T-Mobile HTC One (M8)] Garmig:
Sure, here is the stock boot.img

Saludos.

http://www.androidfilehost.com/?fid=23329332407585781
[T-Mobile HTC One (M8)] dchurch85:
Ok, I'm S-Off, rooted, unlocked, TWRP recovery. I want to go 100% stock. Which steps should I do to unroot, relock, S-on, stock recovery, and no tampered flag? Should I follow the link above to take the flag off first? I don't want to mess anything up by doing the wrong steps first.

---------- Post added at 02:59 PM ---------- Previous post was at 02:52 PM ----------

OK, my tampered flag is gone. Is it just as simple as me flashing the rom in the OP, then flashing stock recovery, and then relocking to get to 100% stock?