yashsingh1/xdaforums huggingface dataset:
[One (M8) Q&A, Help & Troubleshooting] Prisoner_945:
C:\mini-sdk>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.16.0.0000

(bootloader) version-baseband: 1.15.2133156.UA13G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.54.401.5

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

(bootloader) serialno:

(bootloader) imei:

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: HTC__J15

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

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.026s

>unlocked bootloader/Tampered

>using twrp 2.7.0.2

>currently on AOKP KK 4.4.4(oct/10/2014)

>developer mode.

>and im on Worldwide i guess CID HTC__J15.

>i want to go back on stock so i can receive ota..please send me tutorial//and SS as possible Thanks

>and im S-on

>They bought this device in Dubai

>im From Philippines

>waiting for your reply thanks:good::good::good::fingers-crossed::fingers-crossed::fingers-crossed::fingers-crossed:
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Visit this thread: http://xdaforums.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860/page1

All you need is there. Read carefully.
[One (M8) Q&A, Help & Troubleshooting] Hexagonian:
HTC One m8 Eye - Stuck in Bootloader

Hello Guys,

I was trying to root my HTC One M8 Eye. As you know it is a bit different to root Marshmallow.

I have unlocked the bootloader and then the next step was to recover an image from the fastboot menu.

When I did it seems that I have picked the wrong boot image.

Which made my device stuck in the bootloader system

I have tried all the options possible "Factory Reset, Reboot, Reboot Fastboot, Recovery" Everything.

Nothing works..

Any one knows what to do?

It would be a real pleasure
[One (M8) Q&A, Help & Troubleshooting] buzjay:
Ok, Thanks , here is the link of the previous post opened :

http://xdaforums.com/htc-one-m8/help/help-flash-international-rom-htc-one-m8-t3425193#post67996474

Thanks for your help on this post then ... CU there
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
OK ..I'll reply there later after I finish uploading the OTA for you.
[One (M8) Q&A, Help & Troubleshooting] sudhanshu_shah:
You can try those ROMs in Development thread - Viper, S.ROM, Jazz just to name a few as there are many more.

If you like GPE with Sense Hybrid (optional), you can try Blues (link in my signature),

select Sprint when it ask your network in Installer.

BUT .. frankly speaking I don't know whether your data can still work as you wrongly installed GSM radio.

It's either brick or you can only get 2G. Not sure whether flashing back Sprint radio.img will fix it if it does bricked.[/QUOTE]

well i installed Viper rom working fine but NO SIGNAL T_T

my previous modelid is 0P6B70000 and cidnum is 11111111

so what radio image i have to flash to make thing work??

or i have to flash marshmellow firmware??

[IMG="bootloader"]https://www.photobox.co.uk/my/photo/full?photo_id=21285485738[/IMG]
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
As expected you lost the signal.

No guarantee this will work but worth a try.

Change back the modelid the original 0P6B70000 then flash the Sprint firmware 6.20.651.3

You can get it here :

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

Hopefully it is not totally bricked and the firmware will fix it.

Good luck & good night
[One (M8) Q&A, Help & Troubleshooting] sudhanshu_shah:
thanks sir

---------- Post added at 07:11 PM ---------- Previous post was at 06:38 PM ----------

C:\miniadb_m7>adb reboot bootloader

C:\miniadb_m7>fastboot devices

HTxxxxxxxxxxxx fastboot

C:\miniadb_m7>fastboot reboot

rebooting...

finished. total time: 0.016s

C:\miniadb_m7>adb shell

shell@htc_m8:/ $ su

su

1|shell@htc_m8:/ $ echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x37\x00\x30\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384

00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384 <

dd: /dev/block/mmcblk0p5: Permission denied

1|shell@htc_m8:/ $
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Boot to TWRP, mount system then run the commands

adb shell

change MID code

no need "su" command
[One (M8) Q&A, Help & Troubleshooting] Prisoner_945:
Hi thanks for the guide I appreciate that. I'm just confused what on the ss below it's attached by the way what file should I download?
[One (M8) Q&A, Help & Troubleshooting] :
your version is too old. that is not there. this is your TWRP backup 1.54.401.5 https://db.tt/phqTCqvI

