If you are thinking of “5.13.0-1-librem5” as in the command “sudo apt remove 5.13.0-1-librem5” suggested by @mladen above, then I think it is supposed to be a package name, but I suspect that @mladen means “linux-image-5.13.0-1-librem5”, so my guess is that the command should be as follows:
sudo apt remove linux-image-5.13.0-1-librem5
You can use the “apt list” command to list available packages, for example like this to see installed kernels:
apt list | grep linux-image | grep installed
which should give a list of installed linux-image-* packages with different version numbers, then you can compare that to the output from “uname -a” to figure out which one of them is currently used.
Removing kernels can be fun but don’t get too carried away, it’s probably wise to keep at least one.
I did try to follow the procedure on my desktop (PopOS) just for testing purposes but I couldn’t do: ./boot-purism-librem5.sh
I had an error: Failure open usb device,Try sudo uuu
To make it work without sudo I had to add some udev rules:
SUBSYSTEMS==“usb”, ATTRS{idVendor}==“1209”, ATTRS{idProduct}==“4291”, MODE=“0660”, GROUP=“plugdev”
SUBSYSTEMS==“usb”, ATTRS{idVendor}==“0525”, ATTRS{idProduct}==“a4a5”, MODE=“0660”, GROUP=“plugdev”
SUBSYSTEMS==“usb”, ATTRS{idVendor}==“0525”, ATTRS{idProduct}==“b4a4”, MODE=“0660”, GROUP=“plugdev”
SUBSYSTEMS==“usb”, ATTRS{idVendor}==“1fc9”, ATTRS{idProduct}==“012b”, MODE=“0660”, GROUP=“plugdev”
Add my user to the plugdev group and reload udev: sudo udevadm control --reload-rules && sudo udevadm trigger
If that happens to anyone, just turn the phone off with long power button press and try again. Jumpdrive is using an older kernel which had a bug that made it sometimes not recognize internal storage, but it should work after at most a few tries.
Before launching that script, check lsusb for an entry like:
Bus 001 Device 106: ID 1fc9:012b NXP Semiconductors i.MX 8M Dual/8M QuadLite/8M Quad Serial Downloader
If it’s not there, it means that either your phone isn’t actually in flash mode, or there may be something wrong with USB cable/connection.
I’ve got it working I just wanted to make sure that no one else gets the same issue, do you or @joao.azevedo knows why I had to add 4 different devices to be able to launch the script without sudo?
For those interested: these steps above could actually be replaced with just “turn the phone on while holding volume-up button and plug usb cable in”, so you can try that first before doing the battery dance - however, the phone itself gives no indication that you actually succeeded and there may be some edge cases where it’s not so simple, so the official steps are slightly complicated to make the instructions more bullet-proof (at cost of being a bit annoying)
(just clarifying since I’ve seen people in the past asking about why is taking the battery out necessary )
I am a noob. I need to know clearly what I must do to recover all my phone number and all my appointements… my Librem 5. I still can’t do anything. My terminal say that he don’t detect any folder of that type after I try to run the scrip /boot-purism-librem5.sh
martin@Ephemere:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 04ca:300d Lite-On Technology Corp. Atheros AR3012 Bluetooth
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
martin@Ephemere:~$ /boot-purism-librem5.sh
bash: /boot-purism-librem5.sh: Aucun fichier ou dossier de ce type
martin@Ephemere:~$
Thanks to help me but… terminal say that :
martin@Ephemere:~$ ./boot-purism-librem5.sh
bash: ./boot-purism-librem5.sh: Aucun fichier ou dossier de ce type
martin@Ephemere:~$ sudo ./boot-purism-librem5.sh
sudo: ./boot-purism-librem5.sh : commande introuvable
martin@Ephemere:~$
Assuming that you start in your home directory, then you should have a directory jumpdrive in your home directory (and you cd to that directory) and into that directory you would download the .tar.xz file and then you unpack the .tar.xz file into that same directory.
You’ve created an extra directory (which is probably OK) and jumpdrive within that but everything else has ended up at the same level as jumpdrive and jumpdrive itself is empty.
Still, OK, you can probably make it work.
cd
cd Sauver\ Librem5
sudo ./boot-purism-librem5.sh
martin@Ephemere:~$ cd Sauver\ Librem5
martin@Ephemere:~/Sauver Librem5$ sudo ./boot-purism-librem5.sh
[sudo] Mot de passe de martin :
uuu (Universal Update Utility) for nxp imx chips – lib1.2.91
Librem 5 in serial download mode? I have made all the steps I think. And plug the librem5 holding the volume up and place the battery after… But you can see what the terminal say…