yashsingh1/xdaforums huggingface dataset:
[One (M8) Q&A, Help & Troubleshooting] TheRebel:
Yes exactly, I just ran that file and followed on screen instructions, and it itself did the job. But anyway thank you my friend for this file. I'll follow the instructions and flash it (when I want to go back to stock RUU) :)

And one last thing, as far as ROM (and other included things) are concerned, there is no difference between .zip and .exe RUUs? Right? Both are same, just the method to flash is different?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Yeah .. they are the same.

The RUU.zip is actually the rom.zip that included in RUU.exe
[One (M8) Q&A, Help & Troubleshooting] bschmidy10:
Is there a flashable zip for the newest T-Mobile m8 modem? I am on cm13 and just want to upgrade my modem :) thanks
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Not really sure what you need. If it is the radio, you can get the firmware.zip from post #5.

But I believe the T-Mobile forum is a better place for your request/question.
[One (M8) Q&A, Help & Troubleshooting] bschmidy10:
Sorry, meant to say baseband not modem.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Ok ... baseband is the radio. You can use the fw_6.20.531.5.zip that available on post #5.

If you have a S-Off device, you may want to remove boot.img & recovery.img from the zip first.

If you havea S-On device, then you need to relock bootloader and flash the whole fw_6.20.531.5.zip

Still .. I believe T-Mobile forum you'll get better advise.
[One (M8) Q&A, Help & Troubleshooting] mohadinho99:
how to know what file to use ?
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Match the version to what it shows under "OS" in your bootloader, or under "version-main" in your getvar.
[One (M8) Q&A, Help & Troubleshooting] lukasbloom:
Hi, I want to get back on stock, this is what I get when I do a fastboot getvar all:

