yashsingh1/xdaforums huggingface dataset:
[One (M8) Q&A, Help & Troubleshooting] thoroftheaesir:
Right I'll be using the hboot method then. I actually used it as described in #5857 but I placed the file I downloaded in my phone's internal memory and got an error message which I later found out was complaining about a lack if memory space before it failed. Knowing now that hboot looks for an op6bim.zip in the sd card I don't understand how it didn't just say that it failed to find an update file but this time I'll rename the ruu file ckpv5 pointed me to and put in my sd card before hitting hboot.

Just need to decide what to back up.
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Backup whatever you want to keep and move it either off the device or to the sd card if you have space. The ruu will wipe the phone.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
OTA and RUU are very different things. I believe you can only "manually" update by OTA (the way you tried) if you have s-off, if I remember correctly. In that is why ckpv5 said you need use RUU. [MENTION=830797]ckpv5[/MENTION], correct me if I am wrong
[One (M8) Q&A, Help & Troubleshooting] thoroftheaesir:
Does that mean if I could change my phone to s-off I could apply the update to marshmellow over the air?
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
I believe so, yes. But do you realize the only way to s-off is by sunshine app, which carries a $25 license fee?

So it's not worth it to s-off, just so you can OTA. Just backup the data you want to keep, RUU, and be done with it.
[One (M8) Q&A, Help & Troubleshooting] thoroftheaesir:
There is no way I'm going to shell out cash so when I get the the time I'll update with RUU file after all.
[One (M8) Q&A, Help & Troubleshooting] donk165:
Hi all,

So I'm a OnePlus One user, never posted in these forums and not 100% on HTC specific things. Anyway, I have a friend with a HTC One M8, I think it may be locked to Vodafone UK, not really a problem there. Her issue is that the phone is really sluggish to respond when opening apps up, and it seems to run out of storage space a lot. Its running the stock software, I think on the latest version. I know its running android 5.1.

My plan was to flash a custom ROM onto the phone to give it a new lease of life, she wants to get a new phone in a few months, but for now, I wanted to give her a better experience on her current phone.

I was thinking of flashing Lineage OS 14, as that's the ROM I'm using on my phone. Would this be the best choice? I don't think she minds losing Sense UI in favor of a more stable and quicker ROM. Root wouldn't be needed, she's not a power user.

Can anyone point me in the right direction? I'm pretty familiar with custom recoveries and ROM flashing, as I've been doing that on my OnePlus One for a long time. The parts I'm unsure on is how to unlock the boatloader, and also s-off, and what it means.

Thanks!
[One (M8) Q&A, Help & Troubleshooting] Einwod:
If she's not a power user, she won't need s-off. Unlocking the bootloader is thru the HTCdev site, a simple process. Make sure first that the phone has all the latest updates available before doing anything else. Should at least have android 6 on it if up to date. There's a thread for getting back to stock htc M8 by [MENTION=830797]ckpv5[/MENTION]. Here. It's easy to follow. That may be all that's needed, a clean flash of stock. On my M8 I used Android Revolution 53.1 Rom, close to stock but slick and smooth. Still works fine today.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
The answer to that is completely subjective. Lineage is lightweight, and might be a acceptable choice. But if she uses the Sense camera, she will likely find the Lineage camera lacking.

And unlocking the bootloader, and flashing an unfamiliar ROM, may be a lot of steps; for just using the phone for a few more months. Simply backing up what user data she wants to keep, and doing a factory reset (which will wipe all user data), may alleviate some of the lag.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Sorry .. just back from holiday .. nothing to correct here ;)
[One (M8) Q&A, Help & Troubleshooting] manishah.1996:
*HELP* *RE-PARTITION DEAD HTC M8*

Hi guys..so I have this friend who had a rooted htc m8 and while partioning his SD card he ( being an arse ) partioned all his internal partions like root ....system and you all know what...

Now the set is a dead brick ...and I want to know if there is any way to repartition the phone now...? And what is the procedure I should / must follow...

