[M8s] How can i restore to 100% stock? - One (M8) Q&A, Help & Troubleshooting

Hey folks,
i wrongly made a thread in the M8-forum, because i thought this smartphone was a M8, but it's a M8s.
Anyway, a friend of mine sent me his smartphone to repair but i'm sitting in a corner right now.
I never had a HTC before, not in my hands, not received by any other person - first try so far.
Here's the situation:
The battery from the smartphone was empty over a night.
Next day, when he want to start - it doesn't start and runs into bootloader.
He tried some things i think, but isn't really familiar with that.
Bootloader saying:
*** Software status: Modified ***
*** UNLOCKED ***
M8QL_UL PVT SHIP S-ON
Click to expand...
Click to collapse
I searched the web and found the original RUU (RUU[email protected]50408_15.00_016_F_release_450409_combined_signed.zip) which i already downloaded. Beside, i already unlocked the Bootloader via "Unlock_code.bin".
Some useful infromations:
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.0.[email protected]
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.16.401.10
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: **************
(bootloader) imei: **************
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8ql_ul
(bootloader) platform: hTCBmsm8939
(bootloader) modelid: 0PKV10000
(bootloader) cidnum: HTC__102
(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: 1d456ef7
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
(bootloader) mfg-name: 0001
Click to expand...
Click to collapse
I don't really know how to restore this smartphone to 100% stock. Most of all Howtos describe M8 and that's not working at all.
Is someone familiar with that on M8s?
Can someone support me with this?

Okay, copied several zip-files to internal Samsung microSDXC EVO 64GB (exFAT) card, while renaming always to 0PKVIMG.zip but this phone won't eat any of these:
0PKVIMG_M8_QL_UL_L50_SENSE60_HTC_Europe_1.16.401.10_Radio_1.0.U20410.1@050408_15.00_016_F_release_450409_combined_signed.zip
Checking...
Wrong zipped image !
Device halted due to Large Image update fail!
Press <POWER> to reboot.
Click to expand...
Click to collapse
RUU_M8_QL_UL_L50_SENSE60_HTC_Europe_1.16.401.10_Radio_1.0.U20410.1@050408_15.00_016_F_release_450409_combined_signed.zip
Checking...
Wrong zipped image !
Device halted due to Large Image update fail!
Press <POWER> to reboot.
Click to expand...
Click to collapse
extracted rom.zip from RUU_M8_QL_UL_L50_SENSE60_HTC_Europe_1.16.401.10_Radio_1.0.U20410.1@050408_15.00_016_F_release_450409_combined_signed.zip
Checking...
Wrong zipped image !
Device halted due to Large Image update fail!
Press <POWER> to reboot.
Click to expand...
Click to collapse
0PKVIMG_M8_QL_UL_L50_SENSE60_HTC_Europe_1.16.401.1_Radio_1.0.U20410.1@50408_15.00_016_F_release_436156_signed.zip
Parsing...
Device halted due to Large Image update fail!
Press <POWER> to reboot.
Click to expand...
Click to collapse
0PKVIMG_M8_QL_UL_M60_SENSE70_HTC_Europe_2.10.401.1_Radio_1.0.U20410.1@60201_20.05_018_F_release_479349_combined_signed.zip
Checking...
Wrong zipped image !
Device halted due to Large Image update fail!
Press <POWER> to reboot.
Click to expand...
Click to collapse
MD5Sums are always identical to the provided ones.
All zip-files comes from ruu.lalleman.net.
Read something about, the bootloader must be LOCKED/RELOCKED, but when i try, i get the following:
(bootloader) [PGFS] partition_update_pgfs: pg1fs_security
(bootloader) TZ_HTC_SVC_ENC ret = 0
(bootloader) [PGFS] partition_update_pgfs: pg2fs_sec_recovery
(bootloader) Lock successfully...
(bootloader) deinit_lcd
(bootloader) mipi display off
(bootloader) TZ_HTC_SVC_DISABLE ret = 536739196 (0x1FFDFD7C)
(bootloader) [ERR] Failed to disable wdif debug: 15
(bootloader) [INFO] Calling SCM to disable SPMI PMIC arbiter
(bootloader) [ERR] Cannot halt SPMI arbiter!!
(bootloader) [INFO] Rebooting device
FAILED (status read failed (Too many links))
Click to expand...
Click to collapse
The phone reboots after that, but still says UNLOCKED.
Seem something is dead on that phone?
It always starts at bootloader.
Any hints!?

I don't have M8s only M8 but the basic is still the same.
You need a locked or relocked bootloader to proceed.
The RUU zip won't work on unlocked bootloader. The different that I noted is you need to use htc_fastboot mostly for M8s, M8 can run mostly on generic fastboot.
Try again .. use the htc_fastboot that you can find in this thread -
http://forum.xda-developers.com/htc-one-m8/one-m8s-general/make-custom-recovery-htc-one-m8s-t3114245
htc_fastboot oem lock
htc_fastboot reboot-bootloader

I tried @ckpv5, doesn't work either.

Try what I suggested here : http://forum.xda-developers.com/htc-one-m8/one-m8s-general/help-request-t3439356
If it work, take it as temp fix. Need to find whether backup for 1.16.401.10 is available or not.
It's very late over here, I'll see anything I can find to help you tomorrow.

Thanks @ckpv5 !
Already tried flashing recoveries and all of them succeeded with:
sending 'recovery' (31014 KB)... OKAY
writing ''recovery'... OKAY
Execution time is 8(s)
Click to expand...
Click to collapse
After rebooting into bootloader and selecting RECOVERY, the phone reboot immediately to bootloader again.
For just a thousand of second i can see a white screen, with green htc and black android - logo.
Tried with:
twrp-recovery-2.8.6.0-m8s-qlul.img
twrp-2.8.7.0-m8s-qlul.img
twrp-3.0.2-0-m8.img
Always the same.

Oh ... that's bad. Without relocking bootloader you can't install RUU
and without TWRP installed you can restore a backup
I don't know whether these indicate some hardware problem.

Seems so.
Reading hundreds of tutorials and threads but all of them are different.
That's sad...
Anyway, thanks for your effort!

Hey guys,
i have also a problem with getting back to 100% stock.
I have restored my first backup with twrp and have the original rom. I can download the update for marshmallow.
When i want to install it the phone is restarting into bootloader with the following error message.
I think there is a problem with the recovery. I already tried the Vodafone UK & DE_CH recovery version.
The device is relocked. Somebody has an idea what i can do?
edit: sorry it should be the thumbnail
Greetings
realclone

realclone1000 said:
Somebody has an idea what i can do?
Greetings
realclone
Click to expand...
Click to collapse
The screenshot is too small to read what the error is.
If it is recovery error, you can adb pull the OTA and use the recovery that come from OTA to proceed.
As I said, the screenshot is too small, unable to read where the OTA is located on your device.

Short Update:
I tried again to run the RUU_M8_QL_UL_L50_SENSE60_Vodafone_UK_1.11.161.1_Radio_1.0.U20410.1G50408_15.00_016_F_release_430447_signed via ARUWizard.exe and now it worked.
So it was a downgrade, but after 2 Software updates i finally installed the Marshmallow update.
In my Opinion it's faster and the battery stays longer.
Now Nougat can come

Related

[Q] Unable to flash firmware

So I've just picked up myself a HTC One M8 on Optus in Australia, first thing I did was install TWRP and root the phone, only to discover that there was then OTA updates to install, so I installed a stock recovery that I downloaded from here, ran the process to get the OTA update and it started but displayed no progress on the screen, just a HTC logo that remained there for at least 20 mins, so I rebooted the phone, this time the logo only stayed up for about 4 mins, the device rebooted and it was updated. The only problem was that it looks like the firmware hadn't installed/crashed/shouldn't have been rebooted and I had no wifi (Whenever I tried turning it on it remained off and no networks were shown) so I'm assuming the firmware update failed when it either crashed or I got too impatient (20 mins isn't impatient is it?).
I tried putting the firmware.zip from the OTA install onto an SD as 0P6BIMG.zip which gave an error:
Loading [0P6BIMG.zip]
Checking
Wrong zipped image!
When trying to flash with fastboot I get:
fastboot flash zip firmware.zip
target reported max download size of 1778626560 bytes
sending 'zip' (50763 KB)...
OKAY [ 2.194s]
writing 'zip'...
(bootloader) adopting the signature contained in this image...
(bootloader) zip header checking...
(bootloader) zip info parsing...
FAILED (remote: 99 unknown fail)
finished. total time: 2.454s
Any idea how I can flash this stock firmware to the device?
Edit: Firmware I'm trying to upload is here in case it assists: http://www.fast-files.com/getfile.aspx?file=77675
acecombat said:
So I've just picked up myself a HTC One M8 on Optus in Australia, first thing I did was install TWRP and root the phone, only to discover that there was then OTA updates to install, so I installed a stock recovery that I downloaded from here, ran the process to get the OTA update and it started but displayed no progress on the screen, just a HTC logo that remained there for at least 20 mins, so I rebooted the phone, this time the logo only stayed up for about 4 mins, the device rebooted and it was updated. The only problem was that it looks like the firmware hadn't installed/crashed/shouldn't have been rebooted and I had no wifi (Whenever I tried turning it on it remained off and no networks were shown) so I'm assuming the firmware update failed when it either crashed or I got too impatient (20 mins isn't impatient is it?).
I tried putting the firmware.zip from the OTA install onto an SD as 0P6BIMG.zip which gave an error:
Loading [0P6BIMG.zip]
Checking
Wrong zipped image!
When trying to flash with fastboot I get:
fastboot flash zip firmware.zip
target reported max download size of 1778626560 bytes
sending 'zip' (50763 KB)...
OKAY [ 2.194s]
writing 'zip'...
(bootloader) adopting the signature contained in this image...
(bootloader) zip header checking...
(bootloader) zip info parsing...
FAILED (remote: 99 unknown fail)
finished. total time: 2.454s
Any idea how I can flash this stock firmware to the device?
Edit: Firmware I'm trying to upload is here in case it assists: http://www.fast-files.com/getfile.aspx?file=77675
Click to expand...
Click to collapse
First of all, I assume you are trying to flash the firmware in rebootRUU mode right? or else it will fail
Second can you post the outcome of "fastboot getvar all" hiding first all the sensitive info like imei.
stathis95194 said:
First of all, I assume you are trying to flash the firmware in rebootRUU mode right? or else it will fail
Second can you post the outcome of "fastboot getvar all" hiding first all the sensitive info like imei.
Click to expand...
Click to collapse
Yes I am doing that in rebootRUU mode (Didn't think of mentioning it, I didn't realise it was possible to send firmware without it).
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.18.0.0000
(bootloader) version-baseband: 1.19.21331147A1.16G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 2.07.980.2
(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: 0P6B65000
(bootloader) cidnum: OPTUS001
(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: cdb72c6d
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
I connected the device to my PC with internet passthrough and there was another OTA update which I installed and looked correct this time and didn't take as long, I have my wifi back but I noticed in the earlier firmware there's a adsp.img that is missing from the latter. I'm guessing it's to do with the 'Enhanced sound' etc. features that came with that update so I'd like to check if it is on there.
acecombat said:
Yes I am doing that in rebootRUU mode (Didn't think of mentioning it, I didn't realise it was possible to send firmware without it).
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.18.0.0000
(bootloader) version-baseband: 1.19.21331147A1.16G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 2.07.980.2
(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: 0P6B65000
(bootloader) cidnum: OPTUS001
(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: cdb72c6d
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
I connected the device to my PC with internet passthrough and there was another OTA update which I installed and looked correct this time and didn't take as long, I have my wifi back but I noticed in the earlier firmware there's a adsp.img that is missing from the latter. I'm guessing it's to do with the 'Enhanced sound' etc. features that came with that update so I'd like to check if it is on there.
Click to expand...
Click to collapse
This looks like the latest firmware for Optus so you must be ok.
(bootloader) version-bootloader: 3.18.0.0000 - This is the latest hboot version
(bootloader) version-baseband: 1.19.21331147A1.16G - This is the latest radio version
(bootloader) version-main: 2.07.980.2 - This must be the latest firmware but check your ROM settings about Software info to see if it's a 4.4.3 android version.
But it all looks good to me.
Edit: reboot to bootloader and check the dsp version. If it's v45.2 (if my memory serves me right) then you are on the latest adsp.img as well
stathis95194 said:
This looks like the latest firmware for Optus so you must be ok.
(bootloader) version-bootloader: 3.18.0.0000 - This is the latest hboot version
(bootloader) version-baseband: 1.19.21331147A1.16G - This is the latest radio version
(bootloader) version-main: 2.07.980.2 - This must be the latest firmware but check your ROM settings about Software info to see if it's a 4.4.3 android version.
But it all looks good to me.
Edit: reboot to bootloader and check the dsp version. If it's v45.2 (if my memory serves me right) then you are on the latest adsp.img as well
Click to expand...
Click to collapse
Android version is correct but DSP is not up to date so it looks like the firmware didn't install that first time. Bootloader tells me DSP is @ V26.2 (Obviously someone doesn't like subversions much!)
acecombat said:
Android version is correct but DSP is not up to date so it looks like the firmware didn't install that first time. Bootloader tells me DSP is @ V26.2 (Obviously someone doesn't like subversions much!)
Click to expand...
Click to collapse
Well maybe that's the latest DSP version that Optus released, i'm not really sure to tell you the truth. But still you have no other choice now as with s-on i don't think you can flash older firmwares.
Nothing to bother yourself though as you are on 4.4.3 with the latest hboot and radio from your carrier.
stathis95194 said:
Well maybe that's the latest DSP version that Optus released, i'm not really sure to tell you the truth. But still you have no other choice now as with s-on i don't think you can flash older firmwares.
Nothing to bother yourself though as you are on 4.4.3 with the latest hboot and radio from your carrier.
Click to expand...
Click to collapse
If I restore a stock NANDroid backup, will the OTA file update the firmware again or is the firmware version check saved elsewhere?
acecombat said:
If I restore a stock NANDroid backup, will the OTA file update the firmware again or is the firmware version check saved elsewhere?
Click to expand...
Click to collapse
No, nandroid backup doesn't include firmware (hboot,radio,adsp,etc)
stathis95194 said:
No, nandroid backup doesn't include firmware (hboot,radio,adsp,etc)
Click to expand...
Click to collapse
I mean, if I install a nandroid backup, can I apply the OTA updates (As it will be a base version) and will the OTA firmware files still install? Or does it skip the firmware install if it detects a newer version already installed?
i'm not really sure about this and you can try it after taking a nandroid of your current setup, but i believe the OTA will skip the rom installation since it will find a newer firmware.
stathis95194 said:
i'm not really sure about this and you can try it after taking a nandroid of your current setup, but i believe the OTA will skip the rom installation since it will find a newer firmware.
Click to expand...
Click to collapse
Correct, OTAs need to be installed sequentially (no "downgrading"), so it will fail when it sees a higher hboot number.

Problems With My M8

Hello Friends:
I've a big problem on my M8: It doesn't load S.O and remains only in fastboot mode. Yesterday, when I arrived to my home, suddenly reboots and stayed in fastboot mode. I share with you screen captures of my M8 ASAP. I tried to install in fastboot mode a stock RUU but it gives me error code in the bootloader process.
Please, i need your help or any advice to know how to fix it.:crying:
Many thanks and salutes from Chile.
I can't load SC yet...the forum won't let me do it. :crying:
What CID, hboot, radio, number, OS number (in bootloader)?
What is the filename for the RUU you tried?
What is the specific error message when running the RUU? Try running it a 2nd time (not unusual for it to fail the first time).
redpoint73 said:
What CID, hboot, radio, number, OS number (in bootloader)?
What is the filename for the RUU you tried?
What is the specific error message when running the RUU? Try running it a 2nd time (not unusual for it to fail the first time).
Click to expand...
Click to collapse
Hello, this is the info:
I install the ViperOne 4.51
fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: INVALID_VER_INFO
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 4.20.531.4
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno:
(bootloader) imei:
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B13000
(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: 06f11f5b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.031s
You didn't answer half the questions I asked you.
Hard to help, if you don't provide all the info requested.
This is the error code:
fastboot oem rebootRUU
...
(bootloader) Error: Command never completed
(bootloader) Error: Command timeout error
(bootloader) Error: Command completed with errors
(bootloader) Failed Reading block @ 786432
(bootloader) [SD_ERR] sd_read_sector: read sector failed (786432 256)
(bootloader) [ERR] partition_read_emmc(589): error -1
(bootloader) Start Verify: 0
(bootloader) Error: Command never completed
(bootloader) Error: Command timeout error
(bootloader) Error: Command completed with errors
(bootloader) Failed Writing block @ 786432
(bootloader) [SD_ERR] sd_write_sector: write sector failed (786432 256)
OKAY [ 10.297s]
finished. total time: 10.297s
redpoint73 said:
You didn't answer half the questions I asked you.
Hard to help, if you don't provide all the info requested.
Click to expand...
Click to collapse
Sorry man, but after 4 minutes i can answer in the forum... i'm doing my best.
I guess this is all the information... or did i miss something?
I tried to install the RUU for T-Mobile:
Device Name Latest ROM #
HTC One (M8) 4.20.531.4
XBEOP said:
I tried to install the RUU for T-Mobile:
Click to expand...
Click to collapse
I asked for the filename, that isn't a filename. I asked for a reason, since folks often think they have the right RUU, when in fact is completely the wrong one.
But probably irrelevant anyway. Based on the error message, you may have a fried emmc.
redpoint73 said:
I asked for the filename, that isn't a filename. I asked for a reason, since folks often think they have the right RUU, when in fact is completely the wrong one.
But probably irrelevant anyway. Based on the error message, you may have a fried emmc.
Click to expand...
Click to collapse
Oh! So my M8 is dead or not??
Please, let me know if there is a solution...
Thanks!
XBEOP said:
Oh! So my M8 is dead or not??
Click to expand...
Click to collapse
I'm not sure, but I'm thinking its dead.
I haven't seen those error messages before, so maybe somebody here with more knowledge can chime in.

{HELP} HTC M8 won't open recovery

Hello.
I have M8 in bootloader and it wont bootup, wont go in recovery etc. Everything I press, it returns to bootloader.
I don't know what to do, I already read all day stuff on forum and I can't do anything.
(I bought the phone like that)
You have to give more informations - firmware versions,boot version etc.Also try to flash some recovery.Do you get any error or ? Can be hardware problem if everything doesnt work...
mefistoreyon said:
You have to give more informations - firmware versions,boot version etc.Also try to flash some recovery.Do you get any error or ? Can be hardware problem if everything doesnt work...
Click to expand...
Click to collapse
I have errors, example, while trying to install recovery... "Writing recovery - FAILED"
Informations i have:
*** UNLOCKED ***
M8_UL_CA PVT SHIP S-ON
HBOOT-3.16.0.000
RADIO-INVALID_VER_INFO
OpenDSP_INVALID_VER_INFO
OS-
eMMC-boot 2048MB
Apr 18 2014, 16:06:33.0
juross said:
I have errors, example, while trying to install recovery... "Writing recovery - FAILED"
M8_UL_CA PVT SHIP S-ON
HBOOT-3.16.0.000
Click to expand...
Click to collapse
What version TWRP? Your firmware (hboot, radio, etc.) is really old, so most any version TWRP 2.8 or later will fail or cause other issues.
My recommendation would be to update to current firmware (by RUU may be the easiest way) then try to install TWRP again. If that is what you want to do, then I can give further info.
Also would be helpful if you do fastboot getvar all (if you know how) and post the output, so we can get more details on the phone's status (be sure to delete serial number and IMEI before posting).
redpoint73 said:
What version TWRP? Your firmware (hboot, radio, etc.) is really old, so most any version TWRP 2.8 or later will fail or cause other issues.
My recommendation would be to update to current firmware (by RUU may be the easiest way) then try to install TWRP again. If that is what you want to do, then I can give further info.
Also would be helpful if you do fastboot getvar all (if you know how) and post the output, so we can get more details on the phone's status (be sure to delete serial number and IMEI before posting).
Click to expand...
Click to collapse
I tried with twrp 2.6 and 2.7. - didn't work.
FASTBOOT GETVAR ALL info:
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.16.0.0000
(bootloader) version-baseband: INVALID_VER_INFO
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: ***********
(bootloader) imei: ***********
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul_ca
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B12000
(bootloader) cidnum: CWS__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: c3d94491
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.036s
imei and sn are deleted =)
I'd be gratefull if you guide me through firmware upgrade.
My advice would be to run the AT&T RUU (download link and instructions near the bottom of the following): http://www.htc.com/us/support/htc-one-m8-att/news/
You'll need to relock the bootloader to RUU with command: fastboot oem lock
RUU will wipe the phone, but it sounds like you haven't even had a chance to put any personal data on it yet, anyway.
RUU will put you on an updated, fully stock image including updated firmware. Hopefully will also get the phone booted back into OS.
After that, you can unlock the bootloader again, and flash TWRP if you like (to root, flash custom ROM, etc.).
redpoint73 said:
My advice would be to run the AT&T RUU (download link and instructions near the bottom of the following): http://www.htc.com/us/support/htc-one-m8-att/news/
You'll need to relock the bootloader to RUU with command: fastboot oem lock
RUU will wipe the phone, but it sounds like you haven't even had a chance to put any personal data on it yet, anyway.
RUU will put you on an updated, fully stock image including updated firmware. Hopefully will also get the phone booted back into OS.
After that, you can unlock the bootloader again, and flash TWRP if you like (to root, flash custom ROM, etc.).
Click to expand...
Click to collapse
Let me see if I undestand well.
1. Relock with that command
2. Double click od RUU file (I guess that ruu is system file and opens with CMD? ) and follow steps
juross said:
1. Relock with that command
2. Double click od RUU file (I guess that ruu is system file and opens with CMD? ) and follow steps
Click to expand...
Click to collapse
RUU is a Windows executable program. Just double click it, and it will lead you through the rest (very little action needed on your part). You don't run it from CMD.
If the phone is booted into OS, the RUU should reboot into into fastboot-bootloader mode. If not, you will need to boot into bootloader-fastboot mode yourself.
redpoint73 said:
RUU is a Windows executable program. Just double click it, and it will lead you through the rest (very little action needed on your part). You don't run it from CMD.
If the phone is booted into OS, the RUU should reboot into into fastboot-bootloader mode. If not, you will need to boot into bootloader-fastboot mode yourself.
Click to expand...
Click to collapse
when i try in CMD with command fastboot oem lock it gives me:
(bootloader) [PGFS] partition_update_pgfs: pg1fs_security (bootloader) [DEBUG] Cmd18 polling status timed out, MCI_STATUS: 0x4C2000 (bootloader) [DEBUG] sdcc_command: sdcc_poll_status error, rc: 2 (bootloader) [SD_HW_ERR] read data fail in CMD18 (bootloader) CMD18: cmd failed (bootloader) [SD_HW_ERR] SD: Read data fail.. (bootloader) [PG_ERROR] htc_pg_hdr_get(118): (bootloader) sd_read_sector error (bootloader) [PG_ERROR] htc_pg_part_hdr_get(170): (bootloader) htc_pg_hdr_get failed (bootloader) Lock successfully... (bootloader) deinit_lcd (bootloader) mipi display off (bootloader) mdp_clock_off (bootloader) turn off fd8c2308 failed 1 times. Try again... (bootloader) disable_mmss_clk done (bootloader) pll1_disable done (bootloader) TZ_HTC_SVC_DISABLE ret = 536739196 (0x1FFDFD7C) (bootloader) [CRITICAL] SPMI write command failure: cmd_id = 0, error (bootloader) = 4 (bootloader) [CRITICAL] SPMI write command failure: cmd_id = 0, error (bootloader) = 4 (bootloader) [INFO] Rebooting device FAILED (status read failed (Invalid argument)) finished. total time: 1.288s
Fail..
When I run RUU it stuck on "waiting for bootloader" (gives me error 170 or 171).
juross said:
when i try in CMD with command fastboot oem lock it gives me:
Fail..
Click to expand...
Click to collapse
It still says UNLOCKED in bootloader?
juross said:
When I run RUU it stuck on "waiting for bootloader" (gives me error 170 or 171).
Click to expand...
Click to collapse
Boot into bootloader-fastboot mode, if not already.
redpoint73 said:
It still says UNLOCKED in bootloader?
yes.
Boot into bootloader-fastboot mode, if not already.
Click to expand...
Click to collapse
I did...

HTC One M8 stuck on bootloader

hi, thanks for letting me join. if this is posted in the wrong place im very sorry. My HTC One M8 is secondhand and Ive had it for about 1.5 years now. the other day it crashed and ended up in a boot loop. i have tried lots of stuff but to no help. is there a way i can load stuff on to the sd card to fix it. on two occations it has got to the setup screen but errors would not let me type wifi password so had to hard reset.
ive tried hard reset
ive tried recovery
ive tried wipecache/factory reset
ive tried factory reset......seemed to work on two occations but on setup came back with sense input error and google error.
the phone had all the newest updates and was unlocked to any network.
on bootlader its says....SOFTWARE STATUS MODIFIED
LOCKED
SECURITY WARNING
THEN LOTS OF GREEN WRITING.
any help would be great. thanks
Post the result of fastboot getvar all ( after removing serialno and imei )
Sent from my HTC M8 using XDA Labs
ahmed.ismael said:
Post the result of fastboot getvar all ( after removing serialno and imei )
Sent from my HTC M8 using XDA Labs
Click to expand...
Click to collapse
hi, im not sure if usb debug is on. will i still be able to get this info?
VMKDF said:
hi, im not sure if usb debug is on. will i still be able to get this info?
Click to expand...
Click to collapse
Yes
From fastboot mode ( no need for usb debugging )
Sent from my HTC M8 using XDA Labs
ahmed.ismael said:
Yes
From fastboot mode ( no need for usb debugging )
Sent from my HTC M8 using XDA Labs
Click to expand...
Click to collapse
hi, im sorry but new to all this bootloader stuff. here is what i see on phone. ill google how to get other info when i get home. cheers
VMKDF said:
hi, im sorry but new to all this bootloader stuff. here is what i see on phone. ill google how to get other info when i get home. cheers
Click to expand...
Click to collapse
cant upload photo. ill try when i get home. cheers
VMKDF said:
cant upload photo. ill try when i get home. cheers
Click to expand...
Click to collapse
you can just copy and paste the result here
ahmed.ismael said:
you can just copy and paste the result here
Click to expand...
Click to collapse
C:\Users\User>fastboot getvar all
(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: 6.12.401.4
(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: 76df2b54
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.203s
C:\Users\User>
VMKDF said:
C:\Users\User>fastboot getvar all
(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: 6.12.401.4
(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: 76df2b54
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.203s
C:\Users\User>
Click to expand...
Click to collapse
You can follow this post instruction ( skip the part of relocking bootloader )
https://forum.xda-developers.com/showpost.php?p=64926626&postcount=6
easy way :
Download the RUU.zip from the linked post and rename it to 0P6BIMG.zip then put it in your external sd card root and reboot to bootloader ( hboot )
It will ask you to update confirm it and wait for a few minutes till it finish and ask you to reboot,that's it
Sent from my HTC M8 using XDA Labs
downloading it now..... will let you know. thanks very much for your time
VMKDF said:
downloading it now..... will let you know. thanks very much for your time
Click to expand...
Click to collapse
get this error
device halted due to large image update fail!
press <power> to reboot
then !!image update FAIL!! after the reboot
tried this too
i select recovery, then press power and vol up once to get to the menu with ....apply update from sdcard
install/sdcard/0P6BIMG.zip
finding update package
opening update package
verifying update package
E:footer is wrong
E:signature verification failed
installation aborted
VMKDF said:
get this error
device halted due to large image update fail!
press <power> to reboot
then !!image update FAIL!! after the reboot
tried this too
i select recovery, then press power and vol up once to get to the menu with ....apply update from sdcard
install/sdcard/0P6BIMG.zip
finding update package
opening update package
verifying update package
E:footer is wrong
E:signature verification failed
installation aborted
Click to expand...
Click to collapse
you can't flash RUU in recovery mode !!!!!!!!!!!
you tried to flash using sd card ( formatted as fat32 ) or the fastboot method ????
you said earlier your bootloader is locked
if it's unlocked relock it
Sir you are a GOD!!!!!!!! Phone is back to normal.
I followed your instructions and my M8 is now back to normal.
Thank you so much for your help and time. You saved my phone.
Thanks again
htc bootloader info
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.29.213311711.15G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 4.31.425.2
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno:
(bootloader) imei:
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: mels_tuhl
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B6****
(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: 438ab579
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.047s
bsikazinga said:
htc bootloader info
Click to expand...
Click to collapse
Bootloader info is great. But if you are asking for help, you really need to tell us more about what is going on with the phone. I gather from the subject of the thread, that your device is stuck in bootloader. But how did it get to that state? Did it just happen spontaneously (while using the phone, or when you tried to turn the screen on after idle for a while, etc.?). Or were you trying to do something, like unlock bootloader, install custom recovery TWRP, root, flash custom ROM, etc. Or some other function, like install an OTA update? If trying to flash something, provide exact details like version numbers, file names; as well as exactly what happened when you tried to install (changes to status of phone, error messages, etc.).
Have you tried anything so far to resolve the problem? If so, describe exactly what you tried, again with any applicable file names, version numbers, and outcomes (error messages, etc.).
The more specific details you provide, the better we can help you.
Stuck can't get phone to connect to PC
Hi, I have an HTC One M8 which I just got secondhand, it's stuck on bootloader screen, usual messages ('modified' 'locked' etc)... I followed the instructions for RUU flash on other posts and am all set to go, but annoyingly my phone will not connect to any PC I use....I have installed the drivers etc...I am well used to using ADB, just can't get the phone to be recognised.
I also can't boot into recovery, just ends up back in the bootloader screen again. If it does try and boot it hangs at the logo screen....
Would welcome some ideas on where to go next....
GitManMatt said:
Hi, I have an HTC One M8 which I just got secondhand, it's stuck on bootloader screen, usual messages ('modified' 'locked' etc)... I followed the instructions for RUU flash on other posts and am all set to go, but annoyingly my phone will not connect to any PC I use....I have installed the drivers etc...I am well used to using ADB, just can't get the phone to be recognised.
Click to expand...
Click to collapse
adb won't work in bootloader mode, by definition. You want fastboot for running RUU, which is related to adb, but with important differences.
As long as you are in bootloader-fastboot mode (fastboot is highlighted near the top of the bootloader screen) which is often default if phone is connected by USB, you should be able to use fastboot. Try the command:
fastboot devices
And as long as the phone's ID is returned, you should be good to go.
If the command just results in "waiting for response" or an error, try a different USB cable, or a different USB port on your PC.
Still no go... Tried connecting on different ports and with different cables but just doesn't seem to work. Best I've managed is with the Aruuwizard tool which seemed to connect but I couldn't get much further. If I run fast boot devices it returns no device... Just a blank line....
Hello. I have a similar problem with my HTC One Mini. It's stuck in fastboot mode and trying to reboot/boot into recovery or factory reset does nothing...goes black for a sec and then back to fastboot mode. Bootloader is unlocked and it's S-ON. Any help much appreciated! Cheers!

HTC m8 phone keeps booting into fastboot mode

hello,
after root my phone
every time i try to put it in recovery mode it goes back to fastboot mode ..
even if i tried to flash a recovery on it , it would boot to fastboot mode
even when trying to install a official htc software update it just boots into fastboot ..
now i want to get it back to stock..
please help me !!
Need more info.
What version SuperSU? What version TWRP?
What "official update" file did you use? Was it an OTA or an RUU (list the exact file name)?
Also, do fastoboot getvar all, and post the results (delete IMEI and serial number before posting).
redpoint73 said:
Need more info.
What version SuperSU? What version TWRP?
What "official update" file did you use? Was it an OTA or an RUU (list the exact file name)?
Also, do fastoboot getvar all, and post the results (delete IMEI and serial number before posting).
Click to expand...
Click to collapse
HI
Pls refer Bellow details
C:\miniadb_v1031>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.24.213311771.
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.82.401.5
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno:
(bootloader) imei:
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: mels_tuhl
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B81000
(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: 8d01ca6e
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.062s
In addition to the fastboot output, I asked 4 questions, none of which you answered.
You have the M8 eye, not the "standard" M8. Far as I can tell (not many folks on xda have the "eye") you need a special version of TWRP for this version. You can try the right version TWRP, and flash SUperSU again, see if that helps. No idea if this version TWRP will work on not (can't personally vouch for it): https://forum.xda-developers.com/htc-one-m8/general/m8-eye-recovery-root-t3159648
Depending on what you did to the phone by flashing the wrong TWRP, it's hard to tell what the proper way to proceed.
redpoint73 said:
In addition to the fastboot output, I asked 4 questions, none of which you answered.
You have the M8 eye, not the "standard" M8. Far as I can tell (not many folks on xda have the "eye") you need a special version of TWRP for this version. You can try the right version TWRP, and flash SUperSU again, see if that helps. No idea if this version TWRP will work on not (can't personally vouch for it): https://forum.xda-developers.com/htc-one-m8/general/m8-eye-recovery-root-t3159648
Depending on what you did to the phone by flashing the wrong TWRP, it's hard to tell what the proper way to proceed.
Click to expand...
Click to collapse
Hi
It's work
Thanks for your support
redpoint73 said:
In addition to the fastboot output, I asked 4 questions, none of which you answered.
You have the M8 eye, not the "standard" M8. Far as I can tell (not many folks on xda have the "eye") you need a special version of TWRP for this version. You can try the right version TWRP, and flash SUperSU again, see if that helps. No idea if this version TWRP will work on not (can't personally vouch for it): https://forum.xda-developers.com/htc-one-m8/general/m8-eye-recovery-root-t3159648
Depending on what you did to the phone by flashing the wrong TWRP, it's hard to tell what the proper way to proceed.
Click to expand...
Click to collapse
hi
can i have stock recovery download link in that phone pls
I have a similar issue, but with a standard M8
£10 off ebay, so not expecting ,much (also means no known history) . 1 week old noob reading here and flashing phones
1) only boots to fastboot, and even does this when you leave it powered off, but charging.
2) select hboot, then to recovery, recovery doesn't run, just resets back to fastboot eventually, after screen goes white not black.
3) can partially speak to phone in fastbook and get versions ok (included below)
Getver all as below:
C:\Program Files (x86)\Minimal ADB and Fastboot>
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: INVALID_VER_INFO
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.12.401.4
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: FA615WM01404
(bootloader) imei: 357336060194484
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: HTC__102
(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: 76df2b54
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.114s
4) never been able to boot to full o/s so not in developer mode, so cant get response in adb (and dont know how to use this anyway)
5) tried RUU.exe - fails with usb error after it tries to restart bootloader
6) tried ruu.zip from memory card - fails with partition update fail
7) tried fastboot recovery image 6.12.401.4 and it fails to write - error is 'remote:signature verify fail'
8) random google lead me to fastboot oem reboot RUU which does this:
E:\android tools>fastboot oem rebootRUU
...
(bootloader) Error: Command never completed
(bootloader) Error: Command timeout error
(bootloader) Error: Command completed with errors
(bootloader) Failed Reading block @ 786432
(bootloader) [SD_ERR] sd_read_sector: read sector failed (786432 256)
(bootloader) [ERR] partition_read_emmc(589): error -1
(bootloader) Start Verify: 3
(bootloader) Error: Command never completed
(bootloader) Error: Command timeout error
(bootloader) Error: Command completed with errors
(bootloader) Failed Writing block @ 786432
(bootloader) [SD_ERR] sd_write_sector: write sector failed (786432 256)
OKAY [ 10.052s]
finished. total time: 10.053s
9) htcdev unlock bootloader didnt work initially but has done now - is this a path i should try?
aim is to get a standard phone working again
Thanks
G
ok got my unlock token, seemed to flash it, but no status change/reaction on phone and rebooting still shows locked
E:\android tools>fastboot flash unlocktoken unlock_code.bin
sending 'unlocktoken' (0 KB)...
OKAY [ 0.125s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ -0.000s]
finished. total time: 0.125s
G
My responses to some of your points below, in red font:
gda_scooby said:
(bootloader) version-main: 6.12.401.4
4) never been able to boot to full o/s so not in developer mode, so cant get response in adb (and dont know how to use this anyway) That is correct, you will not be able to use adb unless you can boot to OS or alternately TWRP custom recovery. So you are basically limited to fastboot in the current condition.
5) tried RUU.exe - fails with usb error after it tries to restart bootloader There isn't a valid exe format RUU for your version number (6.12.401.4) so you are probably using the wrong RUU. What is the version number or file name for the RUU.exe?
6) tried ruu.zip from memory card - fails with partition update fail Exactly what partition(s) is it failing to update? What is the version RUU you are using? The only valid one for your version would be the RUU.zip from here: https://forum.xda-developers.com/showpost.php?p=64926626&postcount=6
7) tried fastboot recovery image 6.12.401.4 and it fails to write - error is 'remote:signature verify fail' You can't flash an unsigned recovery image, unless the bootloader is unlocked. It also seems you are trying to flash stock recovery, and I don't see how that is going to help your current condition.
Click to expand...
Click to collapse
I think your best bet right now, is to try the correct RUU.zip which I linked above.

Categories

Resources