FreeCalypso host tools

Install dependencies:

sudo apt install build-essential mercurial wget

Create working directories:

mkdir ~/freecalypso
sudo mkdir /opt/freecalypso
sudo chown $(id -u):$(id -g) /opt/freecalypso

Download and install the FreeCalypso host tools:

release=r10
 
cd ~/freecalypso
wget ftp://ftp.freecalypso.org/pub/GSM/FreeCalypso/fc-host-tools-$release.tar.bz2
mkdir fc-host-tools-$release
tar -xf fc-host-tools-$release.tar.bz2 -C fc-host-tools-$release
 
cd fc-host-tools-$release
make
make install
 
cd ~/freecalypso
rm -r fc-host-tools-$release

Download and install the battery charging configuration files:

cd ~/freecalypso
hg clone https://bitbucket.org/falconian/fc-battery-conf
 
cd fc-battery-conf
make install
 
cd ~/freecalypso
rm -r fc-battery-conf