The OnePlus 6T uses the newer AB partition scheme. As such there is no recovery partition. Instead, the recovery is part of the boot image. We will install the latest stock OnePlus OxygenOS on both slots before installing custom ROM (LineageOS). You will temporarily boot TWRP to perform and later perform a more permanent TWRP installation.
adb reboot bootloader
You can also achieve this via a key combination: Enter-fastboot-recovery.
fastboot boot twrp-img-name.img
(don’t forget sudo if required). Wait for TWRP to start. Decrypt your data thanks to your PIN code. Swipe to allow system modifications.
adb push twrp-installer.zip /storage/
adb push stock-oos-10.zip /storage/
adb push twrp-installer.zip /storage/
adb push stock-oos-10.zip /storage/
adb push twrp-installer.zip /storage/
adb push los-10.zip /storage/
adb sideload twrp-installer.zip.
If you have a permission issue, execute adb kill-server to kill adb deamon on your computer, and then execute sudo adb devices. Deamon will start with sudo permission, and should list your device, showing that it is waiting for sideload. So re-execute the command.
adb sideload los-10.zip
PS: DO NOT BOOT IN OS JUST YET & CONTINUE WITH: