yashsingh1/xdaforums huggingface dataset:
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
In order to flash the MM GPE RUU you need s-off.

But you do

not

need s-off to update to Lollipop firmware; and as far as I know, LP firmware should work fine with the current batch of MM based ROMs. But as always, check the specific ROM threads for details on the required firmware.

In order to update firmware with s-on, you can either:

1) Run the Lollipop RUU for our CID, if one exists. You can check your CID by doing fastboot getvar all (if you choose to post the getvar output, be sure to delete the IMEI and serial numbers, as these are personal info). Then find the proper RUU, relock the bootloader (fastboot command: fastboot oem lock) and run the RUU.

2) Alternately, if no RUU is available, you can return to the stock ROM and stock recovery that corresponds to your CID and firmware version, using the following thread: http://xdaforums.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860

Then OTA in order to update the firmware to Lollipop.

After updating to LP firmware by either of the 2 above methods, unlock the bootloader again (if you relocked it to RUU - this isn't needed if you did method 2 above), install current TWRP 2.8.7, than flash the MM ROM of choice.
[One (M8) Q&A, Help & Troubleshooting] Kazuma29:
Unlock Bootloader Htc on m8

i have been following all the steps correctly but in the end I get the same error

Error Code: Invalid Bootloader Token Length.

Error Reason: The submitted Token appears to be the wrong length and won't work.

When i'm on the command prompt and enter fastboot oem get_identifier_token, the token appears but i can't seem to copy the token without the bootloader prefix for some reason so I copied onto notepad and deleted the bootloader prefix, aligned everything and then pasted onto htcdev, but still the same error.

Help! It's driving me nuts. Thanks in advance
[One (M8) Q&A, Help & Troubleshooting] Arash72af:
Are you actually coping and pasting the token?

That could be the problem, maybe you should exactly type it in.
[One (M8) Q&A, Help & Troubleshooting] Kazuma29:
It recognizes it if you type it in manually? And yes Im copying it exactly as it is. I'll try typing it to see if it works
[One (M8) Q&A, Help & Troubleshooting] Arash72af:
maybe not recognize BUT, i think maybe you copy some "Space Character or . or anything else" in copying, when i was trying to root my phone i typed it.
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Copy it with the bootloader prefix, enter it onto the HTCdev screen and then edit out the bootloader prefixes. Remember to delete the space as well after each bootloader entry.
[One (M8) Q&A, Help & Troubleshooting] Kazuma29:
I just tried that right now but the same error pops up... :( Is there any other solution?
[One (M8) Q&A, Help & Troubleshooting] Arash72af:
at first that i was trying to root my phone i use 2 dfferent instruction and failed in both, then i find this Dude and follow his way step by step,

i belive if you do this again from the begining by his way you can do this with no problem, so try it and let me know what happen

https://www.youtube.com/watch?v=FOaRQoJWWDw
[One (M8) Q&A, Help & Troubleshooting] Kazuma29:
Nothing.... Still the error...
[One (M8) Q&A, Help & Troubleshooting] Arash72af:
i found something else in the forum, check this out Here, its weird you still have the error!
[One (M8) Q&A, Help & Troubleshooting] jxcorex28:
Looking for some answers....

Im in a pickle, I need a copy of philz recovery 6.26.6.....I am on 1.54.401.5 as of right now.....I flash twrp through fastboot twice, fastboot erase cache once....still stuck on HTC white background, red words: Entering Recovery.
[One (M8) Q&A, Help & Troubleshooting] Einwod:
What version of TWRP? As you are on very old firmware, you need to use an older version of TWRP. Version 2.8.1.0 from this link:
[One (M8) Q&A, Help & Troubleshooting] jxcorex28:
Well I was on 1.54.401.5 (sense), then through Patrick Hill's gpe website : http://www.graffixnyc.com/m8.php ; I fastboot flashed 4.04.1700.6 and 4.04.1700.9. I then flashed twrp 2.8.7.0 (latest) was able to successfully boot into twrp but, then it started a routine bootloop from twrp. It boots into twrp then tries to boot into the latest rom I had flashed a few hours ago (Vanir : latest CM13).

Edit: I now have it back into bootloader and it's on 4.10.1700.6

This is how it all started:

I was on what ever the latest MM firmware is. I wanted to give Vanir (cm13 by: PunkUnity), so I flashed it as well as the gapps. Then as a mistake, I downloaded and installed Eurphoria CM12 theme from Google Play Store and that's when I got a System UI FC, so I booted into TWRP 2.8.7.0 to find that I could not wipe dalvik or dalvik cache. At this point, I realized TWRP was corrupt. I could not flash a recovery because the internal memory through TWRP was showing 0mb, so I booted into bootloader and was going to revert back to a sense partition, so I could atleast get a rom installed on the phone.....This isn't the first time something similar has happened, and the way I fixed it was flashing Philz Recovery 6.26.6. I could from Philz wipe davlik and dalvik cache then flash twrp then flash a rom..
[One (M8) Q&A, Help & Troubleshooting] Einwod:
If you went totally GPE including changing the partition sizes, the only way back is to flash a Sense RUU which will repartition the partitions. And checking that link you provided, that is what has happened. You cannot simply flash a ROM without converting back again. I think this is the problem you are facing at the moment. I take it you are S-OFF, otherwise you wouldn't have been able to flash the GPE ROM.
[One (M8) Q&A, Help & Troubleshooting] jxcorex28:
I was thinking the same thing too, but unfortunately I have lost the thread I need in order to revert back to a sense partition. I am currently at school because I don't have internet at the house, so I can download anything I need. Do you have a link to a thread that will have the information I need in order to revert back to sense partition, so I can move on from there.
[One (M8) Q&A, Help & Troubleshooting] Einwod:
If you are S-OFF I have RUU for WWE International HTC M8. If you have a Verizon or Sprint phone, you need an RUU from them. See this post for the WWE RUU. Also this thread is what you need for GPE to Sense..
[One (M8) Q&A, Help & Troubleshooting] jxcorex28:
I shouldnt of posted twice in these threads, but i got it working....i had to revert back to 1.54.401.5 then boot into stock recovery from there, wipe, reboot into bootloader, fastboot flash twrp 2.7.0.2 then reboot into recovery and wipe. I am good now...Appreciate the quick response.
[One (M8) Q&A, Help & Troubleshooting] Kazuma29:
I copied each line of the token one by one.... And still the error. I don't get it! :(:(
[One (M8) Q&A, Help & Troubleshooting] sg25:
Okay, so when I do the advanced wipe, I'm only wiping the internal storage partition, not the data, cache, or any others?
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
In looking at the actual TWRP menu selections again, what I think you actually want to do is not located on the "Advanced" wipe section, but is in the main Wipe section and says "Format data".

The message here does say it wipe user data (including apps, etc.) so prepare accordingly.

I've never actually done it, just read how others have fixed their storage corruption issues this way. So as anything else posted on XDA, proceed at your own risk (although I doubt anything can be made worse than you current condition).
[One (M8) Q&A, Help & Troubleshooting] sg25:
It's done now, looks like the internal storage is back to normal. I'm thinking I'll be getting that update notification sometime tomorrow. Earlier (before the internal storage was all messed up) when I tried to install the update, the phone would turn off and boot into TWRP, and there would be no way to actually install that update. The notification to install that update can't be removed, you could only tell it to pop up again after four hours or less. I assume that'll still be the case now.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
You need to be on the right stock ROM (for your firmware and CID) and corresponding stock recovery to install and OTA update.
[One (M8) Q&A, Help & Troubleshooting] sg25:
Okay, I'm using the stock ROM already, how do I get the stock recovery?
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
You can look here: http://xdaforums.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860

Stock recovery files start in Post #4 of the above linked thread. Instructions on how to install starting at Step 10 of Post #1 of the thread.
[One (M8) Q&A, Help & Troubleshooting] sg25:
Alright, cool. Thanks a lot, mate
[One (M8) Q&A, Help & Troubleshooting] Jocke45:
Hello everyone!

Im trying to use an RUU to reset my phone after my /data got corupted somehow(magic?). Any tips on what i can do to fix this? I've tried to fastboot flash boot boot.img with the appropriate boot.img but still no luckk
[One (M8) Q&A, Help & Troubleshooting] nathimself:
Yes, I've also tried wiping the system partition, too. The same problem occurs when i'm running full stock and OTA'd from stock nandroid (both 707 and 401 with respective MID and firmware)... also after a complete wipe in TWRP.

The phone seems to reboot randomly, about once a day, always while the screen is off, and gets stuck at htc one splash screen. The only way around this is by either:

-Wiping cache and dalvik cache and then reboot (works about half the time)

if this doesn't work

-Nandroid backup of current system and then restoring that same backup (pretty much always works)

EDIT: manually rebooting system also leads to the same issue
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Incorrect. If you flash the wrong firmware, you will get an error (with an error code), and the flash will abort.

A brick isn't going to happen.

---------- Post added at 01:34 AM ---------- Previous post was at 01:29 AM ----------

Is the RUU a .zip or a .exe?
[One (M8) Q&A, Help & Troubleshooting] sg25:
I've just gone back to the stock recovery, but the OTA still doesn't install properly. After the phone reboots, it installs a little, then goes into recovery and says the installation was aborted because of an error in the update zip file.
[One (M8) Q&A, Help & Troubleshooting] Jocke45:
Hi, it was an .exe . The problem solved itself after I relocked and reunlocked the bootloader for some reason. Thanks anyway ^^
[One (M8) Q&A, Help & Troubleshooting] Kazuma29:
Skydragon rom

Hello, i have the skydragon gpe edition marsmallow rom installed on my htc one m8. I want to install their custom kernel. How do i do this? And will it erase my data on the phone or it just installs and thats it?
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Try finding the update.zip and delete it. It will download again. Maybe it was corrupted during download.
[One (M8) Q&A, Help & Troubleshooting] xexux:
Hello everyone, hope you are all well.

Do we have some IRC channel for this sub-forum? I mean a channel where we could all share experiences or help each other without delays?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
That's usually means your stock ROM is not pure stock. Either it is rooted or you unrooted a rooted stock ROM and some files were changed or missing.

You can read the error log in the recovery to see what's wrong with the installation.
[One (M8) Q&A, Help & Troubleshooting] Makerrr:
Boot.img needed.

Help please. I made a nandroid backup using twrp but i haven't backed up the boot.img The stock rom!!! stock boot.img !!!! modelid: 0P6B10000 cidnum: VODAP001 version-main: 4.19.161.3
[One (M8) Q&A, Help & Troubleshooting] Einwod:
https://mega.nz/#!OtJQ3KTJ!1GgqdEDBnL_nX-ssGB-hGPTv5ZsMKqrzE7FSy93HzQc
[One (M8) Q&A, Help & Troubleshooting] Makerrr:
thanks man im downloading(slow speed) it right now i was wondering if you got the boot.img only
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Sorry no, I don't. This is from another thread here on XDA. Restore that Nandroid and you'll be fully stock, apart from the recovery which is available here
[One (M8) Q&A, Help & Troubleshooting] Makerrr:
thanks for the answers man i got it figured out downloaded an TWRP backup and restored my backup with the boot from the one i downloaded.

cheers
[One (M8) Q&A, Help & Troubleshooting] nathimself:
Hey, the OTA / firmware / recovery has been posted a number of times... search bar is your friend.

Here is the firmware only, boot.img should be inside
[One (M8) Q&A, Help & Troubleshooting] ubas98:
Htc stuck on logo so i tried to flash a skydragon rom but it failed and now i dont have anny roms in memory i tried to push leedroid rom with adb but failes probably bad instructions i got o the point that adb recognizes my phone , could anyone put some instructions it would help me :)
[One (M8) Q&A, Help & Troubleshooting] Mr Hofs:
Why doesn't anybody use MTP storage inside TWRP. When i connect my phone to the PC i can easily copy different files to the internal storage and SD card. No adb needed at all ?!
[One (M8) Q&A, Help & Troubleshooting] ubas98:
i didint knew that this thing existed now im stuck trying to fix my phone and i cant push a rom with adb :(
[One (M8) Q&A, Help & Troubleshooting] Coolkid90:
Can u share any information?
[One (M8) Q&A, Help & Troubleshooting] Realalist:
I have a factory unlocked HTC M8 CID BS_US001 using a T-mobile network. Which forum should I be using T-Mobile or AT&T?
[One (M8) Q&A, Help & Troubleshooting] Einwod:
That CID is for the Developer edition M8. Have a read here.
[One (M8) Q&A, Help & Troubleshooting] Realalist:
As much as I appreciate that it still doesn't answer my question. Which M8 sub-section should I be using?
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Then you should be using the developer edition thread. That's the device you have unless you have modified it with a custom ROM.
[One (M8) Q&A, Help & Troubleshooting] Realalist:
*Facepalm* Unfortunately I don't know where that is however I was referring to the sub section; T-mobile or AT&T are the two I'm assuming it must be but because my phone isn't branded I wasn't sure which one.
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
I don't think there is a Dev Ed M8 sub-forum.

You don't have the T-Mo or AT&T model, so I would say to use the regular M8 forum.
[One (M8) Q&A, Help & Troubleshooting] jenningstory:
htc m8s

QUOTE=KidCarter93;55872963]So you came to find h

Hi does HTC m8 support quick charge 2.0

This thread is for sensible questions from new or inexpert users. If you think your question may be a little basic for the wild Q&A forum then this is the place to ask it.

Here you shall find an atmosphere free of prejudice, where we will try to help you in your problem, answer your most basic questions and aid you on troubleshooting your device. We know that learning all the technicalities takes time, however they are necessary in order to interact with us.

Bare in mind that we are not technical support, we do not work for any company or get paid to help, we are just independent developers gathered in a community called XDA-Developers. Therefore all we will do is guide you into troubleshooting your device yourself, but under no circumstance we are abided to do so.

We want you to become the kind of user we see as productive to a developer’s community, and why not?, to be a developer yourself!

Note to General users:

This is a chance for more advanced users to “give back” to XDA-Developers the knowledge we have gathered together in a decade of development. This is a thread to behave in a tolerant way, taking into consideration that the user posting queries might have never even heard words such as “adb” or “ROM", so, if you are not willing to be helpful, I kindly invite you to browse into another thread.

Before asking a question in this thread, I suggest reading through the HTC One M8 Frequently Asked Questions as it's possible that your question may have already been answered in that thread :)

Moderators will not tolerate "flaming" or "trolling" in this thread as it is specifically provided for those who are still learning the basics.. We will delete and sanction without warning any post that show intention other than to help the new user.​

As you may notice, I kanged this thread layout from [MENTION=316446]D.O.C[/MENTION] from the M7 help thread. Thanks sir ;)[/QUOTE]
[One (M8) Q&A, Help & Troubleshooting] Realalist:
So I have a unlocked and unbranded M8 Dev edition running on T-mobile network. After rooting and going to installing custom roms; should I choose roms from the T-Mobile sub section?
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Almost all ROMs in the regular M8 forum support T-Mo, so you can also choose ROMs from there.
[One (M8) Q&A, Help & Troubleshooting] btbamcostello:
Can't update to CM 13.0

