• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 682 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 5 Aug 2018, 17:56

      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?

      A 1 Reply Last reply 5 Aug 2018, 18:36 Reply Quote 0
      • A Offline
        advocatux @Aloys
        last edited by advocatux 8 May 2018, 18:39 5 Aug 2018, 18:36

        @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 5 Aug 2018, 18:54 Reply Quote 1
        • A Offline
          Aloys @advocatux
          last edited by 5 Aug 2018, 18:54

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

          1 Reply Last reply Reply Quote 0
          • F Offline
            flohack
            last edited by 5 Aug 2018, 19:36

            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 5 Aug 2018, 21:15 Reply Quote 2
            • A Offline
              Aloys @flohack
              last edited by 5 Aug 2018, 21:15

              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?

              F 1 Reply Last reply 6 Aug 2018, 11:02 Reply Quote 0
              • F Offline
                flohack @Aloys
                last edited by 6 Aug 2018, 11:02

                @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
                4 out of 6
                • First post
                  4/6
                  Last post