Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gps week number rollover fix #34

Open
NH-Networks opened this issue Jun 3, 2021 · 8 comments
Open

gps week number rollover fix #34

NH-Networks opened this issue Jun 3, 2021 · 8 comments

Comments

@NH-Networks
Copy link

can you implement a gps week number rollover fix ??

@freshollie
Copy link
Owner

I don't know what this means, can you provide more detail?

@NH-Networks
Copy link
Author

NH-Networks commented Jun 3, 2021

@freshollie
Copy link
Owner

If you have root access, this app can set the system time to the GPS time. Not 100% sure this will stop the system from still using the inbuilt GPS time though.

@NH-Networks
Copy link
Author

NH-Networks commented Jun 3, 2021

If you have root access, this app can set the system time to the GPS time. Not 100% sure this will stop the system from still using the inbuilt GPS time though.

i have root access, the problem is that the time from gps is incorrect due to that bug and 1024 weeks need to be added, see java code example

@freshollie
Copy link
Owner

I saw, but is this specific app causing this? If not, I think this app will not have the same issues as described

@NH-Networks
Copy link
Author

No it's not app related, that app needs a fix also in code but i have no idea how... changes are needed in decompiled smali files i guess...

But time sync can be turned off in settings so that app will no overrule it... now i only need a other app that runs as a service that prevent time and date to fall back to "today date - 1024 weeks"

for more info on the issue see here:

https://www.reddit.com/r/LineageOS/comments/edz2oa/gps_week_number_rollover_bug_can_it_be_solved_in/

@freshollie
Copy link
Owner

Ah, tbh I've just had a look at my code and I don't even parse the "date" only the UTC time, so I don't think there is anything I can fix here.

@NH-Networks
Copy link
Author

Ah, tbh I've just had a look at my code and I don't even parse the "date" only the UTC time, so I don't think there is anything I can fix here.

ah dammit, had my hopes up that you tool could help me out, if you don't mind me asking is there anything you can do to help me out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants