yashsingh1/xdaforums huggingface dataset:
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Depends on what kind of error ... let say your MID is correct and you try to install a Marshmallow RUU exe ... I just come back from long holiday .. not really read anything about TMOB ... but I guess it is the same as what happens to other MM RUU exe.

1. To install MM RUU exe, your firmware must be updated to MM first. For TMOB, the firmware must be 6.20.531.5. The RUU most probably will fails when the firmware installed is lower than 6.20.531.5

2. If the above is the problem .. you can run the RUU exe and copy out the ROM.zip and htc_fastboot.exe from your %temp% folder then use the htc_fastboot.exe to fastboot flash the ROM.zip in RUU mode
[One (M8) Q&A, Help & Troubleshooting] DiegoSVC:
So I can install a MM backup on lollipop and keep TWRP? Do I need to be S-OFF?
[One (M8) Q&A, Help & Troubleshooting] Einwod:
No, you do not need to be S-OFF, however, you may have wifi and other problems if your firmware is not correct. Make a backup, try it and see. If it doesn't suit you, restore your backup.
[One (M8) Q&A, Help & Troubleshooting] Haykoki:
Hi sir,

i have a problem with my htc m8.

i do all steps.

After i flash recovery my device is not open. My phone wait on htc logo page. I wait over 30minutes.

i use 6.12.401.4 twrp backup.

fastboot getvar all results.

(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.22.21331147A1.29G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.28.401.9
(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: HTC__M27
(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: df77f8b7
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0

After flash recovery i can't enter recovery. i see red triangle and and exclamation mark.

How can i fix this problem ?

sorry for my poor english.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
You can't use 6.12.401.4 twrp backup because your current firmware is too low.

You should restore 3.28.401.9 twrp backup and 3.28.401.9 stock recovery then do OTAs.

Or you can use RUU to directly update to 6.12.401.4 but you need to relock bootloader with command fastboot oem lock

then ...

1. Make sure all drivers are correctly installed on your PC - http://xdaforums.com/showpost.php?p=64926362&postcount=4

2. Follow these steps to update with the RUU - http://xdaforums.com/showpost.php?p=64926626&postcount=6
[One (M8) Q&A, Help & Troubleshooting] joikep:
Hi! [MENTION=830797]ckpv5[/MENTION]. I hope you had a great holiday. As I've posted before, here in Mexico our carrier (Telcel) has sent the OTA upgrade to MM for our devices. But I'd like to know if there's any plan on posting the firmware upgrade in your OP? Any light on this would be very much appreciated.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
I already posted 6.17.600.3 stock recovery image last night (see post #4).

The backup will be uploaded later this evening.
[One (M8) Q&A, Help & Troubleshooting] joikep:
OK. Thanks for the update! I'll be pending for it!!!:D
[One (M8) Q&A, Help & Troubleshooting] sunny6478:
I have encountered a new problem once i get back to stock kitkat, i download the OTA update for lollipop which after restarting gives problem in wifi,wifi doesnt work neither the flashlight icon.

cid-HTC__j15

mid-0P6B81000

Is there anyway i can get stock image of lollipop?

Any help would be appreciated
[One (M8) Q&A, Help & Troubleshooting] joikep:
I suggest you enter recovery and wipe cache, dalvik cache and do a factory reset. It might solve those bugs.
[One (M8) Q&A, Help & Troubleshooting] sunny6478:
Thanks,it started working once i wiped the cache and dalvik cache and then factory reset the phone, thanks again
[One (M8) Q&A, Help & Troubleshooting] sunny6478:
Hey its okay, i have figured it out,i have made a twrp recovery of lollipop-unrooted for

cid-HTC__j15

mid-0P6B81000

4.35.401.3

if u could tell me how to upload it to ur collection,i will upload it

Thanks
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
CID HTC__332

MID 0P6B16000

6.17.600.3

added to post #3
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
You can upload your backup to mega.nz as most of the backups here, or put it on your google drive or dropbox.

If you don't want to make it permanent, you can PM me the link then I'll download and reupload the backup to permanent site.
[One (M8) Q&A, Help & Troubleshooting] sunny6478:
i am currently updating my phone to marshmallow,once its updated i will upload it to mega.nz and send u the link

TWRP recovery should include System, boot and data, right?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Boot & System should be enough because data will usually include your personal data.
[One (M8) Q&A, Help & Troubleshooting] sicto:
How to see my CID ?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
You can download simple CID getter from play store and run it.
[One (M8) Q&A, Help & Troubleshooting] sicto:
What about MID ? Whats that about ? And is there any thing about s-on/off or locked/unlocked bootloader ?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Run command fastboot getvar mid to get your MID (after put your device on bootloader/fastboot mode and connect to PC)

For the rest of the questions, nothing to do with this thread - you can read :

http://xdaforums.com/showthread.php?p=52484527
[One (M8) Q&A, Help & Troubleshooting] sunny6478:
Is there anyway to install OTA file manually through TWRP so i dont have to download it everytime to install it?
[One (M8) Q&A, Help & Troubleshooting] Einwod:
No. OTA can only be installed in a stock rom. Absolutely no changes from stock, so twrp is not stock. Unless you are s-off and can install thru sd card method.
[One (M8) Q&A, Help & Troubleshooting] joikep:
Very much appreciated! Just one question...should I flash this with TWRP 2.8.7.0 or 3.0.0.1?

When I updated to Lollipop I worked with TWPR 2.8.70. But I'd like to do it with the latest TWRP.

Would it be OK?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Yeah.. 2.8.7.0 or the latest.

For now, 3.0.0.1 is highly recommended.
[One (M8) Q&A, Help & Troubleshooting] sunny6478:
i restored twrp recovery 1.82.401.7 from post#3, then flashed recovery, then downloaded lollipop OTA but when started installing it,it gets stuck during installation
[One (M8) Q&A, Help & Troubleshooting] michel sedgh:
Hey can someone provide me the firmware or radio.img for cid: HTC__621 and mid: 0P6B11000 for android 6 ?

Thanks :)
[One (M8) Q&A, Help & Troubleshooting] sunny6478:
I cannot upgrade to lollipop whenever i try to install OTA it gets stuck at installation, i downgraded from marshmallow but my bootloader still shows OS:5.07.401.1(marshmallow) even when i use recovery image for kikat.

How can i change the bootloader status ?

(bootloader) version-main: 5.07.401.1

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

(bootloader) modelid: 0P6B81000

(bootloader) cidnum: HTC__J15
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Why are you asking here? I see nothing about firmware or baseband in the title of this thread.

Try M8 Q&A by starting your own thread, or do some research on your own.
[One (M8) Q&A, Help & Troubleshooting] rjavc:
That's because you cant. If youre s-on, theres no going back.
[One (M8) Q&A, Help & Troubleshooting] sunny6478:
then tell me how to s-off
[One (M8) Q&A, Help & Troubleshooting] rjavc:
Sure, My Lord. Go to google and search for brain.apk .
[One (M8) Q&A, Help & Troubleshooting] mrrocketdog:
only way i know of and worth every penny.:good:

http://theroot.ninja/

"err on the side of kindness"
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Radio.img alone won't do any good for you because your device is S-On.

Why don't you get back to stock 6.12.709.4 and check whether *#06# brings you the IMEI or not.

(You can use TWRP to backup your current custom ROM so you can restore it later, no need to reinstall)

I don't know whether your problem is related to the firmware but most important, there is an OTA to 6.20.709.2 for your device region.

So when you get back to 6.12.709.4 stock, you can check your IMEI problem also you can do OTA to the latest and see if that will fix your IMEI.
[One (M8) Q&A, Help & Troubleshooting] michel sedgh:
i tried that and it didnt work, but i have read that flashing the firmware or radio.img would solve my problem, but i couldnt find one matching my cid and htc's RUU.exe doesnt work on my windows, no idea why! but i will try going back to stock and check for OTA updates :) Thanks
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
You mean you tried the stock 6.12.709.4 and IMEI still not working when you dialed *#06# ?

Check your PM in next 20 minutes, I'll link you the signed 6.12.709.4 firmware.

Then after you do the revert to 6.12.709.4 stock then do OTA to 6.20.709.2

When doing this OTA, a new firmware will be installed too. Maybe this new OTA will fix your problem, hopefully.
[One (M8) Q&A, Help & Troubleshooting] Bobbi lim:
[MENTION=830797]ckpv5[/MENTION] nandroid backup of 6.14.707.1 here: https://www.androidfilehost.com/?fid=24369303960685739

Thanks to [MENTION=5035072]huyhoangytn[/MENTION]! Please add it into OP for users to find it easily!
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
That's a big 3.25 GB file ... the one that we already have is only 1.51 GB.

Anyway, most important it is non-rooted backup.

Linked on post #3 for the MM backups collection
[One (M8) Q&A, Help & Troubleshooting] banditosz001:
Vodap110

Hi!

I have got a htc m8 with vodap110 cid number and 1.54.166.5 firmware..and i unfortunately flash it with custom rom and now no wifi.

I must back to stock and upgrade hboot i know but i didn't find firmware h this parameters...please help me!
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Fastboot getvar all (minus your IMEI & serial#), and thanks for saying "please" instead of saying PLZZZ!!!!
[One (M8) Q&A, Help & Troubleshooting] banditosz001:
m8

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.16.0.00

(bootloader) version-baseband: 1.15.213315

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.54.166.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: VODAP110

(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: ab0efa49

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

thanks
[One (M8) Q&A, Help & Troubleshooting] huyhoangytn:
[/COLOR]

Only 2GB is not it?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Nope ... the data alone already 1.7 GB as it has all the dalvik-cache files ...

View attachment 3688912

But it's ok .. as I mentioned before, it is a non-rooted stock ROM and that's important.

Thanks for your contribution.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Don't think there is one 1.54.166.5 stock backup available anywhere because the oldest version uploaded by users was 4.19.166.2

But .. if you're familiar with adb/fastboot command .. you can easily update your device directly to Marshmallow 6.12.166.4 (you can skip all other versions)

What you need to do :

1. Download the 6.12.166.4 stock backup - http://xdaforums.com/showpost.php?p=64981248&postcount=1027

2. Download the OTA - http://xdaforums.com/showpost.php?p=64963550&postcount=998

3. extract the OTA with 7-zip and copy out the firmware.zip

4. Restore stock 6.12.166.4 backup

5. reboot to bootloader

6. relock bootloader

7. fastboot flash the firmware.zip

8. reboot

9. re-unlock the bootloader and install TWRP to install your favorite custom ROM or just remain on stock - that's your personal choice
[One (M8) Q&A, Help & Troubleshooting] banditosz001:
m8

You are my man! :)

I do it, and worked!

Only in firmware.zip flashing was a fail message and i start to be afraid, but no problem, everything is working well, my hboot is 3.19 and the software starts well!

Thanks man!

But now check no wifi i cant turn on :( i will try install custom rom..maybe..

Any idea? everything works well imei and baseband is ok. I don't know what is the problem?

----------

I start to understand it my hboot only upgrade 3.19 and that is not good for android 6 marsmallow. For hboot 3.19 must flash 3.28.x.x software----> i try to flash but not success no wifi :(

----

I check my bootloader and it show:

software status modified

os-1.54.166.5 (6.12.166.4)

I think the software and the hboot version not match and this is the problem.

What do you think???
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
You need to flash the firmware.zip again. Your console output probably said that (hboot update, please flush [<- HTC typo :D] again), but apparently you didn't check it.

The first flash updated your hboot, the second flash will update your firmware.
[One (M8) Q&A, Help & Troubleshooting] banditosz001:
m8

i flashed firmware zip 3 times but nothing happened

here log:

mage...

INFOsignature checking...

INFOzip header checking...

INFOzip info parsing...

INFOchecking model ID...

INFOchecking custom ID...

INFOchecking main version...

INFOchecking hboot version...

INFOstart image[hboot] unzipping for pre-update check...

INFOtotal_image_number=8

INFOstart image[hboot] flushing...

INFOsignature checking...

INFO[RUU]WP,hboot,0

INFO[RUU]WP,hboot,99

INFO[RUU]WP,hboot,100

INFO...... Successful

INFOcurrent_image_number=0

INFOcurrent_image_number=1

INFOcurrent_image_number=2

INFOcurrent_image_number=3

INFOcurrent_image_number=4

INFOcurrent_image_number=5

INFOcurrent_image_number=6

INFOcurrent_image_number=7

FAILED (remote: 90 hboot pre-update! please flush image again immediately)

finished. total time: 8.258s

---------- Post added 20th March 2016 at 12:29 AM ---------- Previous post was 19th March 2016 at 11:56 PM ----------

I fix the problem!! :) Flash with micro sd in bootloader and works fine!

Now everythings ok,wifi,etc. :)

Thanks for everybody!
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
That was my next suggestion! lol

Glad you got everything sorted
[One (M8) Q&A, Help & Troubleshooting] badral9:
whats these number mean? "x.xx.61.x"
[One (M8) Q&A, Help & Troubleshooting] Einwod:
It's to do with firmware version. Better to see all the numbers to see which one is needed.
[One (M8) Q&A, Help & Troubleshooting] badral9:
So, these numbers depend on my CID, right?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Not really .. these numbers must match your current firmware.

The one that you see on bootloader.
[One (M8) Q&A, Help & Troubleshooting] badral9:
thanks, what is my firmware number
[One (M8) Q&A, Help & Troubleshooting] Einwod:
It's not possible to tell here. Post the results of fastboot getvar all here after removing your serial and IMEI numbers.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
The OS- is blank. Why did you remove the firmware number on the bootloader ?

That's why never use the old outdated buggy TWRP 2.7.x.x ... you removed an important data.

Post here your device CID and MID or as [MENTION=3741261]Einwod[/MENTION] said, post the whole fastboot getvar all result without Serial & Imei no. then we'll see what actually you need.
[One (M8) Q&A, Help & Troubleshooting] badral9:
Thank you guys for helping me

[IMG="info"]http://oi66.tinypic.com/24wgg1w.jpg[/IMG]
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
See .. from your fastboot getvar all result .. your device has nothing to do with x.xx.61.x (your initial question) but x.xx.707.x

You have an Asia WWE device (same as mine) and your firmware no. is either 4.19.707.2 or 4.19.707.4

If you want to get back to stock to update to Marshmallow.. use the 4.19.707.4 backup and 4.19.707.4 stock recovery then do OTA to Marshmallow 6.14.707.1
[One (M8) Q&A, Help & Troubleshooting] badral9:
Thank you very much. Do i need to change CID or put S-ON to S-OFF? Or should i directly follow your guide?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Just follow the guide, read post #1 all the 14 steps ... no need to relock bootloader, no need to change CID, no need to change to S-Off (this guide is for both S-On & S-Off)

Also note .. don't use that old TWRP 2.7.x.x version, use only 2.8.7.0 or the latest 3.0.0.1
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Just follow the guide, plain and simple.
[One (M8) Q&A, Help & Troubleshooting] monkeypaws:
I have a tmo us HTC One m8. I'm on marshmallow firmware 6.0 I've read and reread the op but I don't seem to find or runsure which specific stock recovery I need. I restored my original 6.0 stock rom via twrp but can't for the life of me find the right recovery. I downloaded simple cid getter and I get T-Mob010. I went through the list in op and there's not a match.
[One (M8) Q&A, Help & Troubleshooting] Einwod:
T-Mob USA has their own page on HTC website where you can download RUU files directly.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
I don't keep any backups & recoveries for T-MOB US, Sprint, Verizon and AT&T here because they have their own dedicated threads,

so my focus is on non-US backups & recoveries.

Furthermore, HTC US release RUU for most US devices - http://www.htc.com/us/support/rom-downloads.html
[One (M8) Q&A, Help & Troubleshooting] monkeypaws:
Thanks. So that's my second question. The T-Mobile thread isn't up to date. The latest recovery I can find is the lollipop one. I've heard in order to get future ota updates the recovery has to match the firmware version. Since I'm already on my stock backup minus the recovery , can I just relock the boot loader and run the ruu?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
If you're talking about Marshmallow RUU, don't think you can simply run the RUU with a relocked bootloader. You'll get error 155 when your current firmware is lower than Marshmallow (I know it's weird but that's the Marshmallow RUU problem).

You have two options :

1. Find & Install the lollipop RUU then OTA to Marshmallow

2. Find & install Marshmallow firmware then run Marshmallow RUU

(both options you need to relock bootloader if your device is S-On)

BTW what's your current firmware no. ?

If it is already on 6.20.531.5 then you can run the 6.20.531.5 RUU after relock bootloader (if your device is S-On, S-Off then no need to relock bootloader)
[One (M8) Q&A, Help & Troubleshooting] monkeypaws:
Sorry didn't clarify. I am currently on 6.20.531.5 already but I still have tarp recovery. I was just clarifying that since I'm unable to find the stock recovery that matches the base, would I be able to run the ruu after removing without issues or is it necessary to find and flash the matching recovery?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Since you already on 6.20.531.5 firmware, you should be able to run RUU with no problem. You don't need stock recovery to run RUU (RUU will replace the recovery) ... what you need is only a relocked bootloader if your device is S-On and the latest HTC USB driver and a PC with USB 2.0

Please note a RUU will wipe everything on your device. Make backup of any important files like pictures, musics & etc from your internal storage before you run the RUU.
[One (M8) Q&A, Help & Troubleshooting] monkeypaws:
Thanks that's all I needed to know before proceeding. Last HTC device I played with was an m7 and couldn't remember the specifics. I'll follow up.
[One (M8) Q&A, Help & Troubleshooting] badral9:
can i use 6.14.707.1 instead of 4.19.707.4
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
No .. if you want to upgrade your firmware.

OTA from 4.19.707.4 to 6.14.707.1 will update the firmware from Lollipop to Marshmallow

If you use 6.14.707.1 then it become just like a custom ROM, not really stock ROM because your firmware still a Lollipop firmware.
[One (M8) Q&A, Help & Troubleshooting] badral9:
Thank you guys

Thank you guys. My HTC is back. :good:

[IMG="lockscreen"]http://oi66.tinypic.com/v3dpnn.jpg[/IMG]

Previously i was using CM12.1. But battery was draining too fast on that OS. If i update to Marshmallow, How my battery would drain on HTC One M8? Any idea?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
I never use a CM rom so don't know anything about that. Maybe read through this discussion to get some idea : http://xdaforums.com/showthread.php?t=2694719

Personally, I don't check battery usage because it's all depends on my usage pattern.

As long as it is enough for a day without charge, that's fine.
[One (M8) Q&A, Help & Troubleshooting] gf7800:
Missing version-main

Hi xda and thank you for your support

Long story short , I bought an M8 from my friend so when i boot the phone i shows that red text and i knew that it is modified . I asked him about that and he told me that he do the following :

performed the Marshmallow OTA

then he unlocked the bootloader and flashed TWRP 2.7.0.2

and finally installed a custom ROM (SkyDragon 2.0 Sense 7.0)

now the phone runs this custom rom and i want to go back to full official

but sadly getvarall showed a missing main virsion

I have downloaded 4.16.401.10_ckpv5.zip and 4.16.401.10_recovery.img and already flashed the latest TWRP (cause from reading this thread i realized that the outdated buggy 2.7.0.2 is responsible , hence the missing main version)

my question : can i restore this backup and flash its recovery then get the Marshmallow OTA and regain my missed main version or not . cause i'm afraid that if i have MM firmware allready on my phone .. maybe it can cause errors or lost imei or s/n if i redo the OTA .

To summarize : can i restore Lollipop 4.16.401.10 backup and its own recovery then redo the MM update on a phone that had previously updated officially via OTA to MM . if you know what i mean :) .... (sorry for bad English)
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
You have three options :

1. Don't use 4.16.401.10 but use 4.16.401.13 backup & its stock recovery then do OTA to MM 6.12.401.4 (so it's one step OTA)

2. You can restore 6.12.401.4 backup & its stock recovery then install a signed 6.12.401.4 firmware.zip (but you need to relock bootloader first) - need to find that signed firmware.zip - available in few threads

3. Relock bootloader then run 6.12.401.4 RUU - http://xdaforums.com/showpost.php?p=64926626&postcount=6

(this will wipe everything on your device - make a backup of any files like photos, musics & etc)
[One (M8) Q&A, Help & Troubleshooting] gf7800:
Thank you [MENTION=830797]ckpv5[/MENTION] and which is safest option 1 or 2 or 3
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
All are safe to follow.

The best is option 3 so that you have a brand new images in your system, sort of you just open the device out of the box for the first time.

(since you want to go back to full official)

And you need this too for option 3 : http://xdaforums.com/showpost.php?p=64926362&postcount=4
[One (M8) Q&A, Help & Troubleshooting] gf7800:
OK so it is .zip RUU not .exe

So I must flash it using fastboot command not the classic regular double click the RUU.exe sorry it's been long time since One X days :)