Flash Samsung phone with LinageOS from a Debian computer.
This is not a complete guide, this just documents how I got things done. I'm
using heimdall
instead of Samsungs official odin
tool. Follow the official
Linage guide for your specific Samsung device from LinageOS wiki. There's what
I ended up doing to get my phone flashed:
sudo apt install adb heimdall
# make sure phone is fully chared
# boot phone into fastboot mode
# connect phone with usb to my computer
heimdall flash --RECOVERY recovery.img
# boot phone into recovery mode
# do a fatory reset on the phone as discribed in the wiki in recovery
# start sideload mode in recovery
adb sideload Downloads/lineage-...-signed.zip