Re-flashing the Librem Phone with Byzantium

If you just received a Librem 5 you probably have the latest software – including the new software that has a (mostly) working photos app, gps and a basic maps app! Development has continued on these devices but if you have one of the previous preorders you probably have been waiting on new updates and only getting a few standard package updates and no new apps 🙁

If you want to upgrade the phone in this case you need to re-flash it and wipe it with the newer version. Note this deletes everything and starts anew!

Their instructions here should be fine for some, but only if you have a very very new Ubuntu based system. If you have an older one such as Ubuntu 20.04 then you can get set up as shown below.

Continue reading “Re-flashing the Librem Phone with Byzantium”

Happy Twosday! and a Surprising Pi trick

In Ben Sparks’ video he shows a very interesting trick. On a decimal angle calculator run:

sin(1/5555)

If your calculator has more than the standard Ubuntu calculator’s digits of accuracy you could add even more repeating 5’s. The answer is approximately PI with extra zeros…

0.000003142

Since today is Twosday (2-22-2022 in any date format), here is a similar Tuesday math trick for the Python console:

from math import sin
sin(22/700000.0)

It is also .0003142… or approximately Pi!

Continue reading “Happy Twosday! and a Surprising Pi trick”

GTK Choice box with Glade and Python

There may be times you have a simple choice or listing in a GTK list box – for this example, in choosing a serial connection or other device. Glade is a good way to build an application window easily with an interface to build in to your app on Linux desktop, Ubuntu or Librem phone or other Linux based phones. I was able to use this to create a Winlink user interface for the previous tutorial to call up the Pat interface.

Continue reading “GTK Choice box with Glade and Python”

Makerfaire is coming up!

The past 18 months or so have been somewhat different as far as availability of in person gatherings, meetups and Makerfairs, etc. but this year there are some changes for the better… If you are interested in Machine learning and computer-vision projects, come look at a couple demos at the booth at Central Oregon Maker Fair, Nov 13-15th!