NOTE: GUIDE IS A WIP AND WILL WIPE YOUR LIBREM 5
Put Librem 5 in flashing mode
- To put the phone into flash mode, unplug charging cable, remove battery, hold the Vol+ button and then re-insert battery and plug in USB cable to computer.
lsusb | grep NXPin Tilix/Terminal
- If you see
Bus 001 Device 012: ID XXXX:XXXX NXP Semiconductors i.MX 8M Dual/8M QuadLite/8M Quad Serial Downloaderthen you're good. If not, try flipping the USB-C cable going into the phone and try again.
Setup and flash your Librem 5
- In Tilix/Terminal, run
sudo apt install librem5-devkit-hostto install the required dependencies.
cd ~/to make sure you're in your HOME directory.
wget https://source.puri.sm/Librem5/librem5-devkit-tools/-/raw/master/scripts/librem5-flash-imagefor the script that flashes the phone.
- To make it executable, run
chmod +x librem5-flash-image
- Finally, run
./librem5-flash-image --board librem5r3to flash your phone. Use
librem5r2for Birch & Chestnut.
- It'll take a few minutes. Once it shows
Done, pull the USB-C cable from the phone, pull and re-seat the battery. Your Librem 5 will boot up with the latest image.