Upgrade Complete Firmware
Before Upgrade
Intro
This tutorial introduces how to download firmware to device through Type-A USB cable.
Prepare
- AIBOX-9075
- Windows PC with x86_64 arch cpu.
- Type-A USB cable
Get Firmware
You can build firmware from SDK, or download from Resources Download (complete firmware).
-
Complete firmware
Complete firmware is an archive with every part (like parameter, bootloader, kernel, system, etc.) in it. Complete firmware will be an archive contains lots of files. Firmwares released officially by Firefly Team will all be complete firmwares. Download complete firmware to device will erase all data and partitions.
-
Partition image
A partition image only contains the content of a single partition. The most commonly used ones are boot.img and dtbo.img. Download partition images is often used for partial upgrades, functional verification, and comparative analysis. The prerequisite for using partition images is that the device is operating normally. If the device cannot boot up, only the complete firmware can be used.
Install Tools
-
Install USB drivers
Please download from USB Driver.
There are two drivers. First install Qualcomm USB Driver, double click the exe file to run, accept the EULA and always click "next", finally click "finish".
Then install Google USB driver, extractusb_driver_r13-windows.zip, right click theandroid_winusb.infand click "install", always click "confirm". -
Install QTSP
Please download form QTSP Tool.
Extract, then double clickQPST.2.7.496.1.exe, accept the EULA and always click "next", then click "install", finally click "finish".
After installation, the tool we need is C:\Program Files (x86)\Qualcomm\QPST\bin\QFIL.exe
Double click QFIL.exe to open it. -
Install Android SDK Platform-Tools
Download from Platform Tools.
Extract it after download, you will find adb.exe and fastboot.exe
Enter EDL (Emergency Download) mode
Hardware Way
- The device should disconnect all power supply.
- Use Type-A USB cable to connected device's download port with PC.
- Use needle or other small tools, insert into recovery hole, press the button in it and hold.
- Insert the DC power supply.
- After 2 sec, release the recovery button.
Software Way
While the device is running normally, connect device's download port with PC through Type-A USB cable, run this command on device terminal or debug console:
sudo systemctl reboot edlCheck EDL
If the device entered EDL mode, QFIL tool will show "Qualcomm HS-USB QDLoader 9008".
Or it could show "Please Select an Existing Port", then you have to click "SelectPort", also can see "Qualcomm HS-USB QDLoader 9008", select it and click "OK".
Download Firmware
1 Click "Configuration", then click "FireHose Configuration", in the pop-up window, config it according to the following pictrue, then click "OK".
2 In the main page, select "Flat Build", then click "Browse"
3 Navigate to your firmware location, choose "All Files" in file type, then find "xbl_s_devprg_ns.melf" (or maybe "prog_firehose_ddr.elf", different SOCs very in filenames)and click "open".
4 In the main page, click "Load XML", in the pop-up window, select all xml files and click "open", then the same window will pop-up again, and select all xml files again and click "open".
5 Finally click "Download", wait it to finish, it will take few minutes. Download success will be like:
6 After the download is complete, wait for a while and the device will automatically reboot.

