yashsingh1/xdaforums huggingface dataset:
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Few pointers here:

1) I don't personally recommend the toolkit. It doesn't do anything that you can't manually do yourself: one line fastboot commands. And doing them yourself is a valuable learning experience. As you have probably found, using a toolkit doesn't help much, when things go wrong (where some of those skills like fastboot commands start to come in handy).

Just as important, the toolkit contains very old versions of TWRP

and

SuperSU. Using an outdated version of either, is likely going to cause you big problems. Using old versions of

both

, well I think you can see where this is going . . .

2) Before trying to root, you should have made a backup of your stock ROM using TWRP. It's nice that this thread exists, for those that neglect this step. But it really is best practice to back it up yourself, rather than rely on the generosity of strangers. Put another way: always have a backup plan/escape plan, or otherwise know to get back to stock

before

trying to root or do other mods.

3) Correct version of TWRP and SuperSU may depend on your current firmware version. For the best (most specific) advice, do fastboot getvar all, and post the result here (delete IMEI and serial number before posting) so we can see more info about your particular phone.

But in a lot of cases, latest TWRP 3.2.3-1 from here is recommended (flash using fastboot): https://dl.twrp.me/m8/

And latest SuperSU 2.82 from here: https://xdaforums.com/apps/supersu/stable-2016-09-01supersu-v2-78-release-t3452703

But to be honest, I would suggest Magisk at this point instead of SuperSU. SuperSU looks to be dead, while Magisk is still alive and supported. And Magisk has a ton of really awesome and useful features, that SuperSU does not: https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
[One (M8) Q&A, Help & Troubleshooting] Alex IvanoVVV:
Favorite HTC One (M8)

Thanks for the reply Einwod.

I ask you for help.

When executing item 9, errors appear:
- Error opening: '/ cache / recovery / .version' (Read-only file system)
- Process extractTarFork () Failed with error: 255
When cleaning Data, Cache, Dalvik error:
- Cannot mount '/ data' (Invalid argument)

I type the command "fastboot flash recovery twrp-3.2.3-1-m8.img"

C: \ adb_run \ bin> fastboot flash recovery twrp-3.2.3-1-m8.img
Sending 'recovery' (20166 KB) OKAY [2,131s]
Writing 'recovery' (bootloader) radio_batt_level: NOT IMPLEMENTED!
(bootloader) Start Verify: 3
(bootloader) Write Protect set for the region, only partial space was era
(bootloader) sed
OKAY [0.589s]
Finished. Total time: 2.720s

Tell me what's wrong. Head round rides.

I read this forum, but I did not find any clear material for myself. Maybe the translator incorrectly translates !?
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Are you sure the bootloader is unlocked? Did you get the key from HTCdev.com?
[One (M8) Q&A, Help & Troubleshooting] Alex IvanoVVV:
Favorite HTC One (M8)

Yes, I received the file "Unlock_code.bin" from HTCdev.com. Yes, I unlocked the bootloader. As evidenced by the inscription in the bootloader "*** Unlocked ***". And at the top of the inscription "*** Software status: Modified ***"

I'll tell you more about my actions:

Connecting HTC One (m8) to a PC via the "Mount" function in "Recovery 3.2.3-1".
HTC One (m8) is determined. But I can not copy TWRP backup files to it.
Maybe there is no internal memory? Files backup installed from USB media, USB formatted to NTFS.

By the way, the backup was done when the phone became bad.

I have a difficult situation? I try not to do unnecessary actions, fearing to get a brick. Very happy communication. I look forward to hearing from you.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
You posted elsewhere, the inability to relock the bootloader, and resulting errors. This is the main reason you shouldn't post the same problem in multiple threads. Jumping around to 4 different threads, with incomplete info in each. Very confusing for those trying to help you, and as a result, confusing you as well. I posed some questions and suggestions in another thread where you posted. Are you tracking all these threads? Did you see it? Hard to tell with no response; and you jumping around to different threads.

