yashsingh1/xdaforums huggingface dataset:
[AT&T HTC One (M8)] redpoint73:
Did you make sure you cut and paste exactly what you were supposed to from the bin code email?
[AT&T HTC One (M8)] Mazeon:
Could you do that soon, because it seems like its my only issue with getting this to work. When I enter the "fastboot flash recovery m8recovery.img" into command prompt it tells me it cannot execute. I'm very confused.
[AT&T HTC One (M8)] redpoint73:
He posted that in July, so its unlikely to happen anytime soon.

Just get the latest TWRP here: http://teamw.in/project/twrp2/225

Although fail to flash TWRP is you have the file, is most likely an error on your part. Does it say "cannot open file" or any other error messages? Does the command prompt return your serial number if you type: fastboot devices?
[AT&T HTC One (M8)] Juliogol:
Amazing guide! Thanks so much! Worked like a charm.
[AT&T HTC One (M8)] DanGeorges:
Stuck on "Entering Recovery..."

I followed all steps and tried to get to recovery, and not it's stuck on "Entering Recovery..."

HELP!

By the way - I am an HTC user and have rooted, flashed ROMs, etc. on my HTC One X.

It looks like MAYBE the TWRP I downloaded doesn't work correctly.

I tried the openrecovery-twrp-2.8.3.0-m8.img file.

Edit: I successfully installed the October 22 version of TWRP.

I didn't change the name - is that crucial?
[AT&T HTC One (M8)] Without Reason:
The file I downloaded from this link is not working or is corrupted.. I downloaded it and tried extracting it with WinWar but I get a "archive in unknown format or damaged" error. Is there a special way to extract the file? Or is the link dead and/or corrupted?
[AT&T HTC One (M8)] redpoint73:
Don't know about that package in particular. But there are several good beginner threads/guides with adb/fastboot installers if you just use the XDA search function and search "fastboot easy" or something to that effect.

Here is one I've seen recommended in the past: http://xdaforums.com/showthread.php?t=2317790

Just about any relatively up-to-date fastboot/adb package will do. You just need to get fastboot/adb on your computer, that is the main goal.
[AT&T HTC One (M8)] Without Reason:
Thanks for the help! I thought I needed a specific version of ADB Fastboot in order for this to work. I was searching for files that were specifically made for the m8 and it must have thrown off my search results. The thread you linked was very helpful though, thanks again!
[AT&T HTC One (M8)] redpoint73:
Nope, there is no specific fastboot/adb package for the M8. I'm pretty sure I'm using the same fastboot/adb package that I also used on my old One X EVITA, which was not even that updated a package at that time. I also did it the "hard" way by installing the entire Android SDK, which is not specific to any device.

You're very welcome, BTW.
[AT&T HTC One (M8)] fox091:
Does this process of unlocking the bootloader and rooting do the same as what S-Off does? I've seen/heard of rooting plenty of times, but this S-Off thing is new to me. I keep reading that if I want to do custom ROMs and S-Off I need to pay $25 for Sunshine.
[AT&T HTC One (M8)] redpoint73:
Nope, those are all completely different things.

Unlocked bootloader allows you to flash custom recovery, custom ROMs, and some other mods.

S-off is something specific to HTC devices, so if you are coming from another manufacturer, it will be completely new to you. Its something of a "back door" HTC leaves for themselves, and not normally intended for consumer use. Which is why it always has to be hacked by developers, like the sunshine exploit. S-off allows you to flash "protected" partitions (not normally accessible even with bootloader unlocked) such as radio, hboot, and others. Also allows SIM unlock.

One confusing thing, is that even though you can flash ROMs with unlocked bootloader and s-on; HTC has complicated matters by peridiocally updating what most folks here call "firmware" which is a separate package from the ROM that contains a variety of modules needed for the ROM to work properly (hboot, radio, WiFi, Bluetooth, and others). Meaning if you aren't on the right "firmware" for the custom ROM you want (4.4.3. versus 4.4.4 versus 5.0, etc.) you are going to suffer some major bugs like long boot times (over 10 min or more), broken WiFi, audio bugs, and more.

Depending on what ROM you are interested in, and what firmware you need to flash, you may be able to update by OTA and s-on. Or you might need s-off to manually update by "unofficial" means.

So when technically s-off is not "needed" to flash a custom ROM, you may or may not need s-off to update the firmware and make that custom ROM work properly.

The biggest obstacle for AT&T users right now (and the most common reason to s-off) is that AT&T has only "officially" rolled out 4.4.4 for the M8. Meaning that if you try to run a Lollipop custom ROM, your firmware (4.4.4) will not be what is needed to run that ROM. So s-off is the only way to manually update to 5.0 firmware, until AT&T rolls it out officially.
[AT&T HTC One (M8)] fox091:
Alright, that makes a little more sense. Thanks for laying it out with lots of detail for me. I just came from iOS to Android recently and some of this stuff is a little confusing.

Let me create a scenario a or two and you tell me what I need to do to get it working.

Scenario 1: I just bootloader unlock and root the phone. Then I install Cyanogenmod 11 (4.4.4 I believe?). Is that all I need to do for that process, or will I have to do anything funny with S-Off?

Scenario 2: Bootloader unlock and root. Install Cyanogenmod 12 (5.0.2?). Will I have to do funny stuff like flashing hboot, radios, etc to make this work correctly which would require S-Off?

Also, are there other ways to get S-Off besides paying $25 for Sunshine if I would need to do it?

Thanks a ton,

Josh
[AT&T HTC One (M8)] redpoint73:
I'm personally not a CM user. but if you look at the threads for CM11/12 it should spell out pretty clearly what firmware or hboot is needed.

Not at all sure, but you may need hboot 3.19 at least for CM12.

You actually do not need to root before you flash a custom ROM. Backup any personal data (always should be the first thing you do before any kind of mod), unlock bootloader, flash custom recovery, flash CM, flash gapps (Google apps, which come as a seperate flashable zip for CM).

Many custom ROMs come pre-rooted. So no need to root separately. Obtaining root in CM (and some other AOSP ROMs) is a bit different. After you boot CM, enable developer options by tapping build number 7 times (yeah, weird I know) then go into developer options and enable root.

Nope.

Also be aware that Sunshine will no longer work if you OTA update to 4.4.4 (update to hboot 3.19). So you need to make the decision whether you want s-off or not before updating hboot to 3.19.
[AT&T HTC One (M8)] fox091:
Ok. I haven't actually bought the phone yet, as I'm waiting to see if the price will drop after the M9 announcement. I'm pretty sure any phone I buy from someone on ebay or Swappa is gonna be on the most recent update, but there may be some that aren't. Would getting a Google Play Edition, or converted Google Play Edition solve all of this headache and allow me to do whatever I want with it? I found a couple GPEs/converted GPEs for about the same as normal AT&T M8s and one was even cheaper.

In the mean time, I'll go do some reading on CM and how to install it on an M8.

Thanks,

Josh
[AT&T HTC One (M8)] redpoint73:
You can really get anything. You may even get one that was previously rooted or even s-off. Its best to ask specifics including hboot number and any previous mods before buying.

If it was converted to GPE from Sense, it must have been s-off'ed by definition.

GPE may have an updated hboot, but again you should ask before buying. Other than that, you will still need to unlock the bootloader and install custom recovery to be able to flash custom ROMs.

And if some reason you want to switch back to Sense, you would need to convert the partitioning back to Sense. Its not hard, but a few extra steps.

On the other hand, if you want a M8 without Sense (AOSP or GPE interface) look/feel, and no AT&T bloat, you may enjoy the GPE version just how it is, without any mods or custom ROM.
[AT&T HTC One (M8)] fox091:
This is mostly what I'm looking for is stock or near stock Android with the ability to do lots of customizations and no AT&T bloatware, which is why I have always thought about getting Cyanogenmod.

I did some reading on the CM wiki and found a guide on installing CM on the M8. Here is an excerpt from it:

"Most variants of the One (M8) are supported by HTCDev Unlock. This is an officially supported method of unlocking your device's bootloader to install custom ROMs. Unfortunately, Verizon Wireless does not allow this device to be included in HTC's unlocked bootloader program. Fortunately, S-OFF is available via the firewater utility. This utility can optionally be used in place of HTCDev Unlock on any variant of m8.

Choose one of the options below and click [Expand] for unlock instructions:

All non-Verizon variants: HTCDev Unlock

All variants: S-OFF"

I take that to mean that you can install CM without S-Off since you can just do the bootloader unlock through HTCDev for all non-Verizon variants. If that's the case, then I'll just grab CM11 or 12 (12 if it works well on M8) and install that and be done. Then I can enable root in CM if I ever need it and I'll be off and on my way.

I really appreciate all the help redpoint. This is a big step forward for me learning about Android more in-depth. If I've gotten something something completely wrong here, please let me know.

