Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    How to build UT for FP2

    Support
    3
    6
    328
    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.
    • A
      Aloys last edited by

      Hello,

      I'd like to get all the sources and build UT for the FP2.
      My purpose is just to learn how it works.
      But I did not find any documentation for this, may be I did not find it. Especially, is there a repo manifest store somewhere?

      advocatux 1 Reply Last reply Reply Quote 0
      • advocatux
        advocatux @Aloys last edited by advocatux

        @ublublu I don't know about FP2 specific bits but our code is in https://github.com/ubports

        Maybe this documentation can help you to start understanding the whole process, at least until someone who really knows how the build process works reply to your question https://docs.ubports.com/en/latest/appdev/system-software.html

        Edit: this is old but has some interesting info too https://github.com/ubports/wiki.ubports.com/blob/master/How-a-UBports-Image-is-Built.md

        A 1 Reply Last reply Reply Quote 1
        • A
          Aloys @advocatux last edited by

          Thnak you @advocatux, I will look at these info.

          1 Reply Last reply Reply Quote 0
          • Flohack
            Flohack last edited by

            Hi,

            you will need:

            • https://github.com/ubports/android (the starting point to build the Android parts)
            • https://github.com/ubports/android_kernel_fairphone_fp2 (Kernel repo)
            • https://github.com/ubports/android_device_fairphone_fp2 (Device repo)
            • https://github.com/ab2ut/proprietary_vendor_fairphone (Vendor blobs)

            Now the problem is that while the current FP2 build was still made in the legacy way, our documentation is now based on Halium. See http://docs.halium.org/en/latest/porting/get-sources.html - Do you want to build a working image, or you just want to learn about the process?

            A 1 Reply Last reply Reply Quote 2
            • A
              Aloys @Flohack last edited by

              Thank you @flohack,
              I'd like mainly to understand the process and why not at the end building a working image.
              I initially thought I would be able to reproduce a same build as the ones from UBports, but that's not so easy (for me)!

              I think I will follow the porting information with Halium, because it seems well documented, even if I suppose I won't get a working image.

              The use of Halium is not so clear for me, is this issue https://github.com/ubports/ubuntu-touch/issues/404 is to integrate halium in UT for all supported devices?

              Flohack 1 Reply Last reply Reply Quote 0
              • Flohack
                Flohack @Aloys last edited by

                @ublublu Ok clear then. Yes this ticket needs to be solved in order for UT to boot with a Halium port. We hope to be able to soon start working on this. It will eventually add immedaite support for more devices 😉

                BR

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