Modern Apps git

← Modern-Apps.git

networklocation: pin wifi-v3.wpsdb built from the Apple crawl

Commit
3a688ed4de1880e2e70454462e2103ab02c4ec8a
Author
Vayun Mathur <[email protected]>
When
2026-10-31 03:38 UTC (1 month ago)
Parents
92003c0
The WiFi store at data.maproj.org/wps/wifi-v3.wpsdb was rebuilt from
the worldwide crawl and uploaded 2026-10-31, replacing the 177-record
test store the old pin pointed at: 353,381,636 BSSIDs, 5.12 GiB
(124.6 bits per beacon).

Source: every land z13 tile from Apple's wifi_request_tile endpoint
(68.6M APs), then one gs-loc WLOC query per tile AP not already seen as
a neighbour, giving 559,004,089 unique devices with accuracy and
altitude. wps_build dropped 205,622,453 randomized/multicast MACs and
no movers (each device is recorded once, at first sight).

The new store is already live at the production URL, so the old pin
would make fresh downloads fail hash verification. Format unchanged:
WPSDB2 kind-2 payload, 48-bit MAC keys.

Devices that already downloaded the stub count it as installed and will
not refetch it; clear the app's data on those to pick up the real store.

Verified: wps_build read-back of all 353,381,636 records, SHA-256 of
the R2 object matches the local build, and the public URL serves the
new file at full length.

Diff

networklocation/src/main/java/com/vayunmathur/networklocation/OfflineDatabases.kt
diff --git a/networklocation/src/main/java/com/vayunmathur/networklocation/OfflineDatabases.kt b/networklocation/src/main/java/com/vayunmathur/networklocation/OfflineDatabases.ktindex a8e24b7c29..04a24487d9 100644--- a/networklocation/src/main/java/com/vayunmathur/networklocation/OfflineDatabases.kt+++ b/networklocation/src/main/java/com/vayunmathur/networklocation/OfflineDatabases.kt@@ -63,7 +63,7 @@ object OfflineDatabases {         GEOCODER -> "6032d718e3553d4790c35339adaca3bc0f3087b5db59ba6838abaa8a376647b4"         // A device that has a store counts it as installed and never refetches it, so new         // content for a beacon store must ship under a new filename, not just a new hash.-        WIFI -> "c8aa83f577d90d250d76912df2adde8a8e0d0bc0dcb4c87fe9e9916a59e822db"+        WIFI -> "38ceeca09ee161a72444d5227318acdade364434e906e199a675311d0fe5f96a"         CELL -> "831a0b961e0c37ba1b65f53bd79c70bba0fdb6698cae0cf5b6857042ab253ae7"         else -> null     }