How to Use Flashli

Print
You are here:

Overview

The Vault supports standard AMI BIOS as well as coreboot BIOS. It is possible to update BIOS in the field and it is possible to change from AMI to coreboot and back.  There is always a certain degree of user error when manually flashing the BIOS. If an error occurs when attempting to flash a Vault, it is possible to render the device useless. To reduce the risk of user error, Protectli has produced a script that will flash AMI or coreboot to supported Vaults. Protectli’s script, also known as “Flashli”, allows users to automate the flashing process.
Flashli is a python script that runs on Linux. It uses  the “flashrom” program to flash the BIOS. The script automatically identifies the platform and selects the correct BIOS file. Ubuntu 20.04 and Debian 10 buster have been tested with Flashli.

Note: Flashing new firmware onto any hardware is potentially dangerous in that if the procedure is interrupted or otherwise not able to complete, your hardware may be rendered useless. Please proceed with caution only after fully understanding each step of the following instructions. If there are any questions, please contact Protectli support BEFORE proceeding.

Protectli can not be held responsible for devices that are rendered unusable as a result of flashing the BIOS.  If your devices becomes unusable as a result of a BIOS flashing operation, we will help recover the device, but the customer will be responsible for all shipping costs. 

Flashli BIOS Flash Support

Flashli recent version: 1.1.2

Flashli will flash the following AMI or coreboot BIOS

ModelAMI coreboot
FW1BTL4A012N/A
FW2BTL4A012N/A
FW4AE38L4A12N/A
FW2BBSW4L009v4.9.0.1
FW4BBSW4L009v4.12.0.5
FW6AKBU6LA09v4.12.0.4
FW6BKBU6LA09v4.12.0.4
FW6CKBU6LA09v4.12.0.4
FW6DKBR6L 1.32v4.12, 1.0.6
FW6EKBR6L 1.32v4.12, 1.0.7

 

 

Get Flashli using Ubuntu LiveCD with Firefox

Flashli is located on github, a site used for uploading and sharing code.  To download the Flashli files you can access github through [here].

One way to use Flashli is by using Ubuntu LiveCD, which allows you to use Ubuntu without installing the OS. To use LiveCD  you have  to create a bootable USB drive.  Here is how you can create a bootable USB drive [Link].

Ubuntu has to be in Legacy mode for Flashli to work.

  • When Booting the Vault press F11 at the Protectli splash screen.
  • Verify the boot menu is displayed.
  • Select the USB drive and does not have UEFI.
  • Verify that the option is highlighted.

  • Verify the unit boots up to the Ubuntu install screen
  • Select “Try Ubuntu”.

  • Verify the Ubuntu desktop is displayed

  • Verify the Firefox browser icon is displayed
  • Select the Firefox browser

  • Verify the Firefox browser is displayed.

  • Verify a dropdown menu appears
  • Select “Download Zip”

  • Verify the “Save File” window appears
  • Select “Save File”, press “OK”.

 

  • To navigate to the download folder, click on the folder icon.

  • Verify the windows folder appears.
  • Select the “Downloads” folder

  • Verify the protectli-firmware-updater.zip appears.

  • Extract file, right click protectli-firmware-updater.zip and select “extract here”.
  • Verify that protectli-firmware-updater folder appears.

  • Navigate to the protectli-firmware-updater folder
  • Verify that “flashli”, “images” and “vendor” folders are present.
  • Verify that “flashbios” file is present

To Run Flashli

  • Right click anywhere in the white space (not including the left gray area) and select open terminal.
  • Verify the terminal appears.

 

 

  • In the terminal type the following command and press enter to run the script:

#sudo ./flashbios

  • Verify that the Flashli menu appears.
  • Select the option that is applicable.

  • Verify the script is running.
  • Verify that messages “flash completed and successful” and “please restart your device appear”.
  • Restart the device

 

If the flash has failed DO NOT turn off or restart the Vault and run the script again from the instruction above.

Table of Contents