[Xiaomi Poco X3 Pro] r0nr:
I managed to install LOS20 by first flashing back to the original MIUI 14 then doing the steps I described below. I still have the following questions

If you want to do re-flash from LOS20 what partitions do you need to wipe?

I have the following paritions: Dalvik/ART Cache , Metadata , Data , Internal storage , Cache , Micro SD Card, USB-OTG

I ALWAYS leave UNchecked: Internal storage, Micro SD Card, USB-OTG

On first boot of lineage, you get a question if you want to update the LINEAGE RECOVERY with every LINEAGE update I did not check the checbox (do not want to update lineage recovery) because it would replace TWRP. I really like twrp that is why I left it unchecked. But was was this assumption correct: checking the checkbox would replace TWRP with LINEAGE RECOVERY?

How do you install the poco x3 pro fastboot version using the fastboot comand? (google platform tools). I am refering to the fastboot firmware: 5.4GB - V14.0.2.0.TJUEUXM.

It is the zipfile: vayu_eea_global_images_V14.0.2.0.TJUEUXM_20230321.0000.00_13.0_eea_cf83d918a8.zip

Downloaded here: https://xiaomifirmwareupdater.com/archive/miui/vayu/

These are the steps I took to reflash from a clean state, you can skip this part.

It might be of use for others (?)

step 1:

Back to original firmware

Version"V14.0.2.0.TJUEUXM" because it is required: https://wiki.lineageos.org/devices/vayu/fw_update

Used this tutorial as a base to go back to the original firmware (V14.0.2..):

Eu firmware version, FASTBOOT downloaded here: https://xiaomifirmwareupdater.com/archive/miui/vayu/ -> sort 'Type' on 'Fastboot'

It is this version: V14.0.2.0.TJUEUXM 13.0 5.4 GB

EDIT:

NOTE:

This method requires miflash and miflash has it's issues, i resolved them using:

--------------------------

Issue 1: driver error when you start miflash

issue 2: when flashing fastboot firmware, error: Not catch checkpoint (\$fastboot -s *lock)

Resolve issue 1:

Create the folder "Log" at the executable location of miflash (this sounds strange but it actually worked)

Resolve issue 2:

In miflash -> Configuration >> MiFlash Configuration >> inputfield 'Checkpoint' -> remove: \$fastboot -s .* lock

--------------------------

step 2:

Apply the UPDATE from the MIUI firmware.

Go to this page: https://wiki.lineageos.org/devices/vayu/fw_update

Downloaded: POCO X3 Pro EEA - V14.0.2.0.TJUEUXM

From within the zipfile apply the update from folder "firmware-update"

Using the instructions on that page: "fastboot flash ..."

step 3:

Install twrp through fastboot

Xiaomi Poco X3 Pro

Disclaimer:Team Win strives to provide a quality product. However, it is your decision to install our software on your device. Team Win takes no ...

twrp.me

NOTE:

If you follow the exact steps on that page then after the reboot command

you MUST IMMEDIATELY hold the vol UP + powerbuttons to re-enter recover TWRP

or else the flashed recovery will be overwritten.

As an alternative you could

--- FLASH TWRP:

fastboot flash recovery twrp.img

--- REBOOT COMMAND:

fastboot boot twrp.img

However this last command to reboot command SEEMS to reflash then reboot into twrp.

I am not sure about this. But it worked with me.

(I don't mind the re-flashing)

step 4:

Install LOS,gapps,magisk

On an SDcard placed: LineageOS, MindTheGapps, Magisk (renamed to zip)

Then in twrp flashed in this order:

1. LineageOS

2. MindTheGapps

[ Format data ]

3. Magisk

The "format data" (I think) I saw in a Munchy youtube tutorial, and since that turial worked

I have been doing the 'format data' after gapps install evey LOS flash.

step 5:

Saftynet fix

From this tutorial I saw a safteynet-fix install: (it's tutorial about installing LOS20 but it also covers seftynet fix @14:40)

Download safteynet-fix: https://github.com/kdrag0n/safetynet-fix/releases

If you do it this way don't forget the final step from that youtube tutorial -> clear data google playstore and google play services

After everything is done reboot, download YASNAC through playstore and check if you passed saftynet.

(worked with me).