Libretech-flash-tool Page
Open a terminal on your Linux machine.
| Model Code | Board Name | Architecture | | :--- | :--- | :--- | | aml-s905x-cc | Le Potato | Amlogic | | all-h3-cc-h5 | Tritium H5 | Allwinner H5 | | all-h3-cc-h3 | Tritium H3 | Allwinner H3 | | aml-s805x-ac | Sweet Potato | Amlogic | | roc-rk3399-pc | Renegade | Rockchip | | roc-rk3328-cc | Renegade | Rockchip |
It's important to note that you must identify your board's exact model and revision. For instance, the Le Potato boards are marked as V1 or V2 directly on the PCB. Using the wrong board identifier can lead to flashing an incompatible bootloader.
Insert your storage medium, then run the dev-list command. This will show all available block devices.
libre-computer OS Tool (LOST) is a firmware designed to deploy operating system distributions quickly over the internet. Our newer... Libre Computer Hub libretech-flash-tool/lft.sh at master - GitHub libretech-flash-tool
Add a new command flag:
While the primary purpose of the script is to flash bootloaders, it provides the foundation for flashing full OS images. This is often done in a two-step process:
Change into the newly created directory:
: Specifically handles the installation of board-specific bootloaders (e.g., for Le Potato or Renegade) that are required for the hardware to initialize the OS. Open a terminal on your Linux machine
However, the tool is a "low-level" utility that writes directly to raw disk blocks. As noted in its official documentation
The tool is essentially a sophisticated wrapper script (written in Python/Bash logic) that orchestrates lower-level utilities:
| Feature | Libretech Flash Tool | Proprietary Vendor Tools (e.g., Rockchip Tool) | dd command | | :--- | :--- | :--- | :--- | | | Yes (GPLv3) | No | Yes (part of coreutils) | | Works on bricked devices (MROM mode) | Yes | Yes | No (requires functional OS) | | Cross-platform Linux support | Native | Often Windows-only or Wine-dependent | Native | | Checksum verification | Yes (CRC32) | Varies | No (raw copy only) | | Purpose-built for SPI flash | Yes | Rarely | No |
Look for labels like sda or mmcblk0 . Always double-check this to ensure you don't flash your main hard drive. 3. Flash the Bootloader Using the wrong board identifier can lead to
I'd love to cover whatever methods are available with the boards to do this! libre-computer. • 4y ago. We have something called th... Reddit·r/LibreComputer libre-computer-project/libretech-flash-tool - GitHub
The usage pattern is straightforward: you identify your block device (e.g., /dev/sdX or /dev/mmcblk0 ), point the tool at your image, and let it run. The script handles the heavy lifting—checking for the correct device type, verifying the Libre Computer signature (where applicable), and executing the write commands with sudo privileges.
Often used as a standalone UEFI image that can be flashed to a USB key, allowing Windows users to deploy OS images to eMMC modules more easily. Warnings and Best Practices Libre Computer Flash Tool - Tutorials & Guides
This example shows how to configure a device to skip the standard storage medium and boot directly from a high-speed external hard drive or generic ARM image:
Booting from External USB Device or BootROM Unsupported Device