this is stock recovery https://www.androidfilehost.com/?fid=95897840722642973
[One (M8) Q&A, Help & Troubleshooting] sudhanshu_shah:
Thanks dude

You are Savior

---------- Post added at 02:01 PM ---------- Previous post was at 01:57 PM ----------

Thanks dude

You are a Savior

Xda community always helped me

And you are right only 2g data is working

But at least my phone is not dead

Is there anything that I can do to enabled 4G or at least 3g in my phone??

BTW m from india
[One (M8) Q&A, Help & Troubleshooting] Ryumari:
Hello all !

Quick question regarding TWRP 2.8.7.0 on my HTC M8.

I want to change my ROM atm to Viper again and I have to make full wipe. While in the TWRP Wipe menu Factory Reset will be enough? Or should I enter Advanced Wipe and select some options there to make it perfect 'fresh' start?

Want to be completely sure because I couldn't find any straight answer to this question.

Thanks in advance!
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
You can do factory reset, or you can simply choose "Full Wipe" in Aroma.

Boot to TWRP, choose to install, and that is one of the options that are offered during the install.
[One (M8) Q&A, Help & Troubleshooting] BokTheGolem:
I want to get back to stock rom and update. I'm currently on a KK rom, with bootloader locked and S-On. My only real question is I see if I recover to a stock backup I have and flash stock recovery i can OTA update, but what recovery version do I need? Theres a big list of them in the back to stock sticky but I can't discern which one i'd need.
[One (M8) Q&A, Help & Troubleshooting] Einwod:
You find what you need from version main on bootloader screen or from the results of fastboot getvar all. We can't help because we don't know what version of the device you have either.
[One (M8) Q&A, Help & Troubleshooting] BokTheGolem:
Is that after restoring to stock backup or does it not matter?
[One (M8) Q&A, Help & Troubleshooting] BokTheGolem:
The relevant results from fastboot are

version: 0.5

version-bootloader: 3.16.0.0000

version-baseband: 1.16.21331931.LA11G

version-cpld: None

version-microp: None

version-main: 1.58.502.1

version-misc: PVT SHIP S-ON

Is this all thats necessary to determine stock recovery version?
[One (M8) Q&A, Help & Troubleshooting] ahmed.ismael:
stock recovery version match (( version-main )) IN YOUR CASE (( 1.58.502.1 ))

you can try searching for RUU it's easier than restored backup if you can't find RUU for your device then do restore
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
http://xdaforums.com/showpost.php?p=67123738&postcount=7
[One (M8) Q&A, Help & Troubleshooting] :
http://dl3.htc.com/application/RUU_...G_20.31A.4145.02L_release_368350_signed_2.exe
[One (M8) Q&A, Help & Troubleshooting] tommieamelia:
HTC One M8 AT&T not updating software

I'm very hesitant to post here because I am such a novice. I purchased a brand new HTC One M8 AT&T on eBay. Brand-new, never activated. It activated fine. However, it won't receive any software updates. I've tried the RUU from HTC and it just sends and sends and never finishes. I pulled the plug on it and got an error 155. I took it to the AT&T store and they didn't know what to do either. I'm hoping someone here knows what I need to do?
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Error 155 often happens with an unlocked bootloader and S-On while trying to run an RUU. The people at the AT&T store more than likely don't know that. They mostly are not that smart when it comes to stuff like this.

Boot to bootloader (power off your phone, then boot it by holding vol down + power) and tell us what the readout there is. The parts that matter most are s-on or s-off, locked relocked or unlocked, and your current OS version, but the whole readout would be good to know (besides the booting options at the bottom)
[One (M8) Q&A, Help & Troubleshooting] tommieamelia:
Thank you, thank you!

I'm not very smart when it comes to this stuff, but their lack of expertise was evident.

This is everything I see when I do the bootloader:

***Software status: Official***

***Locked***

M8_UL-CA PVT SHIP S-ON

HBOOT-3.19.0.0000

RADIO-1.16.21331931.LA11G

