[One (M9) Android Development] P$YCH0:
It's ok. I feared that was the case. Just hoped to get rid of these unlocked and S-Off flags before trying to send it in to HTC for repair.

Here is the last_dmesg:

...
(bootloader) ATraceback (most recent call last):
File "E:\largezip\htc_fastboot\htc_flashzip.py", line 160, in main
File "E:\largezip\htc_fastboot\htc_flashzip.py", line 262, in do_fastboot
File "E:\largezip\htc_fastboot\htc_flashzip.py", line 286, in do_fastboot_command
File "E:\largezip\htc_fastboot\htc_flashzip.py", line 183, in _do_command
File "E:\largezip\htc_fastboot\fastboot.py", line 148, in execute
File "E:\largezip\htc_fastboot\fastboot.py", line 99, in execute
File "E:\largezip\htc_fastboot\fastboot.py", line 83, in _execute_internal
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xeb in position 0: unexpected end of data

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "htc_fastboot.py", line 187, in main
File "E:\largezip\htc_fastboot\htc_flashzip.py", line 172, in main
AttributeError: 'UnicodeDecodeError' object has no attribute 'message'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "htc_fastboot.py", line 215, in <module>
File "htc_fastboot.py", line 196, in main
AttributeError: 'AttributeError' object has no attribute 'message'

c:\adb>fastboot oem last_dmesg
...
FAILED (command write failed (Unknown error))
finished. total time: 5.001s
htc_fastboot finished. total time: 10.056s

And here is dmesg

