One known way to put open firmware or software on this device, easiest first. Each one links to the project's own instructions.
Before you start
Back up your data and settings (and the stock firmware, when the guide says how).
Check the exact model, hardware revision and firmware version against the guide: a close model may not work.
Charge the battery or use a stable power supply; do not unplug during the install.
Install LineageOS over USB (bootloader unlock)
Medium
Needs a cable or the command line
You need
Computer with adb and fastboot, USB cable
Device opened
No
Reversible
Partly
No longer maintained: there are no official builds, the guide has you build LineageOS from source. The bootloader must be unlocked first, which also wipes the device; some vendors make you request an unlock code or wait before unlocking. Installing wipes all data on the device: back it up first.
OpenDeviceDB links to each project's own instructions and tools; nothing is flashed from this site. Flashing is at your own risk and may void the warranty.