yashsingh1/xdaforums huggingface dataset:
[Verizon HTC One (M8)] denasqu:
I tried to install TWRP Manager (Root) from the app store. It failed. Wanted me to confirm a directory. Don't know but I said okay. Tried to install the latest recovery and got a "something went wrong" error. It offered to try and reboot to custom recovery but I said No after reading some horror stories.

My phone is rooted, unlocked bootloader, and running latest VZW firmware with VZW 5.01 stock ROM.

Tons of outdated and conflicting info out there on the interwebs about how to install TWRP but is seems the consensus is ADB/fastboot method. Correct?
[Verizon HTC One (M8)] cntryby429:
If you're not completely comfortable with fastboot then I think you definitely should do it that way in order to learn.
[Verizon HTC One (M8)] WhotahnHTC:
Used the app to flash TWRP 2.8.1.0 to use on Stock 4.4.2 S-Off and Unlocked. I'm now stuck in recovery. Guessing the app put it in boot. Is RUU the only fix? I can't RUU from PC , RUU doesn't recognize the phone is connected. Downloading the zip file now to try that. Anyone have any other fix?
[Verizon HTC One (M8)] michaelbsheldon:
Force a reboot from recovery with volume Up - Power.

Then get into Bootloader.

Then put the newest (287) TWRP into your adb folder as an image (img) not a zip, named recovery.img - -

Make sure your phone is recognized with "fastboot devices"

If it shows up, use fastboot to flash it:

"fastboot flash recovery recovery.img"

then "fastboot reboot"
[Verizon HTC One (M8)] TraderJack:
I've just searched for 10 minutes by being directed over to the main website, to the device page for the M8, I can find no links to the 2.8.7.0 twrp.img file.

Nothing on the M8 page indicates 2.8.7.0 is valid or provides a link.

Can someone share an official source for 2.8.7.0 and that it is ok for the M8? The OP would indicate so, but doesn't provide any links to 2.8.7.0

thanks.
[Verizon HTC One (M8)] cntryby429:
It's fairly straight forward to find on the twrp website.

https://dl.twrp.me/m8/

It's for all m8 variants so it'll work on the vzw version.
[Verizon HTC One (M8)] TraderJack:
Thanks...going back now I see that it was under a section that did say download...I got thrown because higher in the page was listed "Device Tree / files" and I assumed it would be under there (i.e. "files"), but I couldn't find it. :/
[Verizon HTC One (M8)] WhotahnHTC:
Thanks for the idea. Tried that already. Even fast boot flashed be firmware and rom. No go. Had to RUU via sd card. Then was able to adb twrp and was good to go.
[Verizon HTC One (M8)] spyknee:
fyi

I had an issue with updating twrp. I was able to use flashify in order to install it. Put twrp update on external sd.
[Verizon HTC One (M8)] Captain_Throwback:
Can someone do me a favor and test out this TWRP build? I'm trying to move the tree to Marshmallow and I want to confirm that it's working on all the variants. Please also confirm whether fastboot booting the recovery works.

https://basketbuild.com/devs/Captain_Throwback/One (M8)/ALL/Recovery

Thanks!
[Verizon HTC One (M8)] ahpatel:
Not working on the Verizon variant. I'm running GPE H9 with the latest Verizon firmware and can't get it to boot to recovery directly or from fastboot.
[Verizon HTC One (M8)] Captain_Throwback:
So what exactly happens? Does the device just get stuck, does it just boot to bootloader? I need specifics. It weird that it doesn't boot, since it uses the exact same kernel I include in my GPE ROM.
[Verizon HTC One (M8)] ahpatel:
Yeah, just kicks me back to the bootloader. From there, I select fastboot and then recovery and it goes to the "entering recovery..." screen for just a second and then kicks back to the bootloader.
[Verizon HTC One (M8)] Captain_Throwback:
What version of Android did the latest firmware for Verizon come with? Was it Android 5.0.1 or 5.0.2? If the former, that's likely the issue (though even that doesn't make sense, really). It's possible that an updated hboot is needed to load the dtb for the newer build.

