Fastboot commands not working

Which system do you use? Android, Ubuntu, OOWOW or others?

Android

Which version of system do you use? Please provide the version of the system here:

AOSP Android 14

Please describe your issue below:

Can’t use fastboot under Khadas VIM4.
fastboot flashing unlock_critical command end with remote: ‘unrecognized command’
Device is visible under the fastboot devices.

Post a console log of your issue below:

U boot version :
U-Boot 2019.01-g6ef47ccc851-dirty (Nov 05 2024 - 18:11:16 +0800)

@Arkadiusz_Kubiak ,
At present, for burning Android firmware, we recommend using the official burning tool from amgloic.

@william.lin
I found the way to unlock the bootloader for flashing purposes by fastboot:

  1. Connect through serial and interrupt the boot process to enter into U-Boot console
  2. Update U-Boot Environment Variables
setenv lock 0
setenv avb2 0
saveenv
reset
  1. fastboot reboot fastboot
  2. Bootloader is unlock and you can simply flash the partitions by:
flash product product.img