Inability to lock bootloader, along with inability to flash TWRP, and corrupted storage; means emmc is likely fried. Probably a brick.
[One (M8) Q&A, Help & Troubleshooting] Alex IvanoVVV:
I apologize. Yes right, get lost easily. I fully agree with you that the topic should be one. I am not well guided on the site. Sorry again. This is my first time on the xda-developers website.

Very upset. Since I am looking for ways to launch HTC One (M8).

Is it possible to restore HTC One (M8) by other programs?

Please advise a topic for me. What is the best topic for me?
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
If I am right about emmc failure (and all indications point to that), that is a hardware issue. So no amount of software fixes will help.

All I can suggest, is to keep trying:

1) Relock the bootloader. If successful, flash the RUU 6.12.401.4.

2) Keep trying to flash TWRP. Try different versions, as far back as 2.8.7 is okay. If successful, restore stock TWRP backup 6.12.401.4 from this subject thread.

Other than those things, I don't think there is much else you can do.

This thread is only partially relevant (not really a thread for troubleshooting a problem like yours). But seeing as you've posted there more than any other thread, my opinion would be to just leave the discussion here. If the owner of this thread (ckpv5) disagrees, then take the discussion elsewhere.
[One (M8) Q&A, Help & Troubleshooting] SteffJay:
Tried & Fail

I have tried this up to fastboot flash zip fw_6.12.61.4.zip and it failed. Tried again and still failed (see below):

C:\adb>fastboot flash zip fw_6.12.61.4.zip

target reported max download size of 1826418688 bytes

sending 'zip' (1503452 KB)...

OKAY [ 44.531s]

writing 'zip'...

(bootloader) signature checking...

FAILED (remote: 12 signature verify fail)

finished. total time: 99.775s

C:\adb>fastboot flash zip fw_6.12.61.4.zip

target reported max download size of 1826418688 bytes

sending 'zip' (1503452 KB)...

OKAY [ 44.453s]

writing 'zip'...

(bootloader) signature checking...

FAILED (remote: 12 signature verify fail)

finished. total time: 99.688s

The HTC One M8 is locked. TWPS was installed but now not available.

Please advise.

Many thanks.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
First of all, please don't quote a whole huge guide, most of which is not relevant to your question. I know including the post you are replying to, is default. But just delete the part that isn't relevant. You can still edit the post, so please do so, to avoid cluttering up the forum. It prevents those trying to help you, from having to scroll down through all that non-relevant text, just to read what you posted.

You sure the bootloader is locked (says RELOCKED or LOCKED at the top of the bootloader screen)?

Need more info, to know if you are flashing the right firmware. Do fastboot getvar all, and post the results (delete IMEI and serial number before posting).

You should also tell us exactly what you are trying to do. Reflash existing firmware? Upgrade from a previous version? Trying to fix any particular issue? If a particular issue, describe in detail the symptoms, everything you've done to the point (step by step, file names, etc.).
[One (M8) Q&A, Help & Troubleshooting] 720720:
M8-dugl op6b64000

I DID the getvAR thing so :) here

version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.22.30306251.27G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

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

(bootloader) serialno:

(bootloader) imei:

(bootloader) imei2:

(bootloader) meid: A1000037D3A842

(bootloader) product: m8_dugl

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B64000

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

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

soo i went from kitkat stock and then unlocked and flashed latest twrp

then i went on and used sundream then lineage pie roms then went back to sdream

THEN i wiped data system before

then i tried leedroid again and after installation it starts up and remains at boot logo screen only volume works

the pie rom works but no super su no messaging and some apps cant access internal storage (xEnder)

after a bit of digging i think i need to downgrade and then upgrade my 'touch panel software'

my problems

i tried restoring the stock backup but it doasnt show on twrp window

im trying to locate firmware for my mid version but havent found any

no sms no radio on lineage pie rom calling and others work fine, no sms radio & no simcard detected on sdream rom before all hell...

and while were here flash stock nan/firmware idk, flash twrp flash su

