I don't think this will help but I came from galaxy Fre rom I did a GPS lock in Google maps then did a factory reset in twrp twice restarted twrp and installed CM restarted twrp then installed gapps and booted up. This is my first time to use AOSP (on this phone) . But my GPS works fine.