Andorid Apps (arm, nano)
https://opengapps.org/?api=9.0&variant=nano
wget https://netix.dl.sourceforge.net/project/opengapps/arm/20200429/open_gapps-arm-9.0-nano-20200429.zip -P /tmp
Compile Heimdall (tested with v1.4.2)
sudo apt-get install -y build-essential cmake zlib1g-dev qt5-default libusb-1.0-0-dev libgl1-mesa-glx libgl1-mesa-dev
git clone https://gitlab.com/BenjaminDobell/Heimdall.git /tmp/Heimdall
cd /tmp/Heimdall
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
# test
cd bin/
./heimdall version
Boot phone to recovery mode
Vol- + Home + Power
Download recovery file
https://twrp.me/Devices/
wget https://dl.twrp.me/hlte/twrp-3.3.1-0-hlte.img -P /tmp
Flash LineageOS
https://wiki.lineageos.org/devices/hlte/install