yashsingh1/xdaforums huggingface dataset:
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Go to this thread to get up to 4.4.3, and read the first page or two before proceeding please. You'll need to flash back to your stock recovery for it to work also, which you can find here.

Read the first couple of pages (or all of them, there are only three) to get an idea on what you are need to do. Unroot with the SuperSU app, but don't uninstall it. You'll want to re-root as soon as the firmware is flashed.

Read the OP in the second link to understand how to flash the recovery.

The link to the RUU in post #1 in the first link I provided has the rest of the instructions.
[One (M8) Q&A, Help & Troubleshooting] FIFATG:
Hello experts,

I'm on sense 4.4.3, rooted, with TWRP, ElementalX kernel and using a few xposed modules.

This morning I got the notification to update sense to 4.4.4.

Now, what is the right course of action to apply this update?

1. Uninstall xposed modules & xposed installer?

2. Flash stock sense recovery 4.4.3?

3. Apply OTA update notification?

4. Install ElementalX 4.4.4 sense?

5. Install xsposed installer & modules again?

Please correct me if I'm wrong.

Thanks in advance!
[One (M8) Q&A, Help & Troubleshooting] corticool:
Corrupted system files preventing OTA

Hi all!

Not really sure if this is the right place to post, so please tell me if it's not... Anyway here goes my problem, if you'd be kind enough to help me out!

I'm running stock Sense, software number 3.28.401.6, with TWRP, and this morning I received the OTA notification for upgrading to 3.28.401.9 .

Now what I did was:

1) flash a stock recovery image

2) reboot and proceed with the OTA update

3) It did reboot to recovery, the update started installing just fine until around 20% where it just stopped and displayed the usual red exclamation mark in a triangle and displayed " system/lib/hw/audio.primary.msm8974.so has unexpected contents ". Basically, it looks like the MD5 check failed for this particular file, wich caused the update to be aborted. I'm guessing this has to do with my (failed) conversion to a Harman/Kardon edition, but I'm not entirely sure...

So what I did then was I downloaded a stock nandroid backup for the same firmware version, extracted the " audio.primary.msm8974.so " file from it, and used ES File Explorer to replace my corrupted file with the one I'd just extracted. Didn't work: even though the file did get copied to /system/lib/hw, it was reverted back to default upon reboot. So nexte step, I made a custom flashable .zip with the "audio.primary.msm8974.so" file, reinstalled TWRP, flashed the custom .zip, it flashed successfully but ... it got restored to the default file upon reboot too! Obviously, the OTA failed again with the same exact message...

Any idea what went wrong? Any help would be greatly appreciated, this is driving me crazy...

Thanks!

EDIT: Found out how to fix this, sharing it here if anyone's having the same problem. It was indeed due to the Harman / Kardon conversion. Using the HK_disable_v3.zip provided on the original H/K conversion thread did not solve the issue. I had to manually replace the audio.primary.msm8974.so in this .zip with the one extracted directly from a stock nandroid backup found on the stock backups thread here.

After this, the update went smooth.

Hope this helps!
[One (M8) Q&A, Help & Troubleshooting] mizzou626:
I was using voice recorder the other day when I got a phone call which I ignored. The phone stopped recording and didn't start recording again after I denied the call. Does anyone know how to keep this from happening?

---------- Post added at 12:13 PM ---------- Previous post was at 12:09 PM ----------

Also, I installed the HTC flashlight app but it turns off if I close my dot view case. Any way to prevent this? Thanks.
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
You are not wrong. Also stock ROM if you aren't on it (I think you are since you got the notification.)

And also, if you are running the H/K sound mod, you will have to revert back to BoomSound since that modifies you system partition as well.
[One (M8) Q&A, Help & Troubleshooting] nsilverman15:
ADB

I'm trying to use ADB to achieve S-Off with my one M8.

What's odd is, I adb works when in recovery, and fastboot works. But when I am in the rom, adb says that the device is "offline" I'm pretty sure I have everything installed including the USB drivers, especially if it works in recovery. I need it to work when the device is on to achieve S-Off via Firewater.

Thanks
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
I hate to break it to you, but Firewater usually doesn't work anymore. Like at least 99% of the time doesn't work.

