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.
- Run
lsusb | grep NXP
in Tilix/Terminal - If you see
Bus 001 Device 012: ID 1fc9:012b NXP Semiconductors i.MX 8M Dual/8M QuadLite/8M Quad Serial Downloader
then you're good. If not, try flipping the USB-C cable going into the phone and trying again.
Setup and flash your Librem 5
- In Tilix/Terminal, run
sudo apt install librem5-devkit-host
- Then
wget https://source.puri.sm/Librem5/librem5-devkit-tools/-/raw/master/scripts/librem5-flash-image
- To make it executable, run
chmod +x librem5-flash-image
- Finally, run
./librem5-flash-image --board librem5r3
to flash your phone.