Thanks if u are willing to help ..PEACE
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
If the phone doesn't power on at all (at least to bootloader or HTC logo screen) the phone is a brick, not recoverable. Your friend partitioned hboot, and there is no coming back from that.

But you can only touch hboot if the device was s-off. Was it s-off?

Need some details on how exactly your friend partitioned the phone. Methods, commands, etc.
[One (M8) Q&A, Help & Troubleshooting] manishah.1996:
I am not sure but I think it was s-off and he was using a custom recovery and custom ROM. Actually ye was using an app which he was supposed to use it to partition his SD card... instead he did as I mentioned..now even if I connect the phone to PC via cable ..it is stated as unrecognized... although PC makes the an effort to recognize it each time...
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
If the phone is not powered on, a PC can't connect to it. This goes for a bricked device, or one that is just turned off. Try holding the power button for a minute or so, and see if there is any change. Try the same with power+vol up.
[One (M8) Q&A, Help & Troubleshooting] manishah.1996:
I have tried all the basic procedures ..but but my friend and clearly stated that he did partion the boot directory. Now is there any hope of changing that ?

Or is it forever bricked?
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
boot partition is not the same as the bootloader (hboot). Completely different things. If he partitioned boot, this is probably minor and fixable. But the phone would still be coming on, at least to HTC logo screen or bootloader.

If he indeed partitioned the hboot, that is a huge mistake. I don't see an app having the ability to do that. It would be suicide for the device. But I don't mess around with such apps.
[One (M8) Q&A, Help & Troubleshooting] manishah.1996:
He's a D ...I rooted his phone for him and gave him his nice recovery and custom ROM..

He misunderstood the power of root access..

Now....I see the phone .. not booting up...and there is no hope...I just a regular guy who reads and proceeds ...and have no knowledge about such matters

---------- Post added at 08:45 PM ---------- Previous post was at 08:42 PM ----------

If anyone has to offer anything that might help....Kindly contact me .. Thanks :svetius:
[One (M8) Q&A, Help & Troubleshooting] Salman Akbar:
Please please please help me..

I have HTC One M8 Dual Sim M8_DUGL PVT SHIP S-OFF

MID: 0P6B64000

CID-11111111

HBOOT-3.19.0.0000

RADIO-1.22.30306251.27G

OpenDSP-v46.2.2-00564-M8974_FO.0811

OS-3.33.401.6

it was running Android 4.4.2 (1.45.401.12) and hboot was 3.18.****

I unlocked it and tried to install TWRP, it flashed but my phone was not booting into recovery. When I booted to recovery, it was not loading, the phone returned to fastboot mode Everytime.

Then I flashed (only firmware) which I found in an OTA update 3.33.401.6

Now my phone is showing OS- 3.33.401.6 in hboot and the hboot is also updated to 3.19.*** but the problem is that, when I turn on my phone, it stucks on HTC logo screen. The sound of bootanimation plays, after that, when I touch the place of home and back key, I also get a Haptic Feedback. But the screen is only showing HTC logo and not going further. Now, The bootloader is RELOCKED. Phone goes into stock recovery well. I tried to install an RUU version 6.16.401.101 by placing the zip file in SD Card but it failed. Says that Device halted due to Large Image file size.

Tell me what to do..

???
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Get the RUU zip 3.33.401.6 from here - https://easy-firmware.com/home/browse/category/id/7825/

It is the last 5 in the list .. FOC
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Try this thread. Read everything very, very carefully. All you need is in the first 5 posts. Just follow the simple instructions.
[One (M8) Q&A, Help & Troubleshooting] Jbazt_katuforzs:
I got m8 not booting, no fastboot, no recovery, no HTC boot image, no display when plug in charger but red/orange led flash once when plugged but phone is heating up if i charge it, all button combination tried but no success. possibly a dead battery?. PC detect it as QUSB_blablabla,. is there anything i can do about this or its pretty much a paper weight now?
[One (M8) Q&A, Help & Troubleshooting] IURII G:
I

Few time ago you post the link with working google camera at LineageOS15.1 ROM for M8. That camera doing a great job but sometimes G sensor does not work correct. Maybe they do any updates?

I tried to look for new versions by myself but it did not has a success
[One (M8) Q&A, Help & Troubleshooting] DrWu:
I have an HTC One M8 Vzw Marshmallow I want to flash with LineageOS.

To cut to the chase, will Sunshine give me everything I need (except TWRP recovery) to be able to flash the LineageOS ROM to this device?

Sunshine's website says their app will unlock the bootloader and give me S-Off. Although I don't find this on their website, a thread in this forum from a year ago states that the latest versions of Sunshine also do the rooting.

If I'm understanding that correctly, all else I'd need do after running Sunshine is flash a custom recovery ROM and then I'd be able to flash the LineageOS ROM.

Is that about the gist of it?

I have rooted three Android devices before this and installed custom ROMs on two of them. And I have a passing familitarity with ADB, towelroot, kingroot and Odin. So I'm not a complete noob but the combination of HTC and Verizon makes this one complicated nut to crack. So I'd appreciate any information you can offer to get me pointed in the right direction.
[One (M8) Q&A, Help & Troubleshooting] Einwod:
The first and most important thing to research is: Is your custom ROM compatible with Verizon? Verizon and Sprint devices have a different partition layout from other M8 devices. You need to make sure the custom ROM will work on your Verizon device. Most important for you, is to make a backup of everything on your device BEFORE you begin to dabble with custom ROMs. You could end up with a very expensive paperweight.
[One (M8) Q&A, Help & Troubleshooting] DrWu:
Having been on an MNVO of Verizon for some time, I was aware that Verizon devices usually require their own bespoke ROM. And LineageOS's compatible devices list does indeed show a Verizon-specifical ROM for the M9 but not the M8. But there is at least one thread on this forum in which XDAers describe running LOS on their Verizon M8, one of whom (user thekwijibo) states specifically he used "the regular M8 version" of the ROM I also found several tutorials for installing LOS on an M8 on YouTube and elsewhere and none of them makes mention of a Verizon-specific ROM.

FWIW, I already went with Sunshine, and it did unlock the phone and give me S-Off (persistent through a reboot). However, according to chainfire's SuperSU (v2.82, installed from within the OS), the phone is not rooted. That was as far as I got before I was overcome by events and had to put the phone aside and pretend to be a grown-up for a while.

So my situation is somewhat changed. My first concern now is whether I can trust SuperSU regarding the status of root, or should I look for confirmation before trying to root it. Secondly, how to proceed with the rooting, and is kingroot the weapon of choice for the Vzw M8? And must I be rooted before I can flash TWRP recovery, or must TWRP recovery be installed before I can root?

EDIT:

Out of sheer ignorance (and on the odd chance that it might help my cause), I'm posting the result of my "fastboot readcid," slightly redacted for privacy and security. If you recognize something here that is a potential troublespot to my plan to flash a custom ROM (LOS is my first choice but I'm not married to the idea, if someone has a better one), please let me know.

C:\adb>Fastboot oem readcid

...

(bootloader) cid: VZW__001

OKAY [ 0.004s]

finished. total time: 0.005s\\C:\adb>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.14.20.0930

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 6.21.605.3

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

(bootloader) serialno: HTxxxxxxxxxx

(bootloader) imei: xxxxxxxxxxxxxxx

(bootloader) imei2: Not Support

(bootloader) meid: xxxxxxxxxxxxxx

(bootloader) product: m8_wlv

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B20000

(bootloader) cidnum: VZW__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: 205bdca3

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!
[One (M8) Q&A, Help & Troubleshooting] DrWu:
Now I have TWRP recovery installed (and I can boot to it) but neither kingroot nor kingoroot (android or PC version) will give me root. I note that there a nag from TWRP on every boot informing me I a TWRP update is "required" but when I try to follow the link they provide I get so inundated with advertisements and pop-ups I can't find any update.

Apart from the nuisance of the pop-ups, is it possible that the reason kingroot and kingoroot are failing is because I don't have this TWRP update installed? And if so, how can I identify what updates it is so I can download it by other means, like maybe from my PC?

