I experimented with Linux on hikey960. Now I can’t get back to Android.
The usual aosp/device/linaro/hikey/installer/hikey960/flash-all.sh script does not work any more.
I’m trying to restore the partitioning that aosp expects. Following the instructions in tools-images-hikey960/README-technical.md I did “fastboot flash ptable ptable.img"
That is apparently not sufficient.
In section 3. “Burn Images”/”# extra images" the following happens:
$sudo ./hikey_idt -c config -p /dev/ttyUSB0
target reported max download size of 134217728 bytes
sending ‘nvme’ (128 KB)…
OKAY [ 0.060s]
FAILED (remote: No such partition.)
finished. total time: 0.063s
Several other attempted downloads fail with “No such partition”.
How can I get the required partitions back again?