also i got it with a single sim tray maybe its not really dual iiiii idk
[One (M8) Q&A, Help & Troubleshooting] Einwod:
stop crossposting, it's not allowed
[One (M8) Q&A, Help & Troubleshooting] 720720:
hahahaha oh so sorry, will do

its nt hurting anyone tho, but i won't
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Wrong, actually it does "hurt" not just anyone, but possibly you. Not a drastic type of hurt, but the effect is significant; as I've seen it and been subjected to it many times in the past. One main reason cross-posting is not allowed, is that it confuses those trying to help you, and will invariably confuse you as well. Wastes your time, and the time of others, as the separate conversations become jumbled, information becomes incomplete or contradictory (too difficult for you to maintain those separate exchanges).
[One (M8) Q&A, Help & Troubleshooting] Jjohnson0830:
Hello guys,

I have an HTC one m8 , I have been running a rooted device with custom rom which has been working terribly on my device...Now I want to return to stock rom, I have relocked bootloader and it's on s-on...I have tried out diverse RUU but all seems not working...I'm always getting this error in the process "rom update utility cannot update your andriod phone"" which i guess the ruu's have been using are not compatible with my phone...I would so much appreciate if someone can get me the RUU executable file for my device that will be compatible with it........ Here is the fastboot getvar all details....Your prompt responses will be appreciated

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

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

(bootloader) serialno: S**********6

(bootloader) imei: 35*************7

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: T-MOB009

(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.062s
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
What does that mean exactly, that the custom ROM is working terribly on your device? Might be pilot error, or something fixable.

One thing I noticed, your main version is blank. This is either a result of flashing certain custom ROMs (I think some Lineage builds). Or can also be a symptom of using a very old version TWRP (very common mistake) which can itself cause many problems with custom ROMs.

You come asking for RUU, on a thread that isn't about RUU, but rather about stock TWRP backups. Which is a very different thing. Why did you do that? I know the answer. It's because you copy and pasted the same exact text to 3 different threads, thinking it would get you help faster. It doesn't work that way, so please don't cross post any more.

Your version M8 does not have an RUU, I'm pretty sure. Restore the appropriate version number TWRP backup from the top of this same guide (let us know if you need help determining which version number). Did you post here willy nilly, instead of just looking at the instructions?

Also, it's best practice to make a TWRP backup of your stock ROM, b

efore

flashing a custom ROM. If you did that, you would have had an easy way to return to stock. I'm always surprised at how many folks mod their phones, without backing up their stock ROM, or otherwise knowing how to return to stock. Luckily, other folks have done it for you, and posted the backups here.
[One (M8) Q&A, Help & Troubleshooting] Jjohnson0830:
while i was still on the custom rom, Phone battery drains very fast and would just go off on 40%, Phone hardly charge while charger is plugged in, earpiece plug stopped working Which i never knew what might have been the cause..That's why i decided to return back to stock rom could be solution ..Though i was on an old version of Twrp, I basically didn't know there is newer versions of it or if it can actually be upgradable.

Thanks alot for your response,am so sorry to have done that.i mean crossing post, I'm new on here so i never knew that breaches the rules and regulations of this site, And surely it won't repeat itself again. It's because i was so desperate to get helper to help me fix my device. Pls how am i going to restore version number TWRP backup cause the device is not entering recovery mode and which precise version am i suppose to restore?

I mistakenly didn't do backup of my stock rom before installing custom rom, Where can i get the backups for stock rom and pls how will i go about it ...Thanks and i will be waiting to hear back from you, I really do appreciate your prompt response
[One (M8) Q&A, Help & Troubleshooting] Jjohnson0830:
Now I have gotten how to restore TWRP backup but kindly help me with the appropriate version number cause i already downnloaded and tried the latest twrp backup for my device that is twrp-3.2.3-1-m8.img but it was not successful...Here is the error i got, maybe i downloaded the wrong TWRP

target reported max download size of 1826414592 bytes

sending 'recovery' (20166 KB)...

OKAY [ 1.825s]

writing 'recovery'...

(bootloader) signature checking...

FAILED (remote: signature verify fail)

finished. total time: 2.548s

PS C:\Users\Funmi\Desktop\Mfastboot>

Kindly help me with solution to this

Thanks in advance
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Is your bootloader unlocked ? You can install twrp only after you unlock bootloader
[One (M8) Q&A, Help & Troubleshooting] Jjohnson0830:
Ok, My device is relocked now...Can i re-unlock again? And will it let me be able to go back to official stock rom?

Cause i understand i need to relock bootloader on the process of returning back to stock rom which I have done but finding it difficult to do install TWRP, so to be able to get official rom backup done on my device, it been giving me this error below

target reported max download size of 1826414592 bytes

sending 'recovery' (20166 KB)...

OKAY [ 1.825s]

writing 'recovery'...

(bootloader) signature checking...

FAILED (remote: signature verify fail)

finished. total time: 2.548s

Pls help me on how to fix this
[One (M8) Q&A, Help & Troubleshooting] Einwod:
You must unlock the bootloader. You cannot flash TWRP with a locked bootloader.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
You are mixing up 2

completely different

methods/processes (of which you are trying to do #2 below):

1) RUU. This is an official HTC made tool (executable) that installs not only the stock ROM, but restores all partitions, about 41 or so. Of which the ROM is only 1 partition (two, if you also count the kernel AKA boot.img). So calling this a "stock ROM" is not only incorrect, but potentially confusing. RUU is RUU. Don't call it something else.

RUU needs locked or relocked bootloader in order to install (HTC requirement).

But as I already pointed out, your version M8 doe not have an RUU, so none of this really applies to you.

2) Restore stock TWRP backup. This is a backup of the original stock ROM and boot.img. A backup made with TWRP, which is a

