I made a port from LOS 20 sources for iode. I did a regular port for another custom ROM which is confirmed working…
Please try iode port:
iode-4.10-20240321-x1s.zip
https://sourceforge.net/projects/eosbuildsronnz98/files/OtherCustomROMS/iode-4.10-20240321-x1s.zip/download
Install instructions are assumingly the same as for LOS:
https://xdaforums.com/t/lineage-os-20-unofficial-for-sm-g981b.4625711/