EDK2 for F(x)tec Pro 1 and similar MSM8998-based devices
Based on zhuowei's port for Pixel3XL (https://github.com/Pixel3Dev/edk2-pixel3/) with further work from fxsheep (https://github.com/fxsheep/edk2-sagit).
Can load GRUB2 from a fat partition on the UFS.(/firmware is tested,you can also format the useless /cust for it)
Tested on Ubuntu 18.04.
First, clone EDK2.
cd ..
git clone https://github.com/tianocore/edk2.git --recursive
git clone https://github.com/tianocore/edk2-platforms.git
You should have all three directories side by side.
Next, install dependencies:
18.04:
sudo apt install build-essential uuid-dev iasl git nasm python3-distutils gcc-aarch64-linux-gnu
Also see EDK2 website
Finally, ./build.sh.
Then fastboot boot uefi.img.
SimpleFbDxe screen driver is from imbushuo's Lumia950XLPkg.