Steps to perform:
On your computer with GNU/Linux system:
- Install the package
uuu
, on PureOS and other Debian based systems, from a terminal run the command:sudo apt install uuu
- Open terminal and run command:
mkdir jumpdrive && cd jumpdrive
(creates new folder and changes location to it) - Download:
wget https://github.com/dreemurrs-embedded/Jumpdrive/releases/download/0.8/purism-librem5.tar.xz
- Unpack:
tar -xf purism-librem5.tar.xz
- Put the Librem 5 in uuu mode:
- Ensure that the phone is switched off.
- Turn all Hardware-Kill-Switches off
- Remove battery
- Hold volume-up
- Insert the USB-c cable: (red light blinks, no green light)
- Reinsert the battery: (red light is constantly on, the script will continue)
- Release volume-up
-
To confirm that the device is in
uuu
mode, in the terminal run the commandlsusb
and search the following for an entry like:
001 Device 106: ID 1fc9:012b NXP Semiconductors i.MX 8M Dual/8M QuadLite/8M Quad Serial Downloader
-
Run the script:
sudo ./boot-purism-librem5.sh
-
Once it is run the L5 will show up as an external drive
-
There will be a 465 MiB drive and a 28.7 GiB drive: open the 465 MiB one
-
Delete “initrd.img” and “vmlinuz”
-
Rename “initrd.img.bak” to “initrd.img”, rename “vmlinuz.bak” to “vmlinuz”
-
At that point you should be able to unmount the external drive and reboot normally
Once you get the device booted you should clean up the failed parts, so run these commands in terminal, one by one:
- sudo apt remove linux-image-5.13.0-1-librem5
- sudo flash-kernel