fix GPS issues on Aosp and stock ROMs