Can anyone else on Verizon confirm that the recovery doesn't boot for them?
[Verizon HTC One (M8)] robocuff:
I just tried it. Got the same result as ahpatel. From the OS, it just boots to the bootloader. From the bootloader, it says entering recovery and then kicks me back to the bootloader.
[Verizon HTC One (M8)] ahpatel:
The latest official firmware from Verizon that I'm aware of is 4.17.605.9 with Android 5.0.1

My HBOOT version is 3.19.0.0000, which is the latest that I was able to find as well.
[Verizon HTC One (M8)] Captain_Throwback:
That's the problem, then. Guess I can't update to the new tree until everyone is updated to at least 5.0.2. Which means I'll probably just leave it as it is if there aren't any issues using the existing tree with 6.0.

Thanks for testing, folks.
[Verizon HTC One (M8)] Captain_Throwback:
Alright, one last test version:

https://basketbuild.com/devs/Captain_Throwback/One (M8)/ALL/Recovery

This one should work for everyone, and I'm not sure what features it includes so don't even ask, lol. Just do what you would normally do with it and confirm everything is working. I assume Adopted Storage is still working as it was.
[Verizon HTC One (M8)] sjpritch25:
I'm on verizon and it works. I haven't tried a restore or backup. I will test that later, but i successfully flashed via fastboot and it boots up fine.
[Verizon HTC One (M8)] ahpatel:
I can also confirm this build loads correctly on a Verizon phone.

One minor issue I noticed. When backing up, if I click on the name field to change it from the "Auto Generated" name, it doesn't display the full form name (i.e., still says Auto Generated instead of the expected 'date-time-build'). That said, the folder that is created once I hit backup is correct.
[Verizon HTC One (M8)] thelunchboxosu:
Works great for me! Noticed that the CPU temp is in C* instead of F*, don't think there was an option to change it. Not a big deal at all, just noticed!
[Verizon HTC One (M8)] KARIM9377:
Great work for Twrp 3.0.0

My best for all Twrp Team
[Verizon HTC One (M8)] TidusWulf:
So I'm currently on TWRP 2.8.5.0. I'm interested in updating to 3.0.0.1, but I only have my macbook right now. I tried download the TWRP app to install from there, but it doesn't even recognize that I have TWRP installed.

Would it be bad to try to update from the app since it can't see that TWRP is already on the device?

What about using Android's Terminal Emulator to install it?

Finally, has anyone else had success updating directly from TWRP? Because that seems very... counter-intuitive to try to update something as it is actively being run/accessed.
[Verizon HTC One (M8)] cntryby429:
I've flashed TWRP .img's from within TWRP several times. Go ahead man.
[Verizon HTC One (M8)] Captain_Throwback:
That method is listed as the preferred install method in the OP for a reason....
[Verizon HTC One (M8)] gamekill:
OK is there a way I can get my stock recovery back after screwing up?

I tried flashing this twrp, the test version posted a few posts back as well as the one from the official twrp.me site (3.0). I used fastboot flash recovery file.img and received an error (no signature) every time. I guess that's because I have a locked bootloader. Now I have lost my stock recovery (triangle mark on center of screen when I try getting into recovery).

I had applied the 6.0 RUU exe before messing with the recovery flashing (from another thread in here). Since messing with the twrp failure, I have tried re-applying the 6.0 RUU exe and still no working recovery.

Help? I just want the stock recovery back for now.

The OS is booting fine.
[Verizon HTC One (M8)] cntryby429:
I haven't run stock recovery since getting this phone some time ago but I think that IS stock recovery. I think there's some keystroke that gets you into a menu. Volume up, power+ volume up, power+ volume down, something like that. You're probably fine since it's pretty hard to mess things up with a locked bootloader and (presumably) s-on.
[Verizon HTC One (M8)] gamekill:
Yes I read on some other places that I needed to hold vol down and tap Power, but that was not working so I thought I had lost recovery. Turns out tapping both vol down and Power at the same time does the trick. OK now I know I am "safe".

