UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    GPS situation

    Scheduled Pinned Locked Moved Support
    19 Posts 7 Posters 1.9k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • AppLeeA Offline
        AppLee @pglushkov
        last edited by

        @pglushkov said in GPS situation:

        (on device or via mtp)

        It is available on most UT devices because of libhybris.
        It is available via adb shell or ssh, MTP is to expose the default data folder to your host computer.
        And yes it's also available on the device using the terminal app.

        Finally to be more accurate I should mention that both adb and ssh are technically on device.

        1 Reply Last reply Reply Quote 0
        • E Offline
          Edward Wilhelm
          last edited by

          The GPS has not been working on my phone since I installed ubuntu touch. None of the apps are able to obtain my location.
          I ran sudo test_gps
          It printed some information, and then finished by repeatedly printing

          tracking....
          tracking....

          I'm not really sure what you guys are talking about in this thread. Is there anything you guys can suggest I do to make apps have the ability to get my location? It would be very helpful if I could use pure maps et cetera.

          AppLeeA LakotaubpL 2 Replies Last reply Reply Quote 0
          • AppLeeA Offline
            AppLee @Edward Wilhelm
            last edited by

            @Edward-Wilhelm
            As suggested to the OP, instead of re-opening an old thread it's best to create one for your issue.

            Then you'll have to give some information for us to help you out.
            What is your phone ?
            What release of Ubuntu Touch, what channel are you on ?
            What tests have you done and what was the outcome ?
            What happens when you run Pure Maps ?

            The more details you give the more we can help.
            Be as specific as you can and tell us what you don't understand, we know many people are not tech savvy, but nonetheless we tend to take some things as common knowledge when it is not.

            E 2 Replies Last reply Reply Quote 0
            • LakotaubpL Offline
              Lakotaubp @Edward Wilhelm
              last edited by

              @Edward-Wilhelm The basic advice is to stop the device from sleeping when idle in battery settings, switching location settings on, granting permission to the app and leaving the device by a window or such till it gets a fix. This can take twenty mins or more.
              As @AppLee said the more info you can provide the better.

              1 Reply Last reply Reply Quote 0
              • E Offline
                Edward Wilhelm @AppLee
                last edited by

                @AppLee

                As suggested to the OP, instead of re-opening an old thread it's best to create one for your issue.
                I apologize. Now that people have responded to this do you want me to repost, or leave the discussion here?

                Then you'll have to give some information for us to help you out.

                What is your phone ?
                This is stated in every post I make as my signature.

                What release of Ubuntu Touch, what channel are you on ?
                These are also stated in my signature.

                What tests have you done and what was the outcome ?

                I ran sudo test_gps
                It printed some information, and then finished by repeatedly printing
                tracking....
                tracking....

                I have read and followed all of the documentation presented here: http://docs.ubports.com/en/latest/userguide/dailyuse/location.html

                What happens when you run Pure Maps ?
                An icon makes a spinning motion next to where I input current location.

                The more details you give the more we can help.
                I have tried putting my phone in places that are accessible to satellites, yet still in the shade as to not overheat the battery. I then go to pure maps and create a route from my current location, to an arbitrary location. An icon spins next to my current location. Today for the first time in a shady spot on the north side of my building it finally worked after 10 to 15 mins. It then worked very well for several hours, even in a moving automobile. Afterwards, I tried to use it again and I am back to the same spinning icon. It no longer works.

                LakotaubpL 1 Reply Last reply Reply Quote 0
                • E Offline
                  Edward Wilhelm @AppLee
                  last edited by

                  @AppLee

                  Also,
                  What is an "OP"?

                  I do not understand this abbreviation used in your sentence that follows.

                  "As suggested to the OP, instead of re-opening an old thread it's best to create one for your issue."

                  AppLeeA 1 Reply Last reply Reply Quote 0
                  • LakotaubpL Offline
                    Lakotaubp @Edward Wilhelm
                    last edited by

                    @Edward-Wilhelm Have you created an account and added the app key for that provider in Pure map settings. Try uNav for first location.

                    E 1 Reply Last reply Reply Quote 0
                    • AppLeeA Offline
                      AppLee @Edward Wilhelm
                      last edited by

                      @Edward-Wilhelm

                      OP here stands for Original Poster ; the one who created the thread.
                      Some people use it also to refer to the first message of the thread.

                      Well given those details, my guess is that you probably turned off the location service after the first use.
                      I let it turned on all the time to avoid having to let my phone out for 10-20min.

                      After a reboot and I guess after turning off the location service you'll have to go back to the long step of leaving your phone out in the open for tens of minutes.
                      Usually next time you'll use the GPS it will get your location within 5 minutes most of the time I'm under 2 minutes.

                      E 1 Reply Last reply Reply Quote 0
                      • E Offline
                        Emphrath @AppLee
                        last edited by

                        Be patient. For me, first fix after a reboot sometimes take one solid hour. After that it's fine. Actually what I do is everytime the phone reboots for some reason, I first search my location in Pure maps and wait for the fix, so that when I really need navigation it starts fast

                        E 1 Reply Last reply Reply Quote 0
                        • E Offline
                          Edward Wilhelm @Lakotaubp
                          last edited by

                          @Lakotaubp said in GPS situation:

                          @Edward-Wilhelm Have you created an account and added the app key for that provider in Pure map settings. Try uNav for first location.

                          No. I will look into this. Thanks.

                          1 Reply Last reply Reply Quote 0
                          • E Offline
                            Edward Wilhelm @Emphrath
                            last edited by

                            @Emphrath said in GPS situation:

                            Be patient. For me, first fix after a reboot sometimes take one solid hour. After that it's fine. Actually what I do is everytime the phone reboots for some reason, I first search my location in Pure maps and wait for the fix, so that when I really need navigation it starts fast

                            There was no reboot between it working and not working, and I never turned off location services. This is why I am quite perplexed.

                            I will keep playing around with it and see if I can figure something out. If I do, I will report back. All of your suggestions are very welcome. Thank your help.

                            KenedaK 1 Reply Last reply Reply Quote 0
                            • KenedaK Offline
                              Keneda @Edward Wilhelm
                              last edited by Keneda

                              @Edward-Wilhelm
                              Dumb question : are you trying GPS fixing indoor or outdoor?
                              Or under athermic windshield?

                              2015-2023 : Meizu MX4 ☠️⚰️✝️
                              2023-2024 : Nexus 5 ☠️⚰️✝️
                              2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                              🇲🇫🇬🇧

                              E 1 Reply Last reply Reply Quote 0
                              • E Offline
                                Edward Wilhelm @Keneda
                                last edited by

                                @Keneda
                                I do it outside because I want my phone to get line of site radio communication with the satellites.

                                Fun Fact: you can contact astronauts on the ISS with 3 watts of rms power on a handheld when they are over head. :beaming_face_with_smiling_eyes:

                                Also, if you want to talk me with audio, I have been known to monitor 27.32500 megahertz on double side band amplitude modulation from time to time. I may or may not be able to get out with 500 watts. Heck of a time when the sunspots are in line.

                                Sorry, its Friday and I'm on a rabbit trail.

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post