yashsingh1/xdaforums huggingface dataset:
[One (M8) Q&A, Help & Troubleshooting] isimsizkullan:
[MENTION=830797]ckpv5[/MENTION]

I have Harman Kardon edition, S-OFF and CID 11111111.

Can i install any of these backups?
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
No, and you don't need to since you are S-Off.

Go to the Sprint forum and search for the new firmware and flash it, or go here and download the RUU to run (this method will wipe your phone).
[One (M8) Q&A, Help & Troubleshooting] neofiliate:
As addendum I have found I have CID: VODAP001 and MID: 0P6B10000.

Now these have items listed in the first few posts of this thread, but for software number

x.xx.161.x

6.12.161.4

fw_6.12.161.4

Whereas I have 4.19.161.2 on my phone currently, does that mean the first one will work for me?

I think I need to update my TWRP - correct?
[One (M8) Q&A, Help & Troubleshooting] isimsizkullan:
Okay. I installed Mashmallow successfully then i installed TWRP. And flashed SuperSU.zip, but device soft bricked. :)

I installed Mashmallow RUU again, how can i get root now? I watched a video on youtube but it didn't work.

Ok i did it.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Under x.xx.161.x click the "CLICK TO SHOW CONTENT" to expand it .. there you'll see link for 4.19.161.2

Follow the steps on post #1, restore 4.19.161.2 and install 4.19.161.2 stock recovery then do OTA.
[One (M8) Q&A, Help & Troubleshooting] rextyrann:
HTC M8 stuck on starting apps after multiple resets.

hi i've got a huge problem with my htc m8. it wont boot anymore and always keeps on beeing

stuck on

"android is starting... starting apps."

after an optimization of 167 apps. have been pulling an all nighter and im at the end of the rope unfortunatly =(.

i alrdy hard reset it several times. through bootloader factory reset, as well as recovery and wipe data/fac reset. i only can stop the bootloop by pressing power+volume up and switching into bootloader. it also takes forever to optimize the 167 apps....

after having read a few threads here and elsewhere i also did 2

recoverys with 0P6BIMG.zip

with an miniSD card through bootloader/fastboot and once through

htc_fastboot with RUU.zip

through the CMD in win10. in all 5 cases the phone tells me it successfully "recovered"/reset its system but it still always starts again with optimizing 167 apps and then beeing stuck on "starting apps...".

the m8 is ***locked*** and S-ON with software status official. OS- 6.12.401.4. i never customized the android os and bought it brand new.

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

(bootloader) imei:

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: HTC__102

(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

all: Done!

finished. total time: 0.051s

im grasping for straws here guys (desperately). appreciate all the help i can get. there are a lot of people here who seem to be experts in this. i am totally new to this and really hoping for guidance. thanks in advance!
[One (M8) Q&A, Help & Troubleshooting] Einwod:
You have the bootloader locked. What are you flashing or trying to flash and why? If you have not customised before, what is your end goal? You would not appear to be rooted or have a custom recovery. What did you do to the device to make it bootloop?
[One (M8) Q&A, Help & Troubleshooting] rextyrann:
im trying to flash my ROM i guess? thats how i understand it at least. yes the phone is locked and probably not rooted since nobody ever customized it. im trying to get the phone to boot up. my phone was dmged yesterday around the front camera / power button area. the diplay glass also broke. the touchscreen and display is working fine though. when i tried to check for selfie camera function the app constantly froze. so i rebooted the phone. thats when it started bootlooping.

so i guess my goal is: get my stock operating system running again? the booting process needs to get past starting apps or not do it to be able to finish booting...
[One (M8) Q&A, Help & Troubleshooting] Einwod:
If you want to flash a backup from here, you need your bootloader unlocked and a custom recovery installed. If you can find an RUU to match your OS version, then you can flash that, as long as it is an exe version of the RUU without unlocking. I'm not 100% sure if there is one though. Perhaps others can steer you in the proper direction.
[One (M8) Q&A, Help & Troubleshooting] gjmv2:
Can you reupload de fisrt link (Stock backup of 6.12.166.4)?

Thanks
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
What's wrong with the link ?

It worked for me - https://mega.nz/#!ph4QBQCZ!ZfX3xTFSRnl4QPMqRhT5ssbNRaZ-mhGvwoDUcjBr77c

But first ... tell what your actual problem is ...

The device does not boot ? Is it stock non-rooted with LOCKED bootloader ?

If yes .. you can try to reflash the fw_6.12.166.4.zip (the signed firmware on post #5) first.

Many people with not booting device (stock non-rooted, LOCKED) fixed their device by flashing firmware.
[One (M8) Q&A, Help & Troubleshooting] rextyrann:
would that help my phone too? non rooted, locked bootloader version 6.12.401.4. phone doesnt boot anymore keeps on getting stuck at optimizing apps/ starting apps....
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
No idea but you can try .. use the fw_6.12.401.4.zip

You said you tried the RUU ... was it this one - http://xdaforums.com/showpost.php?p=64926626&postcount=6

As you dropped the phone, you may damaged something inside .. maybe HTC Centre is the best place to fix it.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
This is information you should have included in your previous post. Witholding that info serves no good, and just confuses those trying to help.

You've already did RUU three times (which appeared to install successfully, from what you've posted), on a phone with major physical damage. Its pretty clear the issue is hardware related, and in all likelihood, no degree of software flashing (whether it be by RUU or TWRP restore) is going to help.
[One (M8) Q&A, Help & Troubleshooting] gjmv2:
Hello and thanks

I was trying to download the file and it always came with an error.

About the phone. I'm trying to recover the sms and the old contacts but I believe that can not be possible anymore since the boot was unlocked.

So I try to see whats happens when turn the boot locked and by "accident" I change the boot file and the recovery for another version of the CID, and them it wont boot anymore.

That´s why I'm loocking for the RUU file to restore the phone to the original software status, and then try again to recover those contacts and sms's which I believe was lost forever...........................(sorry about my English)

actual status:

software status: modified

Unlocked

M8_UL PVT SHIP S-ON

MBOOT - 3.19.0.0000

RADIO: 1.28.2145000212.12G

OpenDSP-V51.2.2-00593-M8974_FO1015

OS-6.12.166.4
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
If you do allow daily backup to Google, you may be able to restore your SMS & contact .. if no, it's impossible to recover those.

Instead of restoring the nandroid backup ... why don't you try flashing the firmware first as I mentioned above ? How-To install and the firmware you can get them on post #5.
[One (M8) Q&A, Help & Troubleshooting] :
[MENTION=830797]ckpv5[/MENTION] hello master my device is s-on (0P6B11000 6.14.707.1). software status of it has become changed. it was occurred after flashing TWRP. why software status doesn't change after firmware flashed? can't status banner changed by hboot image? if not so, hasn't it given permission to MM?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
This is something that I'm not familiar with ... I don't remember whether I have software modified before after I unlocked the bootloader.

Sometime people said the status is back to official after they do OTA .. but not sure whether the status is back to modified after they installed TWRP.
[One (M8) Q&A, Help & Troubleshooting] zI89:
thx it totally save my fone form a brick :)
[One (M8) Q&A, Help & Troubleshooting] lumpy09:
Hey ckpv5, I'm trying to put my phone back to stock, I think I'm having trouble deciding which files to download... Here is the information from getvar all.

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.29.214500021.11G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 6.13.666.7

(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: 0P6B16000

(bootloader) cidnum: BM___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

Now it says I'm on version 6.13.666.7 but that is from when I soft bricked my phone, I was only able to restore from a TWRP backup to android version 1.55.666.4. I have already tried your 6.13.666.7 BM___01 file and flashed the 6.13.666.7_recovery.img but this leaves me in a soft bricked state. I guess I'm wondering what steps I have to take in order to update my android phone again. I don't even need OTA updates I would just like to be on a newer version.

Thanks for your time, it is much appreciated.
[One (M8) Q&A, Help & Troubleshooting] revonomics:
Hi

Buddy, i cannot find the Stock Recovery for my One M8 (International Version) can you give me the link or where i can download it please

Thanks in advance.

Revon
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
You don't tell which no. that you're looking for, how can people help ?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Restore 6.13.666.7 backup then fastboot flash 6.13.666.7 firmware.zip (post #5)
[One (M8) Q&A, Help & Troubleshooting] lumpy09:
This worked for me, I am now properly upgraded, thanks a lot ckpv5
[One (M8) Q&A, Help & Troubleshooting] revonomics:
Hi ckpv5, sorry, my number is below

CID HTC__038

3.35.720.1

I think i found it on your post, I didn't under stand it at first as it came under "3.xx.xxx.x" and i didn't know what that means.

But still i should download it from "3.xx.xxx.x" right??? i thought it might be a Sprint or Verison recovery so i was not sure.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Sprint & verizon are CDMA which has their own section.

This thread is all about GSM, nothing to do with CDMA and yours is GSM.
[One (M8) Q&A, Help & Troubleshooting] timriley98:
After hours and hours (more like days) of trying different methods to get my m8 back to stock, this finally worked.

Instructions are clear and easy to follow :good: :D

Thankyou so much for this post :highfive:
[One (M8) Q&A, Help & Troubleshooting] kami2k:
I have following mainver which one i go for

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.25.21331147A1.06G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 4.19.707.2

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

(bootloader) serialno: xxxxxxxxxxx

(bootloader) imei: xxxxxxxxxx

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B11000

(bootloader) cidnum: HTC__059

(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

all: Done!
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
4.19.707.2
[One (M8) Q&A, Help & Troubleshooting] kami2k:
just install the .2 recovery in one go or 1st the boot, then recovery and then stock rom?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Read post #1 - all steps 1 to 14

Basic :

Install TWRP

Restore backup

Install Stock Recovery

Reboot

Check OTA

do OTA

done
[One (M8) Q&A, Help & Troubleshooting] kami2k:
Thanks i have twrp 2.8.7.0 is it ok?

do i have to unroot and lock bootloader or not?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
2.8.6.0 or latest .. so 2.8.7.0 is ok

Steps 1 - 14 (read again) never say anything about unroot or lock bootloader

so no need to unroot, the backup itself is non-rooted

no need to lock bootloader
[One (M8) Q&A, Help & Troubleshooting] kami2k:
Last question, after OTA I have to unlock the bootloader for TWRP installation?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Last answer as I'm going to bed now...

No.. no need to unlock because there is no need to relock in the first place.

Your bootloader is always unlocked.

Forget about this unlock/relock/unlock thingy ... not related here.

You already have TWRP installed.

Restore the backup

Install stock recovery

Check OTA

install OTA if there is one

done

Then to re-root or to install custom ROM

install TWRP

re-root or install custom ROM

done
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
You haven't given much info on what stock you want to return to, current hboot, firmware, etc.

But if you want the latest Dev Edition RUU, you can get it right from HTC on the following webpage (download link near the bottom): http://www.htc.com/us/support/htc-one-m8/news/

Previous versions RUUs (if that is preferred) are listed on my thread under RUUs: http://xdaforums.com/showthread.php?t=2751432

But note that you can't run an "older" RUU than the firmware currently on the phone with s-on (no "downgrading").

To relock the bootloader (required to RUU when s-on), use the fastboot command:

fastboot oem lock

Note this is not required (or suggested) if you are s-off.

Fastboot command is issued in a similar way as when you unlocked the bootloader. If you aren't familiar with fastboot, just do a XDA search and read up, or ask here if you are lost.
[One (M8) Q&A, Help & Troubleshooting] kami2k:
I have installed the stock rom but when i check it says no software available :(
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Then you are up to date. Unless you haven't got stock recovery flashed as well.
[One (M8) Q&A, Help & Troubleshooting] kami2k:
I have flashed the recovery no now system software says no updates available :(
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
I see .. you revert to stock because you're expecting an update.

HTC not yet release an update for CID HTC__059

Always check the updates discussion thread in General section to see whether HTC release any update for your CID
[One (M8) Q&A, Help & Troubleshooting] kami2k:
I have twrp back of custom rom can i restore it now?
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Yes.
[One (M8) Q&A, Help & Troubleshooting] legiong:
Thanks so much for posting this thread, you got me out of trouble (boot freeze after update)
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Are you trying to install OTA ? After download OTA, copy it from internal storage/download to PC.

Open the OTA with 7-zip, open firmware.zip then extract out the recovery.img .. this recovery.img is the one that you need.
[One (M8) Q&A, Help & Troubleshooting] joikep:
How can I update my firmware for HTC One M8 CID 332?

I have an HTC One M8 unrooted and with bootloader locked S-ON with Telcel carrier here in Mexico. The unlocking bootloader and rooting process is no problem, the issue is that I have been reading through posts and forums about custom ROMS and want to install ViperROM or SkyDragon both with Sense 7, but it clearly states that I have to upgrade my firmware, the only problem is that my modleid matched, but my CID is 332 (for latam) and I haven't found any upgrades for that firmware exclusively. I've gone through tons of posts, and forums in English and Spanish to no avail.

The specs of my phone are as follows:

c:\mini-sdk>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.16.0.0000

(bootloader) version-baseband: N/A

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.12.600.20

(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: 0P6B16000

(bootloader) cidnum: HTC__332

(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: 0a41237a

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

Currently I am in Mexico with stock ROM 4.4.2 Kitkat and my carrier is Telcel.

I know I have to be u/l bootloader, be rooted and S-OFF.

Any help in pointing me to the right direction would be appreciated.:fingers-crossed:
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
You have to be u/l bootloader is correct. Be rooted and S-Off are incorrect.

Root is optional and S-Off too is optional.

There were a few people with same version no. as yours and they successfully update their device to lollipop .

My advise :

1. make nandroid backup of your current ROM (in case you need to revert to your current ROM if below procedure not working for you)

2. restore 1.57.599.1 backup that you can find on post #2

3. install stock recovery 2.25.599.1 that you can find on post #4 (as there is no 1.57.599.1 stock recovery in my collection)

4. check OTA and do the OTA installation

5. you will have to do multiple OTA - 1.57.599.1 --> 2.25.599.1 --> 3.36.599.2 --> 4.20.599.3

Once you successfully update to 4.20.599.3 - you're ready for any lollipop based custom ROM

Read How-To on post #1 thoroughly because you need TWRP 2.8.1.0 for a start

and the latest TWRP 2.8.6.0 or 2.8.7.0 after updated to 4.20.599.3
[One (M8) Q&A, Help & Troubleshooting] joikep:
Ok. Got it. One more question...once I finish the process what are the chances of having WiFi or any hardware issues? Because I read that there were a few who reported them.

I know I can revert to stock Nandroid but then it would be a waste of time.
[One (M8) Q&A, Help & Troubleshooting] adarsh_k:
Hi ckpv5,

Thank you for posting the instructions.

I have an AT&T M8, rooted, S-on with CM13 installed. I'm still on Lollipop firmware and I'm looking to install Marshmallow firmware with a stock sense MM ROM.

What would be the easiest way to do this ? Go back to a stock lollipop TWRP backup and then OTA to MM ?

Also, I do not have version_main when i run fastboot getvar all. This is the output.

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 4.0.U605761@60113A

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

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

(bootloader) serialno:

(bootloader) imei:

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul_ca

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B12000

(bootloader) cidnum: CWS__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: 7f8e91a3

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.007s

Any help is much appreciated.

Thanks :)
[One (M8) Q&A, Help & Troubleshooting] :
as you are s-on, it is the only way to go to MM firmware. your version main is 4.28.502.8 but it is difficult to find a twrp backup for you. it is not found in this thread. but you can find by searching.
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Run the official HTC AT&T RUU which you can find here.

Since you are S-On, you will have to re-lock your bootloader before you run the RUU.

In fastboot: fastboot oem lock
[One (M8) Q&A, Help & Troubleshooting] :
:rolleyes: In ruu exe it checks main version. he is in middle of LP & MM. so he will get an error 'error 155'. ruu exe can be run only if we are in that version. it anyway does not help to go to MM from LP.
[One (M8) Q&A, Help & Troubleshooting] adarsh_k:
Thank you for the reply guys. :)

I'm not sure if I can run the HTC RUU since I'm rooted ?

Also, I've found a backup of the Lollipop Sense ROM I took before flashing CM 13. Can I directly restore that backup ?

Thanks for the help.
[One (M8) Q&A, Help & Troubleshooting] :
it is not important whether you are rooted after wipe system you can restore a backup. but at first find firmware

(4.28.502.8) because you must restore main version.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Are you on AT&T network ? Are you in US ?

If no, no point to restore nandroid backup, you won't be able to do OTA on a non-AT&T network.

(One of the reason why there's no AT&T backup in this thread even though I have most of them in my hdisk)

You can try this - http://xdaforums.com/showpost.php?p=67123738&postcount=7

Workable for both AT&T & non-AT&T network.
[One (M8) Q&A, Help & Troubleshooting] adarsh_k:
Thanks for the reply, ckpv5 :)

You're correct, I'm on AT&T network and in the US.

My end goal is to install marshmallow firmware with a sense based MM ROM. Any suggestions are much appreciated.

First edit : Just saw your edit with the link. Will try and report back.

Second edit : I currently have unlocked bootloader, but I'm S-on. I will have to relock bootloader before trying to flash firmware, is that correct ? The instructions in the link are for a device that is S-off'd I presume.

Thanks
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
You can try with your backup first as long as it is not rooted and you need the stock recovery.img too and no need to relock bootloader.

Yes, you need to relock bootloader to flash firmware & to run RUU because your device is S-On.

I can't help much as I'm 600km away from home. I'll be home on 15/7.
[One (M8) Q&A, Help & Troubleshooting] :
Did you find firmware 4.28.502.8 ? at first try to restore your backup & check software number from device. you must download firmware matching that number.( I told your number by base band number. after every ota base band number change as firmware get updated)

We have one trick to download your firmware.

1) restore twrp backup 4.28.502.2 (it is in this thread.)

2) check updates. Download ota. Don't install.

3) copy ota zip into computer.

4) unzip ota zip. Take firmware zip

5) flash