OpenDSP-v38.2.2-00542-M8974.0311

OS-6.2.502.5 -------------------------------------> I know this SAYS It's running Marshmallow. It totally isn't when I start the phone.

eMMC-boot 2048MB

Apr 14 2016,19:39:46.0
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
I would run the RUU again. It looks like the firmware has flashed properly, but not the ROM itself. Radio and DSP are old as well I believe
[One (M8) Q&A, Help & Troubleshooting] tommieamelia:
Ok, thank you. MM isn't running because I'm looking at the "About phone" under settings and my android version is 4.4.2 and software number is 1.58.502.1. :-/
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Yeah, that's what the radio and open DSP versions are pointing to as well.
[One (M8) Q&A, Help & Troubleshooting] tommieamelia:
!!!!!! It worked!!! I was scared to run it again since I had to do the unthinkable and pull the plug last night. (It ran for over an hour with no status bar changes, etc.)

Thank you so much - I really, really appreciate you!
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Cool! I'd say it sounds like it did work. Weird that you got error 155 though. I would expect error 90 (hboot pre-update) which tells you to "flush" <-----(misprint of flash ~ HTC is Taiwanese) again immediately.
[One (M8) Q&A, Help & Troubleshooting] tommieamelia:
Totally worked. AT&T and HTC tech support were completely befuddled. Yayyyyy! Thanks so very much.
[One (M8) Q&A, Help & Troubleshooting] Blueanchorite:
Unlocked M8 can't find update

Hello, I'm wondering if someone could point me in the right direction as to why my phone refuses to update. It is still on 4.4.2, is S-ON and unlocked. The CID and MID is HTC__001 and 0P6B630 respectively. I have tried using an RUU to update the phone which was correct to my knowledge (BrightstarUS WWE). Any info would be much appreciated as I would like to try the phone with updated software.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Something is strange here, the CID and MID don't match. How did you determine this info? If you know how, do fastboot getvar all, and post there results (delete IMEI and serial number before posting).

The RUU you tried is not for that CID or MID. Its the US Developer's Edition, and will not work on your phone based on the info provided. Although its not clear what (if any) RUU will work on your phone, unless we can look at the getvar data.
[One (M8) Q&A, Help & Troubleshooting] Blueanchorite:
I used CID Getter off the store to find my CID, and the MID is located on the back at the bottom of the device. I'll setup the SDK to do a fastboot and post the results shortly.

Edit:

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.16.0.0000

(bootloader) version-baseband: 1.15.2133156.UA12.5mv

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.54.401.109

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

(bootloader) serialno: -

(bootloader) imei: -

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: HTC__001

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

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!
[One (M8) Q&A, Help & Troubleshooting] ahmed.ismael:
you have WWE device

follow this steps in this post it will update your device to marshmallow :):)
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
The MID indicated on the back cover is not reliable, we've often seen these replaced; such as to remove carrier logos. You have to go by what is indicated in getvar, which is 0P6B10000. That is the Euro WWE version, as the above reply stated.

You can try to run the MM RUU as previous reply suggested. But you may get an error, and need to flash the MM firmware before the RUU will run.

Alternately, run LP RUU 4.16.401 and OTA update to MM.

Another option, restore 1.54.401.109 TWRP backup, restore stock recovery, and do multiple updates to MM (but there will be many). Files and guide to do this are here: http://xdaforums.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
[One (M8) Q&A, Help & Troubleshooting] ahmed.ismael:
i believe it will pass with no error if he flash MM RUU.ZIP

as stated before by CKPV5
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Running the 6.12.401.4 RUU.zip via SDcard seems to bypass that issue, and I think that's all there is available. If there is a 6.12.401.4 RUU.exe out, I haven't seen it yet. Just a little FYI.
[One (M8) Q&A, Help & Troubleshooting] Blueanchorite:
Thank you both for your help! My phone is currently updated and is restoring from my backup before I used the method in the first quote to redownload all my stuff to the new OS :D

I am curious though, why didn't the phone automatically find an OTA update?
[One (M8) Q&A, Help & Troubleshooting] Mil_Tora:
Can't flash any custom ROM

