// gcc aml-upgrade-package-extract.c -o aml-upgrade-package-extract |
// ./aml-upgrade-package-extract update-usb-burning-mode.img |
// /dev/sdX - fat32 sdcard |
// Make bootable Android update: |
// dd if=aml_sdc_burn.UBOOT bs=1 count=442 of=/dev/sdX |
// dd if=aml_sdc_burn.UBOOT seek=1 skip=1 bs=512 of=/dev/sdX |
// sync |
// dd if=aml_sdc_burn.UBOOT conv=fsync bs=1 count=442 of=/dev/sdX |
// dd if=aml_sdc_burn.UBOOT conv=fsync seek=1 skip=1 bs=512 of=/dev/sdX |
// cp -v aml_sdc_burn.{ini,UBOOT} [device-mount-point] |
// cp -v update-usb-burning-mode.img [device-mount-point]/aml_upgrade_package.img |
#include<errno.h> |
#include<inttypes.h> |
#include<stdio.h> |
#include<stdlib.h> |
#include<string.h> |
#include<arpa/inet.h> |
uint32_tconvert(uint8_t *test, uint64_t loc) { |
returnntohl((test[loc] << 24) | (test[loc+1] << 16) | (test[loc+2] << 8) | test[loc+3]); |
} |
voidmain (int argc, char **argv) { |
FILE *fileptr; |
uint8_t *buffer; |
long filelen; |
FILE *f; |
char *filename; |
uint64_t record; |
uint64_t record_loc; |
uint64_t file_loc; |
uint64_t file_size; |
if (argc <= 1) { |
printf('Usage: %s [firmware-file-name]n', argv[0]); |
exit (0); |
} |
fileptr = fopen(argv[1], 'rb'); |
fseek(fileptr, 0, SEEK_END); |
filelen = ftell(fileptr); |
rewind(fileptr); |
buffer = (uint8_t *)malloc((filelen+1)*sizeof(uint8_t)); |
fread(buffer, filelen, 1, fileptr); |
fclose(fileptr); |
for (record = 0; record < (uint8_t)buffer[0x18]; record = record + 1){ |
record_loc = 0x40 + (record * 0x240); |
filename = (malloc(32)); |
sprintf(filename,'%s.%s',(char *)&buffer[record_loc+0x120], (char *)&buffer[record_loc+0x20]); |
file_loc = convert(buffer,record_loc+0x10); |
file_size = convert(buffer,record_loc+0x18); |
f = fopen(filename, 'wb'); |
if (f NULL) { |
printf('ERROR: could not open outputn'); |
printf('the error was: %sn',strerror(errno)); |
free(filename); |
continue; |
} |
fwrite(&(buffer[file_loc]), sizeof(uint8_t), (size_t)file_size, f); |
fclose(f); |
free(filename); |
} |
free(buffer); |
} |
Amlogic USB Burning Tool V3.1.0 September 2020 1 minute read Amlogic Burning Tool is compatible with all versions of Windows OS, including Windows XP to Windows 10 (both 32 and 64 bit). Amlogic’s USB Burning Tool is a Windows based tool used to upgrade devices based on Amlogic processors over USB.
Download Amlogic USB Burning Tool
Download Amlogic USB Burning Tool
Here is the download link for the Amlogic USB Burning Tool.
Today we can download a new version of the update tool for TV-Boxes with Amlogic SoC with the name AMLogic USB Burning Tool. This version of the application is recommended to use it to update the firmwares of the new Amlogic S905X2, S905X3 and S922X in all its versions.
You May Also Like,
- Download Rockchip Batch Flash Tool
- Download Intel Phone Flash Tool

How To Flash/Upgrade Firmware on Android TV Box Using Amlogiv USB Burning Tool
Now let's look at the exact steps that you have to follow to flash the firmware image file on your Android TV Box. Before installation, you have to keep in mind some guidelines.
Pre-Requisites
- Make sure that Android TV box is connected to your PC
- Power on The TV should with the power adapter
- This USB tool only supports on Windows PC

Installation Guide
Step-1 Download the Amlogic USB tool zip file and extract it to the PC.
Step-2 In the folder you have the InstallDriver.exe. This will install the required drivers for Amlogic TV boxes.
Step-3 First, connect your device to the PC then click the Driver Installation wizard.
Step-4 Open the folder “USB_Burning_Tool” >> then click the “USB_Burning_Tool.exe” to start the USB burning tool.

Step-5 Once the setup wizard opens click yes to all the options.
Step-6 Click the second option on the top bar to reveal the option for changing the language.
Amlogic Usb Burning Tool Not Detecting Device
Step-7 you have to put your device into recovery mode. This is differently done on all TV boxes. Some have little reset holes and some have buttons on the bottom of your device.
Step-8 connect your Android TV box to your PC when it’s in recovery mode in order to upgrade your firmware. If done correctly you will have a connect success like in the image below.
Step-9 Now, click on the File option and browse to find your firmware .img file.
Step-10 Make sure to untick the overwrite key box.

Step-11 Click Start to begin the firmware upgrade process.
Amlogic Usb Burning Tool Key File Configuration Wrong
Step-12 Wait for a while the firmware upgradation is taking place. After it finishes click on Stop.
So, that's it, guys. Now the firmware on your Android TV Box is updated. We hope this guide about Amlogic USB Burning tool was helpful to you. if you have any queries do let us know in the comments.