Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
**NOTE: GUIDE IS A WIP AND WILL WIPE YOUR LIBREM 5**
**NOTE: GUIDE IS A WIP AND WILL WIPE YOUR LIBREM 5**
## Put Librem 5 in flashing mode
## 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.
* 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
## Setup and flash your Librem 5
* Run `sudo apt install librem5-devkit-host` in Tilix/Terminal.
* In Tilix/Terminal, run `sudo apt install librem5-devkit-host`
* Run `wget https://source.puri.sm/Librem5/librem5-devkit-tools/-/raw/master/scripts/librem5-flash-image`
* Then `wget https://source.puri.sm/Librem5/librem5-devkit-tools/-/raw/master/scripts/librem5-flash-image`
*`chmod +x librem5-flash-image`
* To make it executable, run `chmod +x librem5-flash-image`
* Then run `./librem5-flash-image --board librem5r3` for Dogwood.
* FInally, run `./librem5-flash-image --board librem5r3` to flash your phone.