Thanks,

Josh
[AT&T HTC One (M8)] redpoint73:
I'd really suggest reading up on the CM11/12 threads in the "international" forum. The guide you quote is obviously out of date, since firewater hasn't even worked since December. You really want the most up-to-date info on this.

I think however, that it is mostly true by luck. I believe you need hboot 3.19 for CM12 (although again, I've never even used CM12 on the M8, so you need to confirm) and until AT&T officially released 4.4.4 a few weeks ago, there was no way to get to hboot 3.19 unless you had s-off.

If you haven't used an HTC device, you may reserve your judgement (AOSP vs. Sense) until you get the device in hand; as you may be pleasantly surprised by Sense on the M8. It runs just as fast as AOSP or GPE, and has some really nice features you won't get on AOSP. In particular, the Sense camera for years now has and continues to be far better than the stock Android version. Plus you won't be able to use things like the dual camera or BoomSound on CM. On the other hand, Material Design is gorgeous IMO (I use Cm12 on my Samsung Tab Pro 8.4).
[AT&T HTC One (M8)] fox091:
When I actually clicked expand on the S-Off section, it did say that you needed to use Sunshine and not Firewater. It looks like nobody has updated that section yet.

hboot 3.19 is required for CM12, but I should have it if I update to 4.4.4, so I'm good there.

I will surely give Sense a try, but I really hate all the bloatware and skins/overlays that come stock on devices. I really loathe TouchWiz from Samsung, but I've personally not played with Sense.

It seems that there is a solution to not having boomsound on CM though. There's something called Viper4Android that can replicate the same volume/quality of boomsound/beats.

I think I'm just gonna jump on a normal AT&T M8 soon. I might wait until the M9 announcement to see if the prices drop by a lot, but I don't think they will, seeing as the M9 will likely not release until August and people will probably hold onto their devices until then.

Thanks again for the help,

Josh.
[AT&T HTC One (M8)] thinkhope:
I just tried Xenon rom (Lollipop) and unfortunately wasn't able to get any data working. I'm on 3.19 and I believe as redpoint says, my 4.4.4 firmware is to blame. I don't think CM12 will work until att rolls out 5.0 or you SOff and do it yourself. ?

But, with xposed and some tinkering, you can get a near clean aosp feel.

---------- Post added at 09:49 AM ---------- Previous post was at 09:47 AM ----------

Also, it's highly likely the M9 will be available for purchase sometime in April, if we follow past releases. I don't see why they'd announce the phone this Sunday only to release 5 months later.
[AT&T HTC One (M8)] nightfall117:
Has this thread been updated? The Zip file (ADB/Fastboot files for Windows) that we first have to download contains nothing.
[AT&T HTC One (M8)] redpoint73:
Manufacturer Android skinning is not all the same. Comparing TouchWiz to Sense is apple and oranges. I agree TW is awful. I find it laggy, and the "features" to me add no value (although I know some folks like some of them); and therefore ditched TW on my Galaxy Pro 8.4 long ago for CM11 then 12.

Sense on the other hand is snappy (some even say its faster than CM, but I think you are splitting hairs at that point either way), has a number of value adding features (a number of things better than CM, AOSP Android, in my opinion). This hasn't always been the case, as Sense has come a long way over the years. But suffice it to say the current iteration is really awesome. You will see that the current Sense has even won over some longtime CM users: http://xdaforums.com/showthread.php?t=2740971

On the other hand, in my opinion Material Design in AOSP Lollipop looks fantastic, and most of those design enhancements are absent in current Sense. Lollipop Sense was actually disappointingly similar to KitKat, with just a few things changed. So you can't really go wrong with CM12 either.

End of the day, the decision is purely subjective, and a matter of personal preference. Absolutely agree that you should try both, and see which you like best.

M9 is launching mid-March. HTC has launched their flagship phones in the March/April time frame for the past few years now. So I don't know why anyone would have speculated August. Think you just read some poor info there.
[AT&T HTC One (M8)] fox091:
I just got my One M8 in today (yesterday after I was done typing this) and I do like Sense pretty well. Maybe not as much as my Moto X, but still very good. It's smooth and pretty, but I miss the material design look I keep seeing in screenshots. I'll try both and decide for sure what I'll stick with.

I did read some bad info. For some reason, I read that the M8 launched in August, and that lead me to believe that the M9 was releasing in August this year..... Either way, I got a good price for the phone in perfect condition besides having a bad sim slot. The seller should be giving me a partial refund of $30 for the expedited replacement service from HTC and I will get a brand spanking new one.
[AT&T HTC One (M8)] fox091:
Got a bit of a story now. I got my replacement M8 and set it up. It works like a charm. I couldn't even go a day without at least trying to flash a custom ROM on it. Downloaded what I thought was CM12, but was actually CM11 M12. Flashed it on there and headed down the road to Walmart. At first I noticed that I couldn't get LTE/3G data and then I realized that my speakers kept making a vibrating/clicking noise and no music/ringtones would play. I thought it was no big deal, I'll just go back to stock and try something else.

It was at this point, that I had to learn about custom vs stock recoveries and RUUs. Ended up running an RUU that got me back to stock and updated to 4.4.4 with 3.19 hboot and all that jazz. So now I'm there. Working phone, but I still want some custom ROM action. Does anyone know a decent custom ROM that is based on AOSP Lollipop and is pretty stable that I can throw on my M8? Currently looking at a couple 5.0 ROMs, but nothing really stands out as most are based on Sense (which I like for the most part). Also, is it worth it to just put up the $25 and get S-Off so I can just convert to GPE, or install custom ROMs that require it?
[AT&T HTC One (M8)] redpoint73:
Just flash a GPE ROM or CM12. CM12 supports your hboot, and I believe most or all GPE ROMs also support 4.4.4 firmware. No need to s-off to do a "full conversion" to GPE unless you want your phone to be "fully stock" GPE and get "official" GPE OTA updates in the future. And with the ability to flash custom ROMs, that for the most part is not really a necessity either (more of a personal choice).
[AT&T HTC One (M8)] fox091:
Is CM12 relatively stable to use now? I've read that these nightlies can be fairly buggy, and I need my phone to at least function as a phone. For the time being I have Skydragon GPE flashed. I like it for the most part, but it is missing some of the in-depth customizable stuff that is in CM and is mostly basic.
[AT&T HTC One (M8)] redpoint73:
I don't use CM12, do can't really speak to it.

Just looking at the CM12, it looks like they are having some radio or signal issues lately with is pretty serious. Although such is the price of being on the bleeding edge and flashing nightlies. Flashing an older nightly may in fact be more stable. But read the thread for details.

I can say that I use CM12 on my Samsung Galaxy Tab Pro 8.4, and its damn stable to the point of almost flawless (at least for my use) which obviously also qualifies it as a daily driver. But completely different device, of course. But one that gets much less love from the devs.
[AT&T HTC One (M8)] dwestall:
EDIT: After doing some more digging on this it seems TWRP may not be compatible with device encryption. TWRP release notes say it is compatible with 5.0 Lollipop encryption, but not sure about 4.4.4. The problem is, if you encrypt a phone with a custom recovery you won't be able to flash anything and you won't be able to factory reset. I started a new thread on this in Q&A.

EDIT: It seems other's are having the same problem with this file. Searching Android ADB Fastboot turned up a number of results to download.
[AT&T HTC One (M8)] CM17X:
Thank you for this useful post. It's being a while since i had to root an HTC device and i was needing some memory refresh.

Some links are broken, or at least for me, like the adb fastbopot folder but if you google it for a while you can get it. Luckily i had the adb and fastboot stuff from my time rooting the nvidia shield tablet.

For those who doesn't want to mess with the stock recovevery, just download the cwm or twrp img into the "android" folder or whatever folder you're using.

With the phone into fastboot, type on the cmd "fastboot boot twrp.img" without quotations marks; it would load the twrp and then flash the supersu zip; you'll keep your recovery just in case.
[AT&T HTC One (M8)] redpoint73:
A number of easy adb/fastboot setup packages and beginner guides appear if you use the XDA search function and type "easy adb".

And by "you" of course I really mean others that might need help on this step; as you already have adb set up, as you mentioned.
[AT&T HTC One (M8)] CM17X:
I just pointed it just in case the OP were like me, because i personally like to keep my things alive, well, that's just me.

Have a good day, dude.
[AT&T HTC One (M8)] redpoint73:
Yup, that's just fine.

In the meantime (if/when the OP gets updated) I was just posting where others can get the adb install package, in case they are using this guide and get stuck at that step.
[AT&T HTC One (M8)] vanman74:
Thanks for the Tutorial

Thanks for the write up and thanks to the BRAINIACS that figure out how to mod n hack and are cool enough to pass it on. Peace!
[AT&T HTC One (M8)] polar2792:
Nvm
[AT&T HTC One (M8)] takichiman:
Hi,

The ADB/Fastboot files in dropbox are 404'ed. :p
[AT&T HTC One (M8)] redpoint73:
Just do an XDA search "simple adb" and you will get a couple simple adb/fastboot installers.
[AT&T HTC One (M8)] fried potato:
So i tried using this guide but just on the first 3rd part of the instructions i already came across some issues.

For example, when installing the htc driver, i get a message saying that the driver is not compatible with my os (i have windows 8.1 64 bit), but then continues the install..for some reason. Not sure if this may be a problem for later steps.

On top of that, since the the dropbox link for the adb files are broken, im not sure how to proceed. Im aware that redpoint mentioned to simply find a different download for the adb and fastboot programs, but im not sure how to use them. For example with the files normally provided i would navigate to the android folder on my desktop and enter the command, but how do i do this for other adb installers?

http://xdaforums.com/showthread.php?t=2588979

I went ahead and used this specific installer since it seemed simple enough, but im not quite sure where im supposed to navigate to. Ironically I found out that an adb folder was created in my user folder when using the dir command in cmd prompt. I tested out the "fastboot devices" command as stated but I do not get a alphanumeric string along with fast boot like in the description. Where exactly do i go from here?

Edit: And yes of course, the phone was connected to my laptop while in hboot mode
[AT&T HTC One (M8)] redpoint73:
If you haven't already, you need to change directory in command prompt to the folder wherever fastboot.exe is located.

By default, the directory for command prompt is typically the user folder. So if the fastboot folder is in your user folder, you should just need to type the command: cd fastbootfolder

Where "fastbootfolder" is the actual name of the folder containing fastboot.exe

After that, the prompt should read the path to the fastboot folder, example: C:\Users\username\fastbootfolder>

You need to be in bootloader FASTBOOT mode not HBOOT mode.
[AT&T HTC One (M8)] fried potato:
Sorry, what I meant was that the adb folder is in my account folder of my user folder. Anyways, the adb folder doesnt have individual folders for the applications, just 4 different apps entitled, adb, fastboot, AdbWinApi.dll and AdbWinUsbApi.dll. Im assuming since the fastboot app is here this is the correct folder.

Ah, my apologies

Anyways, I went ahead retried the steps with this in mind but no luck. Using the fastboot devices command still does not give me any sort of command line similar to the instructions.
[AT&T HTC One (M8)] redpoint73:
I'm just giving an example. You just need to change directory (cd) to whatever the folder where fastboot.exe is located (if your computer is not showing "exe' you should go to Folder Settings in Windows and turn off the option to hide known extensions). It doesn't need to be a seperate folder. But you