And are there other alternatives to kingroot and kingoroot?
[One (M8) Q&A, Help & Troubleshooting] mrrocketdog:
oooops wrong thread.

apologies. :)

err on the side of kindness
[One (M8) Q&A, Help & Troubleshooting] Einwod:
I imagine you did the fastboot getvar all before you used Sunshine, as it shows you are S-ON. I always used SuperSU 2.82 SR5 on my M8 without problem. I never tried Magisk when I had the device, but my wife uses it now with Magisk and root is maintained and passes safetynet checks too. Magisk is a better root solution IMHO. You need root for TWRP recovery to stick. Make sure you have the latest version for M8 flashed, older versions will ask if you want to flash this and that.
[One (M8) Q&A, Help & Troubleshooting] DrWu:
To recap in brief, I've been looking for handholding on unlocking the bootloader, getting S-Off and rooting my HTC One M8 Vzw. I bought Sunshine, which unlocked the bootloader and gave me S-Off but didn't root the OS. So I messaged Sunshine support about the rooting and they replied,

I already had flashed TWRP recovery from fastboot, which should have meant I was ready for flashing the cuwstom ROM, but when I try to install it from TWRP recovery it fails. The entire mesasage reads:

Updating partition details...

...done

Full SELinux support is present.

MTP Enabled.

Installing zip file '/sdcard/lineage-14.1-20180810-nightly-m8-signed.zip'

Checking for Digest file...

Skipping Digest check: no Digest file found

Target: htc/lineage_m8/m8.7.1.2/HJH47F/f5b56d94cb:userbug release-keys

detected file system ext4 for /dev/block/platform/msm_sdcc.1/by-name/system

Can't install this package on top of incompatible data. Please try another package or run a factory reset

[the following is in red]

Updater process ended with ERROR: 7

Error installing zip file '/sdcard/lineage-14.1-20180810-nightly-m8-signed.zip'

[end of red]

updating partition details...

...done

[the following is in red]

UNable to mount storage

[end of red]

I ran a factory reset then tried the install again but it failed with the same errors.

Since ViperOne has a Vzw-specific ROM for the M8, I'm off to find the latest version and see if it fails too. But if anyone has some insight about those errors, I'd love to hear it.

The good news is, I didn't brick the phone...

...yet.​
[One (M8) Q&A, Help & Troubleshooting] DrWu:
I flashed ViperOne's 6.1.0 ROM and it went flawlessly. On the odd chance that that might have fixed the problem that prevented me installing LineageOS, I tried it again. And it failed with the same errors.

As I was poking around for a solution, I found this in the LineageOS wiki:

As usual, RTFM uber alles. To address the possibilities, seriatim, ...

Is it the ROM for the wrong Device? Dunno. Could be. Other XDAers have written that the plain jane M8 ROM was working in their Verizon phones. But I don't know that any of them were on Marshmallow v6.0.

I'm not coming from LineageOS but, in compliance with the error messages, I've already done a factory reset and a full wipe anyway.

I just bought this phone (refurbed) so AFAIK it's on a stock image. Or it was, before I flashed ViperOne. I don't know how to check the age/status of my "vendor/modem/bootloader" so I'll have to educate myself on that one.

Outdated recovery? I flashed twrp-3.2.3-0-m8, which AFAIK is the newest.

I obviously have a fur piece to go before I can prepare a submission to Subreddit.

I also have the earliest LineageOS image and the final Cyanogenmod image which I might give a try.

EDIT:

Both of the older ROMS also failed to install for the same 'ERROR: 7 '
[One (M8) Q&A, Help & Troubleshooting] DrWu:
Wallaby darned. I screwed up and fixed it. I was underestimating what the LineageOS Wiki meant when it said "A full data wipe." I was only wiping the cache and Dalvik cache. On a whim I tried it also wiping system and data (the word "data" should have been my first clue), which was something I had never tried before, and didn't really understand what it would do. I ran the wipe and tried to reboot but got a warning message from TRWP recovery, "Are you sure you want to reboot with no operating system installed?" Which put my heart in my throat because I wasn't aware it was possible to completely delete the OS (much less to reinstall another) all from TWRP recovery.

