I can't edit my first post, so this is the UP TO DATE TUTORIAL :
How to install UB T - Ubuntu Touch - UBPorts on a Poco X3 Pro - Vayu
- Unlock bootloader
- Install TWRP or OrangeFox
- Install a global MIUI 12.5.9 with Android 11 (to be sure all is ok) http://xmfirmwareupdater.com/miui/vayu/stable/V12.5.9.0.RJUMIXM/
- Download Artefact on github : devel-flasable-focal (to see the last version is here
- Extract the zip
- Download the vendor from Droidian vayu 100 or take the last one here : Droidian git (it is the Sailfish one, and I don't find it on UBT) It is the MIUI with some fix for Linux on phone. You could try just the adaptation images, but not tested : Adaptation for Poco X3 Pro codename Vayu
- Extract the zip
- Reboot your phone in recovery
- Reboot in fastboot from recovery so it is fastbootd (Android fastboot, don't works)
- From the Ubuntu zip : Upload with fastbootd on phone boot.img as boot-
- From the Droidian zip : Upload with fastbootd on phone vendor.img as vendor, dtbo.img as dtbo, vbmeta.img as vbmeta
- on TWRP format data to remove encryption, and put ubuntu.img in data folder (/data).
With MTP on TWRP for example (you copy it from you computer and you could find in /data/media. (It could need a reboot to recovery, after a format to see the media folder)
Or with ADB : adb push ubuntu.img /data/ - Reboot phone
- Enjoy !
The mic sound seem to be lower than Droidian, so a fix could be taken on Droidian.
EDIT : Sorry, we don't have to flash system partition, UBT use the ubuntu.img in /data.
?