VIM3 - Flash the Android image using the USB Burn tool on Windows

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

VIM3 connected to Windows 11 host PC.

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

Android AOSP.

Please describe your issue below:

I am using the USB burn tool defined at location VIM3/3L Install OS into eMMC via USB Flash Tool [Khadas Docs].
I can manage to flash the image which has an extension of .img using the USB burning tool. For example vim3-android-9-64bit-v240626.img. But I am not sure how can I use the tool to flash the images which has many .img files under a folder. For example, vim3-u-aosp-v240613.rar has boot.img, dtbo-unsigned.img, super.img, u-boot_kvim3_ab.bin, and userdata.img etc.

Kindly help to understand the usage of the tool to flash the bootloader for aosp.

Post a console log of your issue below:

NA

@Bhushan_Patil please check this guidance post:

@Bhushan_Patil ,

You can use the following script to burn on Windows。

  • flash uboot script :
@update write u-boot_kvim3_noab.bin 0xfffa0000 0x10000
@if NOT %errorlevel%==0 goto :error

@update run 0xfffa0000
@if NOT %errorlevel%==0 goto :error

@update bl2_boot u-boot_kvim3_noab.bin
@if NOT %errorlevel%==0 goto :error

@fastboot oem format
@if NOT %errorlevel%==0 goto :error


@fastboot flash bootloader u-boot_kvim3_noab.bin
@if NOT %errorlevel%==0 goto :error

@fastboot erase bootenv
@if NOT %errorlevel%==0 goto :error


@fastboot reboot bootloader
@echo !!!!!!!!Flash uboot successfully!!!!!!!!
@goto :exit

:error
@echo errorlevel %errorlevel%
@echo !!!!!!!!Flash uboot failed!!!!!!!!
@pause

:exit
  • flash image script :
@fastboot flash boot boot.img
@if NOT %errorlevel%==0 goto :error


@fastboot flash super super.img
@if NOT %errorlevel%==0 goto :error

@fastboot flash cache cache.img
@if NOT %errorlevel%==0 goto :error


@fastboot flash userdata userdata.img
@if NOT %errorlevel%==0 goto :error

@fastboot flash recovery recovery.img
@if NOT %errorlevel%==0 goto :error

@fastboot flash dtbo dtbo-unsigned.img
@if NOT %errorlevel%==0 goto :error


@fastboot reboot
@echo !!!!!!!!Flash some img successfully!!!!!!!!
@goto :exit

:error
@echo errorlevel %errorlevel%
@echo !!!!!!!!Flash some img failed!!!!!!!!
@pause

:exit
1 Like

Hi William.Lin,

I tried the script you described. It gives me an error < waiting for any device >.
Attached is the screenshot of the same.


Note: I have used the u-boot_kvim3_ab.bin instead of u-boot_kvim3_noab.bin.
Regards

Hello, you can refer to the instructions in this document for the burning method of Android 14