Soft bricked HiKey 960


I tried to flash UEFI according to the instructions, but I was never able to get it booted to the UEFI menu over serial port. Now I would like to flash back Android according to these instructions:

And flashing from in fastboot mode.

But it does not boot. It seems that the bootloader does not find the dtb information:

secureboot: SECBOOT_DEV_INFO_DADDR = 0x1d7fff00, SECBOOT_DEV_INFO_SIZE = 0x00000040!
dtimage: Invalid dtb image header
dtimage: dtb_init init fail
load_kernel: register_update_dt_ops for led!
vibrator: vibrator_delay: can’t get dtb operators

But when I try to flash this partition in fastboot mode, I get:

sudo fastboot flash dt dt.img

target reported max download size of 471859200 bytes
sending ‘dt’ (12 KB)…
OKAY [ 0.007s]
writing ‘dt’…
FAILED (remote: partition length get error)
finished. total time: 0.027s

What does not make any sense because the partition table (ptable.img) was flashed by and it did not report any error.

Can I do anything to bring this dev board back.


Which instructions are you following to perform the recovery?


What is written on the github page. Shortly:

  1. “Boot into recovery mode set switch 1 & 2 to ON state and switch 3 to OFF state”
  2. Run: “sudo ./ /dev/ttyUSBx”


fastboot flash dts out/target/product/hikey960/dt.img

Should the partition is ‘dts’?


You are right!

sudo fastboot flash dts dt.img

did the trick and brought the board back to Android.


Glad you got this sorted (and sorry for my dumb question… I had forgotten the github project page had instructions to debrick in the README).