Hello. I have my HTC M8 on stock Android 6.0 rooted, firmware 6.12.1540.4, TWRP recovery, and S-ON.

The issue I have is that whenever I try to flash ANY custom ROM via TWRP, it installs fine but I end up in a boot loop or stuck at boot logo when trying to power on.

I don't really know what might be causing this issue. My devices was updated to 6.0 via OTA and then unlocked successfully, never once an error message.

I can flash via TWRP a stock 6.0 ROM and it will boot fine. Anyone has any ideas what might be causing this and any possible workarounds? I have always installed custom ROMs in my devices and this is the first time I face something like this.

Any help would be greatly appreciated and sorry if my english isn't perfect :)

EDIT: Some extra info that I took from the bootloader screen:

*** Software Status: Modified ***

*** Unlocked ***

M8_UL PVT SHIP S-ON

HBOOT-3.19.0.0000

RADIO-1.29.214500021.24_2G

OpenDSP-v51.2.2-00593-M8974_FO.1015

OS-6.12.1540.4

eMMC-boot 2048MB
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
What TWRP version are you using? You probably need to update that. If you are using an old version, it won't be set up for the newer versions of the ROMs
[One (M8) Q&A, Help & Troubleshooting] Mil_Tora:
Currently using 2.8.7.0 because the last time I tried to install a custom ROM was last year. Will update to the latest version and try with the latest version of Android Revolution HD.

Is there anything else I can try if this also fails?
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
No, that's probably not the problem after all. 2.8.7.0 should work just fine, but updating won't hurt. I haven't been using my M8 for anything but beta testing ROMs lately
[One (M8) Q&A, Help & Troubleshooting] Mil_Tora:
I remember using SkyDragon ROMs way back in Android 5.0, but I can't get any custom ROM to work now. Can I flash them manually via fastboot? Everything seems fine with the phone yet it won't boot, I don't even get an error message while flashing. I updated my original post with some info I got from the bootloader screen.

Btw, thanks for the fast replies!
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
You should post the log from TWRP here after you try to flash it again. That'll tell us more. It's an option in "advanced" in TWRP
[One (M8) Q&A, Help & Troubleshooting] mrrocketdog:
whoa whoa whoa [MENTION=4987085]xunholyx[/MENTION] , beta testing roms ? , may i have the pleasure of knowing your current "user device"? just curious. :)

"err on the side of kindness"
[One (M8) Q&A, Help & Troubleshooting] Mil_Tora:
It seems to have booted correctly after installing the new recovery + the ROM I just downloaded. Maybe it was a bug in the AROMA installer the other ROMs used last year? I searched everywhere and couldn't find anything. :confused:

Oh well, seems my issue is now solved. Thanks for being so helpful, I really appreciate it :D
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
M8 and HTC 10

Beta testing on both for Team Venom. Plus other testing for APKs

As a side note, a new beta is being tested as of this afternoon for ViperM8. :D

EDIT: My current device is the 10, in case that wasn't obvious.
[One (M8) Q&A, Help & Troubleshooting] mrrocketdog:
:thumbup: "post action thanks f∞¢king denied". :)

