yashsingh1/xdaforums huggingface dataset:
[One (M8) General] Einwod:
Firewater has been obsolete since mid 2014. You gotta buy Sunshine or nothing else. Firewater should have been removed from the OP a very long time ago. And as said, you don't need Sunshine to relock.
[One (M8) General] Jongla:
I am getting remote : 32 header error while flashing an RUU on my M8 Europe.

I checked the md5 of the zip,and it is okay.

where is the problem than?

Edit:oh it seems there is special htc_fastboot to flash that RUU.it won't work with normal google fastboot.
[One (M8) General] leonardojt:
help me please

once i execute fast boot oem rebootRUU my phone only boots back to normal phone mode. it has s-off but boot loader is locked. i tried to unlock from htcdev i got the token when i run i prompt me for the option when i choose unlock the phone just reboot to system. any ideas:eek::eek::eek::eek::eek::eek::eek::eek:
[One (M8) General] Einwod:
Are you using the latest HTC-fastboot?
[One (M8) General] evoFxP:
Thanks a lot for this really helpful guide!! Successfully installed TWRP and DirtyUnicorns ROM!
[One (M8) General] d.dipto89:
How To change Software status Modified to official on m8 Model: OP6B120

Bootloder 3.19(Relocked)

Radio:Invalid

Dsp:Invalid

phone stucks on Fastboot..

I want Bootloader unlock

and Flash twrp.
[One (M8) General] redpoint73:
This thread and forum section are not the right places to post this type of question (its what the Q&A section is for).

Plus you already have another thread asking this question: http://xdaforums.com/htc-one-m8/help/software-status-modified-relocked-t3507965

Please don't make multiple posts, asking the same questions.
[One (M8) General] akaTRAP:
I'm later than all hell in this, but I bought an HTC One M8 to replace my S4, followed this guide, and got everything working perfectly, minus a few things.

1. Unlock_code.bin has to be in the adb folder. D'oh!!

2. The SuperSU linked in the OP didn't work for me. I had to grab another file in order to obtain root.

3. This is just an opinion. I think the price for Sunshine is a bit steep, but considering how user-friendly it is (you'd have to be a moron to mess that up), I'm more than willing to support the developers. Great job, guys. Even with PayPal not generating a license immediately, causing me to restart the app, didn't prevent it from working.

Once I receive my SIM card tomorrow, it's off to flashing ROMs on this phone. I'm on Sprint in case anyone ese is a (super) late adopter and was curious as to what variant I'm using.

BTW, my phone has the very-latest firmware and this guide still worked, as did Sunshine.

EDIT: below is the link I used to grab a copy of the SuperSU zip. As of me typing this, it's version 2.79.

https://s3-us-west-2.amazonaws.com/supersu/download/zip/SuperSU-v2.79-201612051815.zip

Originally from this thread:

https://xdaforums.com/apps/supersu/stable-2016-09-01supersu-v2-78-release-t3452703
[One (M8) General] Einwod:
As you are Sprint, unfortunately, you have limited options on what roms you flash. They must be Sprint compatible or you'll brick your device. Take extra care.
[One (M8) General] akaTRAP:
Thanks for the heads-up. Last time I bricked a device was an LG G3, and I had to take it apart (twice) to flash the chip. Guess that means I'll just play it safe and stick with Viper. I actually like Sense, but the stock ROM reboots every time I try to install Viper4Android.
[One (M8) General] redpoint73:
Also, don't try to flash another version's RUU or firmware (in an attempt to "convert" the phone to another version).

This won't work on the Sprint variant (only flash Sprint RUU, firmware), and may cause a permanent radio brick. Along those lines, only change the CID or MID if you have carefully considered the previous warning.

S-off isn't needed to root, flash ROMs, kernels, and a great many other things. But s-off does allow you to access critical partitions such as hboot and radio. And if you do something wrong to those partitions . . . BRICK. So tread carefully, now that you are s-off (with the Sprint version, particularly).
[One (M8) General] akaTRAP:
I'm assuming RUU is the stock ROM for a specific variant? btw I'm trying to find a debloated stock ROM for Sprint and can't seem to locate one anywhere. Would you happen to know of one?
[One (M8) General] ahmed.ismael:
RUU is stand for Rom Update Utility and it's re-write every partition to it's stock ( factory condition ) and contains (hboot,recovery,radio.....etc ) so many partitions

And every device variant have a different RUU so choose your device specific RUU to avoid issues ( damage )

rom is only system and boot .imgs with some modifications

Have you tried with viper ( the latest version 6.1.0 is ported from htc 10 and supports sprint ) if you want the stock try with older version viper 5.0.2
[One (M8) General] akaTRAP:
Thanks for explaining that to me.

I was thinking about trying Viper10 but I'm so fond of stock Sense, I'm really just looking for a Sense ROM that doesn't come with all the HTC/Sprint bloat. If older Viper ROMs are like Sense de-bloated, I would love to give them a try.

I was also thinking about trying a GPE ROM and installing Sense over it, but doesn't that kinda defeat the purpose?
[One (M8) General] ahmed.ismael:
my suggestion is to flash viper 6.1.0 it's awesome but viper 5.2.0 is more stable and it's stock sense marshmallow de-bloated rom ( all you need )

There is also other roms that supports sprint you may need to take a look around
[One (M8) General] redpoint73:
Viper is mostly stock Sense, but with performance tweaks; and the ability to customize a lot of stuff - but you don't have to if you don't want.

Well worth a try. Just backup your current setup with TWRP before flashing a custom ROM, and you can easily revert if you don't like the ROM.

Not sure what you mean by that. GPE ROM and Sense are 2 different things. While you can install some Sense features on a GPE ROM, if you have the proper apk's; but it may be a bit tricky. And may be out of scope of what you intend to do, and your current abilities. There are also some "hybrid" ROMs around that blend GPE and Sense. But you can't just "install Sense" over GPE.
[One (M8) General] akaTRAP:
Thanks for all the help.

Redpoint, I meant install the Sense Launcher and some of the features in a GPE ROM, but I don't see the point in that when I could simply download a Sense ROM in the first place. It just seems redundant to me. This is the first time I'm going to do a back up of the stock ROM lol. I'm coming from an S4, so you might understand when I say I hate TouchWiz with a passion.

EDIT: Is it me or do GPe ROMs have better data signal strength than Sense ROMs?
[One (M8) General] redpoint73:
I'm not sure what it takes to install the Sense launcher on a GPE ROM. But a lot of Sense is the launcher, so I tend to agree, that it seems like an unnecessary, roundabout way to do it.

Not sure what combination of Sense + GPE features you are looking for. But you might check out the "hybrid" (GPE + Sense) ROM here: https://xdaforums.com/showpost.php?p=67939172&postcount=1659

I do know what you mean. I don't use Sammy phones, but I do have a couple of their tablets. While its purely a matter of personal taste, IMHO TouchWiz is no comparison to Sense. TouchWiz is just ugly, and adds no value for me. Sense, I actually like the aesthetic changes (versus "pure" Android) made by HTC, as well as finding a number of the HTC-specific apps to be pretty handy; or to be improvements over the "pure" Google versions. The camera for instance, while I mostly enjoy pure Android, the camera just kills me. Its missing so many features, and just a dumbed-down, non-functional layout compared to the HTC camera app.

Never really been a GPE user, so I can't personally say.
[One (M8) General] akaTRAP:
I was looking for that ROM. The links on the original page were dead. & for some odd reason, I get two bars when I'm in my bedroom with a Sense ROM, but I get three bars (LTE) on a GPe ROM. Weird........

EDIT: I meant to say I don't go any lower than 3. A lot of the times I hover around 4.
[One (M8) General] ahmed.ismael:
Use the download link in the linked post

Actually the latest GPE ( h15 ) have some issues with mobile data signal,you maybe used a patched rom with a fix for this issue
[One (M8) General] akaTRAP:
I'm using that ROM right now, no data issues.

EDIT: Now I found another problem. V4A stutters like crazy when the screen is off. Happens on GPe, didn't on Sense ROMs as far as I remember. Looks like I can't use V4A. Thank God Poweramp's EQ is just as good.
[One (M8) General] 22vlaja:
Hi all,

How to S-off wihout buying app? Need to upgrade FW from 4.16.401.13 to 6.12.XXX.XX. Is there any chance to upgrade to 6.12.xxx.xx without S-off?

thanks
[One (M8) General] Einwod:
There is no possible way to S-OFF without paying. That's final. You can upgrade your firmware but it must be signed. You can find signed firmware in this thread. This will wipe your device, so make a backup first. Make sure you know the correct firmware to flash and follow the instructions carefully and to the letter. More help can be given when you post the results of fastboot getvar all after removing your serial and IMEI numbers from the readout.
[One (M8) General] 22vlaja:
Thanks for quick replay, here is more info. Also shall i install (From TWRP?) CID GLOBA001 MID 0P6B13000 6.13.1500.7 from provided link?

[IMG="HTC10"]http://i.imgur.com/E6DOsnV.png[/IMG]
[One (M8) General] Einwod:
Not with TWRP. The firmware and the instructions for flashing it are in post #5. Follow the instructions exactly as written. It's easy. You MUST flash the firmware TWICE.
[One (M8) General] redpoint73:
By spending hundreds of hours finding your own s-off exploit, for which you will probably brick several devices.

Since that is what the sunshine devs went through to develop the s-off method. Seriously, if it were easy to s-off; the devs wouldn't be charging money for it (to recoup their lost time, and lost devices). If you want s-off, pay for it. Its that simple.

But as mentioned, you don't need s-off to update firmware. Most folks don't need s-off. You don't need it for root, custom ROMs, and many other mods.
[One (M8) General] 22vlaja:
EDIT:

Did install from 2nd time, everything went fine, after reboot i can see just backlight, and cant enter recovery/fastboot with power+volume down, seems like some kind of brick, also cant see it from terminal via fastboot devices. Any help would be usefull
[One (M8) General] Einwod:
You should let it finish. It should flash OK. Are you flashing the correct firmware? If all else fails, reboot the device to bootloader and start again.
[One (M8) General] 22vlaja:
I did install correct FW, also edited last post,

"EDIT:

Did install from 2nd time, everything went fine, after reboot i can see just backlight, and cant enter recovery/fastboot with power+volume down, seems like some kind of brick, also cant see it from terminal via fastboot devices. Any help would be usefull "
[One (M8) General] Einwod:
Flash a ROM now. Download a ROM onto your internal storage. You may need to flash TWRP again. Make sure you have the latest version.
[One (M8) General] 22vlaja:
after upgrade FW, unlocked BL, install TWRP, root, and then ROM, everything went fine. M8 works great, thanks for quick and straight help.
[One (M8) General] Einwod:
Enjoy your updated device. :good::good::good:
[One (M8) General] forafuture:
which firmware is the best, I can use in my case:

INFOversion: 0.5

INFOversion-bootloader: 3.19.0.0000

INFOversion-baseband: 1.09.20.1112

INFOversion-cpld: None

INFOversion-microp: None

INFOversion-main: 6.20.654.3

INFOversion-misc: PVT SHIP S-OFF

INFOserialno:

INFOimei:

INFOimei2: Not Support

INFOmeid: 99000499404229

INFOproduct: m8_whl

INFOplatform: hTCBmsm8974

INFOmodelid: 0P6B12000

INFOcidnum: 11111111

INFObattery-status: good

INFObattery-voltage: 0mV

INFOpartition-layout: Generic

INFOsecurity: off

INFObuild-mode: SHIP

INFOboot-mode: RUU

INFOcommitno-bootloader: 205bdca3

INFOhbootpreupdate: 11

INFOgencheckpt: 0

all: Done!

:confused:
[One (M8) General] Einwod:
You have a Sprint device and it shows you currently have the latest firmware. Although you are S-OFF, please be very aware that you are limited in what ROMs you may flash to your device. They MUST ALL BE COMPATIBLE with the Sprint device, otherwise you will end up with a very expensive paperweight. Be careful what you flash and whatever you do, start reading the threads and keep on reading.
[One (M8) General] SandyNL:
Wrong twrp

Followed the instructions here in the opening post. All went well until I flashed the wrong twrp file . . .

My M8 is now unresponsive with a black screen showing a large battery icon in the center and the small red led at the top of the screen.

Any suggestions as to how I might get it running again?
[One (M8) General] Einwod:
Hold power and volume down together for 15 to 30 seconds. Should restart. Then flash correct TWRP.
[One (M8) General] SandyNL:
Thanks for the suggestion Einwod but the phone remains unresponsive to power and volume switches.

If I plug in the charger then the large battery icon appears center screen, showing empty and no charge activity, and the small red led at the top is visible.

As advised, the phone was charged to 100% before I started (phone 5 months old and battery fine condition). Beginning to think I might have fried battery somehow.
[One (M8) General] ckpv5:
If that is a M8, press & hold both power & volume up button to force restart.

Flashed a wrong twrp won't make the phone unbootable; unless the TWRP was flashed to boot partition. If this is the case you need to flash your device boot.img or any kernel that work for M8 like ElementalX to have phone bootable.

What was the command you write to install TWRP ?
[One (M8) General] SandyNL:
Thanks for the reply ckpv5.

In bootloader mode I typed:

fastboot flash recovery C:\adb\openrecovery-twrp-2.8.5.0-m8.img

It should have been:

fastboot flash recovery C:\adb\openrecovery-twrp-2.7.1.0-m8.img

and followed by:

fastboot reboot

Phone is still not responding to power and/or volume buttons and looks a bit like this ......

Could that not indicate that the battery is done for?
[One (M8) General] ckpv5:
TWRP 2.8.5.0 is correct TWRP when you have lollipop or marshmallow firmware.

If it is on KitKat 1.xx & 2.xx you should use TWRP 2.8.10 and when on 3.xx TWRP 2.8.3.0

Never use any TWRP 2.7.x.x

To me it looks like your device on switch off state because we usually see the battery icon when in switch off state and connected to charger.

In this state we usually press power & volume down button to get back to bootloader.

Press & hold power button only to reboot.

You also can press power button + volume up + volume down to reset and normalize battery.

Try to press buttons without connected to charger.

Also when connected to PC you should hear connecting & disconnecting sound when press buttons combination.

If there is sound then the buttons are responsive to press.
[One (M8) General] SandyNL:
I agree that the device appears to be switched off but normally the battery would appear to be charging and in this case it is exactly what you see(no animation).

The power and volume buttons are not working. Doesn't matter how long or in what combination I hold them pressed. Also when connecting to the pc there is no connection sound as the pc cannot 'see' or detect the phone in it's current state.
[One (M8) General] sudoxd:
root@htc_m8:/ # data/local/tmp/sunshine.apk

data/local/tmp/sunshine.apk[1]: e≡I/: not found

data/local/tmp/sunshine.apk[1]: can't open *0⌡AndroidManifest.xml╜▌: No such file or directory

data/local/tmp/sunshine.apk[2]: syntax error: ')' unexpected
[One (M8) General] Einwod:
Would you like to explain what this is and what you did to get this? Obviously sunshine related, but what? Are you on a custom rom or close to stock as possible?
[One (M8) General] sudoxd:
nope, i was stupid. i obviously didnt read the instructions properly (confusing to me) and i tried to flash the sunshine apk *facepalm*
[One (M8) General] Arsinn:
Hi. Is there any way for s-off except sunshine method? (m8 android 6)
[One (M8) General] ahmed.ismael:
No

There is only one metgod which requier java card and will cost you about 100 $ if you don't have the card

So basically no
[One (M8) General] jshamlet:
That's about a $100 per use unless you get lucky and can do a "group buy" of one. The actual Java cards vary depending on how many uses they have left, but they are generally north of a kilobuck or two. I remember a discussion a while back before the sunshine crew released the first S-off for the M8, where people were throwing in to buy a Java card and mail it to all the backers.

When you consider Sunshine is only $25 per device, it suddenly seems a whole lot more reasonable.
[One (M8) General] erlange:
How do I make zip of my current firmware in case I do something wrong (such as operators become locked and the such) and revert to my old firmware?

Phone's currently working nice, but can't get into diag mode by dialling ##3424# or adb shell su command. I suppose this is due to incorrect firmware.

Here's my getvar. Just curious about empty version-main section.

(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-OFF
(bootloader) serialno: -hidden-
(bootloader) imei: -hidden-
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B16000
(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: 76df2b54
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
[One (M8) General] Einwod:
Empty version main is due to an older version of TWRP. Download and install the latest version. Then find and flash your latest firmware, the version main will return. There are many firmware zips available, search for them. Better to find a full signed firmware, as you're S-OFF, and keep it safe on your computer until needed.
[One (M8) General] erlange:
Thanks mate, for your prompt response.

I bought it with custom ROM already in it. I've flashed many MM ROM's even N (RR, Lineage, ARHD, ICE, Lee, etc.) and all work almost flawlessly for daily use. Just curious I can never manage to get into diag mode (##3424# or via adb shell su) as it seems the only way to work with QPST/QXDM.

However, this is only my daily driver and I'm afraid of bricking it by mistake or flashing wrong firmware. What are my chances? How do I revert back?
[One (M8) General] Einwod:
You can't really brick unless you have a Sprint device which is CDMA. As you're S-OFF, you can do anything with your device. Just be careful that you flash only roms that are compatible for your phone.
[One (M8) General] redpoint73:
Based on your MID (0P6B16000) it appears your CID (before it was SuperCID) was one of the several listed for that MID on the following post: https://xdaforums.com/showpost.php?p=60218734&postcount=5

Although the MID itself may have been modified. Are you located in Canada or Australia, or somewhere else?

I would agree with the previous post, you can save away the official signed firmware (available on the post I just linked) as a "backup" for your firmware. There are encrypted, signed HTC firmware, and can be trusted. Instructions on how to flash the firmware with fastboot are also supplied at the bottom of that same post.

You won't brick the device flashing firmware intended for the "GSM" M8 (product ID: m8_ul). As long as you stick the firmwares in the above post, and avoid any other versions (CDMA, dual SIM, eye, etc.) flashing firmware is relatively safe.

If you are trying to access diag mode for the purpose of unlocking bands, it won't work on a GSM device. It only works on CDMA version M8 (which you don't have).
[One (M8) General] erlange:
My initial goal was to enable the LTE band for my country but after reading your explanation it can't be done on a GSM version that I have.

I've purchased it with already s-off, unlocked and custom ROM installed. Since the only information I can trust is the product ID (being CID and MID are modifiable) maybe I would go for whichever firmware with the appropriate MID, as long as it is GSM

Again, thanks [MENTION=3741261]Einwod[/MENTION] and [MENTION=660462]redpoint73[/MENTION] for your helpful responses
[One (M8) General] redpoint73:
Your other option is to flash the firmware for the M8 version that supports the desire LTE band (firmwares for all "GSM" versions of the M8 are interchangeable). This doesn't always work (may still not have LTE service after flashing the right firmware) but it's worth a try since you already have s-off.

What country/carrier, and what LTE band are you looking to support?
[One (M8) General] erlange:
I am currently in Indonesia and wishing to snap into the local B3 (1800 +) and B8 (900) LTE bands (https://www.frequencycheck.com/carriers/xl-axiata-indonesia). Right now it only works on 3G/H+, just curious if I can get the 4G/LTE
[One (M8) General] redpoint73:
The Euro and Asia versions of the M8 support LTE Bands 3 and 8. Of those, I would probably suggest the Euro firmware, since it seems to be the most commonly owned, and therefore the most widely supported on these forums.

My suggestion would be to RUU and "fully convert" to Euro version, as this isn't just firmware, but a complete factory image (all partitions). Which would give you complete Euro baseline, free of any potential incompatibilities (between firmware and software). The Euro RUU (zip format) can be obtained in the following post, as well as instructions on how to install: https://xdaforums.com/showpost.php?p=64926626&postcount=6

This won't guarantee you get LTE service on your local carrier. I've seen a number of cases on these forum, where the users failed to get LTE, even after "converting" to the version with proper band support. One user stated that LTE support is set in hardware, but this contradicts what I understand about the Snapdragon 801. Although it would explain why those folks failed to get LTE service, even after installing the proper firmware/RUU.

In any case, it won't hurt to try. Good luck!
[One (M8) General] erlange:
If my device has only changed in its CID, assuming the model ID (m8_ul) and product ID (0P6B16000) left intact, then my best guess it could originally be an M8 Google Play Edition here (https://xdaforums.com/showpost.php?p=70965379&postcount=2198)

Based on the specs here (http://www.fonearena.com/htc-one-m8-google-play-edition_4986.html) it also has carrier compatibility with my phone.

This also states the similarity in the product ID (http://droider.eu/2014/09/20/htc-one-m8-models/) which is m8_ul

Asia version has a 2.5Ghz CPU which I must avoid for sure.

This narrows my choice to the GPE or Euro version. Let's give it a shot then!
[One (M8) General] redpoint73:
You're going in the wrong direction. While the GPE firmware would install on your device and work, it does not support the LTE bands you are looking for. It defeats the purpose of changing the firmware.

https://support.google.com/playedition/answer/6005982?hl=en

I'd still suggest trying the Euro RUU, and I suggested that for a reason: it will not only work on your device, but also supports the LTE bands you seek.

Forgot to mention: I'm guessing the Euro RUU will work without changing the MID, as in most cases (but not all) having SuperCID will bypass the MID check. But in case you need to change to the Euro MID, instructions are here: https://xdaforums.com/showthread.php?t=2708581
[One (M8) General] erlange:
I missed the LTE band in the GPE official site you've mentioned. Alright then, I'll try the Euro RUU instead. Maybe talk to you later. It's 1.23 AM here. Let's continue tomorrow.

Thank you for your helpful support mate.