Burning Tools for Linux PC


Burning image on Ubuntu

This tutorial is about how to burn image on Ubuntu.


$ sudo apt-get install libusb-dev git

Get burning tool

Image burning tool on Ubuntu is in repository utils.

$ git clone https://github.com/khadas/utils

Or just pull it if you have cloned this repository.

$ cd /path/to/utils
$ git pull

Install burning tool

You need to install USB rules.

$ cd /path/to/utils
$ cd flash-tool

You will see this if successed.


Host PC: Ubuntu 16.04


Install USB rules...
[sudo] password for nick: 
Install flash-tool...

Check the USB driver

You should bring your VIMs board enter upgrade mode.
Check the USB driver.

$ lsusb | grep Amlogic
Bus 002 Device 036: ID 1b8e:c003 Amlogic, Inc.

The message means that your board is recognized.

Check flash-tool.

$ cd /path/to/utils
$ ./flash-tool/tools/update identify

You will see the message.

This firmware version is 0-7-0-16

How to burn image on Ubuntu

$ fast-burn-vims /path/to/image

You will see the logs if successed.

Rebooting the board ........[OK]
Unpacking image [OK]
Initializing ddr ........[OK]
Running u-boot ........[OK]
Create partitions [OK]
Writing device tree [OK]
Writing bootloader [OK]
Wiping  data partition [OK]
Wiping  cache partition [OK]
Writing boot partition [OK]
Writing data partition [OK]
Writing logo partition [OK]
Writing system partition [OK]
Do you want to reset the board? y/n [n]? y
Resetting board [OK]

And you can add parameter --debug to print debug infomation.For more usage please refer to docs.

Uninstall burning tool

$ cd /path/to/utils
$ cd flash-tool


This burning tool has been verified on Ubuntu 14.04/16.04.As we don’t have environment of Ububtu 17.04/10 and other distributions, so I’m not sure whether it works well.

Flashing Ubuntu from a Linux machine
VIM Ubuntu Mate with Linux-3.14 KODI 17.3 ROM V180127 [EMMC INSTALLATION]


I personal tend to give it a better and easy to type name for fast-burn-vims, like:

  • magic-tool
  • burn-tool
  • usb-tool
  • usbtool
  • utool
  • downtool
  • xtool

0 voters

Kindly feedback a better name @all forks :wink:

One more things is that, should be run the tool at any path instead of specify path.


you could post a video because I did
sudo apt-get install libusb-dev git - ok
git clone https://github.com/khadas/utils ok
cd / path / to / utils error
git pull error
cd / path / to / utils error
cd flash-tool error
./INSTALL error
you could publish a video !!
thank you


Is it possible to run it under osx?


/path/to/utils means the directory where you clone utils to.

nick@Nick:~/test$ git clone https://github.com/khadas/utils
Cloning into 'utils'...
remote: Counting objects: 55, done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 55 (delta 10), reused 21 (delta 10), pack-reused 33
Unpacking objects: 100% (55/55), done.
Checking connectivity... done.
nick@Nick:~/test$ cd utils/
nick@Nick:~/test/utils$ cd flash-tool/
nick@Nick:~/test/utils/flash-tool$ ls
docs  fast-burn-vims  flash-tool  INSTALL  rules  tools  UNINSTALL


Hi kkkkk,

Not support OSX yet.



It seems linux-x86-64 is mandated so unable to test on Raspbian/Raspberry Pi. And INSTALL requires Ubuntu - I guess could be edited but the x86-64 constraint will stop any trials on linux-ARM?


Hi dukla2000,

It’s only for linux x86-64. There are some binary files like flash-tool/tools/update are x86-64 architecture.