I will try to look into unlocking bootloader anyway, because all the Verizon crap and restrictions are useless for me..

;);):):D:D
[Verizon HTC One (M8)] hermdresh:
Encryption problems with TWRP

Twan 69666,

I'm having issues with trying to use TWRP 3.0.2 to create a nandroid backup (and anything else with TWRP) on my m8. It appears that you had some similar issues that may have been resolved. I thought you might provide me with the specific things you did to resolve your issues. Were you able to use TWRP to create a backup? I was trying to save the backup to a USB device and wondered if you were ever able to mount a storage device and bypass the password requirement screen?

Thanks
[Verizon HTC One (M8)] stockman45:
Flashing TWRP

Hi all,

Can someone kindly assist me with flashing TWRP to my HTC M8?

Device: Verizon HTC ONE M8

Android: 5.0.1

Software: 4.17.605.5

I have an unlocked bootloader and s-off. (but not rooted)

Because this phone is a couple years old I can't seem to find a clear guide for what I'm supposed to do.

Can I install the latest version of TWRP? Or is my phone too old?

I believe I need to use the Fastboot install method because I'm not rooted, but it's not clear to me exactly what I should install on my PC.

Edit: I should add that I'm able to see the phone with HTC sync so I assume USB is working.

Thank you.
[Verizon HTC One (M8)] PieceKeepr:
Yes, the latest version of TWRP works fine on the M8. The HTC specific version of adb fastboot is recommended and you can get it here.

https://www.androidfilehost.com/?fid=95784891001612150

Put the TWRP image in the adb folder and then hold the shift key while right clicking an empty space in the folder and choosing open a command window here. Once you have the window open follow these directions.

How to flash a *.img:

Adb reboot-bootloader

from bootloader: fastboot oem rebootRUU

fastboot flash recovery recovery.img

fastboot reboot (boots the ROM)

fastboot reboot-bootloader (if you want to go back to recovery)

I don't know if this works without root though. Also, I've read that HTC Sync should be disabled when using fastboot.
[Verizon HTC One (M8)] RuLEoF2:
If the bootloader is unlocked and you're S-OFF, I believe that once you flash TWRP, you can install SU from recovery and that's it. You're rooted.
[Verizon HTC One (M8)] dottat:
Syntax would be HTC_fastboot not fastboot ?
[Verizon HTC One (M8)] RuLEoF2:
PieceKeeper is correct. "fastboot" is the proper syntax.

Example:

"fastboot flash recovery twrp-*.*.*.*-m8.img"
[Verizon HTC One (M8)] PieceKeepr:
I do use the one dottat recommends but I may have renamed the actual fastboot executable file name for simplicity, I don't remember. It works and that's all I care about. [emoji1]

And yeah I forgot about needing to be unlocked and s-off. I don't understand why you wouldn't go that route so I guess I assume that everyone who can, did. My bad and good catch.
[Verizon HTC One (M8)] dottat:
Nope. Not with HTC_fastboot.

Guess you aren't familiar with my work here.
[Verizon HTC One (M8)] michaelbsheldon:
That USED to be the case.

HTC release their own fastboot, HTC_fastboot.exe to improve

the ADB Tools version. If you flash RUU's, they will choke on standard fastboot.exe.

It should be used for anything you would usually do with fastboot.exe on an HTC phone.
[Verizon HTC One (M8)] RuLEoF2:
Ah, my bad. I was unaware that HTC had created their own fastboot. My apologies dottat.
[Verizon HTC One (M8)] dottat:
Take the time to download the zip of mine that was originally quoted. It's great for firmware/ruu flashing as it automatically restarts when a flush is needed. On s-on devices regular fastboot doesn't understand htc's split system image format so you have to use the HTC version
[Verizon HTC One (M8)] Fireflynj:
I did something wrong :confused:

