GPS Time is exactly 1024 weeks in the past, impacting devices with GPS chip coding time using 10bits
Expected Behavior
GPS Time should be ok, meaning returning current time and date.
Current Behavior
GPS Time is exactly 1024 weeks in the past. There is no impact on positioning, but affect all the GPS tracker applications, which rely on the GPS time. IMPORTANT: This issue impacts all devices with GPS chips that code time using 10bits Here is bellow a list of affected devices: https://rntfnd.org/2019/10/16/lookout-gps-rollover-problems-still-to-come-for-some-phones-and-pads/
Possible Solution
Maybe modify the GPS API code returning the GPS time. If time returned by GPS firmware is before 2nd GPS rollover (April 6th 2019) then it should be incremented by 1024 weeks (1024x7x24x60x60 seconds)
Steps to Reproduce
- Use SatStats available on F-DROID, the latest GPS fix date should be today which means your device is OK
- If the GPS fix time is 1024 weeks in the past (around 2000) the device is impacted by the bug.
/device hlte /version lineage-16.0 /date 2020-01-21 /kernel 3.4.113-lineageos-g9fc6b38 /baseband N9005XXUGBP1 /mods microG
I have read the directions.