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

GPS Location not working (OP6) (OTA-21)

Scheduled Pinned Locked Moved Solved Oneplus 6/6T
7 Posts 4 Posters 632 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.
    • M Offline
      magdesign
      last edited by magdesign 13 Feb 2022, 10:30

      GPS location does not work anymore on OTA-20 or newer (OP6)

      On older OTA versions we could apply this patch:

      sudo ubports-qa install xenial_-_locationbg
      

      and reboot and we had working GPS service.

      However, if I apply this patch now, the phone will stuck on 'unlocked bootloader' as we had on older OTA versions. I do not know why the merge request was not applied back then.

      However,
      @mardy : any chance to get an update of your fix, or even better an explanation what your fix does (since people on droidian are interested too).

      Would this patch be needed too?

      Any chance of getting instructions to apply the changes by hand?
      Thanks everyone for helping on this.

      Oneplus 6 (A6003)
      UBports 16.04 RC 2021-W32

      1 Reply Last reply Reply Quote 0
      • M magdesign marked this topic as a question on 13 Feb 2022, 10:30
      • M Offline
        mardy
        last edited by 14 Feb 2022, 16:37

        Hi, I've now updated the repository with newly-built packages, please try. 🙂
        I'm not using these changes myself; I was hoping that they could get merged quickly, but people raised concerns that this change effectively means that all websites would now continue working in the background if one website is using the location, which is not desirable. But unfortunately I don't have enough time (and motivation) to fix that, so I'm afraid this won't be merged soon. 😞

        M 2 Replies Last reply 15 Feb 2022, 00:26 Reply Quote 1
        • M Offline
          magdesign @mardy
          last edited by 15 Feb 2022, 00:26

          @mardy Thanks for your super fast replay and help!

          I made an

          sudo apt-get clean
          

          and then

          sudo ubports-qa install xenial_-_locationbg
          

          on OTA-21

          Sadly, after doing this, the phone got again stuck in unlocked bootloader screen and I had to reflash with ubports installer.
          Will try again when OTA-22 is on stable.
          or did I something wrong? (I guess the bootloader stuck was fixed in kernel...)

          Oneplus 6 (A6003)
          UBports 16.04 RC 2021-W32

          1 Reply Last reply Reply Quote 0
          • S Offline
            SevralT
            last edited by 15 Feb 2022, 19:17

            You needn't install this patch. All works out-of-box and works perfect.

            K M 2 Replies Last reply 15 Feb 2022, 20:37 Reply Quote 0
            • K Offline
              Keneda @SevralT
              last edited by 15 Feb 2022, 20:37

              @sevralt
              Well, it seems that don't work so well for him so he tries stuff...

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

              1 Reply Last reply Reply Quote 0
              • M Offline
                magdesign @SevralT
                last edited by 19 Feb 2022, 09:39

                @sevralt
                are you for sure on OnePlus 6 ?
                What do you get when typing in terminal:

                test_gps
                

                Oneplus 6 (A6003)
                UBports 16.04 RC 2021-W32

                1 Reply Last reply Reply Quote 0
                • M Offline
                  magdesign @mardy
                  last edited by 19 Feb 2022, 10:40

                  @mardy
                  Just tried again after updating to OTA-22.

                  Everything works, I do have running GPS !!!
                  Thank you very much for updating, this is a great help for me to not get lost in the woods 😉

                  Oneplus 6 (A6003)
                  UBports 16.04 RC 2021-W32

                  1 Reply Last reply Reply Quote 1
                  • M magdesign has marked this topic as solved on 19 Feb 2022, 10:40
                  7 out of 7
                  • First post
                    7/7
                    Last post