considering the F1 is GSI/Treble compatible, you can probably follow this tutorial
https://xdaforums.com/android/development/psa-project-treble-t3917284
but use firmware from here instead
https://community.umidigi.com/forum.php?mod=forumdisplay&fid=217