Are you suggesting to do it on the phone through the computer?
I don’t yet have a host computer. I may buy a USB stick and try live booting it at the same time and maybe do it from there.
I personally would be preparing the µSD card on a host computer.
If you have no big computer that runs Linux and don’t feel like attempting to do it with a computer that normally runs Windows but instead on this occasion would be Live Booted into an appropriate Linux distro (e.g. Ubuntu or PureOS) … then you can do those commands on the Librem 5 (and that is the beauty of running Linux everywhere) … with the following constraints that I can think of:
- You will be tying up over 8GB of the eMMC, at least temporarily, so you need that much free space + margin. (With more handstands, you can probably reduce that disk space requirement to over 4GB.)
- If you are currently using the µSD card slot on the Librem 5 for some other purpose then you must first reconfigure in order to free up the slot (and of course shut down in order to remove the existing card).
So I am trying this and am coming up with this:
sudo dd if=$HOME/Downloads/librem5r4.img of=/media/ubuntu/4221-724F/ bs=1M status=progress conv=fsync
dd: failed to open '/media/ubuntu/4221-724F/': Is a directory
Edit:
Q: What am I doing wrong?
A: I had the wrong device ID.
The image is now writing slowly to the disk
(I need detailed instructions on how to write the .img
to my uSD card. I am completely new to these types of things. If I know the the commands a can do it, otherwise I am sunk.)
So I tried booting it and all it does is turn the green led on and then just stays in the black phase.
What should I do?
Use my instructions:
But I don’t want to reflash, I just want to test out a new image
Okay, well you may want to follow the instructions you were using earlier, but this time using the correct device ID instead.
How big of an SD card do I need?
I have an 8GB card on hand and and 64 full of information in my L5.
The uncompressed image is under 8 GB. I vaguely recall it being 6.7 GB.
How would find my uboot version?
Edit: Never mind. I found it.
So I updated uboot but cat /proc/cmdline
still shows the old uboot version
Did you reboot the Librem 5?
multiple times
Okay, to confirm, this is the process to update uboot
:
- Download the .deb
- Install it
- Then execute this command:
sudo u-boot-install-librem5 /dev/mmcblk0
- Reboot the Librem 5
This comes up as un-supported file
This is what I used
How about this one?
Yeah I used that
Alright, what happens when you execute the code as root
?