(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.24.21331147A1.09G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 4.16.1540.8
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B13000
(bootloader) cidnum: BS_US001
(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: 3aa067db
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0

Can I flash any stock rom with cidnum BS_US001 and modelid 0P6B13000 (4.16.1540.8, 4.17.1540.9, 6.12.1540.4) or do I have to flash the one that appears in version-main (4.16.1540.8)? Thanks for your help, I'm new at this.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
You have to restore (not flash) 4.16.1540.8 backup and 4.16.1540.8 stock recovery then do 2 OTAs.

If you don't mind to relock bootloader and back up all your internal storage files as they will be removed, then you can directly run RUU 6.12.1540.4 to return to stock.

http://www.htc.com/us/support/htc-one-m8/news/
[One (M8) Q&A, Help & Troubleshooting] lukasbloom:
Thanks dude! I have a few more questions. If I restore 4.16.1540.8 backup, do I have to back up my internal storage files? If I run RUU 6.12.1540.4 the phone returns to 4.16.1540.8 or 6.12.1540.4? If I don't like Marshmallow, can go back to a previous version?
[One (M8) Q&A, Help & Troubleshooting] countll:
oh my m8 return to hanging again at htc logo.

i manage to recover it again but somehow it happen again not more than 1 day .

this is keep happening .once successful then after boot it will hanging again.

relock ,run RUU then i update. but this time im not update its also hanging..

im on s ON.

any other easy understand solution

thanks

thanks
[One (M8) Q&A, Help & Troubleshooting] KARIM9377:
Can I use ruu.exe to update s-on rooted m8

FROM

hboot 3.16.0000 - 1.54.401.5 (4.4.2)

To

hboot 3.19.0000 - 4.16.401.10 (Lollipop)

Can I pass the hboot and firmware update

hboot 3.18.0000 - 2.xx.xxx.x

hboot 3.19.0000 - 3.xx.xxx.x (KitKat)

I need clear answer yes or no

Because The large number of information caused me a lack of understanding

Thanks
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Yes .. doesn't matter hboot or firmware as long as the RUU.exe or RUU.zip is same or higher version to work on S-On device (provided the bootloader is Locked or Relocked)
[One (M8) Q&A, Help & Troubleshooting] KARIM9377:
Thanks [MENTION=830797]ckpv5[/MENTION]

I will run ruu.exe 4.16.401.10

To update
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
To run RUU exe, you need the latest HTC USB drivers installed (link given to you before) and you need PC with USB2.0, won't work on USB3.0 or any USB hub/adapter.
[One (M8) Q&A, Help & Troubleshooting] KARIM9377:
Sorry it's European but different MID it's 0P6B67000

Is there any ruu for this MID
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
That's not European but Middle East version. So far, never come across any RUU for this region and no backup too.

Can't you just do normal OTA ? If it is rooted, just use the SuperSU full unroot feature to unroot then check for OTA. When there is one, download the OTA but don't install, copy the OTA zip from Internal storage to PC to extract out the stock recovery.img. After install stock recovery.img then you can try to install OTA.

Or .. you can make a nandroid backup for system & boot only (no need data) and upload it for me then I'll take a look at it and fix what is needed to enable it to receive OTA.
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Dude. Why are you asking about this here? Start your own thread for answers on the M8 Q&A forum.
[One (M8) Q&A, Help & Troubleshooting] KARIM9377:
I found this can I use the SuperSU full unroot

And flash the stack recovery and get ota

https://www.androidfilehost.com/?w=search&s=1.54.401.5
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
You can try but I don't know for sure. It may be successful or may have buildprint error.

The best still the recovery that come from the OTA that you're downloading to update.
[One (M8) Q&A, Help & Troubleshooting] joven215:
root loolipop

can i update my htc one m8 rooted lollipop to marshmallow when i do the nandroid backup? thankyou... sory im not techie please do help me guys
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Go back to stock and take the OTA updates for your model so that your firmware is updated to Marshmallow. Unless you are S-OFF then there are other ways to proceed.
[One (M8) Q&A, Help & Troubleshooting] hesam1376:
helping for flash x.x709.2

hi.

i try to flash x.x.709.2 rom but it give me faild error and i dont have any idea that whats the reason .

any body can help me?
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Your statement actually means nothing to us. Exactly what are you trying to flash? This thread is for restoring Nandroid backups to your device. What is your current setup? Post results of fastboot getvar all after removing your serial and IMEI numbers.
[One (M8) Q&A, Help & Troubleshooting] hesam1376:
my phone is almost empty

even i dont know which stock rom must download .

my bootloader : m8_ul pvt ship s-on

hboot-3.19.0.0000

radio-1.26.2133xxx7a1.16g

opendsp-v48.2.2-00564-m8974_fo.1211

os-

emmc-boot 2048mb

and when i flash x.x.709.2 that in this topic s.b share link .

it give me this error :

instaling ' /external_sd/4.24.709.zip'...

checking for md5 file ...

skipping md5 check : no md5 file found

error flashing zip 'external_sd/4.24.709.2.zip'

updating partition details ...

done

failed
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
So how did you decide on the 709 stock backup? Have you verified CID of the device is HTC__621?

If you want us to help any further, you need to do fastboot getvar all, and post the results (delete IMEI and serial number before posting) as Einwod previously requested.

You downloaded from this thread? If so, these are not flashable ROMs. The process to properly restore these stock backups is clearly described in the first post.
[One (M8) Q&A, Help & Troubleshooting] hesam1376:
i guess that i had 709 . how i know what (709 or etc ) i must dn\wnlding?

my phone is m8x and every where i search ، it was written that m8x is 621 and 709 .
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Sorry, but that reply means nothing. Try English. We have absolutely no idea what you're talking about.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
If you need help ... then post fastboot getvar all result, then we'll know what you need.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Read post #1 all the 14 steps.

You need to restore 4.18.708.12 backup and install 4.18.708.12 stock recovery then OTA to Marshmallow.
[One (M8) Q&A, Help & Troubleshooting] vikdb:
Question, i bought a rooted htc and my CID was already set to 11111111.

How can i find the original CID so i can find the right nandroid backup?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
To find right backup, hboot no. radio no. & MID no. are important.

Post fastboot getvar all result without serial & imei no., we may be able to assist you better.
[One (M8) Q&A, Help & Troubleshooting] vikdb:
version: 0.5

version-bootloader: 3.19.0.0000

version-baseband: 1.25.214500021.06G

version-cpld: None

version-microp: None

version-main:

version-misc: PVT SHIP S-OFF

serialno: *******************

imei: ****************

imei2: Not Support

meid: 00000000000000

product: m8_ul

platform: hTCBmsm8974

modelid: 0P6B10000

cidnum: 11111111

battery-status: good

battery-voltage: 0mV

partition-layout: Generic

security: off

build-mode: SHIP

boot-mode: FASTBOOT

commitno-bootloader: f063fb42

hbootpreupdate: 11

gencheckpt: 0
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
You can use 4.16.401.10 backup & recovery.img to revert to stock. You don't need to change CID.

Then you do OTA to update to Marshmallow.

If you want to update firmware only because you're on custom ROM, you can find unsigned Marshmallow 6.12.401.4 firmware.zip in Development section. The signed one you can find here on post #5

If you don't mind to make backup of your internal storage and losing then by flashing RUU - http://xdaforums.com/showpost.php?p=64926626&postcount=6
[One (M8) Q&A, Help & Troubleshooting] zaini47:
my M8 is on stock lollipop Telstra S-On with TWRP and rooted and i want to flash stock Marshmallow.

what is the best way to do that?

should i flash boot.img first?

do I need to upgrade firmware to 6.xx.xxx.x first?

or flash it straight away from TWRP?

i ask this because OTA update fail many times.

version-bootloader: 3.19.0.0000

version-main: 4.19.841.9

product: m8_ul

platform: hTCBmsm8974

modelid: 0P6B11000

cidnum: TELST001

please help this noob with simple tutor :o
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Your OTA will fail if your system is not pure stock.

Everything is explained on post #1. Read all the 14 steps.

What you need is restore the 4.19.841.9 nandroid backup & 4.19.841.9 stock recovery, reboot and do OTA to Marshmallow 6.12.841.4
[One (M8) Q&A, Help & Troubleshooting] zaini47:
Alright, flashing to pure stock no problem, its done! Thank you ckpv5 :o

but another problem arise, my M8 has no sound. it wont play anything, not ringtones, notifications, no sound on call either :(

when i try to change ringtones/notifications the message popup "unable to play this file" what seems to be the problem???

I haven't OTA update it yet, still lollipop.

Please help :crying:
[One (M8) Q&A, Help & Troubleshooting] sudaltsov:
I am trying to restore stock recovery using recovery_6.12.161.4.img (vodafone). I am getting red triangle trying to get to recovery from bootloader. The OS itself boots ok (stock Vodafone 6.12.161.4 with Sense), the firmware is also 6.12.161.4. The older recovery (4.19.161.3) works ok, twrp recovery works ok - but not 6.12.161.4. Any ideas? Downloaded several times, to make sure it is the RIGHT file.

PS Sorry, I am an idiot, did not realize I had to press Power + VolUp + VolDown.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Can you post fastboot getvar all result without serial & imei no. ?

I suggest that you backup everything that you have on your internal storage to PC then in TWRP select wipe - format data - yes

then restore the nandroid backup and its stock recovery again. If the problem still there, relock the bootloader and flash the signed firmware.zip which you can find on post #5.

But I recommend you to do OTA as the new Marshmallow firmware may fix your problem
[One (M8) Q&A, Help & Troubleshooting] zaini47:
Hi ckpv5, I did your last suggestion yesterday and everything works fine now, thanks :good::good::D

My worries that i'm afraid the sound problem stick after update but turns out its not. :silly:

That lollipop sure is buggy :rolleyes:
[One (M8) Q&A, Help & Troubleshooting] shantusingh:
Bro you are great, i wanna kiss you!! I didn't like that development warning as i did bootloader unlock and root . But as i moved back to stock even being on bootloader unlock and status modified(no root and i am on stock recovery), i don't get that sign!!

One major problem maybe nobody noticed is, I and maybe many others might not be getting sense home update, it shows update but once you click (being bootloader unlock maybe) as in play store it says, your device is not compatible! I manually updated it after finding its latest apk . any solution on that ?

** will in a while try to relock bootloader by htcdev simple method , and see if that makes the sense home update come
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
I read somewhere that HTC imposed that restriction after earlier it was released as compatible for all.

You can fix that only with a custom ROM
[One (M8) Q&A, Help & Troubleshooting] shingwauk:
Your tutorial screwed me up

In your tutorial you say to back up twrp "boot" only. Now I have no data or system files in my twrp back-up for recovery. What do I do?

Shingwauk
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
So you did step 5 but not step 6, 7, 8 & 9 ?

The purpose of this tutorial is how to use the nandroid backups listed on post #2 & #3 to return to stock, not about using your own backup (it's ok if you have one your own non-rooted backup, use yours no need to use what is provided here)

If you need to backup your own boot, data & system ... just do it on your own .. select all those when make backup, then you have everything for your own recovery.
[One (M8) Q&A, Help & Troubleshooting] shantusingh:
Well i'll easily find apk of sense home (have already found of the latest one out yet) and will install...

** Just want to know, I hope as I will install that sense home apk manually so it will install at the same place as it would have with like updating app from google play ??

And I don't want to do custom rom, etc as i will sell the phone soon so want to keep it clean and then planning maybe to buy ZTE Axon 7
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Yes .. if you can manage to install it as normal apk and you can uninstall it when you don't need it anymore.

I never try, not sure whether there will be version conflict error or not.
[One (M8) Q&A, Help & Troubleshooting] shantusingh:
no conflict for me, you can give it an easy no harm try too! if like me you are running the latest version of your stock rom and recovery (no ota updates after this).

Then like a piece of cake the latest sense home version apk got installed, but when i go in phone settings, apps.... sense home's "uninstall updates" is grayed out and even "disable" option, just "force stop" is which i can use .

So point is you can keep updating it but cannot uninstall updates to go to the previous factory default version normally (ofcourse we would need to reset the phone to do that and i won't do that lol as this hardly matters for me) .

And though friend apks are least harmful as far as i know as they just show either unsuccessful installation or they simply get installed that's it.

You can google if you would want the latest sense home with "freestyle layout" which came in htc 10 and which is also there for m8 now . Latest version is - 8.12.759608 and chose 600 dpi (as in instructions it was said to download higher dpi version not the no dpi which has a default dpi for random phones) . Htc m8's dpi is 480 .

Link : http://www.apkmirror.com/apk/htc-corporation/sense-home/sense-home-8-12-759608-release/
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Already using this updated version in my ROM since May 26 - http://xdaforums.com/showpost.php?p=66737928&postcount=1271

Thanks for info.
[One (M8) Q&A, Help & Troubleshooting] shantusingh:
oh kool kool !!
[One (M8) Q&A, Help & Troubleshooting] benbenneb:
My phone (htc one m8) is stuck in android recovery mode, so I can't access anything apart from bootloader and fastboot. if I follow these steps can I or is there any other possible way to back up my data thanks.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Folks have already been helping you extensively in another thread. Don't hop around to other methods/threads and confuse the matter any further (unless you've been advised by a knowledgeable "helper").

I've responded to your latest post in the other thread.
[One (M8) Q&A, Help & Troubleshooting] fr34kx:
Please help

I have an M8_UL

I got it used from somewhere, it's CID was SuperCID, and MID of TMobile(13000), It currently has 4.4.3, I want to upgrade to the latest, when I went into software updates, it gave me no OTAs.

I then unlocked the bootloader, changed the CID to HTC__032 and MID to 10000 for Europe/International. Then when I checked for update I got one update to the 4.4.4 I downloaded it but when I install it restarts into TWRP recovery and when I flash it doesn't flash says can't mount '\carrier' and it fails pathetically.

Can you please guide me on what to do? It's my first HTC device I don't want to brick it and want Marshmallow on it. any way here's my getvar all:

(bootloader) version: 0.5
(bootloader) version-bootloader: 3.18.0.0000
(bootloader) version-baseband: 1.19.21331147A1.09G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 2.22.401.5
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: FA448WM0xxxx
(bootloader) imei: 35262806037xxxx
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: HTC__032
(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: 5e4b24e4
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.019s

Please tell me what do.. which ROM would I have to flash afterwards and how?

I only need stock ROMS, no custom.

Thank you
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
You don't read the guide ... it fails because of TWRP. You need stock recovery installed.

Anyway .. you can follow these to get it directly on Marshmallow -

1. http://xdaforums.com/showpost.php?p=64926362&postcount=4

2. http://xdaforums.com/showpost.php?p=64926626&postcount=6

You don't need to relock bootloader as you have a S-Off device.
[One (M8) Q&A, Help & Troubleshooting] fr34kx:
Thanked for the quick reply

I'll try your method tonight if this another method I'm trying fails.

Actually the current method I'm using is factory reset to get to stock recovery then get the incremental OTAs and push them to /data/media/0/ as update.zip boot into recovery apply the update, if rooted then echo "--update_package=/data/media/0/update.zip" > /cache/recovery/command

otherwise just apply the patch from stock recovery.

And I managed to update from 2.22.401.5 to 3.XX.XXX.X and now downloaded another OTA and now I'm on 4.XX.XXX.XX

I got this method from here.. android-revolution-hd,blogspot,de/2013/12/how-to-manually-install-ota-update,html --> I don't know if you can see the hyperlink or not but XDA won't let me post URLs until I've 10 posts.

anyway this method is working.

Should I still follow your method or go on with this as I already have all the OTAs downloaded, spent the night downloading them, or should I download the 6.12.XX RUU and flash that?

PS. The SuperSU is leftover, can't really install or remove that, is there any other way to remove it without being root or RUU?

Thanks once again BTW.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
That's a very long way to update to Marshmallow but that will work too.

To remove the SuperSU leftover, just restore the system part only from the non-rooted backup that you can find on post #2. Let say now you're on 4.16.401.10, then restore the system part only from 4.16.401.10 non-rooted nandroid then continue the next OTA.
[One (M8) Q&A, Help & Troubleshooting] fr34kx:
And what if I use your method, post #6?

That will as you said directly give me Marshmallow, but will it also remove SuperSU?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Yes ... that's RUU method. Not only it removes SuperSU but everything in your internal storage too .. so make backup any important files like musics, photos & etc before you flash the RUU zip.This will give you out of the box state device.
[One (M8) Q&A, Help & Troubleshooting] fr34kx:
Awesome man, but the only problem is that my radio version doesn't match...

I've radio radio 1.25.214500021.06G and hboot 3.18.0.0000 and your link has Radio_1.29.214500021.12G... will this work??
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Yes .. the RUU will wipe everything in your device and replace them with those come with RUU ... you'll get new hboot, new radio, new sensor, new adsp and many more on top of new Marshmallow ROM.
[One (M8) Q&A, Help & Troubleshooting] fr34kx:
I literally don't know how to thank you man!!

I bricked my device with the method I was using I told you in the previous posts, while I was updating from Lollipop to Marshmallow. But your method as you promised, unbricked and brought my device back to life!

Awesome man, thank you so much.(Hope XDA won't ban me or something on saying thanks as Stackoverflow once did :P)

Again love you man. :)
[One (M8) Q&A, Help & Troubleshooting] max285max:
Help me please

Hi i want returning my phone to factory stock and i don't know what i need.

Status: S-ON/Unlocked buy the phone in Israel

M8_UL PVT SHIP S-ON

HBOOT-3.19.0.0000

RADIO-1.29.214500021.12G

OPENDSP - V51.2.2-00593-M8974_F0.1015
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Not enough info.

Post here fastboot getvar all result without serial & imei no.

then we'll see what you need.

If you don't have adb/fastboot and drivers installed, read this : http://xdaforums.com/showpost.php?p=64926362&postcount=4
[One (M8) Q&A, Help & Troubleshooting] max285max:
Look this too:

https://www.dropbox.com/s/ihe4g3xbzj5q32v/IMG_20160604_144714.jpg?dl=0

If you don't have adb/fastboot and drivers installed, read this : http://xdaforums.com/showpost.php?p=64926362&postcount=4[/QUOTE]
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
I asked for fastboot getvar all but you give photos .. remove them as they have serial & imei no.

You can restore 6.12.401.4 backup

Can you tell what your problem actually is ?
[One (M8) Q&A, Help & Troubleshooting] max285max:
I cant restore because i dont have any system on the phone , i need help to install stock .
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
You don't need system on phone. You need to install latest TWRP to restore.

Read all steps on post #1

Or

You can follow this : http://xdaforums.com/showpost.php?p=64926626&postcount=6

but you need to relock bootloader first.

Command :

fastboot oem lock

fastboot reboot-bootloader