(bootloader) [0] bldr_log_init: bldr_log_base=0x5b00000, bldr_log_size=9
(bootloader) 83040
(bootloader) D - 0 - vsense_init, Delta
(bootloader) B - 1176232 - Pre_DDR_clock_init, Start
(bootloader) D - 579 - Pre_DDR_clock_init, Delta
(bootloader) B - 1212985 - do_ddr_training, Start
(bootloader) D - 34526 - do_ddr_training, Delta
(bootloader) B - 1263279 - clock_init, Start
(bootloader) D - 183 - clock_init, Delta
(bootloader) B - 1279871 - Image Load, Start
(bootloader) D - 19215 - QHEE Image Loaded, Delta
(bootloader) B - 1305644 - Image Load, Start
(bootloader) D - 45231 - QSEE Image Loaded, Delta
(bootloader) B - 1350936 - Qsee Execution, Start
(bootloader) D - 93604 - Qsee Execution, Delta
(bootloader) B - 1632817 - Image Load, Start
(bootloader) D - 29128 - RPM Image Loaded, Delta
(bootloader) B - 1662341 - Signal PBL to Jump to RPM FW
(bootloader) B - 1670973 - 0x1310 = 0x0
(bootloader) B - 1673382 - is_above_vbat_weak = 1, pon_reasons (with u
(bootloader) sb_in checked) = 0x200000031
(bootloader) B - 1686741 - Image Load, Start
(bootloader) D - 18148 - WDT Image Loaded, Delta
(bootloader) B - 1706841 - WDT Execution, Start
(bootloader) D - 122 - WDT Execution, Delta
(bootloader) B - 1719346 - Image Load, Start
(bootloader) D - 61061 - APPSBL Image Loaded, Delta
(bootloader) B - 1780468 - sbl1_efs_handle_cookies, Start
(bootloader) D - 6649 - sbl1_efs_handle_cookies, End
(bootloader) B - 1788764 - RPM sync cookie updated
(bootloader) B - 1918724 - SBL1, End
(bootloader) D - 1399004 - SBL1, Delta
(bootloader)
(bootloader) B - 1125511 - 0x10fc = 0xd2
(bootloader) B - 1128256 - 0x1210 = 0x0
(bootloader) B - 1130848 - 0x1242 = 0x0
(bootloader) B - 1133410 - 0x1310 = 0x0
(bootloader) B - 1136003 - 0x1340 = 0x2
(bootloader) B - 1138656 - 0x13f4 = 0x19
(bootloader) B - 1141340 - 0x1610 = 0x1
(bootloader) D - 460031 - pm_driver_init, Delta
(bootloader) B - 1147318 - cpr_init, Start
(bootloader) D - 23241 - cpr_init, Delta
(bootloader) B - 1173487 - vsense_init, Start
(bootloader)
(bootloader)
(bootloader)
(bootloader)
(bootloader)
(bootloader)
(bootloader)
(bootloader)
(bootloader)
(bootloader)
(bootloader)
(bootloader)
(bootloader)
(bootloader)
(bootloader)
(bootloader) ******************** [ START SECOND ] ********************
(bootloader)
(bootloader) D - 0 - vsense_init, Delta
(bootloader) B - 1175714 - Pre_DDR_clock_init, Start
(bootloader) D - 579 - Pre_DDR_clock_init, Delta
(bootloader) B - 1216858 - do_ddr_training, Start
(bootloader) D - 32055 - do_ddr_training, Delta
(bootloader) B - 1273283 - clock_init, Start
(bootloader) D - 183 - clock_init, Delta
(bootloader) B - 1307748 - Image Load, Start
(bootloader) D - 18666 - QHEE Image Loaded, Delta
(bootloader) B - 1333002 - Image Load, Start
(bootloader) D - 45292 - QSEE Image Loaded, Delta
(bootloader) B - 1378325 - Qsee Execution, Start
(bootloader) D - 93604 - Qsee Execution, Delta
(bootloader) B - 1664568 - Image Load, Start
(bootloader) D - 29127 - RPM Image Loaded, Delta
(bootloader) B - 1694122 - Signal PBL to Jump to RPM FW
(bootloader) B - 1702754 - 0x1310 = 0x0
(bootloader) B - 1705133 - is_above_vbat_weak = 1, pon_reasons (with u
(bootloader) sb_in checked) = 0x200020030
(bootloader) B - 1722853 - Image Load, Start
(bootloader) D - 18117 - WDT Image Loaded, Delta
(bootloader) B - 1742983 - WDT Execution, Start
(bootloader) D - 122 - WDT Execution, Delta
(bootloader) B - 1755427 - Image Load, Start
(bootloader) D - 60665 - APPSBL Image Loaded, Delta
(bootloader) B - 1816122 - sbl1_efs_handle_cookies, Start
(bootloader) D - 6649 - sbl1_efs_handle_cookies, End
(bootloader) B - 1824418 - RPM sync cookie updated
(bootloader) B - 1954379 - SBL1, End
(bootloader) D - 1434750 - SBL1, Delta
(bootloader)
(bootloader) B - 1125023 - 0x10fc = 0xd2
(bootloader) B - 1127768 - 0x1210 = 0x0
(bootloader) B - 1130360 - 0x1242 = 0x0
(bootloader) B - 1132922 - 0x1310 = 0x0
(bootloader) B - 1135515 - 0x1340 = 0x2
(bootloader) B - 1138168 - 0x13f4 = 0x19
(bootloader) B - 1140852 - 0x1610 = 0x1
(bootloader) D - 460031 - pm_driver_init, Delta
(bootloader) B - 1146830 - cpr_init, Start
(bootloader) D - 23210 - cpr_init, Delta
(bootloader) B - 1172969 - vsense_init, Start
(bootloader)
(bootloader)
(bootloader)
(bootloader)
(bootloader)
(bootloader)
(bootloader)
(bootloader)
(bootloader)
(bootloader)
(bootloader)
(bootloader)
(bootloader)
(bootloader) [0] welcome to lk
(bootloader)
(bootloader) [10] platform_init()
(bootloader) [10] chipset_ver is 109400E1
(bootloader) [10] ddr_vendor is Samsung(0x1)
(bootloader) [10] oem_sec_boot is 0x303030
(bootloader) [10] HW Security has been enabled !
(bootloader) [20] Configured XPU violations to be fatal errors
(bootloader) [20] target_init()
(bootloader) [50] eMMC cid: 90014a48 42473465 5075f53 50a24200
(bootloader) [100] eMMC reset function:1
(bootloader) [100] SDHC Running in HS200 mode
(bootloader) [170] Done initialization of the card
(bootloader) [180] gpt_partitions_exist gpt_partitions_exist
(bootloader) [220] reboot_block.reason = 00000000
(bootloader) [280] restart_reason: 0x2f05be1d
(bootloader) [290] pm8x41_get_is_cold_boot: cold boot
(bootloader) [290] Waiting for the RPM to populate smd channel table
(bootloader) [300] ldo28 ctrl: 80
(bootloader) [300] ldo28 ctrl after mask with 0xDF: 80
(bootloader) [300] pm8x41_read_time(): RTC_WR_EN_CTL1: 0x80
(bootloader) [310] pm8x41_read_bytes: value: 0x5e
(bootloader) [310] pm8x41_read_bytes: value: 0xbe
(bootloader) [310] pm8x41_read_bytes: value: 0x21
(bootloader) [320] pm8x41_read_bytes: value: 0x59
(bootloader) [320] val0:94 val1:190 val2:33 val3:89
(bootloader) [320] pm8x41_read_time: secs = 1495383646, h::m:s == 16::20
(bootloader) ::46, d/m/y = 21/4/117
(bootloader) [330] record_rtc_start_time: secs = 1495383646, h::m:s == 1
(bootloader) 6::20::46, d/m/y = 21/4/117
(bootloader) [340] ### LK Start time: 2017-05-21 16:20:46
(bootloader) [430] restart_reason: 0x00000000
(bootloader) [430] bootflow: No key event
(bootloader) [430] restart_reason: 0x00000000
(bootloader) [430] restart_reason: 0x00000000
(bootloader) [440] bootflow: No key event
(bootloader) [440] pm8x41_get_is_cold_boot: cold boot
(bootloader) [440] restart_reason: 0x00000000
(bootloader) [450] target_pause_for_battery_charge : pon_reason is 49 co
(bootloader) ld_boot:1
(bootloader) [450] target_pause_for_battery_charge : GCC_RESET_STATUS[31
(bootloader) :0]: 0x0 => TSENS_RESET_STATUS[3]: 0x0, SRST_STATUS[2]: 0x0
(bootloader) , WDOG_RESET_STATUS[1:0]: 0x0
(bootloader) [470] bootflow, default => bootmode = normal
(bootloader) [470] setting_battery_stored_data_check: magic_num=DDAACC00
(bootloader) , stored_soc=70, currtime=1495220646, batt_temp=382, total_
(bootloader) level_raw=11150, overheat_55_sec=0, batt_first_use_time=148
(bootloader) 2444114, batt_cycle_checksum=1482455264
(bootloader) [540] Panel ID (id0, id1) = (1, 1)
(bootloader) [540] TDI+Renesas_69338
(bootloader) [540] init_panel_data() TDI size:13
(bootloader) [540] panel_operating_mode=0x0
(bootloader) [550] framebuffer addr =0x30000000
(bootloader) [550] Confirm Hima Series to Config Panel Related GPIO
(bootloader) [570] I2C bus [GPIO] config: blsp_id:1, qup_id:4
(bootloader) [570] [DISP]qup_blsp_i2c_init (DONE)
(bootloader) [570] power on HIMA TDI RES69338 FHD panel, TP power on Sta
(bootloader) rt
(bootloader) [600] power on HIMA TDI RES69338 FHD panel, TP power on END
(bootloader)
(bootloader) [600] [DISP]qpnp_wled_setup :2 of Wed used
(bootloader) [650] [DISP]htc_lcm_boost_i2c_cmd(DONE)
(bootloader) [750] dsi_pll_20nm_enable_seq: DSI PLL lock Success
(bootloader) [750] Config MIPI_VIDEO_PANEL.
(bootloader) [1010] Turn on MIPI_VIDEO_PANEL.
(bootloader) [1030] Video lane tested successfully
(bootloader) [1040] pmi8994_get_batt_voltage_pmic_reg : voltage raw data
(bootloader) , data=0x75
(bootloader) [1040] restart_reason: 0x00000000
(bootloader) [1040] BATT V=4563
(bootloader) [1050] pm8x41_get_is_cold_boot: cold boot
(bootloader) [1050] restart_reason: 0x00000000
(bootloader) [1050] target_pause_for_battery_charge : pon_reason is 49 c
(bootloader) old_boot:1
(bootloader) [1060] target_pause_for_battery_charge : GCC_RESET_STATUS[3
(bootloader) 1:0]: 0x0 => TSENS_RESET_STATUS[3]: 0x0, SRST_STATUS[2]: 0x
(bootloader) 0, WDOG_RESET_STATUS[1:0]: 0x0
(bootloader) [1260] pm8x41_get_is_cold_boot: cold boot
(bootloader) [1260] restart_reason: 0x00000000
(bootloader) [1260] target_pause_for_battery_charge : pon_reason is 49 c
(bootloader) old_boot:1
(bootloader) [1270] target_pause_for_battery_charge : GCC_RESET_STATUS[3
(bootloader) 1:0]: 0x0 => TSENS_RESET_STATUS[3]: 0x0, SRST_STATUS[2]: 0x
(bootloader) 0, WDOG_RESET_STATUS[1:0]: 0x0
(bootloader) [1280] vib_turn_on
(bootloader) [1290] vib_init_setting
(bootloader) [1290] pm_vib_turn_on
(bootloader) [1290] wled backlight enabled with brightness 1638
(bootloader) [1290] Backlight enable = 1
(bootloader) [1310] restart_reason set to 0x776655aa
(bootloader) [1310] Unable to locate /bootselect partition
(bootloader) [1320] ERROR: Invalid boot image header
(bootloader) [1320] ERROR: Could not do normal boot. Reverting to fastbo
(bootloader) ot mode.
(bootloader) [1320] SCM call: 0x300fa81 failed with :fffffffe
(bootloader) [1330] fastboot_init()
(bootloader) [1330] not ACA sku, so don't control GPIO 8 and 9
(bootloader) [1340] Alert!! Requested clock "usb30_phy_com_reset" is not
(bootloader) supported!
(bootloader) [1490] vib_turn_off
(bootloader) [1490] pm_vib_turn_off
(bootloader) [1720] fastboot: processing commands
(bootloader) [10670] fastboot: getvar:partition-size:hboot
(bootloader) [10690] fastboot: oem dmesg
(bootloader)
(bootloader)
OKAY [ 2.225s]
finished. total time: 2.225s
htc_fastboot finished. total time: 2.282s