You'll have to use SunShine S-Off. It costs $25, but you can do it directly from your phone, no PC necessary.

And it is guaranteed. No S-Off, no pay. But it does work, at least 99% of the time. And the freedom you get from being S-Off is totally worth the $25.

Here's a link to their website for instructions and download.
[One (M8) Q&A, Help & Troubleshooting] nsilverman15:
I might spend the $25, but it seems to me I still have a problem if I can't use ADB unless in recovery.
[One (M8) Q&A, Help & Troubleshooting] :
You have USB debugging enabled?

And for Sunshine Adb is not required. ?
[One (M8) Q&A, Help & Troubleshooting] Fifa91:
You don't understand me there is no way to hard reset without wiping the battery this is the only way you can do it. In earlyer time i was have the same problem with ONE PLUS ONE phone is actually freeze so i let the phone to discharge completely over the night so i wake up in the morning and hook up my M8 to a charger about 45min untill battery level is reaching about 60-65% of battery and from TWRP went to install ViperONE rom and at least my phone is back from the dead but i dislike IR blaster who is not working in any way. :(

Sorry my rusty english
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
This was completely unnecessary, as [MENTION=5511100]mrrocketdog[/MENTION] pointed out, you can force a reboot on this device by simply holding power and vol up for a minute or so. Proper research would have prevented a lot of hassle here.

---------- Post added at 09:15 AM ---------- Previous post was at 09:14 AM ----------

Again, this is incorrect.

---------- Post added at 09:19 AM ---------- Previous post was at 09:15 AM ----------

Point out to me

exactly

what statements you believe were "judging you". As [MENTION=5511100]mrrocketdog[/MENTION] graciously stated, all I did was state facts, and helpful ones at that. Taking out my own free time to help someone that is apparently ungrateful.

I've actually made myself hold back quite a bit, responding to someone that is complaining about HTC, for issues that appear to be entirely user error.
[One (M8) Q&A, Help & Troubleshooting] Fifa91:
Im not crazy just like i said i tried everything to reset the phone but with no sucess in emergency cases like that this is the only way to save device believe me or not thats your problem if you not believe me.
[One (M8) Q&A, Help & Troubleshooting] SergioRmz:
Mate, you should understand that people in here is actually trying to help you. I really know how frustrating it is when you have your phone in a situation like that, but just take what experienced users say in this and other threads in XDA.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Nobody said you were crazy, but you

are

wrong.
[One (M8) Q&A, Help & Troubleshooting] diaphanouz:
Installing twrp on m8s

Hey guys,

I'm having some trouble with installing any version of twrp on my m8s.

I downloaded one from here, here and here, checked the md5 hashes and they do match my files.

When I try to run my command, I always get the same error message:

n@hpnotebook:~$ md5sum twrp-recovery-2.8.6.0-m8s-qlul.img
bbaa58ffad04048c91238ab8d4f4e1a5 twrp-recovery-2.8.6.0-m8s-qlul.img
n@hpnotebook:~$ sudo fastboot devices
FA55TYS00736	fastboot
n@hpnotebook:~$ sudo fastboot flash recovery twrp-recovery-2.8.6.0-m8s-qlul.img
target reported max download size of 16777216 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 10479616 is not a multiple of the block size 4096
fastboot: ../libsparse/sparse.c:143: write_all_blocks: Assertion `pad >= 0' failed.

I have purged and reinstalled fastboot once, still doesn't work.

Can anyone help?
[One (M8) Q&A, Help & Troubleshooting] Fifa91:
All my problems are solved i quiting about selling my M8 because i find a alternative way how to make IR blaster in full function in android 6.0 its actualy viperONE ROM i using this method to enabling the IR blaster in this link http://xdaforums.com/lg-g3/themes-apps/app-quickremote-port-aosp-t2929146

So i'm following instructions from this thread and i downloaded some remote controll application from google play store and it works perfect i guess i gonna keep the HTC ONE M8 what a relief. :)
[One (M8) Q&A, Help & Troubleshooting] dr.arifeen7009:
I am using sprint htc one m8

My CID is 11111111

My phone was carrier unlocked as it's been used in bangladesh

I tried to update it through HTC sense 7 RUU,but failed

Then I rooted my device/installed twrp (2.8.7,newer twrp doesn't support sprint device I guess) tried to flash custom romm,but failed. Not even CM 13

NOW I am stuck in 4.4.2 kitkat

Can any one show me the way to update my device to marshmallow?

Any twrp backup of sprint rom marshmallow (with super cid appreciated) will be highly welcomed.I am a noob so I don't know how to do it
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Sprint devices are CDMA. You cannot and should not try to flash GSM ROMs otherwise you risk destroying your device. Only CDMA ROMs will work on your device. A simple search here reveals a lot.

http://xdaforums.com/sitesearch.php?q=sprint m8 rom
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
You haven't stated which RUU you tried, or if there were error messages, and what that error specifically was. But you need to use the Sprint RUU, and there are 2 different RUU versions, depending on whether its the Harmon Kardon edition, or the "standard" Sprint version (and you need to use the right one). If the device is presently s-on, you also need to relock the bootloader (command; fastboot oem lock) in order to RUU (no required if s-off).

Otherwise, as mentioned above, you should flash a custom ROM that specifically supports the Sprint version, as there are kernel differences that mean that "other" (international) ROMs won't work. Also, if your firmware (hboot, radio, etc.) version is too low, no ROMs (even ones for the Sprint version) will work properly.

Really, you should do fastboot getvar all, and post the results (delete IMEI and serial number) if you want further, more specific advice.
[One (M8) Q&A, Help & Troubleshooting] mongoose96:
Is there any current root method for 6.0 on a Verizon m8? I don't like the update and want to flash a custom ROM but can't find a root method anywhere. A point in the right direction would be greatly appreciated.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
I think most folks on Verizon have been using kingroot, so look for that. But I don't know whether it still works on Marshmallow, or not.

Also be aware, that root alone is not enough to flash a custom ROM. For Verizon, you'll need to root, s-off by sunshine ($25) and then you can unlock the bootloader, flash custom recovery, and then finally a custom ROM.

Search and read in the Verizon M8 section for more details: http://xdaforums.com/verizon-htc-one-m8
[One (M8) Q&A, Help & Troubleshooting] mongoose96:
King root didn't work I tried sunshine and it said it needed root in order to work.
[One (M8) Q&A, Help & Troubleshooting] Drunkula:
As mentioned by redpoint73, us on VZW M8's used kingroot and/or Sunshine on prior version of Android. Even then it was not easy as kingroot had to be run multiple times before it would take and allow Sunshine to work. I

can't

confirm whether or not it works on Android 6.
[One (M8) Q&A, Help & Troubleshooting] SergioRmz:
Does anybody have a flashable zip of latest HTC 10 camera? I'm trying to flash it in GPE.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Don't think that you really need a flashable zip, you can run the apk directly.

I just restored the "Blues" and tested the apk.

If you need any help on this ... just ask in "Blues" thread ... I may post the apk if needed.
[One (M8) Q&A, Help & Troubleshooting] SergioRmz:
Thank you very much, I managed to install it, although I believe that slow motion is not supported for the M8 with this camera version.
[One (M8) Q&A, Help & Troubleshooting] dr.arifeen7009:
I have successfully updated my S-OFF sprint (non Harman/Kardon) version to android 6 marshmallow (Harman Kardon Rom/Firmware)

I updated it from HBOOT via flashable zip
[One (M8) Q&A, Help & Troubleshooting] TidusWulf:
I have several questions..

My phone is Verizon branded. My SIM card is T-mobile. My ROM is ViperOne 5.0.2. (Android 6.0 with Sense)

1. I live in a bad service area. My phone constantly asks "no signal found. would you like to switch to global mode?" How do I stop it from asking? I do NOT want global mode ever. Global mode turns on LTE, which doesn't work for me where I live.

2. The reason I don't want global mode is because I go into the phone info screen and set to WCDMA ONLY (HSPA) because LTE with this sim and hardware has always been unstable. Is there a file I can flash/edit that will add "UMTS/HSPA/HSPA+ Only mode"? If one doesn't already exist, is there a way I can figure out how to do it myself? For now, like I said, I use the PHONE INFO screen, but this is a huge pain in the butt.

3. My phone battery dies at 20%. always. And when I plug it in, it will usually pick a random number between 0 and 20 as my current charge before charging back up. I tried flashing the most recent COMPLETELY STOCK RUU and it did not fix it. I don't think it's hardware related because I take good care of my device. How can I get my battery to accurately report its percentage?

4. With the latest update, every time I plug the phone in, it turns off power saver. I hate this. Before, power saver would stay on even while charging. Is there a file I can flash that will bring back that feature? if not, is there a way to turn on power saver thru the terminal so that I can make a tasker profile that'll keep making sure it's on?

5. My phone has a persistent icon of a SIM card with a question mark. How do I make it go away?

That's all I can think of for now...
[One (M8) Q&A, Help & Troubleshooting] poussyf:
(htc M8) system ui has stopped

Hi guys,

Could you please advise me again cuz i have this message when i start the phone. I don't know what happen.

Thx
[One (M8) Q&A, Help & Troubleshooting] Einwod:
It would be nice if you told us what message.
[One (M8) Q&A, Help & Troubleshooting] dan_tmx:
Hy guys...got a little problem with my phone.Since MM update(2 months ago),Wi-Fi it's still working in the background even i uncheck it.I try: hard reset,reinstalling RUU,wipe cache,location is on battery saving,i use power saving,WI-FI on only is plugged in.

THX

Stock RUU,S-off,HTC M8 Vodafone RO.
[One (M8) Q&A, Help & Troubleshooting] Coolkid90:
Was wondering what is a good stock ROM but without all the bloatware and more customizable. HTC m8 M 6.0

P.s stable to
[One (M8) Q&A, Help & Troubleshooting] Einwod:
I can only recommend ARHD 53.1. Never had any problems with my M8 on it. Still the best for HTC devices, IMHO.
[One (M8) Q&A, Help & Troubleshooting] Jdp2510:
HTC One M8 Help, tried all I can think of.

So here's my predicament, a long while ago i had installed a rom to my phone assuming i had done everything correctly. This ROM i installed is the Bad Boys One M8 L Sense 7 v 1.0, it is currently still what I'm currently using. What I've been trying to do for days now to return my phone back to stock. My bootloader is unlocked and s-off. I have been unable to install any ROM whatsoever besides the current bad boyz rom. Also when trying to use sunshine, it seems to also encounter problems. If anyone can offer some help or a method to go about fixing this it would greatly appreciated.

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.09.20.0209

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 4.25.651.18

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

(bootloader) serialno:

(bootloader) imei:

(bootloader) imei2: Not Support

(bootloader) meid: 99000499318193

(bootloader) product: m8_whl

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B70000

(bootloader) cidnum: SPCS_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: 0f94b3b7

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

It is currently re-locked, I’ve tried running the RUU after locking it but I still come up with a Error 155. If anyone can offer some help or guidance it would be very much appreciated.

--- I've made a earlier thread in hopes of getting any help I can.
[One (M8) Q&A, Help & Troubleshooting] Coolkid90:
OK cool I'll look into it thanks!
[One (M8) Q&A, Help & Troubleshooting] Cryonics:
So, Im about to buy "seemed-to-be-bricked" M8 off ebay. The seller bought it from someone else in dead condition. Previous seller explained that it happened when he tried to factory reset the phone. The current seller told me that the screen doesn't light up, but the orange LED blinks twice in a space of 5 seconds, paused for 30 seconds, then starts all over again. My last HTC phone is windows phone, so I have no idea about this. Any helps would be greatly appreciated.
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
I wouldn't buy it.
[One (M8) Q&A, Help & Troubleshooting] Cryonics:
I bought various dead phone from ebay as a weekend project, mostly LGs and Samsungs.. I wanted to start playing with M7 and M8 because they become quite afforadble in dead condition nowadays. I just wanted to know what does that LED indicator means, not asking if I should buy it or not.
[One (M8) Q&A, Help & Troubleshooting] Einwod:
You most certainly are not s-off as can be clearly seen in the getvar all output. You are on lollipop firmware. You can only flash a signed ruu for your original model, nothing else. If you are as you say s-off, why are you trying to use Sunshine. You have no idea what you are attempting to do. Research and read.
[One (M8) Q&A, Help & Troubleshooting] jabooka:
Hope you can guide me into solving a mess of a phone that I have. I got a refurbished M8 from aliexpress and I have a few problems with it. So lets dive into problem list (facepalm):

1. 4G LTE network is not working on this phone in Croatia - according to phone ID it was originally at&t device, but was sold to me as EU device

2. Software will not update past 4.4.4 despite it having super CID

3. Device is s-off but it is locked and without root

Other details of the state of this device can be seen on hboot screenshot. I'm afraid to do any of standard ways of unlocking/flashing/rooting as I've read that it can lead to bricked device if not done correctly (right fw/radio/hbot in relation to current state of device).

I'm trying to get this phone to stock rooted state, as was my previous phone (M7) and update it to latest stock OTA for EU.

Thx in advance for your guidance and help :)
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Download and run this RUU file from your Windows computer. First install HTC Sync, then uninstall it. That will leave the necessary drivers behind. If the RUU fails, then run it again in bootloader screen. It should update you to lollipop. After it reboots, do NOT go through setting up the device, instead, check for updates manually. There should be 1 to update to 4.16.401.13, then 3 small updates and then finally the update to Marshmallow. Keep us informed.
[One (M8) Q&A, Help & Troubleshooting] jabooka:
I managed to get RUU to work and it installed successfully. After reboot it offered two small updates to HTC apps and then got update to 4.16.401.13 but after downloading that update I got message that I'm running modified version of system software. What to do about that? It must have to do sth with this phone being s-off. Help :confused:
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Did you root the device again? Is the bootloader unlocked? S-OFF should not affect the updating process. It's strange that the first updates came and not the latest. If you need to, you can run the RUU again and take the OTA updates after that.

Post the results of fastboot getvar all after removing your serial and IMEI numbers.
[One (M8) Q&A, Help & Troubleshooting] jabooka:
Einwod, thx for your help :) Anyhow, as it can be seen from my first post, phone is locked and s-off. I haven't done any rooting/unlocking bootloader or flashing. RUU that you have advised is the first thing flashed to it. But first update did come (.13) but did not install.

Here is what getvar all shows:

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.25.214500021.06G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 4.16.401.10

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

(bootloader) serialno: xxxxxxxxxxx

(bootloader) imei: xxxxxxxxxxxxxxx

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B13000

(bootloader) cidnum: 11111111

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

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.157s
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Your MID number is wrong, that's why it failed. I'm actually surprised that the RUU worked as they check the same things. To change MID to European model which matches your firmware, see this thread.
[One (M8) Q&A, Help & Troubleshooting] jabooka:
It's to late to think, but I do need to be rooted for changing MID to work, right?

I'm not rooted, so that need to be done first. This seems like the easiest way to do it, but I need to first unlock bootloader, flash custom recovery and flash su from recovery, if memory serves me well from m7 rooting :)
[One (M8) Q&A, Help & Troubleshooting] Einwod:
That would appear to be correct. Rooting and SuperSU, TWRP are easy, just the code for the unlock bootloader thru HTCDev.com. You'll need to sign up there to get the unlock code. It may be better to get some rest if you think it's too late. It should take around an hour and I know it's late here, 1.20am. When you change the MID number, just run the RUU again and it will put you back to stock. You don't need to relock the bootloader being S-OFF.
[One (M8) Q&A, Help & Troubleshooting] kangarolf:
Hi there,

Tried this...updated TWRP to altest version. Managed to extract the firmware.zip from the OTA and flashed that.

Updated still gets stuck showing this error;

Package expects build fingerprint of htc/orange_uk/htc_m8:5.0.1/LRX22C/457188.3:user/release-keys this device has htc/orange_fr-b2b/htc_m8:4.4.3/KTU84L/379824.2:user/release-keys

Any ideas...? Jsut trying to get back to stock =( sigh
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Then you must have something different from Orange_fr. Have you changed the MID number? Post fastboot getvar all minus your serial and IMEI numbers.