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

    Xiaomi Redmi Note 12

    Scheduled Pinned Locked Moved Porting
    22 Posts 6 Posters 12.8k Views 2 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.
    • B Offline
      beyolf @nibzy26
      last edited by beyolf

      @nibzy26

      I am glad that i could help a bit. Xiaomi has official repo in github with kernels for their devices

      https://github.com/MiCode/Xiaomi_Kernel_OpenSource

      There you can find the official kernel source for your device.

      Looks like there are 2 versions of Redmi Note 10 you have to select the right one based on the device code name.

      Redmi note 10 5g (camellia) with MT chipset
      Redmi note 10 (mojito) with QCOM chipset

      If i can help you with something else , let me know here or in telegram

      Best of luck!

      Ubuntu Touch fan
      UT Focal port for miatoll contributor.
      Device:
      Redmi note 9 pro

      N 1 Reply Last reply Reply Quote 0
      • N Offline
        nibzy26 @beyolf
        last edited by

        @beyolf Thanks

        I guess one piece of the puzzle is Lineage OS
        As per my understanding i can use Hallium 11 for android 11 based phones there s a guide for hallium there but where does this Lineage OS come into play .What do i need to do with it ? is it some alternate method of porting instead of hallium based ports ?. On its wiki page redmi 10 S phone is supported and some images are available to download
        https://download.lineageos.org/devices/rosemary/builds
        does this fact make things easier if it is listed under supported dvices on lineage OS wiki page.?

        B 2 Replies Last reply Reply Quote 0
        • B Offline
          beyolf @nibzy26
          last edited by arubislander

          @nibzy26 you dont need Lineage OS if you have official kernel avaliable. Some times its harder to find the manufacturers kernel so in that cases if the device has Lineage OS port it's kernel can be used instead. In your case thats not needed because you have official kernel from Xiaomi.

          The other case which you might need to turn to Lineage OS is as specified previously, if you Don't have the right official ROM , then you can use Lineage OS ROM, but in your case thats not needed either, so you are safe to ignore Lineage OS at this point

          Edit: also in the documentation there are 3 porting methods . The method which you should use is the Standalone kernel method , which is also the simplest way (Yayy)

          Ubuntu Touch fan
          UT Focal port for miatoll contributor.
          Device:
          Redmi note 9 pro

          N 1 Reply Last reply Reply Quote 1
          • N Offline
            nibzy26 @beyolf
            last edited by

            @beyolf said in Xiaomi Redmi Note 12:

            Edit: also in the documentation there are 3 porting methods . The method which you should use is the Standalone kernel method , which is also the simplest way (Yayy)

            that's cool
            lemme have a look at kernel method

            thanks

            1 Reply Last reply Reply Quote 1
            • B Offline
              beyolf @nibzy26
              last edited by beyolf

              @nibzy26

              Just to add a bit more clarification.

              You need the official ROM because of the Vendor Specific Propitiatory Code or the vendor blobs as we call it , This blobs are located in the vendor partition of your device and are installed with the official ROM , UT cannot take this blobs and distribute them because this violates some license (Not very familiar what exactly) so thats why they need to be preinstalled on your device and thats done by the Official ROM (because they are distributed with it), when you flash UT on your device it does NOT delete this vendor partition (vendor blobs) but instead Halium is using it in order to make UT communicate with the hardware. Hope thats clarifies to you why you need Stock ROM installed on the device before installing UT.

              Ubuntu Touch fan
              UT Focal port for miatoll contributor.
              Device:
              Redmi note 9 pro

              H 1 Reply Last reply Reply Quote 1
              • H Offline
                holy @beyolf
                last edited by

                Hi @beyolf:

                Thanks for your explanation, but i have some questions about the stand alone kernel method:
                1.I have a similar request, Now I have a android 10 device with its whole official code(kernel, vendor, system....etc) which use same CPU as Redmi note 9 pro, i mean , it use QCT 6250/7125..but i not found the my device name under https://gitlab.com/ubports/porting/community-ports.
                I think the best match device is Redmi note 9 pro...

                2.I have just merged the Halium kernel patch to my kernel source code, then rebuild the boot image.
                However, i don't know what i should do next,as the porting guide steps, I should download the halium ramdisk, halium gsi, and UBPorts rootfs with the scripts from https://mirrors.lolinet.com/firmware/halium/GSI/ubports_GSI_installer_v10.zip.
                But it seems not work for me.

                I don't know what should i do next now....

                B 1 Reply Last reply Reply Quote 1
                • B Offline
                  beyolf @holy
                  last edited by beyolf

                  @holy

                  Hello,

                  I wish you best of luck with your port effort and thank you for trying to bring new device to UT.

                  I would advice the following:

                  1. If you didn't read the porting guild please make sure to read it. Here is the link:
                    https://docs.ubports.com/en/latest/porting/introduction/index.html

                  2. As it is mentioned in the porting guide it would be good to first try to boot the kernel and see if it works. If it does then you can start implementing the UT stuff. You can check the build scripts for miatoll devices.

                  https://gitlab.com/ubports/porting/community-ports/android10/xiaomi-redmi-note-9-pro/xiaomi-miatoll

                  1. Join the UT porting telegram group.
                    https://t.me/ubports_porting

                  You can also contact me in telegram I will be happy to help with what I can.

                  Best of luck mate!

                  Edit: here is the kernel def config for miatoll
                  https://gitlab.com/ubports/porting/community-ports/android10/xiaomi-redmi-note-9-pro/kernel-xiaomi-sm6250/-/blob/halium-10.0-release/arch/arm64/configs/cust_defconfig?ref_type=heads

                  Ubuntu Touch fan
                  UT Focal port for miatoll contributor.
                  Device:
                  Redmi note 9 pro

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    Lunar
                    last edited by

                    https://github.com/bengris32/releases/releases/tag/ruby-21-1.0
                    lineageos 21 for xiaomi redmi note 12 pro

                    1 Reply Last reply Reply Quote 0
                    • A atarilinux referenced this topic on
                    • S Offline
                      Satanas1275 @nibzy26
                      last edited by

                      @nibzy26
                      I’ve started testing the porting of PostmarketOS on this phone. I know it’s not the same OS, but it’s still Linux, and it could be useful. If you’re interested, you’re welcome to help me.

                      arubislanderA 1 Reply Last reply Reply Quote 0
                      • arubislanderA Offline
                        arubislander @Satanas1275
                        last edited by

                        @Satanas1275 While we are all for seeing more and all kinds of Linux on phones, soliciting help on a Postmarket OS port is very much off topic for this forum, wouldn't you agree?

                        🇦🇼 🇳🇱 🇺🇸 🇪🇸
                        Happily running Ubuntu Touch
                        JingPad (24.04-1.x daily)
                        OnePlus Nord N10 5G (24.04-2.x daily)
                        PinePhone OG (20.04)
                        Meizu Pro 5 (16.04 DEV)

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post