Photogrammetry is very computationally expensive, I don't think current phones have what it takes to do it in an appropriate amount of time.
On PC, COLMAP is the OG suite, its data format is widely used even outside of COLMAP itself, for example in gaussian splatting or NeRf.
It's FOSS of course.