If you don't value your data you could just do a regular vendor upgrade followed by a regular Lineage installation. But if you value your current data/settings you need to do the following. (Please do a backup anyway. I guarantee for nothing)
If you don't have the MTK drivers and the SPFlash tool already installed follow the instructions from my other guide.
- Download the latest Stock ROM.
- Extract the downloaded zip to a folder of your choosing.
- Atom L Region EEA (european union)
- Atom XL Region EEA (european union)
- Atom L Region TEE (non-european union)
- Atom XL Region TEE (non-european union)
Attention: You need to make sure it is the corresponding release to your stock rom. Otherwise it will not boot (green bar on the top or other unexpected behaviours).
- Download
recovery.img
from the latest release page of your device. - Start
flash_tool.exe
. - Choose the scatter file from the directory you extracted the stock ROM into.
- Select
Download only
from the dropdown menu. - Deselect
super
,userdata
,boot
,vbmeta
,vbmeta_system
andvbmeta_vendor
. - Click on
recovery
and select therecovery.img
you downloaded for your device. - Hit
Download
. - Power down your phone.
- Connect your phone to your PC.
- Turn on your phone.
- The flashing should begin right away.
- Restart the phone and press vol up to boot into the recovery.
For the stock rom release 2021-05:
- Atom L Region EEA (european union)
- Atom XL Region EEA (european union)
- Atom L Region TEE (non-european union)
- Atom XL Region TEE (non-european union)
For the stock rom release 2021-11:
- Atom L Region EEA (european union)
- Atom XL Region EEA (european union)
- Atom L Region TEE (non-european union)
- Atom XL Region TEE (non-european union)
- Download
super-YYYY-MM-XXX.7z
from the release page of your device which corresponds with the latest stock rom release. - Extract the modified copy of
super.img
from the downloaded archive. - Open a terminal or a command line window.
- Run
adb push super.img /external_sd
on your PC. - In TWRP select
Install
. - Use
Select Storage
to switch to your SD card. - Use
Install Image
to switch to image installation mode. - Select
super.img
from the list. - Select
Super (Product, Vendor, System)
partition. - Swipe the slider on the bottom to the right to confirm.
- Atom L Region EEA (european union)
- Atom XL Region EEA (european union)
- Atom L Region TEE (non-european union)
- Atom XL Region TEE (non-european union)
- Download
lineage-19.1-XXX-UNOFFICIAL-YYY-signed.zip
from the latest release page of your device.
- From home screen in TWRP select
Advanced > ADB Sideload
. - Swipe the slider on the bottom to the right to confirm.
- Run
adb sideload lineage-19.1-XXX-UNOFFICIAL-YYY.zip
from your PC. - Wait for the process to finish. The recovery might prompt something about verification failure, just ignore it and continue anyway.
- Run
adb push lineage-19.1-XXX-UNOFFICIAL-YYY.zip /external_sd
on your PC or transfer the file beforehand onto your SD card. - From home screen select
Install
. - Use
Select Storage
to switch to your SD card. - Select the previously transfered file.
- Swipe the slider on the bottom to the right to confirm.
- (Optional) At this point, you can then install the latest Magisk and/or NikGapps at your will. If installing Magisk / NikGapps fails, you can try rebooting into recovery again in advanced menus, then try installing them again.
- Select
Reboot System
to reboot into LineageOS and enjoy. Note that Magisk might cause your device to boot loop once or twice but it will eventually boot.