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

    How to build UT for FP2

    Scheduled Pinned Locked Moved Support
    6 Posts 3 Posters 677 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.
      • A Offline
        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?

        advocatuxA 1 Reply Last reply Reply Quote 0
        • advocatuxA Offline
          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 Offline
            Aloys @advocatux
            last edited by

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

            1 Reply Last reply Reply Quote 0
            • flohackF Offline
              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?

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

              A 1 Reply Last reply Reply Quote 2
              • A Offline
                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?

                flohackF 1 Reply Last reply Reply Quote 0
                • flohackF Offline
                  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

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

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