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

Position not working on GPS

Scheduled Pinned Locked Moved Xiaomi Mi A2
25 Posts 10 Posters 4.4k Views 1 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.
    • E Offline
      embeddedmz
      last edited by Keneda 2 Sept 2022, 12:48 2 Feb 2022, 09:33

      Hi,

      Position of the device doesn't work with Google Maps : after giving the permission, the loading animation doesn't disappear :

      screenshot20220202_102613842.png

      :crying_face:

      T L 2 Replies Last reply 2 Feb 2022, 11:58 Reply Quote 0
      • T Offline
        tchan @embeddedmz
        last edited by 2 Feb 2022, 11:58

        Hi,
        Why don't you use Unav or Pure maps?

        Xiaomi Redmi 7
        Samsung Galaxy note 4

        E 1 Reply Last reply 6 Feb 2022, 13:54 Reply Quote 0
        • L Offline
          Lakotaubp @embeddedmz
          last edited by 2 Feb 2022, 14:43

          @embeddedmz If you are running inside a container (WayDroid,Libertine) I would check the docs that a connection can be made to the location services on your phone. I am really not sure.

          1 Reply Last reply Reply Quote 0
          • A Offline
            arubislander
            last edited by 4 Feb 2022, 07:42

            Otherwise, I'd it is the first time using location after a boot, it might just take a while to get a fix. It might even not be able to do so if you are not outside, under unobstructed skies.

            πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
            Happily running Ubuntu Touch
            Google Pixel 3a (20.04 DEV)
            JingPad (24.04 preview)
            Meizu Pro 5 (16.04 DEV)

            1 Reply Last reply Reply Quote 1
            • E Offline
              embeddedmz @tchan
              last edited by embeddedmz 2 Jun 2022, 14:03 6 Feb 2022, 13:54

              @tchan It doesn't work wit uNav too. there's "Waiting for GPS" message that won't disappear 😞

              Can someone tell me how to communicate with the Xiaomi Mi A2's GPS chip (serial port ?) or 4G Modem (AT commands ?) to check if it's working ?

              1 Reply Last reply Reply Quote 1
              • E Offline
                embeddedmz
                last edited by 9 Feb 2022, 10:00

                Can an admin rename this to "Position not working".

                Thanks.

                K 1 Reply Last reply 9 Feb 2022, 12:48 Reply Quote 0
                • K Offline
                  Keneda @embeddedmz
                  last edited by 9 Feb 2022, 12:48

                  @embeddedmz done

                  2015-2023 : Meizu MX4 ☠️⚰️✝️
                  2023-2024 : Nexus 5 ☠️⚰️✝️
                  2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
                  πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

                  1 Reply Last reply Reply Quote 1
                  • D Offline
                    danilo748
                    last edited by 14 Feb 2022, 12:01

                    Hi everyone.
                    In my case, the GPS takes the right position but after it freeze! the position doesn't change.
                    I tried with uNav, PureMaps and SensorStatus.

                    Can anyone help me? Thanks

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      embeddedmz
                      last edited by 3 May 2022, 11:13

                      There is really no one who can give me information on how I can solve this problem? Should I contact Shouko (shoukolate) ? I will have a business trip soon and I would like to have a working GPS on my smartphone.

                      A M 2 Replies Last reply 3 May 2022, 12:10 Reply Quote 0
                      • A Offline
                        AppLee @embeddedmz
                        last edited by 3 May 2022, 12:10

                        Hi @embeddedmz

                        The usual steps to make GPS works as expected is to go outside in open field to get best GPS coverage possible.
                        Restart your device.
                        Then launch uNav or PureMaps.

                        The first fix can take some time between a couple minutes to half an hour depending on your location.

                        While waiting, be sure the screen stays on. You can disable the delay to screen saving, allow the app to run in background or (That's what I do) start a route in PureMaps (it forces the screen on when navigating).

                        If this doesn't work then maybe the port has no working GPS or your device has a hardware issue.
                        (I didn't check the features available for your device)

                        If this is a porting issue then maybe contacting the porter will give you and idea of what can be expected.
                        But I guess if it doesn't work it won't be easy to fix and the porter will need some motivation to endeavor in such a challenge...

                        1 Reply Last reply Reply Quote 1
                        • M Offline
                          mschmids @embeddedmz
                          last edited by mschmids 5 Mar 2022, 18:12 3 May 2022, 18:08

                          @embeddedmz works on my Xiaomi Mi A2 with e.g. uNav. So porting can be ruled out. As known, only after using Waydroid, UT needs to be restarted, to access the GPS.

                          E 1 Reply Last reply 4 May 2022, 10:42 Reply Quote 1
                          • E Offline
                            embeddedmz @mschmids
                            last edited by embeddedmz 5 Apr 2022, 11:10 4 May 2022, 10:42

                            @mschmids I didn't understand what you are saying.

                            Can I check if the GPS is working/responding by using the Terminal ?

                            C A 2 Replies Last reply 4 May 2022, 11:19 Reply Quote 0
                            • C Offline
                              cliffcoggin @embeddedmz
                              last edited by 4 May 2022, 11:19

                              @embeddedmz You are not helping yourself by failing to answer the questions that have been asked:
                              [1] Have you tried Puremaps or Unav?
                              [2] Have you left the phone outside for at least 20 minutes to get a signal?
                              [3] Have you looked at Sensor Status?

                              E 1 Reply Last reply 4 May 2022, 15:54 Reply Quote 0
                              • A Offline
                                AppLee @embeddedmz
                                last edited by 4 May 2022, 13:31

                                @embeddedmz
                                If you're using waydroid (and it seems you are), you need to reboot the phone in order to use the GPS with uNav or PureMaps.

                                And you also need to stay outside long enough to get a fix on your position (at least the first time after a reboot).

                                I hope it's more clear to you.

                                Note: If you search the forum, you'll find a command line to check the GPS. But it won't help unless you follow the step mentioned earlier or described by Cliffcoggin

                                1 Reply Last reply Reply Quote 0
                                • E Offline
                                  embeddedmz @cliffcoggin
                                  last edited by embeddedmz 5 Apr 2022, 15:55 4 May 2022, 15:54

                                  @cliffcoggin

                                  1. Yes I have tried Puremaps and Unav and GPS is not working
                                  2. Yes I left my phone near an opened window (+ I put something in front of the phone so it prevents the phone from locking) and after 20mn uNav is not responsive (I tapped on the button that allows me to locate my position) I tried also PureMaps and it failed to use the GPS to locate my position
                                  3. Do you mean if the GPS is enabled ? Yes of course it is.

                                  Otherwise, why do I have to wait 20 minutes ?? Why it's different from an Android Phone ?

                                  @AppLee I made sure to restart the phone. Since I have installed UT in December 2021, I have never succeed in using the GPS.

                                  L C MoemM 3 Replies Last reply 4 May 2022, 17:12 Reply Quote 0
                                  • L Offline
                                    Lakotaubp @embeddedmz
                                    last edited by 4 May 2022, 17:12

                                    @embeddedmz Sensor Status is an app avilable in the OpenStore. using it will tell younstraight away if GPS is working. Using it on my OP5 comes back as:
                                    source statue- no error
                                    name-ubuntu
                                    method-satalite

                                    E 1 Reply Last reply 5 May 2022, 17:54 Reply Quote 1
                                    • C Offline
                                      cliffcoggin @embeddedmz
                                      last edited by 4 May 2022, 17:13

                                      @embeddedmz Near an open window is not sufficient. The phone needs to be outside in the open air.

                                      1 Reply Last reply Reply Quote 1
                                      • MoemM Offline
                                        Moem @embeddedmz
                                        last edited by 4 May 2022, 20:00

                                        @embeddedmz said in Position not working on GPS:

                                        why do I have to wait 20 minutes ?? Why it's different from an Android Phone ?

                                        Android has A-GPS and we don't have that.

                                        Is currently using an Op5t
                                        Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

                                        1 Reply Last reply Reply Quote 2
                                        • E Offline
                                          embeddedmz @Lakotaubp
                                          last edited by 5 May 2022, 17:54

                                          @lakotaubp I got this : screenshot20220505_195146244.png

                                          1 Reply Last reply Reply Quote 0
                                          • E Offline
                                            embeddedmz
                                            last edited by 5 May 2022, 18:11

                                            Good news everybody. In sensor status, it displayed my position and then in uNav, I can locate my position in the map.

                                            Maybe sensor status unlocked something, I don't know

                                            Thank you all

                                            L 1 Reply Last reply 5 May 2022, 18:14 Reply Quote 0
                                            • First post
                                              Last post