custom

recovery, not made by HTC, but is rather made by the developers such as those on xda. Similar, the stock backup itself is posted by xda members, generous enough to do so. It is the stock ROM, but the backup was made by an xda member, using TWRP. The file itself is not "official" HTC file or tool.

TWRP requires a unlocked bootloader, in order to install. You can unlock the bootloader by using the same unlock bin code you used previously to unlock it. Or you can go through the process again at HTCDev.com to get a new unlock bin code.

---------- Post added at 09:58 AM ---------- Previous post was at 09:44 AM ----------

Stock backup version number 6.12.118.4 is the correct one for your CID/MID. It is in Post #3 above.

What version TWRP is on there now, exactly?

Honestly, these sound like they may be hardware problems. It doesn't hurt to return to stock, and see what happens. But don't be disappointed if it doesn't solve all your issues. For instance, if the headphone jack worked before (on Lineage) than just stopped working, without any other mods or changes, than it just sounds like the jack has become loose from the motherboard.

Battery drain issues, may have to do with the ROM. Or you just may have a bad battery, or some other hardware issue. You can try to boot to TWRP, and charge the phone, and see if it charges any faster. The ROM won't influence the battery charging, when booted to TWRP.
[One (M8) Q&A, Help & Troubleshooting] Jjohnson0830:
Thanks alot for your response...Apparently I have truly been mixing up 2 completely different processes, I fully now understand the differences between what RUU and TWRP is and how they works, thanks again for your enlightenment..I so much appreciate,I have successfully re-unlock bootloader today from htc dev website

Ok, I downloaded that now

The version of TWRP currently on my device is twrp 2.7.0.1 .Do I need to flash/install to the Latest TWRP before doing the stock backup?

That is one of the major reason why i want to return to stock rom so that this problems such as the headphone jack not working, battery draining fast and so on can apparently and easy to identify if its hardware or software issues...Thanks
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Latest TWRP should be okay. TWRP 2.8.7 or later should work. 2.7 is too old. I'm surprised you were able to flash Lineage with that old version TWRP.
[One (M8) Q&A, Help & Troubleshooting] Jjohnson0830:
Hi guys, pls am stucked on step 9 of stock nandriod backup, I downloaded all the neccessary stuffs i needed to download, such as the x.xx.xxx.x_ckpv5 that is compactible with my device and the recovery img, After wiping data, system and other then I restored the extracted zip i downloaded through TWRP, it says "No Os installed! Are you sure you want to reboot?" So i had to swipe to reboot then tapped i do not want to install root which after rebooting, am stucked on Htc Logo which clearly shows there was truly no Os installed.