"err on the side of kindness"
[One (M8) Q&A, Help & Troubleshooting] KrecimStanove:
Hi guys, 5-6 days ago i decided to swap battery on my htc one m8 (the battery was kinda weak with 3h SOT and I bought phone from aliexpress so i thought this was right thing to do), i bought a new one, went to internet for tutorials (watched bintek's one) and i disassembled my phone, took a picture which is kinda blurry, then replaced battery and reassembled everything to match the picture. I didn't put case back on, i wanted to test if everything was working and i plugged it in htc original charger (later tried atleast 3-4 others just in case), and i got flashing red LED light with battery icon and a bolt in it (i flashed google RUU and gpe rom so my icon is a bit different from original) and it doesn't start charging at all. I tried disconnecting the battery and putting it back onto the charger and i got the same reaction so I think the contact on battery is the problem, phone doesn't recognize it has battery but it gets warm (i tried leaving it for 24h and it got warm). I then tried putting original battery back into the phone and I got exact same reaction, screen that suggests battery is fully drained or not charging at all. Now I thought I messed something up in disasembly so I redone everything 3 or 4 times, carefully following the instructions on internet and still I get nothing. If you guys could help me identifying the problem, i just have no idea what it could be, i too tried holding all the buttons combination and when i hold power button- the red led stops flashing for couple of secs, the screen turns off, then it starts flashing again and the battery icon is there. Sadly i couldn't link pictures because i still don't have enough posts so maybe i can pm you guys if you need anything, thanks
[One (M8) Q&A, Help & Troubleshooting] jellomonster54994:
My m8 won't turn on it has new screen tried charging port and battery and I still get the same thing

I plug it in and get the solid red led for .5 second and then that's it nothing else happens it's been on stock and not wet original charger never got hot or anything

I plug it in to computer and get the windows noise like if a device was plugged in

PLEASE HELP
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Press and hold power and volume up for at least 30 seconds. The device should restart.
[One (M8) Q&A, Help & Troubleshooting] Miffed of Middle England:
Week or so ago my M8 ran out of battery, which from what I've read recently is the worst thing that can ever happen. When I charged it up again it was missing the dialer and contacts apps. Essentially my phone was no longer a phone. I looked around for a solution, tried downloading another dialer from the Play store but when people phoned it wouldn't make any sound. Checked all settings and the like. Eventually I just decided I'd factory reset it. It had been a bit slow recently so I thought if I just start again everything would be fine so I went through the process but now everytime I try and do anything I'm met with constant pop-up messages like "Unfortunately, Sense Home has stopped" & "com.htc.widget.hmsproc2. has stopped unexpectedly. Would you like to send an error report to HTC? This will help us improve our products". On the lock screen the time is missing a number, currently says 19: 8 and at the bottom where it should have the apps for the phone, messaging, unlock, internet and camera it is missing the phone app yet again. It's on Android 6 and HTC Sense version 7

So, what the hell has happened and what can I do?! Thanks in advance people
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Never let the device run out of battery. I read many have problems when that happens.

Post fastboot getvar all result (without serial & imei no.), we'll see whether there is RUU that you can install to fix it.
[One (M8) Q&A, Help & Troubleshooting] Coolkid90:
What different unlocking the boot loader on an m8 running marshmallow from Lpop ? if any and is there a good guide to walk me through it
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Sure there is, right from HTC.

Go to http://www.htcdev.com and select Unlock Bootloader. Choose your device; M8 of course; and all of the instructions are there
[One (M8) Q&A, Help & Troubleshooting] jellomonster54994:
I did that and nothing happens
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Is there power in the battery? Try charging for a few hours.
[One (M8) Q&A, Help & Troubleshooting] jellomonster54994:
Charged over night and charging port and battery are new
[One (M8) Q&A, Help & Troubleshooting] Coolkid90:
Ok thanks! What's a good stable ROM for the M8 that's popular would be cool if it had the K & H sound parameters as a bonus
[One (M8) Q&A, Help & Troubleshooting] Einwod:
I see you have a new screen. Was this fitted by yourself or by a qualified repair specialist? I suspect that may be the problem here. A bad connection.
[One (M8) Q&A, Help & Troubleshooting] Coolkid90:
Got the token but when I type in the command prompt it says unable to something the token it see it but Nothin happens. Could it be something it seeing from the evo I rooted last year?

---------- Post added at 03:29 PM ---------- Previous post was at 03:29 PM ----------

Thanks for your guys help
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Get another token after throwing all other tokens you have away. Possibly using the wrong token. Make sure you copy the command correctly and exactly. It should work.
[One (M8) Q&A, Help & Troubleshooting] Coolkid90:
Thought about that that's.. what I'll do...and yes I'll double check the copy and paste I did the command line 4or 5 time. Only other thing that I can think of is the token in the wrong place.
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Move the token into the folder with fastboot just in case your adb/fastboot is not system wide.
[One (M8) Q&A, Help & Troubleshooting] Coolkid90:
Ok I did that last night and adb should be system wide I add some lines in the c. Drive a long time ago don't think fastboot is