The instructions below assume you are running Debian or any of its derivatives, such as PureOS, using the x86-64 architecture, and that your Librem 5 is from the Evergreen batch:
sudo apt install git uuu
git clone https://source.puri.sm/Librem5/librem5-flash-image.git
cd librem5-flash-image
sudo apt build-dep .
sudo ./scripts/librem5-flash-image --udev
./scripts/librem5-flash-image --stable
After the Byzantium image has been downloaded, you will see the following instructions:
Enter the flashing mode by holding volume-up button while turning the phone on.
If it's not detected, follow these steps:
- Ensure that the phone is powered off
- Turn all Hardware-Kill-Switches off
- Unplug the USB cable if connected
- Remove battery
- Hold volume-up button
- Insert the USB-C cable (red light blinks, no green light)
- Reinsert the battery (red and green lights constantly on, the script will continue)
- Release volume-up button
After following those instructions, the Byzantium image will be flashed onto the phone, so during these 10 or so minutes, take a break and grab a ${DRINK_OF_CHOICE} until the procedure is complete.