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

    Issues porting to Pixel 3

    Scheduled Pinned Locked Moved Google Pixel 3/3 XL
    portinghalium-9.0
    10 Posts 6 Posters 2.2k 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.
      • C Offline
        cornonthecob
        last edited by

        Hello, first time porter here.

        Porting to the Pixel 3 (blueline) has been somewhat confusing as the kernel and whatnot is mixed in with the Pixel 3 XL (crosshatch).

        I'm currently stuck on the Halium build step.
        I'm not sure how to format my progress, so I'll just dump my progress so that I don't miss anything.

        I'm having problem finding the kernel configuration. It should be in the BoardConfig.mk file, but crosshatch and blueline appear to share one under BoardConfig-common.mk (device/google/crosshatch/blueline/BoardConfig.mk has the statement: include device/google/crosshatch/BoardConfig-common.mk)

        I've omitted the steps for syncing the repo.
        My manifest (google_blueline.xml) is as follows

        <?xml version="1.0" encoding="UTF-8"?>
        <manifest>
                <project path="device/google/blueline" name="android_device_google_blueline" remote="los" />
                <project path="device/google/crosshatch" name="android_device_google_crosshatch" remote="los" />
                <remote name="los" fetch="https://github.com/LineageOS" />
        </manifest>
        

        Do I need to add a line to fetch android_kernel_google_crosshatch? I'm confused.

        Running: halium/devices/setup blueline ran with no errors.
        Running: hybris-patches/apply-patches.sh --mb ran with no errors.

        I extracted the vendor blobs using the extract-files.sh in the crosshatch device folder (blueline's links to that one).
        It starts differing after I ran source build/envsetup.sh:

        including device/google/crosshatch/vendorsetup.sh
        including vendor/lineage/vendorsetup.sh
        

        I'm missing a few lines that are shown in the guide.

        Since the BoardConfig for blueline includes BoardConfig-common for crosshatch, I ran grep "TARGET_KERNEL_CONFIG" device/google/crosshatch/BoardConfig-common.mk with no results.
        Am I missing something? Sorry if this should be obvious.

        Thanks in advance.

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          ada @cornonthecob
          last edited by ada

          @cornonthecob if you haven’t already done so, it might be helpful to talk to the team that ported the 3a. It looks like the person that did the kernel is friedldotme on GitHub

          C 1 Reply Last reply Reply Quote 0
          • C Offline
            cornonthecob @ada
            last edited by

            Okay, thank you! I'll try that.

            M 1 Reply Last reply Reply Quote 0
            • flohackF Offline
              flohack
              last edited by

              Those Pixel devices have always a common part and then device-specific parts for the normal and the XL variant.
              For example the manifest for the 2/2 XL pair looks like that: https://github.com/Halium/halium-devices/blob/halium-9.0/manifests/google_walleye_taimen.xml

              You can see that "wahoo" repos are the common ones, while muskie and taimen are the device-specific ones.

              Normally, because of the small differences you are going to fix all stuff in the common device and kernel repo. There should be little need to do device-specific changes.

              Other than that: Take the vendor repo from TheMuppets. Extracting vendor blobs yourself can lead to really hard-to-detect errors. <project path="vendor/google" name="TheMuppets/proprietary_vendor_google" /> is all you need.

              My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

              1 Reply Last reply Reply Quote 0
              • flohackF Offline
                flohack
                last edited by

                Also, please join our Telegram porting group https://t.me/ubports_porting to get more real-time answers.

                BR Florian

                My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                1 Reply Last reply Reply Quote 0
                • M Offline
                  mashume @cornonthecob
                  last edited by

                  @cornonthecob I know I'm resurrecting a thread, but there aren't many about the pixel 3. Did you ever have any luck getting your port to work? Thanks

                  flohackF 1 Reply Last reply Reply Quote 0
                  • flohackF Offline
                    flohack @mashume
                    last edited by

                    @mashume I would be also interested in that answer πŸ˜‰

                    My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                    AppLeeA 1 Reply Last reply Reply Quote 0
                    • AppLeeA Offline
                      AppLee @flohack
                      last edited by

                      @flohack, @mashume
                      OP did not connect on the forum since last August, so they might have moved on to something else.
                      But :crossed_fingers:

                      fhendrikxF 1 Reply Last reply Reply Quote 0
                      • fhendrikxF Offline
                        fhendrikx @AppLee
                        last edited by

                        @applee Sorry to also be resurrecting an old thread... did this make any progress? I'm keen to see UT on the 3.

                        M 1 Reply Last reply Reply Quote 0
                        • M Offline
                          mashume @fhendrikx
                          last edited by

                          @fhendrikx
                          I haven't seen much movement on this, though I would like to. I too have a p3 I'd like to use UT on.

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