I have a Verizon M8 unlocked, s-off, ( rooted? I think? did it couple years ago)

I had TWRP v2.7.02 in it and wanted to updated it.

I was following these instructions https://twrp.me/devices/htconem8gsm.html

I tried to use the TWRP App install method, it said it installed but now the phone won't boot, but can boot into recovery, which still says v2.7.02.

I think maybe it wasn't rooted like I thought.

I verified I was working with recovery partition mmcblk0p43, but why would it effect the boot to OS?

so I would like to get input of what I should do next?

what are my options?

update TWRP via fastboot?

what would happen if I did a factory reset?

Thanks
[Verizon HTC One (M8)] RuLEoF2:
A factory reset alone may not solve your problem. If you've created backups with TWRP you could try this to avoid losing your data.

Go into TWRP and manually wipe System, Boot and Cache. Do NOT do a foctory reset or wipe data. Then go to your backups and restore System, Boot and Cache from your latest backup. Make sure that the "Data" box is NOT checked. If that backup doesn't work try the next most recent one. That should solve your boot problem. If not, then do the full factory reset.

Once your boot problem is fixed, try installing the TWRP update via fastboot but be sure to use the HTC version. You can download it here.

https://www.androidfilehost.com/?fid=95916177934550031
[Verizon HTC One (M8)] Fireflynj:
Thanks RuLEoF2 !

I think I have a TWRP backup on home PC , I will have to look.

if not , could I do the zip on SD card and update to Marshmallow? which I want anyways.

second one on this page

http://xdaforums.com/verizon-htc-one-m8/development/stock-m-firmware-nand-recovery-t3330972

I was going to do the 'Custom s-off only RUU'

wouldn't restoring just the 'data' partition bring my data back? I did a backup after the boot got messed up.

I also copied the entire data folder on to a OTG USB, is all data in this folder?,
[Verizon HTC One (M8)] RuLEoF2:
I'm not the one to ask about RUUs and OS upgrades. Not really my thing. Too much risk of losing features I can't live without or gaining features I can't stand to live with and reverting is a huge PITA. I rooted and flashed ViperOne when I got my M8 and I've been very happy with it so why ruin a good thing.

That being said, as I understand it, if you upgrade your ROM or your OS (Marshmellow), you can't or shouldn't restore your data partition. Doing so can cause conflicts with the new software. The data partition includes application data and files for apps that will no longer be installed. If you reinstall those apps on the new OS, those apps will use the old data that was tailored for that system which can cause catastrophic problems with the new system.

Upgrading usually means starting from scratch, which is the other reason I don't do it. You can use apps like MyBackup to save certain aspects like contacts and your calendar that should be transferable, but as far as I know, that's about it. Pictures, music, wallpaper, ringtones etc. if not already on your external SD can be moved there from the internal SD. You ABSOLUTELY want to do that BEFORE you factory reset to do any ROM or OS upgrades.
[Verizon HTC One (M8)] Fireflynj:
I just noticed in TeamWin FAQ, if I get the' No OS Installed' message that I would need to restore the system partition.

which I do not have and if I did I can't restore anyways because it was done with the older version of TWRP.

Irony of it is I wanted to update TWRP first then do the backups because of that and it was the thing the wiped the system partition.

I am learning here, I wish there as a more basic explanation of ROM, firmware, Kernel, System Dump, RUU and etc. maybe a drawing to help a newbie understand. so I am off looking for a KitKat img to restore, hope I can find it, so far it ended with a dead link. Anyone know of one?

would that work? just put KitKat back on or does it depends on something else like firmware?

Update: I found Dottat's stock kitkat image.
[Verizon HTC One (M8)] andybones:
Why go back to KK?

You can use the latest RUU.

(You could have sideloaded a ROM to the device using TWRP instead of RUU as well)

