[One (M7) Q&A, Help & Troubleshooting] ervinke2:
C:\Android>fastboot flash zip Firmware_6.07.1540.2.zip

sending 'zip' (47650 KB)...

OKAY [ 3.352s]

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

(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 a

finished. total time: 5.051s

C:\Android>fastboot flash zip Firmware_6.07.1540.2.zip

sending 'zip' (47650 KB)...

OKAY [ 3.350s]

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,6

(bootloader) [RUU]UZ,adsp,13

(bootloader) [RUU]UZ,adsp,20

(bootloader) [RUU]UZ,adsp,26

(bootloader) [RUU]UZ,adsp,33

(bootloader) [RUU]UZ,adsp,40

(bootloader) [RUU]UZ,adsp,46

(bootloader) [RUU]UZ,adsp,53

(bootloader) [RUU]UZ,adsp,60

(bootloader) [RUU]UZ,adsp,66

(bootloader) [RUU]UZ,adsp,73

(bootloader) [RUU]UZ,adsp,80

(bootloader) [RUU]UZ,adsp,86

(bootloader) [RUU]UZ,adsp,93

(bootloader) [RUU]UZ,adsp,99

(bootloader) [RUU]UZ,adsp,100

(bootloader) [RUU]WP,adsp,0

(bootloader) [RUU]WP,adsp,26

(bootloader) [RUU]WP,adsp,53

(bootloader) [RUU]WP,adsp,79

(bootloader) [RUU]WP,adsp,100

(bootloader) ...... Successful

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

(bootloader) [RUU]UZ,boot,0

(bootloader) [RUU]UZ,boot,14

(bootloader) [RUU]UZ,boot,27

(bootloader) [RUU]UZ,boot,39

(bootloader) [RUU]UZ,boot,62

(bootloader) [RUU]UZ,boot,79

(bootloader) [RUU]UZ,boot,93

(bootloader) [RUU]UZ,boot,100

(bootloader) [RUU]WP,boot,0

(bootloader) [RUU]WP,boot,99

(bootloader) [RUU]WP,boot,100

(bootloader) ...... Successful

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

(bootloader) [RUU]UZ,cir,0

(bootloader) [RUU]UZ,cir,100

(bootloader) ...... Failed

(bootloader) start image[pg2fs_spcustom] unzipping & flus

(bootloader) [RUU]UZ,pg2fs_spcustom,0

(bootloader) [RUU]UZ,pg2fs_spcustom,23

(bootloader) [RUU]UZ,pg2fs_spcustom,45

(bootloader) [RUU]UZ,pg2fs_spcustom,67

(bootloader) [RUU]UZ,pg2fs_spcustom,88

(bootloader) [RUU]UZ,pg2fs_spcustom,100

(bootloader) ...... Successful

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

(bootloader) [RUU]UZ,recovery,0

(bootloader) [RUU]UZ,recovery,7

(bootloader) [RUU]UZ,recovery,12

(bootloader) [RUU]UZ,recovery,17

(bootloader) [RUU]UZ,recovery,24

(bootloader) [RUU]UZ,recovery,32

(bootloader) [RUU]UZ,recovery,37

(bootloader) [RUU]UZ,recovery,44

(bootloader) [RUU]UZ,recovery,67

(bootloader) [RUU]UZ,recovery,75

(bootloader) [RUU]UZ,recovery,81

(bootloader) [RUU]UZ,recovery,90

(bootloader) [RUU]UZ,recovery,97

(bootloader) [RUU]UZ,recovery,100

(bootloader) [RUU]WP,recovery,0

(bootloader) [RUU]WP,recovery,99

(bootloader) [RUU]WP,recovery,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] unzipping & flushing...

(bootloader) [RUU]UZ,sbl1,0

(bootloader) [RUU]UZ,sbl1,100

(bootloader) signature checking...

(bootloader) [RUU]WP,sbl1,0

(bootloader) [RUU]WP,sbl1,100

(bootloader) ...... Successful

(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[sp1] unzipping & flushing...

(bootloader) [RUU]UZ,sp1,0

(bootloader) [RUU]UZ,sp1,26

(bootloader) [RUU]UZ,sp1,50

(bootloader) [RUU]UZ,sp1,75

(bootloader) [RUU]UZ,sp1,100

(bootloader) [RUU]WP,sp1,0

(bootloader) [RUU]WP,sp1,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,51

(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,10

(bootloader) [RUU]UZ,radio,16

(bootloader) [RUU]UZ,radio,21

(bootloader) [RUU]UZ,radio,26

(bootloader) [RUU]UZ,radio,32

(bootloader) [RUU]UZ,radio,37

(bootloader) [RUU]UZ,radio,42

(bootloader) [RUU]UZ,radio,48

(bootloader) [RUU]UZ,radio,53

(bootloader) [RUU]UZ,radio,58

(bootloader) [RUU]UZ,radio,64

(bootloader) [RUU]UZ,radio,69

(bootloader) [RUU]UZ,radio,74

(bootloader) [RUU]UZ,radio,80

(bootloader) [RUU]UZ,radio,85

(bootloader) [RUU]UZ,radio,90

(bootloader) [RUU]UZ,radio,96

(bootloader) [RUU]UZ,radio,100

(bootloader) [RUU]WP,radio,0

(bootloader) [RUU]WP,radio,21

(bootloader) [RUU]WP,radio,42

(bootloader) [RUU]WP,radio,63

(bootloader) [RUU]WP,radio,85

(bootloader) [RUU]WP,radio,100

(bootloader) ...... Successful

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

(bootloader) [RUU]UZ,rcdata,0

(bootloader) [RUU]UZ,rcdata,42949671

(bootloader) [RUU]WP,rcdata,0

(bootloader) [RUU]WP,rcdata,42949671

(bootloader) ...... Successful

FAILED (remote: 51 partition update fail)

finished. total time: 66.667s

The output. And the var log:

C:\Android>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: 5.12.708.3

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

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0712000

(bootloader) cidnum: 11111111

(bootloader) battery-status: good

(bootloader) battery-voltage: 3836mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: RUU

(bootloader) commitno-bootloader: dirty-6d8a0b9b

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.066s