do

need to cd to the folder where fastboot.exe is located (user folder or whatever), otherwise you will

never

get fastboot commands to work.
[AT&T HTC One (M8)] fried potato:
I see. Well i checked the properties of the fastboot item in the adb folder and it is in fact the .exe you mentioned. Bad news in this case being that despite following the instructions, i did not get the command line i was expected to per the instructions. Yes, I put the phone into fastboot mode and entered the command but it still did not work
[AT&T HTC One (M8)] redpoint73:
Sorry, I've been on vacation, and otherwise unable to get onto XDA (busy catching up at work, mainly).

Its still not clear to me that you've changed directory in command prompt correctly. Can you post a screenshot of your PC command prompt?
[AT&T HTC One (M8)] ZehelSitchel:
A very simply way to know that your command prompt has is in the right directory, is to browse to the folder in which the adb tools are located, then hold shift and then r-click in the white space of that folder, then click "Open command window here". No need to open cmd and then cd to the correct location.
[AT&T HTC One (M8)] redpoint73:
That sir, is an

awesome

trick. Never knew it!
[AT&T HTC One (M8)] RyukAkira:
Memoria Interna 0

Friends, know that the internal memory appears to me as 0? I want to root my HTC M8 but I can not.

Entro en modo recovery, instalar y me aparecen las opciones:

Internal Stogare (0 MB)

Micro SDcard (17460 MB)

USB-OTG (0 MB)

I appreciate it may indicate a solution :llorando:

Thank you

:bien:
[AT&T HTC One (M8)] redpoint73:
Are you seeing this in stock recovery, or TWRP?
[AT&T HTC One (M8)] RyukAkira:
Hi,

In TWRP u.u