yashsingh1/xdaforums huggingface dataset:
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
The RUU will update you directly to Marshmallow, which is the final version. There won't be any more OTA updates for this device.

RUU is a complete factory image (re-writes all partitions). Everything will work as it is supposed to.

RUU is probably better. Less steps. As after doing the TWRP restore (if you can get it to work) you will still have to do 3 OTA update to get to the final Marshmallow version.
[One (M8) Q&A, Help & Troubleshooting] Salman Akbar:
Deleted
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
No .. won't work.

You need to restore 3.32.708.4 and after restore install 3.32.708.4 stock recovery then OTA to 4.18.708.12 and then OTA 6.16.708.1

(No need to relock bootloader)
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
If viewing on a computer, just click the Edit button. Then delete the undesired portion of the post.

Also, please don't quote huge portions of the original guide. It serves no purpose (we know how to look at the top posts/guide) and just clutters up the forum (makes it a real pain to scroll down to actually read your question). So please delete those as well.
[One (M8) Q&A, Help & Troubleshooting] Salman Akbar:
Please tell me, Does 0P6B63000 represents Asia.??

CPU Clock Speed is 2.46 GHz (checked through CPU-Z), is my phone really Asian or MID is changed.??

Please give me a link to the twrp backup file "Marshmallow" , "Asian"

I think that the software that my phone is currently running is European.. FM Radio turns on but it gives a message "No Channels Were Found"

ONLY i want on my phone is "MARSHMALLOW" , "ASIAN"..
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Yes.. it is a HKG device, not EU.

I'm not going to repeat again what you need to do as I already wrote above on how to be on Marshmallow.
[One (M8) Q&A, Help & Troubleshooting] Salman Akbar:
Thanks.. its an easiest way
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
You didn't need to delete your entire post (2433 above), just the part that was repeated/redundant, and the quote of the top post/guide. You can leave well enough alone at this point. No need to edit any further.
[One (M8) Q&A, Help & Troubleshooting] arsal_93:
I have few questions regarding nandroid upgrade.

Mobile Data ---- S-OFF, Bootloader Locked, System version : Official, M8_UL (European M8)

- First, i am on Kitkat and i have a supercid, i want to know if can directly flash the marshmallow upgrade or first upgrade to lollipop then move on to MM

- Can i upgrade my software through nandroid backup or should i use RUU installation method ? I am a little confused since i have supercid and want to know if RUU is the best method or nandroid backup ?
[One (M8) Q&A, Help & Troubleshooting] lucyr03:
RUU, because you need marshmallow firmware too.
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Are you planning to stay rooted? If so, you could just flash a no-wipe modified firmware.zip then flash a newer ROM since you are S-Off. That would be best if you are going to stay rooted.

If you are planning to go back to stock, then an RUU would be the way to go.

I'm going to assume you want rooted

