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

    Where can I get these Kernel Sources: 5.4.289-qgki-g4ddb22d91965

    Scheduled Pinned Locked Moved Fairphone 5
    2 Posts 2 Posters 72 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.
      • X Offline
        xforze
        last edited by xforze

        Hello,

        Where can I download exactly these kernel Sources?
        Linux ubuntu-phablet 5.4.289-qgki-g4ddb22d91965 #1 SMP PREEMPT Thu Oct 30 14:13:37 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux

        The only one I found on gitlab was: 5.4.219

        Cheers, Thomas

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          gpatel-fr @xforze
          last edited by

          @xforze

          Hello

          while I have not yet unraveled all the intricacies of ubports gitlab build, here is what I have found so far. Binaries are uploaded to

          https://system-image.ubports.com

          like usual with Debian dirs, there are index directories and a huge pool dir containing all the data files in compressed form (tar.xz):

          https://system-image.ubports.com/pool/

          data files beginning by 'rootfs-' are as the name implies a frozen file system with all deb packages
          data files beginning by 'device-' contain the android container
          data files beginning by 'boot-' are the ones of interest with 2 directories:

          • partitions: boot.img and vendor_boot.img
          • system: here is where can be found the kernel name, under system/usr/lib/modules
            ls
            5.4.289-qgki-g4ddb22d91965
            cd 5.4.289-qgki-g4ddb22d91965/
            ls source
            source -> /builds/ubports/porting/reference-device-ports/android11/fairphone-5/fairphone-fp5/workdir/downloads/kernel-fairphone-qcm6490
            note: this is a broken link, but it shows from where is coming the built archive.

          If you git clone the directory (note that in the Gitlab UI the directories appear to be called 'Halium 11' but if you copy the Url you get android 11 instead)

          git clone https://gitlab.com/ubports/porting/reference-device-ports/android11/fairphone-5/kernel-fairphone-qcm6490

          git branch -a

          • halium-11.0
            remotes/origin/HEAD -> origin/halium-11.0
            remotes/origin/halium-11.0
            remotes/origin/halium-11.0-rebase

          so there are 2 main branches, halium-11.0 and halium-11.0-rebase
          on halium-11.0-rebase branch, use git log and search for 5.4.289, you'll find commit cb5f77d16c36027aa197fc26183b8d7e17c8f016 by a lineageos developer.

          on halium-11.0 branch, you'll not find a commit containing the string 5.4.289, the most recent with 5.4. will be 5.4.219.

          So what I think at the moment is that when the built is done, the fairphone-5 dir is switched to the master branch and the deviceinfo file contains 'deviceinfo_kernel_source_branch="halium-11.0-rebase"

          I have not found where is hidden the procedure to build for 24.04. The .gitlab-ci.yml under the fairphone-5 directory seem to build for 20.04 in all branches. That's still mysterious for me. Still it seems clear that recent dev is happening in the hallium-11.rebase branch so it must be the one.

          Now, 'qgki' is clear: it stands for qualcomm generic kernel image'.

          The prize would be to find a relationship (if any) between 'g4ddb22d91965' and a specific commit in git. No idea currently 😞

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