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

    Wrong kernel on Redmi 9 (codename lancelot)

    Scheduled Pinned Locked Moved Devices
    14 Posts 3 Posters 130 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.
      • Vlad NirkyV Offline
        Vlad Nirky @Keli
        last edited by Vlad Nirky

        @Keli
        I don't think any UT port currently supports two SIM cards.
        The Android version prior to installing UT is 11 (here is the link https://github.com/ubuntu-touch-redmi-mt6768/lancelotfw/blob/main/README.md).
        The device has to be unlocked.
        After that the installer assume all the work.

        3f73eb3e-17dc-4f38-bc53-1d08fabff78d-image.png

        K 1 Reply Last reply Reply Quote 0
        • K Online
          Keli @Vlad Nirky
          last edited by

          @Vlad-Nirky If I remember correctly, UT supported two sim cards on lancelot, just that you couldn't use the second sim card for mobile data like it says on the devices page. But you could make and receive calls using both sim cards.
          Also, merlin is not lancelot.

          1 Reply Last reply Reply Quote 0
          • K Online
            Keli
            last edited by

            Below are two screenshots taken months apart. One while using UT on focal and one that I took yesterday. Look at the network indicators. One shows two while the other one shows one.

            screenshot20250603_080152910.png screenshot20251030_072707179.png

            Vlad NirkyV 1 Reply Last reply Reply Quote 0
            • Vlad NirkyV Offline
              Vlad Nirky @Keli
              last edited by Vlad Nirky

              @Keli
              OK.
              I've amended my reply.
              And which kernel version was running when this screenshot was taken?
              Do you think it's a regression?
              https://gitlab.com/ubports/porting/community-ports/android11/xiaomi-redmi-9/kernel-xiaomi-mt6768

              https://gitlab.com/ubports/porting/community-ports/android11/xiaomi-redmi-9/kernel-xiaomi-mt6768

              You may report an issue on one of these.

              Was the screenshot taken in Noble?

              K 2 Replies Last reply Reply Quote 0
              • K Online
                Keli @Vlad Nirky
                last edited by

                @Vlad-Nirky I don't think it's a regression. I'm not sure how the UT images are baked or how the install process is done by the installer. But it's obvious that I have a Redmi Note 9 kernel instead of a Redmi 9 one.
                Maybe there was a mixup and somehow the install script is being instructed to flash a wrong kernel image.
                In android lingo, flashing the correct boot.img in fastboot would have fixed the issue.
                I guess it's upon the device maintainer to answer these maybes.

                1 Reply Last reply Reply Quote 1
                • K Online
                  Keli @Vlad Nirky
                  last edited by

                  @Vlad-Nirky I don't know which kernel version I was running back then. But I know that both sim cards were being detected and noble was still in beta at the time.
                  When noble was announced I decided to give UT touch another go and here we are.

                  FuseteamF 1 Reply Last reply Reply Quote 0
                  • FuseteamF Offline
                    Fuseteam @Keli
                    last edited by

                    @Keli I have lancelot with the same kernel, both sim cards are detected for me

                    I am on 24.04-1./x daily but not the latest, could try on the latest daily?

                    K 1 Reply Last reply Reply Quote 0
                    • K Online
                      Keli @Fuseteam
                      last edited by

                      @Fuseteam thanks for the suggestion. Let me look into it.

                      1 Reply Last reply Reply Quote 0
                      • K Online
                        Keli
                        last edited by

                        I downloaded a daily build update and installed it, the update was successful.
                        Sim 2 wasn't being detected nonetheless. So I decided to switch the sim cards. Sim 1 wasn't being detected. Hmm..
                        I decided to test the problematic sim card on another phone - also a lancelot running stock android, it worked there.
                        I decided to use an old sim card on my lancelot to see if it would be detected. It was.
                        The problematic sim card was working just fine before switching to UT from Android.
                        Anyway, it seems like UT doesn't like this sim card. Has anyone encounter this issue before? Is there a reason why UT would fail to detect a working sim card?
                        Below are some screen grabs highlighting the above issue.

                        screenshot20251030_213436991.png

                        screenshot20251030_213638341.png

                        Vlad NirkyV 1 Reply Last reply Reply Quote 0
                        • Vlad NirkyV Offline
                          Vlad Nirky @Keli
                          last edited by

                          @Keli
                          To complete the test the non working SIM should be inserted in another phone running Android, to see if it is still OK.

                          K 1 Reply Last reply Reply Quote 0
                          • K Online
                            Keli @Vlad Nirky
                            last edited by

                            @Vlad-Nirky I did test the non working sim card (the one that can't be detected) on another phone, also a lancelot but running MIUI. It works there. The old sim card that was decommissioned doesn't work in the sense that it can't register to its network and that's why it says 'unknown' as you can see from the screen grab - but at least it can still be detected by the phone.
                            The working one that I would like to use fails to be detected on both slots hence the 'No Sim' error message.

                            Vlad NirkyV 1 Reply Last reply Reply Quote 0
                            • Vlad NirkyV Offline
                              Vlad Nirky @Keli
                              last edited by Vlad Nirky

                              @Keli
                              Is there a mix regarding VoLTE?
                              One that has it and one that doesn't?
                              Can your other phone hold two SIM cards?
                              If so, it would be interesting to know if they can work together.

                              K 1 Reply Last reply Reply Quote 0
                              • K Online
                                Keli @Vlad Nirky
                                last edited by

                                @Vlad-Nirky No it isnt a VOLTE issue and yes both sims are VOLTE capable and both work well together. I haven't tested VOLTE under UT on either sims though. But VOLTE is problematic even on stock Android for lancelot in my country.

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