Download this and flash it via fastboot or via the SD card method (that'll update you to the latest/last firmware version), then flash the newer version of whatever ROM you are running.
[One (M8) Q&A, Help & Troubleshooting] arsal_93:
First, i wanted to know why you assumed i was rooted? Although i am rooted, but how did you made the conclusion?

Second, I was thinking that if i would flash a nandroid backup of my current version of my software (3.28.401.6) that would get me rid of the root and allow me to get OTA's right ?

Third, whenever i try to apply OTA it says that there are some "unexpected contents" i am curious to know if that points towards the fact that i rooted, right?
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Because you are not getting OTAs I assume you are rooted. Also S-Off. Also on XDA

And there is no reason to go back to stock and update via OTA since you are S-Off.

You can either flash the latest no-wipe firmware (the best choice ~ the biggest advantage to S-Off imo) to update if you are staying rooted

Or if you want to update officially, there is no reason to flash back to your current version via RUU and update via OTA. Just RUU to the newest version (an RUU will wipe your device)
[One (M8) Q&A, Help & Troubleshooting] arsal_93:
Also, i know there is folder in the root storage called "data" i wanted to know if flashing ruu does that folder gets rewritten again or not ?

Side Note: My Duo camera is not calibrated therefore i was thinking that if i reflash through ruu it would get rewritten again and the duo camera would get calibrated.
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Running an RUU will wipe EVERYTHING
[One (M8) Q&A, Help & Troubleshooting] arsal_93:
I recently downloaded a twrp backup but it doesn't contain a data contain a data partition to restore, only boot and system partition. Should i still format the data partition ?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Which twrp backup and from where ?

What kind of data you're talking about ?

Most of my backups has preload data in it.

Nobody will give you a twrp backup with personal data in it

Those data in storage ? Nothing to do with backup and RUU. Those data will get written depends on what app you have running.

Why don't you follow all the advise of using RUU or using firmware above ? Save all the hassle ..
[One (M8) Q&A, Help & Troubleshooting] arsal_93:
This is for another htc m8

"6.12.161.4"

that's the twrp backup i downloaded. It contains only the boot image and system image and not the preload data image that should be provided with it.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
That's user contribution, not mine. System & boot should be enough if your current rom already has preload data.

If no, easily can be fixed by restoring a version lower then do OTA to current, the preload data will be restored by OTA.

Example - restore 4.19.161.4 backup (which also may not have preload), then OTA to 6.12.161.4, you'll get fully 6.12.161.4 stock with preload data.
[One (M8) Q&A, Help & Troubleshooting] arsal_93:
Ok, then i have two questions in mind

Q1: As the backup in question doesn't have preload data, therefore if i want to restore the backup should i format data partition in TWRP or should i only format boot and system partitions?

Q2: Can you tell me what is preload data and will the OS operate without it?

Also, if i restore a previous backup wouldn't that be wrong as the hboot version might not match and i might brick my device.

And i have found this website called GEM FLASH Firmware where i have found an RUU for Vodafone branded HTC ONE M8, i want to know if you have any experience of this site and is it reliable?
[One (M8) Q&A, Help & Troubleshooting] Arpit.ac:
i have bricked my device. Plz help me get a twrp backup.

< waiting for device >

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.09.20.1112

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

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

(bootloader) serialno: HT*****************

(bootloader) imei: 99*****************

(bootloader) imei2: Not Support

(bootloader) meid: 99000499393587

(bootloader) product: m8_whl

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B70000

(bootloader) cidnum: SPCS_004

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: 205bdca3

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.010s
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Sprint device. There are no Sprint backups here. You need the RUU file from HTC. Check Sprint support pages.
[One (M8) Q&A, Help & Troubleshooting] Arpit.ac:
I just need my phone to work(for surfing and playing games). It would be ok if the radio does not work. So for this purpose help me find a twrp backup, which i can simply flash and bring my m8 to life.

I also tried to S-off it, but im unable to get firewater file and sunshine is a paid app.

Thanks in advance.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
You can use a flashable rom.zip too instead of twrp backup. Just install it in twrp as how you install a rom.

Get from here on post #2 - https://xdaforums.com/showthread.php?t=2729173

If you need RUU - read post #1 there.

This thread is for GSM only.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Firewater won't work anymore. It doesn't matter if you find the file or not. Firewater required on online server component, which the developer's took offline in Dec 2014.

Sunshine is basically your only option if you want s-off. But you don't need s-off to get your phone working. In fact, I don't see much of anything s-off gets you (in trying to recover the phone) except the brick risk is flashing a non-Sprint RUU/firmware.
[One (M8) Q&A, Help & Troubleshooting] Arpit.ac:
I tried insertrom and badboyz rom but im getting a bootloop. (and my device is S-ON)

---------- Post added at 06:28 PM ---------- Previous post was at 06:23 PM ----------

I dont know how but my device is alrready bricked, and i am unable to flash any ruu.exe (its giving usb connection error). Thats y im searching a twrp backup file.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
What do you mean by "radio"? You need the radio baseband, for phone and data to work. Unless you are talking about the FM radio receiver?
[One (M8) Q&A, Help & Troubleshooting] Arpit.ac:
I am completely ok with phone and data not working. I would use wifi for surfing and playing games.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
There is nothing so far to make me believe the radio would not work. Unless there was some problem, that got you to the "soft brick" (no boot) condition. You never did tell us exactly how you got to this point.

And we're pretty far off topic here, as this thread doesn't support the Sprint version, so another thread may be justified.
[One (M8) Q&A, Help & Troubleshooting] Arpit.ac:
what if i flash a different version (other than sprint) of twrp backup? Would that unbrick the phone?
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Won't work. Sprint uses different kernel. The backups here will result in no boot.

I suppose there is a chance that your ROM (system partition) is corrupt or damaged, but kernel (boot.img) is okay. And that you can restore a "GSM" system backup, but not restore the boot.img (keep the current boot.img). But I think that is a big "if" and we're grasping at straws for really no good reason (and probably wasting time).

You can flash a custom ROM, which supports the Sprint M8, if you don't want to use the RUU. But again, you haven't described how you got to this point, if there were any other original issues, or what exactly you are trying to accomplish (keep user data, be stock vs. custom ROM, or if you even care about those factors at all). So it's hard to recommend what is best in your case, to recover the phone and get it booted.
[One (M8) Q&A, Help & Troubleshooting] BBBenj:
Hi!

I have a HTC M8 with these infos:

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.26.21331147A1.16G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 4.19.73.5

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

(bootloader) serialno: ***********

(bootloader) imei: **********

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: ORANG202

(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: 2baca9c4

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

I can't update through OTA, and I didn't succeed to find a RUU that works. I'd like to start from a stock ROM, not necessarely from an Orange ROM as soon as it's in french.

What can I do, please?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
I don't keep track for ORANG202 as no one ever ask for it before.

Further more I can see [MENTION=333497]migascalp[/MENTION] is/was active maintaining ORANG202 in other site.

You can get your needed file from here : http://www.forum-generationmobiles....lection-de-roms-officielles-en-zip-htc-one-m8

You should be able to use m8_4.19.73.5_FullWipe-signed.zip from there which I believe is a RUU.zip

It's not RUU.zip .. it's a flashable zip. Install it in twrp, it get your device back to stock.
[One (M8) Q&A, Help & Troubleshooting] migascalp:
0P6BIMG_M8_UL_M60_SENSE70_MR_Orange_FR-B2B_6.14.73.4_Radio_1.29.214500021.24_2G_20.73.4196t.01_F_release_468551_signed_2_4.zip

MD5 d348a90913c6a70f9261f4c205badaa0
[One (M8) Q&A, Help & Troubleshooting] BBBenj:
Thank you both, I'll try right now, beginning with the second solution. I'll post the result.

---------- Post added at 19:21 ---------- Previous post was at 18:33 ----------

I think there is a problem...

E:\Téléchargements\Android\HTC One M8\0P6BIMG_M8_UL_M60_SENSE70_MR_Orange_FR-B2B_6.14.73.4_Radio_1.29.214500021.24_2G_20.73.4196t.01_F_release_468551_signed_2_4.zip: L'archive est corrompue

E:\Téléchargements\Android\HTC One M8\0P6BIMG_M8_UL_M60_SENSE70_MR_Orange_FR-B2B_6.14.73.4_Radio_1.29.214500021.24_2G_20.73.4196t.01_F_release_468551_signed_2_4.zip: Erreur de somme de contrôle dans E:\Téléchargements\Android\HTC One M8\0P6BIMG_M8_UL_M60_SENSE70_MR_Orange_FR-B2B_6.14.73.4_Radio_1.29.214500021.24_2G_20.73.4196t\dzdata_32g.img. Le fichier est corrompu

E:\Téléchargements\Android\HTC One M8\0P6BIMG_M8_UL_M60_SENSE70_MR_Orange_FR-B2B_6.14.73.4_Radio_1.29.214500021.24_2G_20.73.4196t.01_F_release_468551_signed_2_4.zip: L'archive est corrompue

OK it's in french, but I guess you understand!

But I checked the MD5, and it's OK. Can you help me, please?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Use this guide on how-to install a RUU zip but use the above zip not the one in the guide.

https://xdaforums.com/showpost.php?p=64926626&postcount=6
[One (M8) Q&A, Help & Troubleshooting] BBBenj:
Hi!

Sorry for the delay, I didn't have enough time to do it well.

So, I tried tonigh. I followed the guide you gave me. I renamed 0P6BIMG_M8_UL_M60_SENSE70_MR_Orange_FR-B2B_6.14.73.4_Radio_1.29.214500021.24_2G_20.73.4196t.01_F_release_468551_signed_2_4.zip to RUU.zip and here is the result:

E:\Téléchargements\Android\platform-tools>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.016s]
finished. total time: 0.020s

E:\Téléchargements\Android\platform-tools>fastboot oem rebootRUU
...
(bootloader) Start Verify: 3
OKAY [ 0.028s]
finished. total time: 0.029s

E:\Téléchargements\Android\platform-tools>htc_fastboot flash zip RUU.zip
sending 'zip'... (53967 KB) OKAY
sending time = 2.921 secs
writing 'zip'... (bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
(bootloader) rom parsing start ...
(bootloader) rom parsing finish ...
(bootloader) zip header checking...
(bootloader) zip info parsing...
FAILED (status read failed (Too many links))
Execution time is 7(s)

E:\Téléchargements\Android\platform-tools>fastboot reboot-bootloader
rebooting into bootloader...
FAILED (status read failed (Unknown error))
finished. total time: 9.613s

Failed... What can I do? I must admit it overwhelms me. Do you have any clue, please?
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Try it via your extSD. Rename the RUU.zip to 0P6BIMG.zip, put it onto your SD card (must be formatted to FAT32 ~ if your card is 32gb or less, it probably already is), then boot to bootloader and follow the on-screen prompts (vol up to confirm the flash, power button to reboot when it's done ~ super easy)
[One (M8) Q&A, Help & Troubleshooting] BBBenj:
Thanks. I tried, but it failed...

Here is what I can read on my phone screen:

SD Checking...
No gift file...
Loading...[0P6BDIAG.zip]
No image!
Loading...[0P6BDIAG.nbh]
No image or wrong image!
Loading...[0P6BIMG.zip]
Loading...[0P6BIMG.nbh]
No image or wrong image!

And it returns to HBOOT...

Sorry...
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
That usually happenes when 0P6BIMG.zip is wrongly named as 0P6BIMG.zip.zip due to windows extension is hidden.

Anyway I don't think you can install the RUU which is Marshmallow directly without flashing the 6.14.73.4 firmware first.

For now the best is use the twrp flashable backup as mentioned here - https://xdaforums.com/showpost.php?p=75292482&postcount=2464
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
It is that way with flashing the 73 firmware first before the RUU as well? I thought it was just for US versions. I could very well be wrong of course, since I haven't played with my M8 for almost 2 yrs now. It finally had the last gasp of breath about 12 months ago. RIP :crying:
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Yes.. not only US versions but all marshmallow RUU except EU 6.12.401.4

My M8 is still going strong :D
[One (M8) Q&A, Help & Troubleshooting] ali099:
wake lock problem in marshmallow,...

i have tried many of your uploaded marshmallow versions, but after 2 to 3 weeks it gets wake lock problem, does anyone is also having this problem, or it is the fault of htc?:crying::crying:
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Your question is off topic, and nothing to do with the subject of the thread (stock TWRP backups). Please post to an appropriate thread (such as about M8 wakelocks, or battery life) or create a new thread, if you can't find one that is applicable.
[One (M8) Q&A, Help & Troubleshooting] ajimoza10:
how to install firmwear ??? its not working
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
What do you expect to happen after install firmware ? How do you know it is not working ?

What actually the problem with your device ? Most probably not the firmware that you need to fix it.
[One (M8) Q&A, Help & Troubleshooting] scorp_65:
HTC One M8 was on Kitkat 4.4.4. now on Marshmallow

Big Thanks for this post ckpv5.

This allowed me to restore my phone after soft bricking it when trying to upgrade to Marshmallow. It was still on Kitkat and not receiving the OTA updates.

It is now upgraded to Marshmallow after following your instructions.

Thanks again.
[One (M8) Q&A, Help & Troubleshooting] LayzJay:
In an attempt to take my phone back to stock I have installed 6.12.61.4, but my personal files still exist on the phone like pictures videos etc.

What is the best way to wipe all my data off the internal storage?

I haven't flashed stock recovery yet, still on TWRP.

"In TWRP - select wipe - advance wipe - tick internal storage - swipe to wipe <---- this wipe the whole internal storage

Better - In TWRP - select wipe - Format Data - yes <--- this wipe the whole data partition including internal storage"

If I choose either one of these options, wouldn't that delete the backup on the internal storage? if so how do I install the backup? adb?

Thanks

edit - Installed stock recovery and did a factory reset.. hopefully that's wiped it all
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
That depend on how you did a "factory reset". If you did it in OS, it gives you a choice exactly what you want to wipe or not.

Media is usually stored on internal storage (unless you set it up otherwise, such as to SD). So yes, if you wipe that, you will also lose your TWRP backup.

Your alternatives in that case would be to move your TWRP backup to SD or computer. If on computer, you can then put it back on internal storage after you wipe.
[One (M8) Q&A, Help & Troubleshooting] LayzJay:
When I did a factory reset in the OS I ticked all the options to wipe including photos and videos.

Tried it 3 times and they were still there along with old app folders.

Factory reset through stock recovery worked.
[One (M8) Q&A, Help & Troubleshooting] erikaslol:
When I try to install TWRP recovery I get this.. What's wrong?

C:\Users\User\platform-tools>fastboot flash recovery twrp.img

target reported max download size of 1826414592 bytes

sending 'recovery' (17020 KB)...

OKAY [ 1.563s]

writing 'recovery'...

(bootloader) signature checking...

FAILED (remote: signature verify fail)

finished. total time: 2.179s
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Is the bootloader unlocked? Is developer options set to on?
[One (M8) Q&A, Help & Troubleshooting] erikaslol:
I had to unlock the bootloader again. Everything worked perfectly after that. Thanks ! :)
[One (M8) Q&A, Help & Troubleshooting] 0audio:
Thanks ckpv :) If I already have the lastest firmware installed should I go back to stock and do OTA to the latest Marshmallow before installing this ROM?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Post your fastboot getvar all result (delete serial & imei no.) then we'll see what is best for you to do.

Or you can install RUU - https://xdaforums.com/showpost.php?p=64926626&postcount=6

Buy you need to relock bootloader first as yours is S-On, after completed unlock bootloader install latest TWRP then install LOS 15.1

Save all your internal storage data first as it wipes all data.
[One (M8) Q&A, Help & Troubleshooting] 0audio:
Hi ckpv5, and thanks again for your time :)

