[GH-ISSUE #94] Location data always "not available" #64

Closed
opened 2026-02-26 21:31:40 +03:00 by kerem · 1 comment
Owner

Originally created by @lbdroid on GitHub (Jan 4, 2023).
Original GitHub issue: https://github.com/seemoo-lab/AirGuard/issues/94

Background:
Pixel 6 Pro running GrapheneOS, withOUT google services.

Rationale:
Objective is to maximize privacy by decreasing the ability for anyone/anything to track the device, including google. This is very much consistent with the purpose of AirGuard, to find things that may be tracking you so you can disable them.

Issue:
Without google services, network/celltower based approximate location is entirely unavailable, which means that GPS is the only option for determining the device's position.

GPS takes a while to lock on. If depending on a GPS fix, enough time has to be provided in order for it to work most of the time, at least when conditions permit.

Pixel 6 Pro typically takes around 15-20 seconds. It could take more if conditions are challenging. AirGuard appears to time out the location request at 8 seconds, which is just not enough time for a GPS lock on most devices unless its already warm or locked.

Solution: Increase GPS timeout to substantially higher value, such as 1 minute, which is probably high enough most of the time for most devices when outside but in a pocket, and likely not the end of the world if indoors where signal is just not good enough.

https://github.com/seemoo-lab/AirGuard/blob/main/app/src/main/java/de/seemoo/at_tracking_detection/detection/ScanBluetoothWorker.kt#L252

Originally created by @lbdroid on GitHub (Jan 4, 2023). Original GitHub issue: https://github.com/seemoo-lab/AirGuard/issues/94 Background: Pixel 6 Pro running GrapheneOS, withOUT google services. Rationale: Objective is to maximize privacy by decreasing the ability for anyone/anything to track the device, including google. This is very much consistent with the purpose of AirGuard, to find things that may be tracking you so you can disable them. Issue: Without google services, network/celltower based approximate location is entirely unavailable, which means that GPS is the only option for determining the device's position. GPS takes a while to lock on. If depending on a GPS fix, enough time has to be provided in order for it to work most of the time, at least when conditions permit. Pixel 6 Pro typically takes around 15-20 seconds. It could take more if conditions are challenging. AirGuard appears to time out the location request at 8 seconds, which is just not enough time for a GPS lock on most devices unless its already warm or locked. Solution: Increase GPS timeout to substantially higher value, such as 1 minute, which is probably high enough most of the time for most devices when outside but in a pocket, and likely not the end of the world if indoors where signal is just not good enough. https://github.com/seemoo-lab/AirGuard/blob/main/app/src/main/java/de/seemoo/at_tracking_detection/detection/ScanBluetoothWorker.kt#L252
kerem closed this issue 2026-02-26 21:31:40 +03:00
Author
Owner

@Sn0wfreezeDev commented on GitHub (Jan 23, 2023):

An Update fixing this is coming soon.

<!-- gh-comment-id:1400078487 --> @Sn0wfreezeDev commented on GitHub (Jan 23, 2023): An Update fixing this is coming soon.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AirGuard#64
No description provided.