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

    Is GKI a good news for Ubuntu Touch Porting

    Scheduled Pinned Locked Moved Porting
    4 Posts 4 Posters 1.0k 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.
      • W Offline
        waitlamp
        last edited by

        Google tried to slove kernel fragmentation problem on Android.

        any devices Pre-installed Android 12 and Kernel 5.10 from the factory must use GKI (generic-kernel-image) kernel

        I've read about GKI in the news before

        Google's Todd Kjos talked today during Linux Plumbers Conference (LPC2021) around their Generic Kernel Image initiative. With Android 12 and their Linux 5.10 based GKI image they have further cut down the fragmentation to the extent that it's "nearly eliminated". With the Android 12 GKI, most of the vendor/OEM kernel features have now either been upstreamed into the Linux kernel, isolated to vendor modules/hooks, or merged into the Android Common Kernel.

        and I heard some devices like pixel 6 , tab s8 / S22u etc. have used GKI kernel. (they are Pre-installed Android 12)

        Will GKI kernel reduce the difficulty of future porting efforts?

        S 1 Reply Last reply Reply Quote 0
        • MrT10001M Offline
          MrT10001
          last edited by

          Sounds like a good idea. The problem is vendor BLOB's which are supplied a lot by OEM's to the manufacturers which basically stop a generic UT install (as an example Apple won't even allow swapping of parts between the same type of phones).

          Xiaomi Redmi Note 7.... And more...
          I have too many devices...

          KenedaK 1 Reply Last reply Reply Quote 0
          • S Offline
            sanath.usk 0 @waitlamp
            last edited by

            @waitlamp I don't think so.I feel it should help IT in the long run.

            1 Reply Last reply Reply Quote 0
            • KenedaK Offline
              Keneda @MrT10001
              last edited by

              @mrt10001
              Those blobs are now out of the kernel with GKI.
              They are in separate modules, and vendors must make them compatible with AOSP LTS kernel.

              So you can make a generic way of doing UT ports, and even, i guess, update kernel with AOSP LTS one, or blobs modules during android device life, without doing UT port from scratch everytime.

              I assume too that if android structure doesn't change in future between major updates, installind UT on those devices, let say an "halium 12" UT port on an android 13 updated from 12 device, will be possible without downgrading to 12.

              I may be too optimistic but the actual kernel mixup is a real problem and i believe causes the most of UT ports issues.

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

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