Fastboot flash invalid partition on vendor

96boards

#1

I’m trying to flash latest android image on Hikey620 board.
It shows invalid partition error on vendor as below:
±---------------------+
Serial: /dev/ttyUSB0
Image1: ./l-loader.bin
Image2:
±---------------------+

Sending ./l-loader.bin …
Done

partition-size:ptable: 0
finished. total time: 0.000s
target reported max download size of 268435456 bytes
sending ‘ptable’ (17 KB)…
OKAY [ 0.001s]
writing ‘ptable’…
OKAY [ 0.002s]
finished. total time: 0.002s
target reported max download size of 268435456 bytes
sending ‘fastboot’ (1160 KB)…
OKAY [ 0.035s]
writing ‘fastboot’…
OKAY [ 0.034s]
finished. total time: 0.068s
target reported max download size of 268435456 bytes
sending ‘nvme’ (128 KB)…
OKAY [ 0.004s]
writing ‘nvme’…
OKAY [ 0.004s]
finished. total time: 0.008s
target reported max download size of 268435456 bytes
sending ‘boot’ (8458 KB)…
OKAY [ 0.234s]
writing ‘boot’…
OKAY [ 0.215s]
finished. total time: 0.449s
target reported max download size of 268435456 bytes
erasing ‘system’…
OKAY [ 0.000s]
sending sparse ‘system’ (258536 KB)…
OKAY [ 7.292s]
writing ‘system’…
OKAY [ 6.530s]
sending sparse ‘system’ (257692 KB)…
OKAY [ 7.742s]
writing ‘system’…
OKAY [ 6.595s]
sending sparse ‘system’ (257692 KB)…
OKAY [ 7.761s]
writing ‘system’…
OKAY [ 6.614s]
sending sparse ‘system’ (257692 KB)…
OKAY [ 7.660s]
writing ‘system’…
OKAY [ 6.580s]
sending sparse ‘system’ (68656 KB)…
OKAY [ 2.063s]
writing ‘system’…
OKAY [ 1.767s]
finished. total time: 60.604s
target reported max download size of 268435456 bytes
sending ‘vendor’ (19144 KB)…
FAILED (remote: invalid partition)
finished. total time: 0.000s
target reported max download size of 268435456 bytes
erasing ‘userdata’…
OKAY [ 0.000s]
sending ‘userdata’ (1444 KB)…
OKAY [ 0.042s]
writing ‘userdata’…
OKAY [ 0.041s]
finished. total time: 0.083s

It seems that there is no vendor partition.
Is it eMMC issue?


#2

Hi @neokorsin,

Did you flash AOSP partition table correctly as below?

sudo fastboot flash ptable ptable-aosp-8g.img

Absence of vendor partition indicates that you might have flashed linux partition table.