[One (M8) Q&A, Help & Troubleshooting] mato123:
Hi guys,

I have read a lot of threads on this and other forums and i didnt find any way out for my device.

I have a problem with my HTC One M8 AT&T, bootloader is unlocked, S-ON, and i can only navigate in hboot in hboot & fastboot modes. no htc logo screens or sth like this.

Its friends phone and he told me it completely discharged and booted to hboot and wouldnt boot to android. i just want to make it work again, wiping data is not the problem.. can you tell me what should i do to get recovery( TWRP/ CWM) working, thats all i need for now because im going to s-off later. i tried to do something but it didnt work.

Here is data about the phone:

(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: *******HIDDEN******

(bootloader) imei: *********HIDDEN***********

(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

View attachment 3267557

BOOTLOADER picture

fastboot devices works:

C:\sdk-tools>fastboot devices

HT45YWM01368 fastboot

1) i tried this in fastboot:

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

target reported max download size of 1830727680 bytes

sending 'recovery' (16086 KB)...

OKAY [ 1.438s]

writing 'recovery'...

FAILED (remote: image update error)

finished. total time: 1.500s

2) flashing stock recovery via fastboot( i dont know if i had the right one):

C:\adb>fastboot flash recovery C:\adb\recovery.img

target reported max download size of 1830727680 bytes

sending 'recovery' (14109 KB)...

OKAY [ 1.262s]

writing 'recovery'...

FAILED (remote: image error! (BootMagic check fail))

finished. total time: 1.277s

3) also tried bootloader lock for RUU- failed, it rebooted( cca 1 min to reboot) , and i can hear it connects and disconnects to pc with screen off about 5 times before booting to bootloader:

C:\adb>fastboot oem lock

...

(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 (No such file or directory))

finished. total time: 1.244s

4) tried official HTC KitKat 4.4.4. RUU.exe but failed:

View attachment 3267558

View attachment 3267559

5) tried bootable RUU over sd card- failed at "parsing...." command

i am 100% sure it isnt about corrupted files or wrong md5 sums or usb drivers not working, i tried 5 times every step i described here just to be sure( ofc i will try everything from the beginning if you have some ideas).

last thing to mention:

i found 2 threads with "similar" problems:

first one, second where [MENTION=660462]redpoint73[/MENTION] told them a solution may be formatting through Windows device manager. I searched for cca 3 hours in device manager and disk management etc- didnt find a solution.

View attachment 3267582

maybe formatting through fastboot could be a solution( format[:[<fs type>][:[<size>]] <partition> format a flash partition. ), but my knowledge about cmd/fastboot/htc partitioning is way below that point.

Can please anyone help me? Thanks in advance :)