High level overview …
Pre-requisite: You’ll need an x86 (host) computer running a Linux distro.
The basic idea is that you boot Jumpdrive on your phone by having the phone download Jumpdrive via USB from a host computer.
Jumpdrive then exposes the phone’s internal eMMC drive as a USB device on the host (and if you have a uSD card inserted in the phone then Jumpdrive exposes the uSD card as a USB device on the host). You can then image those USB devices on your host computer to a file on your host computer (e.g. using dd
or probably Gnome Disks or other utilities).
Tip: If you are going to image a device on the host then make sure that the device is not mounted on the host. If the device mounted automatically or it mounted because of something that you did then you should umount
any relevant file systems before proceeding to image the device. Note that the internal eMMC drive will typically have two partitions and may therefore have two mounted file systems.
On the host computer you will need the uuu
command. That will either a) already exist, or b) be able to be installed with sudo apt install uuu
or c) need to be built from source. So your starting point is which uuu
to see whether the command is already available. If you need to build from source: https://source.puri.sm/Librem5/community-wiki/-/wikis/Building-uuu-and-Jumpdrive
You will need to download Jumpdrive (location given in the following linked post).
This and the rest of the procedure are ably covered at: Updated today , now phone won't turn on/start up (but ignore the context in which Joao was posting those instructions).
Jumpdrive can be used in a number of emergency situations. In some cases it may be possible to repair the damage that you have caused without having to restore a disk image. Restoring a disk image should usually be the last resort.