[One (M8) Q&A, Help & Troubleshooting] mossko:
TELST001 / 0P6B11000 wanting to use Stock firmware

Hey there - looking for some help please very much, i've searched through and couldn't find a hit for this question

The phone is originally branded as .

I have a Telstra branded phone with the original CID of TELST001 and the model ID is 0P6B11000. I want to use the unbranded HTC firmware - either 401 WWE or Australian. It's running the Telstra branded Android 6.0.0 firmware

Here is the fastboot getvar all (because it's the first thing everyone asks for)

(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.841.4
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: xxxx
(bootloader) imei: xxxx
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B11000
(bootloader) cidnum: HTC__032
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: RUU
(bootloader) commitno-bootloader: 76df2b54
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0

I've been following Vomer's guide: http://xdaforums.com/htc-one-m8/general/vomerguides-m8-bootldr-unlock-s-off-t2800727

The phone is S-OFF, rooted, relocked, TWRP 2.8.5.0 recovery loaded

I downloaded three zip firmware variants for the 401 RUU but none of them seem to work. If i try to unzip them, there are lots of errors. I read that the later firmware RUU zips are encrypted.

Filenames are

0P6BIMG_M8_UL_M60_SENSE70_MR_HTC_Europe_6.12.401.4_Radio_1.29.214500021.12G_20.72.4196t.01_release_464360_signed.zip

0P6BIMG_M8_UL_M60_SENSE70_MR_HTC_Europe_6.12.401.4_Radio_1.29.214500021.12G_20.72.4196t.01_release_464360_signed (redl).zip

0P6BIMG_M8_UL_K444_SENSE60_MR_HTC_Europe_3.28.401.9_R_Radio_1.22.21331147A1.29G_20.67.4196.01_release_402839_signed.zip

I copied "0P6BIMG_M8_UL_K444_SENSE60_MR_HTC_Europe_3.28.401.9_R_Radio_1.22.21331147A1.29G_20.67.4196.01_release_402839_signed.zip" over to firmware.zip in case there was a filename length issue

Every time I would try to load the firmware, I got error 32 - header error, as below

android mossko$ fastboot flash zip firmware.zip
target reported max download size of 1826418688 bytes
sending 'zip' (1687272 KB)...
OKAY [ 47.026s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 49.264s

android mossko$ fastboot flash zip firmware.zip
target reported max download size of 1694216192 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 38449847 is not a multiple of the block size 4096
sending sparse 'zip' (1649584 KB)...
error: write_sparse_skip_chunk: don't care size 38449847 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 38449847 is not a multiple of the block size 4096
OKAY [ 45.995s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 46.129s

android mossko$ fastboot flash zip firmware.zip
target reported max download size of 1694216192 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 38449847 is not a multiple of the block size 4096
sending sparse 'zip' (1649584 KB)...
error: write_sparse_skip_chunk: don't care size 38449847 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 38449847 is not a multiple of the block size 4096
OKAY [ 46.007s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 46.141s

I'm using fastboot and adb on Mac from the Android SDK version r24.4.1

I tried with the CID HTC__023 which is HTC-Australia and also HTC__032 which is Europe and should be compatible

There are a few questions I have that can't seem to find an answer to:

Do i have 3 broken ZIP RUUs or is there something else a problem?

If I set the CID back to TELST001, will that download the Telstra branded OTA updates? With those updates, will it have all of the branding and bloatware? I assume so

With the ModelID being 0P6B11000 - does this affect the 3G signal bands? I know that Telstra have some different signal bands to say Optus or Vodafone. Should I avoid loading on a WWE or European version of the RUU as it won't have support for Telstra's 3G signal bands?

How can I unlock the phone? i tried fastboot oem unlock but it's an invalid command

I thought the phone model was a defining factor in choosing a firmware - What is the correct firmware for this phone, for it's model?

Thank you for any help you can give me, it will be much appreciated