I've got a HTC One M8 (British, so not Verizon/Sprint etc). It was running CM 12.1 with no issues. I decided to upgrade to CM 13.0 yesterday. The following happened:

Entered recovery mode

Installed CM 13.0 2015-12-05

Rebooted

Received "Setup Wizard" error

Entered recovery mode

Installed GApps ARM 6.0 2015-12-05 micro

Same issue

Repeated all of the above again, but this time clearing Dalvik and cache and not rebooting between installing CM 2015-12-06 and GApps 2015-12-06, same issue

I know now that it wasn't a good idea to reboot between updating CM and GApps, but does it explain why I'm still getting issues?

Can anyone help please? Apologies if I've missed any useful information, just ask and I'll provide it. I'm a software developer but a bit of an Android novice.
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Post the results of fastboot getvar all. make sure you remove your serial and IMEI numbers before you post.
[One (M8) Q&A, Help & Troubleshooting] btbamcostello:
It took aaages to get the basic ADB tools downloaded. Thanks for offering to help.

(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.22.21331147A1.29G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: XXXXXXX
(bootloader) imei: XXXXXXXXXXX
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: VODAP001
(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: 26b322e5
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.019s
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Bootloader is OK at 3.19 however baseband is older than it should be, me thinks. Without version main we cannot see your firmware version. You have an older version of TWRP installed. My suggestion is that you go back to stock Vodafone ROM then take whatever OTA updates are available to get to the latest firmware. When you unlock again and install TWRP make sure you have the latest version. 2.8.7.0 check this thread: http://xdaforums.com/showthread.php?t=3086860
[One (M8) Q&A, Help & Troubleshooting] Mr Hofs:
When you go back to stock with a pure stock nand + stock recovery you do not need to relock the BL, so also no need to unlock again !

Just keep the BL unlocked.
[One (M8) Q&A, Help & Troubleshooting] btbamcostello:
Cheers, I'll dp that.
[One (M8) Q&A, Help & Troubleshooting] Martin826:
Hi I have problem on Android 6.0 (Official Sense), when i boot to fastboot and want flash TWRP recovery (fastboot flash recovery twrp.img) i stuck on message "waiting for device"

*Solved

I used another USB port and then it worked.
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Are you sure you have adb and HTC-fastboot in the same folder where the recovery image is? Have you installed and uninstalled HTC Symc manager? Are you using a USB 2 port on your computer? Is USB debugging on on your device?

See attachment.
[One (M8) Q&A, Help & Troubleshooting] hiteshmali:
i have purchased a htc m8 sprint unlocked version from olx.

its a rooted device ,checked through root checker .

its running on 4.4.2 kikat.

my question is can i flash into any of the stock rom(i.e internationl version) or only the sprint stock rooted roms.

if either can u suggest me good stock version of rom ,so i can update to lollipop atleast.

i think my phone is in stock recovery .

& totally confused with the procedure .

thanks in advance .
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Sprint devices are not good for international ROMs. You have SuperCID which means the device has been S-OFF at some stage or was manufactured that way. You need to find a stock Sprint ROM and go back to stock. That will enable you to get OTA updates to Lollipop firmware and stock Lollipop for Sprint. Have a look here for the RUU to update your device.
[One (M8) Q&A, Help & Troubleshooting] hiteshmali:
if i go back to stock sprint can i use other carriers sim,i have tried that ruu but unable to .
[One (M8) Q&A, Help & Troubleshooting] Einwod:
If you are able to use another sim card now, there will be no problem if you go to stock Sprint. The RUU has nothing to do with the device being sim unlocked. If it is unlocked to other sim cards now, it will stay that way.

What are you unable to do? Have you read through the entire first 4 or 5 posts? You can upgrade the firmware seperately. You are S-OFF. There's no reason you cannot run the RUU either the exe version or one of the .zip files. It's easy at the end of the day.
[One (M8) Q&A, Help & Troubleshooting] Dewzone:
HTC M8 update issue

6.0 already rolled out int US but as i have a US model in Nepal it doesn't show up the offcial update.

Device is S-ON.

Any reviews on what might be the problem?
[One (M8) Q&A, Help & Troubleshooting] Einwod:
6.0 is out for the developer and GPe editions, not for normal M8 devices. You'll have to wait unless you have one of those devices. If you have Verizon or Sprint, you'll be waiting a lot longer for MM to arrive. It first has to come for the UNbranded versions.
[One (M8) Q&A, Help & Troubleshooting] Dewzone:
issues

Actually i have the unlocked version may be a international one.

Product manager of HTC said unlocked HTC will get 6.0 before Dec 3. and yes they have got.

My software build number is 4.16.** whereas when i checked the htc site the latest software build for unlocked m8 is 4.17.**.

What might be the problem ?

Or Just dev editions are getting the update in the US not the unlocked ones?

thanx :)
[One (M8) Q&A, Help & Troubleshooting] Martin826:
Porting systemUI.apk

Is possible to port Marshmallow (Sense) systemUI.apk to Kitkat ('coz i think battery life was better to me on kitkat but i like look of Marshmallow)?

If it is possible then how?

Thanks
[One (M8) Q&A, Help & Troubleshooting] Einwod:
As I said, it's developer and GPe editions only. Us normal users have to wait. Still.