[HTC One A9] datorprofessor:
I still haven't succeded to restore phone to factory state... I didn't twrp backup it after root.

Status is unlocked, S-ON

I have tried your links to

I did

H:\>fastboot oem rebootRRU

:\>htc_fastboot.exe flash zip HTC_A9_1.10.401.7_partial.zip
sending 'zip'... (88062 KB) OKAY
sending time = 8.050 secs
writing 'zip'... (bootloader) HOSD CL#656287
(bootloader) ERR [SD_UPDATE_ERR] Main version NOT ALLOWED
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 19
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) ERR ZIP signature checking failed...
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 19
(bootloader) end@Done
FAIL19 RU_MAIN_VER_FAIL os-version in android-info missing or i
FAILED (remote: 19 RU_MAIN_VER_FAIL os-version in android-info missing or i)
Execution time is 12(s)

I think it isn't same partition size, I also tried regular fastboot and htc_fastboot in oem-mode.

>fastboot flash system system.img
target reported max download size of 800000000 bytes

system size on windows is 2,92 GB

according to this guy nenebear http://xdaforums.com/showpost.php?p=64509541&postcount=122 I have another international model.

I am not sure wich version I have... according to this post

International version don't flash is images . Because the unlocked version of the system partitions of different size and international version .

unlocked version system partitions -- mmcblk0p62: d9000000 00000200 "system"

international version system partitions -- mmcblk0p62: c6000000 00000200 "system"

I have tried RUU.exe file with fail to not same main version

I flash zipped with fail

fastboot flash zip 2PQ9IMG_HIAE_UL_ATT_1.27.502.5_firmware.zip

Meanwhile i see that fastboot flash system system.img is working now haha it just took time to read/send system.img that is almost 3GB

thank you for your link, I needed that system.img file

fastboot flash system H:\Htc-blocket\rom\upNorth\partial\system.img

target reported max download size of 800000000 bytes

erasing 'system'...

OKAY [ 2.748s]

sending sparse 'system' (769748 KB)...

OKAY [ 71.392s]

writing 'system'...

(bootloader) HOSD CL#656287

(bootloader) start@1

(bootloader) system@100%

(bootloader) Update partition OK

(bootloader) end@Done

OKAY [ 34.540s]

sending sparse 'system' (778860 KB)...

OKAY [ 72.596s]

writing 'system'...

(bootloader) HOSD CL#656287

(bootloader) start@1

(bootloader) system@100%

(bootloader) Update partition OK

(bootloader) end@Done

OKAY [ 34.080s]

sending sparse 'system' (770834 KB)...

OKAY [ 72.728s]

writing 'system'...

(bootloader) HOSD CL#656287

(bootloader) start@1

(bootloader) system@100%

(bootloader) Update partition OK

(bootloader) end@Done

OKAY [ 33.950s]

sending sparse 'system' (752915 KB)...

OKAY [ 70.736s]

writing 'system'...

(bootloader) HOSD CL#656287

(bootloader) start@1

(bootloader) system@100%

(bootloader) Update partition OK

(bootloader) end@Done

OKAY [ 33.562s]

finished. total time: 426.364s

H:\>fastboot flash boot H:\Htc-blocket\rom\upNorth\partial\boot.img

target reported max download size of 167000000 bytes

sending 'boot' (45799 KB)...

OKAY [ 4.548s]

writing 'boot'...

(bootloader) HOSD CL#656287

(bootloader) start@1

(bootloader) boot@100%

(bootloader) Update partition OK

(bootloader) end@Done

OKAY [ 3.868s]

finished. total time: 8.416s

H:\>fastboot flash recovery H:\Htc-blocket\rom\upNorth\partial\recovery.img

target reported max download size of 800000000 bytes

sending 'recovery' (47229 KB)...

OKAY [ 4.416s]

writing 'recovery'...

(bootloader) HOSD CL#656287

(bootloader) start@1

(bootloader) recovery@100%

(bootloader) Update partition OK

(bootloader) end@Done

OKAY [ 4.038s]

finished. total time: 8.454s

Solved! Thank you!