Here is the result of the fastboot getvar all:

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.29.214500021.12G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 6.12.401.4

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

(bootloader) serialno: deleted

(bootloader) imei: deleted

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: HTC__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: 76df2b54

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
As I said before, as some others also face same issue as yours, the problem usually is fixed by reinstall firmware. Some custom ROMs did modified your current firmware especially when it comes with sound mod.

1 - on post #5 in this thread there is signed htc firmware that you can install and how-to is there too. Once completed, unlock bootloader install twrp then install ROM.

2 - use RUU as I mentioned in earlier post.

3 - if you don't feel locking & unlocking bootloader, you can restore 4.16.401.13 and install its stock recovery then do OTA. This usually will restore your firmware.
[One (M8) Q&A, Help & Troubleshooting] 0audio:
Dear ckpv, following your instructions I was able to solve the problem! Thank you very much for your sharing your knowledge!
[One (M8) Q&A, Help & Troubleshooting] YedanyXD:
This tutorial can be apply to an s-on bootloader?

I have bought this phone few days ago, just to know. That can restore my HTC with this

If i understand here are 2 ways to back to stock. The firmware and backup ?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Doesn't matter S-On or S-Off, as long as the bootloader is unlocked and correct twrp version is installed.

Firmware won't get your device back to stock but RUU will. But not all version RUU is available for free that is why this thread is exist.
[One (M8) Q&A, Help & Troubleshooting] YedanyXD:
Thanks. That help explain help me a lot
[One (M8) Q&A, Help & Troubleshooting] Hashk:
Htc m8 sprint (Mid-0P6B70000) cid Spcs001 non hk edition nandroid backup

AOA

I want my Htc M8 Sprint back to stock & be able to receive OTA.

But i can't find nandroid backup with MID 0P6B70000 x.xx.651.x

What should i do, Any help?