[HTC Desire 300] ShadowDawn:
Hey.

I'm not exactly an advanced user, much less a pro, but i've done a bit of researching the past 10 hours...

7 months ago, a few weeks after unlocking bootloader and flashing a modified stock rom, phone crashed, stuck forever at htc logo and no OS. Tried to find a fix then, to no avail. And because i hate giving up, i've come to you guys.

fastboot getvar all

(bootloader) version: 0.5
(bootloader) version-bootloader: 1.18.0002
(bootloader) version-baseband: 14.11.36Q4.21
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: removed, don't really know if it matters if anybody sees this but it's a crazy world out there
(bootloader) imei: same...
(bootloader) meid: 000000000 <---- this was empty and a fastboot oem readmeid displayed the 0s
(bootloader) product: g3u
(bootloader) platform: HBOOT-8225
(bootloader) modelid: 0P6A10000
(bootloader) cidnum: HTC__N34
(bootloader) battery-status: good
(bootloader) battery-voltage: 4200mV
(bootloader) partition-layout: HTC
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-e1c32097
(bootloader) hbootpreupdate: 12
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.081s

So, at the moment the phone has an Unlocked bootloader with S-ON still.

Which poses quite a problem since attempting to flash gives me this:

zip:

C:\Users\Raymond\Desktop>fastboot flash zip 0P6AIMG.ZIP
target reported max download size of 421527552 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 26547541 is not a multiple of the block size 4096
sending sparse 'zip' (411644 KB)...
error: write_sparse_skip_chunk: don't care size 26547541 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 26547541 is not a multiple of the block size 4096
OKAY [ 32.875s]
writing 'zip'...
FAILED (remote: not allowed)
finished. total time: 32.885s

recovery:

C:\Users\Raymond\Desktop\Official rom>fastboot flash recovery recovery.img
target reported max download size of 421527552 bytes
sending 'recovery' (7304 KB)...
OKAY [ 1.295s]
writing 'recovery'...
FAILED (remote: image update error)
finished. total time: 9.563s

Formatting or attempting to erase any of the partitions i should normally be able with an unlocked bootloader give the same FAILED (remote: not allowed) error.

rebootRUU just gives me this:

C:\Users\Raymond\Desktop\Official rom>fastboot oem rebootRUU
...
(bootloader) [SD/EMMC]Error status=0x400008
(bootloader) DATA_TIMEOUT
(bootloader) SD: write failed in CMD25.
OKAY [ 8.299s]
finished. total time: 8.299s

And a fastboot oem lock gives me a nice little WEIRD fail:

C:\Users\Raymond\Desktop\Official rom>fastboot oem lock
...
(bootloader) Lock failed!
FAILED (status read failed (No such file or directory))
finished. total time: 0.459s

Ironically, the following gives ok, but does nothing on the phone, which only freezes and makes fastboot unusable until the battery and cable are removed. If i've understood correctly this was supposed to boot the recovery image without flashing it?

C:\Users\Raymond\Desktop\Official rom>fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 1.293s]
booting...
OKAY [ 0.003s]
finished. total time: 1.301s

The same with some random "fix" i've found around the net (with 77 chrome tabs open at one point):

C:\Users\Raymond\Desktop\Official rom>fastboot -c "lge.kcal=0|0|0|x" boot recovery.img
downloading 'boot.img'...
OKAY [ 1.253s]
booting...
OKAY [ 0.008s]
finished. total time: 1.282s

Also called HTC in a desperate action about an hour ago, but they're still looking for the frecks they never gave, and want me to pay for it to be serviced. It was a good phone, hence why i want it fixed, but not so good to give another 20€ for them to look at it PLUS who knows how much they will charge me for the mobo. It's just not worth it. Not to mention they're "outsourcing" the technical support to a different company.

Alas, i am being led to believing this might be a fired/not working eMMC? Below is a dump of oem dmesg right after a reboot into hboot and i see some weird errors there as well:

C:\Users\Raymond\Desktop\Official rom>fastboot oem dmesg
...
(bootloader) [0] register_debug_console: new entry ptr=0x5EA00800
(bootloader) [0] -------------------hboot start
(bootloader) [10875] HWIO_SDC1_MD_REG_ADDR=0xA86000A0
(bootloader) [10898] HWIO_SDC1_NS_REG_ADDR=0xA86000A4
(bootloader) [10921] HWIO_SDC3_MD_REG_ADDR=0xA86000B0
(bootloader) [10945] HWIO_SDC3_NS_REG_ADDR=0xA86000B4
(bootloader) [10970] phys_to_virt(HWIO_SDC1_MD_REG_ADDR)=0xD32000A0
(bootloader) [10995] phys_to_virt(HWIO_SDC1_NS_REG_ADDR)=0xD32000A4
(bootloader) [11020] phys_to_virt(HWIO_SDC3_MD_REG_ADDR)=0xD32000B0
(bootloader) [11045] phys_to_virt(HWIO_SDC3_NS_REG_ADDR)=0xD32000B4
(bootloader) [61228] HWIO_SDC1_MD_REG_ADDR=0xA86000A0
(bootloader) [61251] HWIO_SDC1_NS_REG_ADDR=0xA86000A4
(bootloader) [61273] HWIO_SDC3_MD_REG_ADDR=0xA86000B0
(bootloader) [61295] HWIO_SDC3_NS_REG_ADDR=0xA86000B4
(bootloader) [61320] phys_to_virt(HWIO_SDC1_MD_REG_ADDR)=0xD32000A0
(bootloader) [61345] phys_to_virt(HWIO_SDC1_NS_REG_ADDR)=0xD32000A4
(bootloader) [61368] phys_to_virt(HWIO_SDC3_MD_REG_ADDR)=0xD32000B0
(bootloader) [61393] phys_to_virt(HWIO_SDC3_NS_REG_ADDR)=0xD32000B4
(bootloader) [72328] [ERR] Cmd5 polling status timed out, MCI_STATUS: 0x0
(bootloader) [72351] [ERR] sdcc_command: sdcc_poll_status error, rc: 2
(bootloader) [87043] [ERR] Cmd8 polling status timed out, MCI_STATUS: 0x0
(bootloader) [87066] [ERR] sdcc_command: sdcc_poll_status error, rc: 2
(bootloader) [141865] [ERR] Cmd8 polling status timed out, MCI_STATUS: 0x
(bootloader) 0
(bootloader) [141888] [ERR] sdcc_command: sdcc_poll_status error, rc: 2
(bootloader) [196690] [ERR] Cmd8 polling status timed out, MCI_STATUS: 0x
(bootloader) 0
(bootloader) [196713] [ERR] sdcc_command: sdcc_poll_status error, rc: 2
(bootloader) [251511] [ERR] Cmd55 polling status timed out, MCI_STATUS: 0
(bootloader) x0
(bootloader) [251536] [ERR] sdcc_command: sdcc_poll_status error, rc: 2
(bootloader) [356235] sdcc_init_memory_device done
(bootloader) [426948] HWIO_SDC1_MD_REG_ADDR=0xA86000A0
(bootloader) [426971] HWIO_SDC1_NS_REG_ADDR=0xA86000A4
(bootloader) [426993] HWIO_SDC3_MD_REG_ADDR=0xA86000B0
(bootloader) [427015] HWIO_SDC3_NS_REG_ADDR=0xA86000B4
(bootloader) [427040] phys_to_virt(HWIO_SDC1_MD_REG_ADDR)=0xD32000A0
(bootloader) [427065] phys_to_virt(HWIO_SDC1_NS_REG_ADDR)=0xD32000A4
(bootloader) [427090] phys_to_virt(HWIO_SDC3_MD_REG_ADDR)=0xD32000B0
(bootloader) [427115] phys_to_virt(HWIO_SDC3_NS_REG_ADDR)=0xD32000B4
(bootloader) [427141] HWIO_SDC1_MD_REG_ADDR=0xA86000A0
(bootloader) [427163] HWIO_SDC1_NS_REG_ADDR=0xA86000A4
(bootloader) [427185] HWIO_SDC3_MD_REG_ADDR=0xA86000B0
(bootloader) [427208] HWIO_SDC3_NS_REG_ADDR=0xA86000B4
(bootloader) [427231] phys_to_virt(HWIO_SDC1_MD_REG_ADDR)=0xD32000A0
(bootloader) [427256] phys_to_virt(HWIO_SDC1_NS_REG_ADDR)=0xD32000A4
(bootloader) [427281] phys_to_virt(HWIO_SDC3_MD_REG_ADDR)=0xD32000B0
(bootloader) [427306] phys_to_virt(HWIO_SDC3_NS_REG_ADDR)=0xD32000B4
(bootloader) [463558] g3u_init PID: 252
(bootloader) [463670] Update EBR
(bootloader) [479501] g3u_gpio_init: PCBID is 128
(bootloader) [483350] config gpio#9 to 0x4 failed!!
(bootloader) [486048] config gpio#14 to 0x0 failed!!
(bootloader) [488816] config gpio#24 to 0x3 failed!!
(bootloader) [506251] config gpio#57 to 0x4 failed!!
(bootloader) [507276] config gpio#58 to 0x4 failed!!
(bootloader) [508301] config gpio#59 to 0x4 failed!!
(bootloader) [516390] config gpio#72 to 0x4 failed!!
(bootloader) [517416] config gpio#73 to 0x4 failed!!
(bootloader) [518440] config gpio#74 to 0x4 failed!!
(bootloader) [519466] config gpio#75 to 0x4 failed!!
(bootloader) [520495] config gpio#77 to 0x4 failed!!
(bootloader) [521521] config gpio#81 to 0x0 failed!!
(bootloader) [526083] config gpio#106 to 0x4 failed!!
(bootloader) [752380] pm_check_power_on_status
(bootloader) [755938] Device CID is not powerkey debounce CID
(bootloader) [761666] register_emmc_cmd for read_mmc command test under
(bootloader) hboot mode.
(bootloader) [765388] Turn ON P/L Sensor and G-Sensor power!
(bootloader) [946558] g3u_init_display
(bootloader) [948183] g3u_panel_detect:, id0=0, id1=1
(bootloader) [950700] Check panel_id = 0x10940083
(bootloader) [1005345] g3u_init_display: Panel ID=0x10940083, type=NAIAD_
(bootloader) AUO_NT
(bootloader) [1288360] mipi_read_back:0 0x21410022
(bootloader) [1290583] mipi_read_back:0 0x2184001D
(bootloader) [1293100] mipi_read_back:0 0x210A002B
(bootloader) [1299956] [DISP] read_smd_display_id: id1= 0x50220041, id2=
(bootloader) 0x501D0084, id3= 0x502B000A
(bootloader) [1302388] [DISP] id3=0xA, eng ID=0x0
(bootloader) [1306468] PANEL_ID_NAIAD_AUO_NT_C2, panel ID=0x12940083
(bootloader) [1308378] mipi_dsi_cmds_tx_ext
(bootloader) [1440201] mipi_dsi_video_config:panel_id=0x10940083
(bootloader) [1442110] width=480 height=800
(bootloader) [1468678] chipset_bootmode(): reset_reason=0x00000000
(bootloader) [1470240] WirelessType = 5
(bootloader) [1471716] Board_PID : 252
(bootloader) [1574610] g3u_nfc_init
(bootloader) [1576243] [BATT] g3u_off_mode_charging_check
(bootloader) [1797648] usb_init_hw: pull up d+
(bootloader) [1827796] [BATT] charigng_type=1
(bootloader) [1828725] [BATT] mbat_in=28
(bootloader) [1831936] Battery voltage = 4200mv, adc=0xD2.
(bootloader) [1834886] [offmode_charge] batt_vol=4200mV
(bootloader) [2020418] g3u_init_backlight
(bootloader) [2021263] mipi_dsi_cmds_tx_ext
(bootloader) [2058463] Read RTC time fail
(bootloader) [2059481] hboot built year: 2013
(bootloader) [2070788] chipset_bootmode(): reset_reason=0x00000000
(bootloader) [2072611] ARM11 Boot Mode: 22
(bootloader) [2074521] Platform: HBOOT-8225
(bootloader) [2078428] [ERR] Boot/Recovery image does not exist!!!
(bootloader) [2419221] g3u_init_backlight
(bootloader) [2420066] mipi_dsi_cmds_tx_ext
(bootloader) [2447193] usb_Vbus 0
(bootloader) [2667841] usb_init_hw: pull low d+
(bootloader) [2697988] usb_check_vbus: pull up d+
(bootloader) [2699953]
(bootloader) ###[ Fastboot Mode ]###
(bootloader) [2703945] chipset_bootmode(): reset_reason=0x00000000
(bootloader) [2705595]
(bootloader) USB_STS_SUSPEND
(bootloader) [2807086]
(bootloader) USB_STS_RESET
(bootloader) [2809386] USB_SPEED_HIGH
(bootloader) [2970158]
(bootloader) USB_STS_RESET
(bootloader) [2972450] USB_SPEED_HIGH
(bootloader) [3209108] usb_setup:DEVICE_WRITE:SET_CONFIGURATION:1
(bootloader) [3210583] Set usb_ats = 0
(bootloader) [10735551] fastboot_command:[oem dmesg]
(bootloader) [10736905] fb_cmd_oem:dmesg
(bootloader) [10741245] register_debug_console: new entry ptr=0x45400000
OKAY [ 0.609s]
finished. total time: 0.611s

I really don't want to toss this jewel to the trashbin or dismantle it for parts.

Thanks a lot in advance,

Raymond.

P.S.: After looking at the errors a bit more i noticed that it's not setting the config:

Don't know if it helps...