[One (M7) Q&A, Help & Troubleshooting] Sedariya11:
Hi I wanted to update my firmware on my HTC one M7 from 6.13.707.107 to the latest one which is 7.19.401.22, so i have just successfully flashed it after getting some Model id error... Did i flash the wrong firmware or i m fine ? The folllowing are the details:

D:\adb>adb reboot bootloader

* daemon not running. starting it now *

* daemon started successfully *

D:\adb>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.57.0000

(bootloader) version-baseband: 4T.28.3218.04

(bootloader) version-cpld: None

(bootloader) version-microp: None &

(bootloader) version-main: 6.13.707.107

(bootloader) version-misc: PVT SHIP S-OFF

(bootloader) serialno:

(bootloader) imei:

(bootloader) meid: 00000000000000

(bootloader) product: m7_u

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0711000

(bootloader) cidnum: HTC__038

(bootloader) battery-status: good

(bootloader) battery-voltage: 4088mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-6d8a0b9b

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.075s

D:\adb>fastboot reboot-bootloader

rebooting into bootloader...

OKAY [ 0.104s]

finished. total time: 0.104s

D:\adb>fastboot oem rebootRUU

...

(bootloader) Start Verify: 0

OKAY [ 0.103s]

finished. total time: 0.103s

D:\adb>fastboot flash zip D:\adb\firmware.zip

sending 'zip' (29689 KB)...

OKAY [ 3.184s]

writing 'zip'...

(bootloader) zip header checking...

(bootloader) zip info parsing...

(bootloader) checking model ID...

FAILED (remote: 41 model id check fail)

finished. total time: 3.614s

D:\adb>fastboot flash zip D:\adb\firmware.zip

sending 'zip' (29689 KB)...

OKAY [ 3.178s]

writing 'zip'...

(bootloader) zip header checking...

(bootloader) zip info parsing...

(bootloader) checking model ID...

FAILED (remote: 41 model id check fail)

finished. total time: 3.595s

D:\adb>fastboot reboot

rebooting...

finished. total time: 0.096s

D:\adb>adb reboot bootloader

D:\adb>fastboot oem writecid 11111111

...

(bootloader) Start Verify: 0

(bootloader) Input CID is super CID

(bootloader) Start Verify: 0

OKAY [ 0.070s]

finished. total time: 0.070s

D:\adb>adb reboot bootloader

error: device not found

D:\adb>fastboot oem rebootRUU

...

(bootloader) Start Verify: 0

OKAY [ 0.043s]

finished. total time: 0.043s

D:\adb>fastboot flash zip D:\adb\firmware.zip

sending 'zip' (29689 KB)...

OKAY [ 3.042s]

writing 'zip'...

(bootloader) zip header checking...

(bootloader) zip info parsing...

(bootloader) checking model ID...

(bootloader) checking custom ID...

(bootloader) start image[hboot] unzipping for pre-update check...

(bootloader) start image[hboot] flushing...

(bootloader) [RUU]WP,hboot,0

(bootloader) [RUU]WP,hboot,99

(bootloader) [RUU]WP,hboot,100

(bootloader) ...... Successful

FAILED (remote: 90 hboot pre-update! please flush image again immediately)

finished. total time: 4.639s

D:\adb>fastboot flash zip D:\adb\firmware.zip

sending 'zip' (29689 KB)...

OKAY [ 3.061s]

writing 'zip'...

(bootloader) zip header checking...

(bootloader) zip info parsing...

(bootloader) checking model ID...

(bootloader) checking custom ID...

(bootloader) start image[adsp] unzipping & flushing...

(bootloader) [RUU]UZ,adsp,0

(bootloader) [RUU]UZ,adsp,18

(bootloader) [RUU]UZ,adsp,30

(bootloader) [RUU]UZ,adsp,41

(bootloader) [RUU]UZ,adsp,52

(bootloader) [RUU]UZ,adsp,64

(bootloader) [RUU]UZ,adsp,75

(bootloader) [RUU]UZ,adsp,86

(bootloader) [RUU]UZ,adsp,97

(bootloader) [RUU]UZ,adsp,100

(bootloader) [RUU]WP,adsp,0

(bootloader) [RUU]WP,adsp,100

(bootloader) ...... Successful

(bootloader) start image[cir] unzipping & flushing...

(bootloader) [RUU]UZ,cir,0

(bootloader) [RUU]UZ,cir,100

(bootloader) ...... Successful

(bootloader) start image[pg2fs_spcustom] unzipping & flushing...

(bootloader) [RUU]UZ,pg2fs_spcustom,0

(bootloader) [RUU]UZ,pg2fs_spcustom,31

(bootloader) [RUU]UZ,pg2fs_spcustom,57

(bootloader) [RUU]UZ,pg2fs_spcustom,82

(bootloader) [RUU]UZ,pg2fs_spcustom,100

(bootloader) ...... Successful

(bootloader) start image[rpm] unzipping & flushing...

(bootloader) [RUU]UZ,rpm,0

(bootloader) [RUU]UZ,rpm,100

(bootloader) [RUU]WP,rpm,0

(bootloader) [RUU]WP,rpm,100

(bootloader) ...... Successful

(bootloader) start image[sbl1-1] unzipping & flushing...

(bootloader) [RUU]UZ,sbl1-1,0

(bootloader) [RUU]UZ,sbl1-1,100

(bootloader) signature checking...

(bootloader) verified fail

(bootloader) ..... Bypassed

(bootloader) start image[sbl1-2] unzipping & flushing...

(bootloader) [RUU]UZ,sbl1-2,0

(bootloader) [RUU]UZ,sbl1-2,100

(bootloader) signature checking...

(bootloader) verified fail

(bootloader) ..... Bypassed

(bootloader) start image[sbl1-3] unzipping & flushing...

(bootloader) [RUU]UZ,sbl1-3,0

(bootloader) [RUU]UZ,sbl1-3,100

(bootloader) signature checking...

(bootloader) [RUU]WP,sbl1-3,0

(bootloader) [RUU]WP,sbl1-3,100

(bootloader) ...... Successful

(bootloader) start image[sbl1-4] unzipping & flushing...

(bootloader) [RUU]UZ,sbl1-4,0

(bootloader) [RUU]UZ,sbl1-4,100

(bootloader) signature checking...

(bootloader) verified fail

(bootloader) ..... Bypassed

(bootloader) start image[sbl1-5] unzipping & flushing...

(bootloader) [RUU]UZ,sbl1-5,0

(bootloader) [RUU]UZ,sbl1-5,100

(bootloader) signature checking...

(bootloader) verified fail

(bootloader) ..... Bypassed

(bootloader) start image[sbl2] unzipping & flushing...

(bootloader) [RUU]UZ,sbl2,0

(bootloader) [RUU]UZ,sbl2,100

(bootloader) [RUU]WP,sbl2,0

(bootloader) [RUU]WP,sbl2,100

(bootloader) ...... Successful

(bootloader) start image[sbl3] unzipping & flushing...

(bootloader) [RUU]UZ,sbl3,0

(bootloader) [RUU]UZ,sbl3,100

(bootloader) [RUU]WP,sbl3,0

(bootloader) [RUU]WP,sbl3,100

(bootloader) ...... Successful

(bootloader) start image[tp] unzipping & flushing...

(bootloader) [RUU]UZ,tp,0

(bootloader) [RUU]UZ,tp,100

(bootloader) ..... Bypassed

(bootloader) start image[tp] unzipping & flushing...

(bootloader) [RUU]UZ,tp,0

(bootloader) [RUU]UZ,tp,100

(bootloader) ...... Successful

(bootloader) start image[tz] unzipping & flushing...

(bootloader) [RUU]UZ,tz,0

(bootloader) [RUU]UZ,tz,100

(bootloader) [RUU]WP,tz,0

(bootloader) [RUU]WP,tz,100

(bootloader) ...... Successful

(bootloader) start image[radio] unzipping & flushing...

(bootloader) [RUU]UZ,radio,0

(bootloader) [RUU]UZ,radio,5

(bootloader) [RUU]UZ,radio,11

(bootloader) [RUU]UZ,radio,17

(bootloader) [RUU]UZ,radio,23

(bootloader) [RUU]UZ,radio,28

(bootloader) [RUU]UZ,radio,34

(bootloader) [RUU]UZ,radio,40

(bootloader) [RUU]UZ,radio,46

(bootloader) [RUU]UZ,radio,52

(bootloader) [RUU]UZ,radio,59

(bootloader) [RUU]UZ,radio,69

(bootloader) [RUU]UZ,radio,75

(bootloader) [RUU]UZ,radio,80

(bootloader) [RUU]UZ,radio,86

(bootloader) [RUU]UZ,radio,92

(bootloader) [RUU]UZ,radio,99

(bootloader) [RUU]UZ,radio,100

(bootloader) [RUU]WP,radio,0

(bootloader) [RUU]WP,radio,23

(bootloader) [RUU]WP,radio,46

(bootloader) [RUU]WP,radio,69

(bootloader) [RUU]WP,radio,92

(bootloader) [RUU]WP,radio,100

(bootloader) ...... Successful

(bootloader) start image[rcdata] unzipping & flushing...

(bootloader) [RUU]UZ,rcdata,0

(bootloader) [RUU]WP,rcdata,0

(bootloader) ...... Successful

OKAY [ 55.610s]

finished. total time: 58.672s

D:\adb>fastboot reboot

rebooting...

finished. total time: 0.093s

D:\adb>fastboot reboot bootloader

usage: fastboot [ ]

commands:

update reflash device from update.zip

flashall flash boot + recovery + system

flash [ ] write a file to a flash partition

erase erase a flash partition

getvar display a bootloader variable

boot [ ] download and boot kernel

flash:raw boot [ ] create bootimage and flash it

devices list all connected devices

continue continue with autoboot

reboot reboot device normally

reboot-bootloader reboot device into bootloader

options:

-w erase userdata and cache

-s specify device serial number

-p specify product name

-c override kernel commandline

-i specify a custom USB vendor id

-b specify a custom kernel base address

-n specify the nand page size. default:

2048

D:\adb>adb reboot bootloader

D:\adb>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.61.0000

(bootloader) version-baseband: 4T.35.3218.16

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 7.19.401.22

(bootloader) version-misc: PVT SHIP S-OFF

(bootloader) serialno:

(bootloader) imei:

(bootloader) meid: 00000000000000

(bootloader) product: m7_u

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0711000

(bootloader) cidnum: 11111111

(bootloader) battery-status: good

(bootloader) battery-voltage: 4147mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-0e2a13e5

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.076s

Edit: Never mind i hve found it out. Thanks