There are many great guides for the things you asked for, not so sure all in one, like this for instance is a good read but separately here on XDA you should be able to find any information and my inbox is always welcome if you have a question you can't find. :cool:
[Verizon HTC One (M8)] Fireflynj:
Thank you for the reply,

I found out that I cannot use TWRP backup to bring my app data back in if changing OS, I need to do a Titanium backup. Then I will do Marshmallow RUU, which will wipe everything.

Edit: starting a new thread for my issues, http://xdaforums.com/verizon-htc-one-m8/help/power-vol-longer-loads-bootloader-t3392871

I need help.
[Verizon HTC One (M8)] jurington:
Is it ok to use flashify to get twrp installed or should I use the adb commands?
[Verizon HTC One (M8)] RuLEoF2:
You can use a current version of TWRP to restore a backup created with an older version. I've done it... recently... as in last week. I used 3.0.2-0 to restore a backup created over a year ago with 2.8.1.0. No issues.
[Verizon HTC One (M8)] cntryby429:
My experience is that flashify works pretty reliably although if you're not comfortable using fastboot commands for whatever reason then now would be a good time to learn.
[Verizon HTC One (M8)] jurington:
I'm always up for learning something new, so I will try and learn some adb as much as I can. And thank you Very much
[Verizon HTC One (M8)] cntryby429:
Good for you bud. Make sure you get proper drivers set up on your computer and I would recommend learning 1) the difference between adb and fastboot 2) the meaning of "fastboot flash <partition> <filename.extension>" 3)ruu mode 4) the ever importance of checking md5 and making backups in recovery.

There are some good people around here who will help you in a bind. Just show them the respect of doing research before asking questions. Also, read the stickies in this forum.
[Verizon HTC One (M8)] jurington:
Thank you, so I've seen mentions of people using adb through android sdk, and I think something called 15 minute adb. Which one should I use?
[Verizon HTC One (M8)] cntryby429:
I've never had a problem with using an updated adb. I know it's not necessary to download the entire android sdk just to get adb and fastboot. Anything weeks or even months old will probably work fine for what few things you'll likely use it for. I haven't updated mine since I last clean installed Windows 10 when it came out. Also, there's mention around here of using htc's custom htcfastboot rather than plain old fastboot. You use it the same but it somehow handles large files correctly.
[Verizon HTC One (M8)] jurington:
Is there a certain version of twrp that I need to flash through adb? I've tried 2.8.5 and 3.0.2 and when I try to reboot to recovery it just hangs at this screen.
[Verizon HTC One (M8)] Captain_Throwback:
Update your firmware, or use version 2.8.1.0.
[Verizon HTC One (M8)] jurington:
Awesome!! That worked perfectly, now can I update to 3.0.2 now or do I still need to update my firmware?
[Verizon HTC One (M8)] Captain_Throwback:
If you want to use any version newer than 2.8.1.0, you have to update your firmware.
[Verizon HTC One (M8)] jurington:
Ok sorry for being off topic, just got my first htc device yesterday (m8) can I just do the latest ruu?
[Verizon HTC One (M8)] Captain_Throwback:
Yes.
[Verizon HTC One (M8)] jurington:
One last question, do I need to be on lollipop or marshmallow?
[Verizon HTC One (M8)] Captain_Throwback:
I'd go with the latest, i.e. Marshmallow.
[Verizon HTC One (M8)] Fireflynj:
I tried, it did not work for me, had TWRP v2.7.02

its ok, Verizon cloud backed up everything but the apps
[Verizon HTC One (M8)] tgp1994:
If anyone is like me and likes reading changelogs, I was coming from an old version (2.7.1.0) and couldn't for the life of me find a complete changelog for TWRP on the internet. I finally went through multiple versions of this topic on TheWaybackMachine, here's a text file if anyone's interested:

(P.S. Lol, guys, stop deleting your changelog! You're supposed to log your changes :laugh: )
[Verizon HTC One (M8)] Cremnomaniac:
Versioning

I have a question about TWRP versions. Over in this thread HTC with locked internal memory

redpoint73 stated

I am currently running KK 4.4.2, and the last TWRP version that works is 2.8.1, which I have. I'm researching what I need/want to upgrade , but will upgrade to something soon. So the question is, with versions of KK444, LL501, or MM6, which TWRP versions are recommended for those firmwares?

Thanks
[Verizon HTC One (M8)] redpoint73:
TWRP 2.8.7 is recommended for KK 4.4.4 and LP ROMs.

TWRP 3.0.0 and up is needed for MM ROMs.

Also, updating TWRP is

not enough

. If you try any ROMs with the version base you mention, you will not boot, or WiFi will be broken. You need to update your firmware (hboot, radio, etc.) first.
[Verizon HTC One (M8)] pdarrahegg:
Hi, touch control on htc one m8 verizon (m8wlv)

using the TWRP is not working well. I'm completely unable to control the device with my fingers.

Options keep selecting automatically whenever I pass my fingers on the touch screen making it impossible for me to select an option.

I've tried all version of TWRP for the htc m8 but same issues.
[Verizon HTC One (M8)] Captain_Throwback:
This doesn't sound like a TWRP problem. It sounds like a hardware issue (or a poorly designed case).
[Verizon HTC One (M8)] pdarrahegg:
I suspected the same..

thanks for the quick reply.
[Verizon HTC One (M8)] cntryby429:
Was the phone plugged in? I've seen some pretty squirrelly things happen while trying to use this phone plugged in.
[Verizon HTC One (M8)] pdarrahegg:
Yes the same result!

Yes, I tried it while it was plugged in both on PC and the power socket.. but I also tried it without plugging in.. I had the same result.. It's very annoying!

The only solution I found is to flash "CWM Advanced Edition"

I also had the same result when I flashed "CWM Advanced Edition"!

but I was able to use the volume button and the power button for navigation and that helped me flash zip files.
[Verizon HTC One (M8)] Srivastavavaibhav01:
I am using twrp 3.0.1-0 and when i flashed android revolution HD or wolla gpe rom via aroma installer its shows process completed but after reboot system its directly comes to bootloader and this is happening every time when i flash this roms
[Verizon HTC One (M8)] Captain_Throwback:
Are they compatible with Verizon?
[Verizon HTC One (M8)] Damaskinus:
Hello Gents,

I've been googling for the past 2 hours, watched more then 8 youtube videos and i'm still not able to flash TWRP 3.

i've following the step-by-step then the website

Fastboot Install Method (No Root Required):

You will need the platform-tools from the Android SDK on your computer. Find the Android command line tools section on the page linked and install the SDK tools package. From the SDK Manager, download only the platform-tools to get adb and fastboot binaries.

Windows users will need proper drivers installed on their computer. You can try the Naked ADB drivers or the Universal ADB drivers if you don't already have a working driver installed

On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging. From your computer, open a command prompt and type:

adb reboot bootloader

You should now be in fastboot mode.

Download the correct image file and copy the file into the same folder as your adb and fastboot binaries. Rename the image to twrp.img and type:

fastboot flash recovery twrp.img

fastboot reboot

and still i can�t flash this recovery, see the error

[IMG="Error"]http://i.imgur.com/Kpxgc0y.jpg[/IMG]

Can you guys help me out here?

here is all the info from my Verizon HTC One M8:

[IMG="SW Info"]http://i.imgur.com/52l4QfA.png[/IMG]

[IMG="Kernel Info"]http://i.imgur.com/yl0ZPAR.png[/IMG]
[Verizon HTC One (M8)] andybones:
Bootloader locked?
[Verizon HTC One (M8)] Captain_Throwback:
New TWRP is out :)
[Verizon HTC One (M8)] jerryspring:
How u unlock bootloader?