And I also tried step 11 that is flash stock recovery i downloaded through cmd, this was what i got "error: cannot load '6.12.118.4_recovery.img'" , Pls is there really something am missing?
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
So you were able to successfully select each of the required partitions (system, data, and boot.img) for restore, from the backup you downloaded and extracted? No errors when restoring?

No need to restore the stock recovery. In fact, I strongly advise against doing so, as stock recovery is basically useless. Installing stock recovery would take the place of TWRP. TWRP is better for your at this point, as it gives you the ability to restore backups, flash ROMs, etc.

Flashing stock recovery would mean that if you wanted/needed to use TWRP for anything, it wouldn't be there anymore, and you would have to fastboot flash TWRP onto the phone again.

The only reason stock recovery was part of this guide, was to restore the device to a state where it can get official OTA updates. But HTC stopped updating this device years ago. So therefore, no reason to have stock recovery, and as mentioned it actually puts you in worse position (TWRP is more useful).

Ideally, you could stop at Step 9 and reboot to a working OS. But we need to troubleshoot that part.

On a side note, "cannot load" error in fastboot almost always means you did something wrong. It means there isn't a file with that name in the specified directory. So either you need to put the file in the proper folder, or you did not use the correct (exact) file name. But again, do

NOT

flash stock recovery at this time. Just pointing this out for your information on what the error means. Probably a good thing you did it wrong (and stock recovery did not flash), for reasons already mentioned!
[One (M8) Q&A, Help & Troubleshooting] Jjohnson0830:
The extracted TWRP backup was not properly copied to the internal storage "That is, the precise directory which is suppose to be copied to" in the process, so I had to make use of a flash drive, so for me to be able to use the"USB-OTG" It was successful using the USB-OTG process, And yes I now understand why flashing recovery is not necessary, I almost find a way of getting that done either, So there is no point in doing it since HTC stopped updating the device. My phone is working perfectly well now. Thanks so much, I really do appreciate
[One (M8) Q&A, Help & Troubleshooting] burakustun:
dude you are amazing thank you thank you thank you so mucccccccccccccccch
[One (M8) Q&A, Help & Troubleshooting] bandit4:
Need a nandriod image. vodafone ireland. Stock is on it,

(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.161.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: VODAP001

Thanks
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Post number 3 has your image. Download and follow the instructions on how to flash it. Couldn't be more simple.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
With you current modelid and cidnum, you can restore 4.16.401.10 and its recovery image then do OTA to 4.16.401.13 - you'll be on stock
[One (M8) Q&A, Help & Troubleshooting] ahac85:
Can I restore the 1 series backup with the latest twrp version or would I have to back to the old twrp?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
You need to use the old twrp as per guide on post #1

Using the latest twrp on 1 or 2 series backup, it'll get stuck on boot animation (bootloop)
[One (M8) Q&A, Help & Troubleshooting] ahac85:
Ok I used latest recovery to restore then went into fastboot flashed stock recovery and phones booted up fine.
[One (M8) Q&A, Help & Troubleshooting] cucaracha512:
M8 eye

Hello everyone!

Does anybody have TWRP backup of Lollipop for M8 eye?

I think my phone is india version.

I rooted it, installed dsp manager and then can't do OTA upgrade, even in manual mode.

Please help me with 5.0 backup - need it so much! I found only 4.4 :(

Thanks a lot!
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Ask here, maybe he can help you : http://xdaforums.com/showpost.php?p=62987237&postcount=153

If you have 4.4 backup, you should be able to do OTA to 4.30.720.4 then OTA to 4.30.720.5