at3274 I'm assuming so, but did you verify that location worked on stock before flashing? Could it be a hardware problem, at least for GNSS?
I like the FOSS app GPSTest, which shows all the GNSS satellites which are being received, and information about them. I see as many as 22 satellites on my P7P. It may be useful for debugging. That temporarily dropped to two after my phone recently got damp while outside.