GNSS does not enter operational mode for a long time.

56 views
Skip to first unread message

Иван Петров

unread,
May 13, 2026, 5:30:35 AM (11 days ago) May 13
to Automate for Android
Hello. I and many users of my app often encounter GPS signal jamming in their area (sometimes for over a day). After this, the phone can't determine its location for a long time (several hours), even though a nearby phone that wasn't using GPS at the time begins to locate quickly. I suspect this is due to incorrect information received by the module while the GPS jammer was active. How can this be fixed using Automate?
my app: https://llamalab.com/automate/community/flows/51860
Message has been deleted

Henrik "The Developer" Lindqvist

unread,
May 13, 2026, 8:57:04 AM (11 days ago) May 13
to Automate for Android
I doubt there's much Automate can do to overcome GPS jamming, since it's an hardware issue.
Try using the Location provider set state block to toggle the GPS off the on again. 

Иван Петров

unread,
May 13, 2026, 10:20:14 AM (11 days ago) May 13
to Automate for Android
My objective is not so much to combat the GNSS jammer itself, but rather to detect—and provide notification—the moment it ceases operation. The phone remains stationary; it knows its coordinates and recognizes when the signal is being jammed. However, after the jammer has been active for an extended period, the device takes a long time to return to normal operational mode—possibly due to the GNSS cache or something similar; I am not entirely sure. Unfortunately, toggling access to the GNSS receiver on and off does not resolve the issue. Is there perhaps a way to force the module to refresh its almanac and ephemerides? Or something along those lines?

среда, 13 мая 2026 г. в 15:57:04 UTC+3, Henrik "The Developer" Lindqvist:

мJ ZЖУ

unread,
May 13, 2026, 11:11:07 AM (11 days ago) May 13
to Automate for Android
Depend on your device type if you only use GNSS or other than it may have different refresh time have you try update the A-data?

Иван Петров

unread,
May 13, 2026, 11:16:22 AM (11 days ago) May 13
to Automate for Android
Block "Location get" uses GPS, and Max fix age is set to 0. How can I update A-GPS from Automate?

среда, 13 мая 2026 г. в 18:11:07 UTC+3, мJ ZЖУ:

Henrik "The Developer" Lindqvist

unread,
May 13, 2026, 1:07:17 PM (11 days ago) May 13
to Automate for Android
No, not in the public Android API for what i can see: https://developer.android.com/reference/android/location/LocationManager
There's a hidden API, requiring root/ADB, to inject "corrections", but i have no idea what it's for nor how and if it works, see: https://cs.android.com/android/platform/superproject/+/android-latest-release:frameworks/base/location/java/android/location/GnssMeasurementCorrections.java

мJ ZЖУ

unread,
May 14, 2026, 3:43:28 AM (10 days ago) May 14
to Automate for Android
If you still not certain about GNSS fix there's measure app which could check operation in background.


Maybe you could turn it off when location is good.
Reply all
Reply to author
Forward
0 new messages