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
    11 Posts 3 Posters 106 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.
      • K Offline
        Keli
        last edited by

        Hi guys.. New here. I flashed Ubports on my lancelot (24.04-1.0 Stable) a few hours ago and I noticed that sim 2 wasn't being detected. Last time I flashed ubports (focal) a few months ago both sims were being detected.
        So I went digging around and saw that the running kernel is 4.14.355-openela-merlin, which I don't think is the correct one- I correctly selected lancelot while installing. I used the ubports installer in windows 10.
        Under imei only one imei is listed, the other one just has 'none'

        Vlad NirkyV 1 Reply Last reply Reply Quote 0
        • 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 Offline
            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 Offline
              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 Offline
                  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 Offline
                    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 Offline
                        Keli @Fuseteam
                        last edited by

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

                        1 Reply Last reply Reply Quote 0
                        • K Offline
                          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.

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