It is worth noting that most ROMs are not FLOSS, and include binary blobs for GPU drivers, RIL services, and wireless drivers. The build process of lineageos involves copying select blobs from the factory firmware of a sample phone. The only true "FLOSS" ROM project is FSF's replicant, which is only available from phones that are old enough to have been reverse engineered.