All hail the TWRP group!

Anyhow, I loaded LineageOS and gapps again and it worked. Everything I've tested so far, WiFi, camera, even FM radio, works. So thanks for tolerating my aimless ramblings.

YMMV and I do not represent myself as an authority, but for the benefit low the low-level users who, like me, bite off more than they can try to put LineageOS on an M8 Vzw, I will recap. I started with an HTC One (M8) Verizon on Android Marshmallow 6.0. I downloaded and installed Sunshine v3.5.30, which is a slick little app. It runs system checks and confirms it can unlock the boot loader and give S-Off before prompting for payment ($25). As best as I could determine, there are other ways to achieve S-Off on a (late model) Verizon M8 but no other reliable means to unlock the boot loader.

Next I downloaded the TWRP recovery image twrp-3.2.3-0-m8.img, which was the most recent, and M8-specific but not Verizon-specific, and flashed it to the phone from a Win7 PC with adb and fastboot installed, with the command 'fastboot flash recovery twrp-3.2.3-0-m8.img'.

If I hadn't taken the long way around, what I should have done next was boot to TWRP recovery and wipe Dalvik, Cache, System, Data and Internal Storage. Then without leaving TWRP, select 'Install', drill down to and select the custom ROM zip file. Mine was lineage-14.1-20180810-nightly-m8-signed.zip which, like TWRP, was M8-specific but not Verizon-specific (I note that there was a newer build available as of yesterday). Then select 'Add more Zips' and select the G-Apps file (I loaded open_gapps-arm-7.1-full-20180817.zip). It is my understanding that the gapps only can be installed along with the custom ROM. With both files selected, 'Swipe to confirm Flash'.

My phone now reports it is on Android 7.1.2, as opposed to the 6.0 I started with, which AFAIK is the last version the M8 was sold with.

And my thanks to all for the hand-holding.

EDIT:

I should have mentioned that the final step was to flash a SuperSU zip file from TWRP recovery, then reboot, go into Developer Options (which you should already have enabled or you couldn't have got USB Debugging) and enable Root Access. At which point the phone is unlocked, S-Off and rooted.
[One (M8) Q&A, Help & Troubleshooting] mrrocketdog:
good to hear. that darn [MENTION=3741261]Einwod[/MENTION] , [MENTION=660462]redpoint73[/MENTION] , [MENTION=4987085]xunholyx[/MENTION] & [MENTION=830797]ckpv5[/MENTION] will sure get you there.

they saved my butt more than once.:COWBOY:

err on the side of kindness
[One (M8) Q&A, Help & Troubleshooting] garipyaratik:
m8 stuck on htc logo

Hi guys, i would really appreciate any help because i broke my mothers phone :). I rooted her m8 like 1 year ago and today i decided to give oreo a chance. So with brief a relearning activity i updated twrp to 3.1.1.0 from 2.8.8.0 and than i downloaded a rom. while installing the rom i entered twrp and selected both recovery and boot. now i can't open anything. Please help me
[One (M8) Q&A, Help & Troubleshooting] mrrocketdog:
selected both recovery and boot for what? wipe , installation?

cant open anything in twrp or anywhere.?

which rom where you on?

which firmware where you on?

s-on or off?

more details please. :)

err on the side of kindness
[One (M8) Q&A, Help & Troubleshooting] Einwod:
3.2.3.0 is the latest version for M8.

https://dl.twrp.me/m8/
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
I'm not clear what this sentence means, can you explain better? Do you mean you wiped recovery (and boot)? If so, just fastboot flash recovery.
[One (M8) Q&A, Help & Troubleshooting] DrWu:
Anybody know how I can get facial recognition unlocking on an M8 Vzw on (unlocked) LineageOS v14.1/Android v7.1.2? I don't find anything referencing smart lock or facial recognition in the settings. Bonus points for open source, and Google-anything need not apply.