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

    Redmi Note 7 / State of play

    Scheduled Pinned Locked Moved Xiaomi Redmi Note 7
    59 Posts 10 Posters 15.7k Views 5 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.
      • Josele13J Offline
        Josele13 @FranzM
        last edited by Josele13

        @franzm I don't know if you mean that the gps doesn't turn on in Ut or that the app doesn't find your position,
        First you must turn on the GPS, try with the app and see if it turns on the GPS icon that changes to white.
        If the colour changes to white, turn off the phone, then turn on the phone and test again with the app, it should work.
        The gps should always be on, the app is the one that activates the location.
        Never press Restart the phone, turn off and turn on the phone, it works much better.

        The mobile phone usually takes between 20 seconds and a minute the first time you connect, then on the same day it takes considerably less time, about 10 to 15 seconds.

        Regards...

        Xiaomi Redmi Note 9 pro
        Oneplus Nord 100
        Xiaomi Redmi Note 7
        Nexus 5
        Bq E4.5 Ubuntu edition .... is dead

        FranzMF 1 Reply Last reply Reply Quote 1
        • FranzMF Offline
          FranzM @Josele13
          last edited by

          @josele13 I mean that 'test_gps" always returns "GPS interface not found :(" and that Pure Maps cannot find my position.

          Yes, when 'position' option is activated, and I launch Pure Maps, the position indicator turns to white. I followed your instructions, turned the RN7 off and on (you don't mean 'reboot' don't you?), then waited several minutes, but Pure Maps cannot locate my position (indicator still white). And 'test_gps' still says "GPS interface not found :(".

          Thank you for your help.

          Developer
          Nexus 5
          Redmi Note 7

          KenedaK Josele13J 2 Replies Last reply Reply Quote 0
          • KenedaK Offline
            Keneda @FranzM
            last edited by Keneda

            @franzm
            Are you doing all of this outside any building in an open wide to the sky ground ?

            GPS won't work indoors because A-GPS is not handled under uTouch, and in good conditions, outside and open wide sky, it can take several minutes to do first fix.

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

            FranzMF 1 Reply Last reply Reply Quote 0
            • FranzMF Offline
              FranzM @Keneda
              last edited by

              @keneda I don't think that this is the point.
              When I launch 'test_gps' on my Nexus 5 with UT, from exactly the same location (in my wooden house), it displays lots of init infos, such as "device info / name = loc_api GPS module", and then starts tracking satellites, and may or may not find them.
              I already tested the GPS location with my Redmi Note 7 that initially came with Android 10, and the GPS worked well, still inside my home. Since I flashed the RN7 with UT, 'test_gps' stops immediately with message "GPS interface not found :(", and therefore does not initiate any tracking step, which let me think that it's a matter of software/halium/drivers issue and not a question of location.

              Developer
              Nexus 5
              Redmi Note 7

              stanwoodS 1 Reply Last reply Reply Quote 0
              • stanwoodS Offline
                stanwood @FranzM
                last edited by stanwood

                @franzm Yes, this continues to make me think at a firmware issue.

                Are you on the French speaking Telegram UBports group?
                I can try to send you the right vendor.img file that worked for me. (I can not through this website)

                Edit: Did you well UNZIP the LineageOS
                lineage-16.0-20200226-lavender-vendor.zip file?
                Unlike a LineageOS installation, here the file must be unzipped before to be used in the installer.

                Redmi Note 9S Stable
                If God has a computer, it must be a GNU/Linux

                FranzMF 2 Replies Last reply Reply Quote 0
                • Josele13J Offline
                  Josele13 @FranzM
                  last edited by

                  @franzm I mean restart Ut, but not by pressing restart, you turn off the phone and then turn it on.

                  Regards....

                  Xiaomi Redmi Note 9 pro
                  Oneplus Nord 100
                  Xiaomi Redmi Note 7
                  Nexus 5
                  Bq E4.5 Ubuntu edition .... is dead

                  FranzMF 1 Reply Last reply Reply Quote 0
                  • FranzMF Offline
                    FranzM @stanwood
                    last edited by FranzM

                    @stanwood Thank you again for attempting to help me.

                    Yes, I unzipped the lineage-16.0-20200226-lavender-vendor.zip file, and flashed the 'vendor.img' file to the 'vendor' partition. I suppose it's not worth sending your 'vendor.img' to me, since it should be exactly the same one. Or does yours may be different?

                    Your question makes me doubt: the installer v0.8.8 does not ask for any vendor.img file, so after installation, one have to flash manually the vendor.img. Is this correct?

                    Developer
                    Nexus 5
                    Redmi Note 7

                    1 Reply Last reply Reply Quote 0
                    • FranzMF Offline
                      FranzM @stanwood
                      last edited by

                      @stanwood In Settings / About / OS Ubuntu 16.04 / Details, should the 3rd section ("Partie de l'image du peripherique" in French, could be "Vendor partition" in english) show a ref. to the lineage-16.0-20200226 vendor file?
                      On my RN7, it displays: 20211005-20810

                      Developer
                      Nexus 5
                      Redmi Note 7

                      stanwoodS 1 Reply Last reply Reply Quote 0
                      • stanwoodS Offline
                        stanwood @FranzM
                        last edited by stanwood

                        @franzm Ok nice. Well, once you have installed UT, the installer won't ask you for the vendor.img anymore - on any future installations - since it's already there. This request occurs only at the very first installation.

                        Concerning your second point, I don't have the exact same data than you (I'm on the stable channel).

                        Here is what I get:

                        Partie de l'image du périphérique:
                        20210910-14383

                        Not sure it will help you though...

                        Redmi Note 9S Stable
                        If God has a computer, it must be a GNU/Linux

                        1 Reply Last reply Reply Quote 0
                        • FranzMF Offline
                          FranzM @Josele13
                          last edited by

                          @josele13 Hi,

                          Please, could you go further with your explanation?

                          On your Redmi Note 7, if you restart your mobile on purpose, do you loose the GPS? I mean: after rebooting, does test_gps return 'GPS interface not found'?

                          And after that, you launch an app which requires the GPS, making the location indicator turn white, then you put your phone off (by a long press on the power button? or just screen off?), then put it on, and GPS starts working? (I suppose after having found satellites)
                          When it works, what does test_gps say?

                          I tried soft reboot, soft shutdown+restart, hard reboot (long press on power), simple screen off/on, but my GPS never works, and test_gps always returns "GPS interface not found".

                          I do not understand why it does not work on my RN7 😞

                          Developer
                          Nexus 5
                          Redmi Note 7

                          Josele13J 1 Reply Last reply Reply Quote 0
                          • Josele13J Offline
                            Josele13 @FranzM
                            last edited by Josele13

                            @franzm Pressing the restart button is not enough, the phone must be turned off completely,

                            • Turn on the GPS
                            • Open an app to locate you
                            • Turn off the phone
                            • Turn on the phone and use the app again to locate you,

                            The GPS icon should turn on in white and in 1 minute it should find your position,
                            you have to be outside any building.

                            Regards...

                            Xiaomi Redmi Note 9 pro
                            Oneplus Nord 100
                            Xiaomi Redmi Note 7
                            Nexus 5
                            Bq E4.5 Ubuntu edition .... is dead

                            FranzMF 1 Reply Last reply Reply Quote 0
                            • FranzMF Offline
                              FranzM @Josele13
                              last edited by

                              @josele13 Ok, thank you for the process. But it does not work on my RN7.

                              Developer
                              Nexus 5
                              Redmi Note 7

                              FranzMF 1 Reply Last reply Reply Quote 0
                              • FranzMF Offline
                                FranzM @FranzM
                                last edited by FranzM

                                SOLVED

                                I read through all the GPS topics on the Telegram channel, and understood that 'test_gps' could report "GPS interface not found" even when the GPS is working!

                                I did new tests, left my house, waited a few minutes outside and found that the GPS was working (Pure Maps or Google Maps). And indeed, in this state, 'test_gps' keeps saying "gps interface not found"... I thought it was trustworthy, but it is not!

                                So everything is fine, now.

                                Thanks to @Josele13

                                Developer
                                Nexus 5
                                Redmi Note 7

                                KenedaK Josele13J 2 Replies Last reply Reply Quote 1
                                • KenedaK Offline
                                  Keneda @FranzM
                                  last edited by

                                  @franzm said in Redmi Note 7 / State of play:

                                  left my house

                                  Told you try that...

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

                                  1 Reply Last reply Reply Quote 0
                                  • Josele13J Offline
                                    Josele13 @FranzM
                                    last edited by Josele13

                                    @franzm You're welcome, I'm glad the gps is working, enjoy your new mobile with Ut.

                                    Regards...

                                    Xiaomi Redmi Note 9 pro
                                    Oneplus Nord 100
                                    Xiaomi Redmi Note 7
                                    Nexus 5
                                    Bq E4.5 Ubuntu edition .... is dead

                                    1 Reply Last reply Reply Quote 0
                                    • stanwoodS stanwood marked this topic as a question on
                                    • stanwoodS stanwood marked this topic as a regular topic on
                                    • stanwoodS stanwood marked this topic as a question on
                                    • stanwoodS stanwood marked this topic as a regular topic on
                                    • First post
                                      Last post