[ZenFone 2 Q&A, Help & Troubleshooting] lemuelermita:
Followed the instructions on the link but my phone boots up on a blinking screen with an android saying "Error". The command prompt failed at steps 4,5, and 11.

C:\Users\Lemuel\Documents\RESTOCK>fastboot devices

F5AZFG14A156 fastboot

C:\Users\Lemuel\Documents\RESTOCK>fastboot oem erase_osip_header

...

OKAY [ 0.217s]

finished. total time: 0.219s

C:\Users\Lemuel\Documents\RESTOCK>fastboot oem start_partitioning

...

(bootloader) Start partitioning

OKAY [ 0.228s]

finished. total time: 0.231s

C:\Users\Lemuel\Documents\RESTOCK>fastboot flash /tmp/partition.tbl partition.tbl

target reported max download size of 536870912 bytes

sending '/tmp/partition.tbl' (2 KB)...

OKAY [ 0.194s]

writing '/tmp/partition.tbl'...

FAILED (remote: not allowed to flash this partition)

finished. total time: 0.384s

C:\Users\Lemuel\Documents\RESTOCK>fastboot flash /tmp/partition.tbl partition.tbl

target reported max download size of 536870912 bytes

sending '/tmp/partition.tbl' (2 KB)...

OKAY [ 0.205s]

writing '/tmp/partition.tbl'...

FAILED (remote: not allowed to flash this partition)

finished. total time: 0.394s

C:\Users\Lemuel\Documents\RESTOCK>fastboot oem partition /tmp/partition.tbl

...

FAILED (remote: unknown OEM command)

finished. total time: 0.127s

C:\Users\Lemuel\Documents\RESTOCK>fastboot erase system

******** Did you mean to fastboot format this ext4 partition?

erasing 'system'...

OKAY [ 0.560s]

finished. total time: 0.561s

C:\Users\Lemuel\Documents\RESTOCK>fastboot erase cache

******** Did you mean to fastboot format this ext4 partition?

erasing 'cache'...

OKAY [ 0.232s]

finished. total time: 0.234s

C:\Users\Lemuel\Documents\RESTOCK>fastboot erase data

******** Did you mean to fastboot format this ext4 partition?

erasing 'data'...

OKAY [ 1.447s]

finished. total time: 1.448s

C:\Users\Lemuel\Documents\RESTOCK>fastboot erase APD

******** Did you mean to fastboot format this ext4 partition?

erasing 'APD'...

OKAY [ 0.290s]

finished. total time: 0.294s

C:\Users\Lemuel\Documents\RESTOCK>fastboot erase ADF

******** Did you mean to fastboot format this ext4 partition?

erasing 'ADF'...

OKAY [ 0.232s]

finished. total time: 0.234s

C:\Users\Lemuel\Documents\RESTOCK>fastboot oem wipe splashscreen

...

FAILED (remote: unknown OEM command)

finished. total time: 0.127s

C:\Users\Lemuel\Documents\RESTOCK>fastboot oem stop_partitioning

...

(bootloader) Stop partitioning

OKAY [ 0.210s]

finished. total time: 0.212s

C:\Users\Lemuel\Documents\RESTOCK>fastboot flash splashscreen splash_sign.bin

target reported max download size of 536870912 bytes

sending 'splashscreen' (270 KB)...

OKAY [ 0.192s]

writing 'splashscreen'...

OKAY [ 0.236s]

finished. total time: 0.431s

C:\Users\Lemuel\Documents\RESTOCK>fastboot flash token MFG_BOM_Full.bin

target reported max download size of 536870912 bytes

sending 'token' (3 KB)...

OKAY [ 0.194s]

writing 'token'...

OKAY [ 0.370s]

finished. total time: 0.566s

C:\Users\Lemuel\Documents\RESTOCK>fastboot flash ifwi ifwi-prod.bin

target reported max download size of 536870912 bytes

sending 'ifwi' (4096 KB)...

OKAY [ 0.294s]

writing 'ifwi'...

OKAY [ 1.027s]

finished. total time: 1.326s

C:\Users\Lemuel\Documents\RESTOCK>fastboot flash boot boot_sign.bin

target reported max download size of 536870912 bytes

sending 'boot' (11870 KB)...

OKAY [ 0.531s]

writing 'boot'...

OKAY [ 0.648s]

finished. total time: 1.182s

C:\Users\Lemuel\Documents\RESTOCK>fastboot flash recovery recovery_sign.bin

target reported max download size of 536870912 bytes

sending 'recovery' (11882 KB)...

OKAY [ 0.520s]

writing 'recovery'...

OKAY [ 0.636s]

finished. total time: 1.163s

C:\Users\Lemuel\Documents\RESTOCK>fastboot flash fastboot droidboot_sign.bin

target reported max download size of 536870912 bytes

sending 'fastboot' (14824 KB)...

OKAY [ 0.558s]

writing 'fastboot'...

OKAY [ 0.739s]

finished. total time: 1.302s

C:\Users\Lemuel\Documents\RESTOCK>fastboot flash APD APD.img

target reported max download size of 536870912 bytes

erasing 'APD'...

OKAY [ 0.204s]

sending 'APD' (183963 KB)...

OKAY [ 4.927s]

writing 'APD'...

OKAY [ 0.912s]

finished. total time: 6.049s

C:\Users\Lemuel\Documents\RESTOCK>fastboot flash system system.img

target reported max download size of 536870912 bytes

erasing 'system'...

OKAY [ 0.233s]

sending sparse 'system' 1/5 (518551 KB)...

OKAY [ 27.274s]

writing 'system' 1/5...

OKAY [ 5.563s]

sending sparse 'system' 2/5 (523662 KB)...

OKAY [ 22.886s]

writing 'system' 2/5...

OKAY [ 6.964s]

sending sparse 'system' 3/5 (520607 KB)...

OKAY [ 24.630s]

writing 'system' 3/5...

OKAY [ 8.077s]

sending sparse 'system' 4/5 (500735 KB)...

OKAY [ 23.704s]

writing 'system' 4/5...

OKAY [ 7.983s]

sending sparse 'system' 5/5 (188368 KB)...

OKAY [ 8.849s]

writing 'system' 5/5...

OKAY [ 1.187s]

finished. total time: 137.827s

C:\Users\Lemuel\Documents\RESTOCK>

C:\Users\Lemuel\Documents\RESTOCK>

C:\Users\Lemuel\Documents\RESTOCK>fastboot reboot

rebooting...

finished. total time: 0.126s