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 not working [Solved] #15

Open
magdesign opened this issue Aug 11, 2021 · 8 comments
Open

GPS not working [Solved] #15

magdesign opened this issue Aug 11, 2021 · 8 comments

Comments

@magdesign
Copy link

magdesign commented Aug 11, 2021

Device: Oneplus 6 (A6003)
OS: Ubuntu 16.04 (2021-07-31/2) stable channel

Apps using GPS are not finding GPS at all, even after leaving them open for a full day.
In terminal, after entering
test_gps

I get:

*** setup signal handler ***
*** get gps interface ***
GPS interface not found :(
Bye!

Location detection is on,
also tried with wifi enabled and disabled and
with switching to RC channel... nothing did help.

Do I need to install a GPS driver or something?
Any help very welcome.

@MrCyjaneK
Copy link
Member

It's also not working on droidian, however it worked some time ago on ut, back in the days when we were using GSI...

@ljrichards1066
Copy link

This also happens on my 6T. I can also confirm that, when i was using the GSI, the location services worked quickly and easily.

@MrCyjaneK
Copy link
Member

@erfanoabdi have you applied some patches to the systemimage/rootfs to make GPS work?

@MrCyjaneK
Copy link
Member

currently gps is not even working under waydroid

@magdesign
Copy link
Author

magdesign commented Aug 15, 2021

It seems to be working now ;-)

What I did:

sudo ubports-qa install xenial_-_locationbg
this will remove libc-ares2 (dont know if this info is important)

Then enabled everything like location, mobile data, wifi...
rebooted the phone several times...
Going out for a few hours, check location with puremaps... voila.

@magdesign magdesign changed the title GPS not working GPS not working [Solved] Aug 15, 2021
@MrCyjaneK
Copy link
Member

I'm wondering how I'll do that on droidian, lol ;p but good it works on ut

@magdesign
Copy link
Author

Lets us know if you figure it out!
Maybe digging in this pull request might lead you into a direction:
https://gitlab.com/ubports/core/lomiri/-/merge_requests/6
https://forums.ubports.com/topic/6191/call-for-testing-background-location-updates?_=1629051082654&lang=en-US

@magdesign
Copy link
Author

This workaround does not work anymore on OTA-21 or newer.
When applying sudo ubports-qa install xenial_-_locationbg the phone will hang at kernel boot-screen...
Therefore reopening the issue.....

@magdesign magdesign reopened this Feb 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants