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

    libhybris (android12.0)

    Scheduled Pinned Locked Moved Porting
    6 Posts 5 Posters 581 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.
      • L Offline
        lxl
        last edited by

        The device I want to port, only android 12.0 environment, and in android system using allocator_hidl_4.0 interface and mapper_hidl_4.0. in the process of porting reported error: gralloc4: Buffer: 0x7f8800c540 has not been registered with Gralloc, not sure if this is related to libhybris or not?

        1、In github I found that libhybris is only supported up to android-9.0
        https://github.com/ubports/libhybris/blob/xenial/hybris/configure.ac

        2、Replacing only libhybris-related libraries while keeping all the system's files intact will end up reporting gralloc-related errors, although there are different behaviors.
        Note: libhybris-*.so are from separate images of different devices from ubports (e.g. jingpad, oneplus nord 3 5G, Samsung Galaxy A33 - A53, etc.)
        https://gitlab.com/ubports/porting/community-ports/android12

        Based on the above, do I need to compile libhybris for my device?
        Is anyone else experiencing a similar situation?

        1 Reply Last reply Reply Quote 0
        • L Offline
          lxl
          last edited by

          Is there anyone who can answer this question??

          1 Reply Last reply Reply Quote 0
          • KenedaK Offline
            Keneda
            last edited by

            @Lakotaubp someone to ping in mind ?

            2015-2023 : Meizu MX4 ☠️⚰️✝️
            2023-2024 : Nexus 5 ☠️⚰️✝️
            2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
            🇲🇫🇬🇧

            LakotaubpL 1 Reply Last reply Reply Quote 0
            • LakotaubpL Offline
              Lakotaubp @Keneda
              last edited by

              @Keneda Maybe @arubislander can help unless https://t.me/UTFAQ has some answers as where to go. Porting is not my thing and the above looks odd.

              arubislanderA 1 Reply Last reply Reply Quote 0
              • arubislanderA Offline
                arubislander @Lakotaubp
                last edited by

                Porting is not my thing either.

                @lxl for the quickest answers, best is to read through the FAQ linked by @Lakotaubp and joining the porting channel that should be included in therem

                Porters visit the forums only rarely, so questions posted here can go some time without useful answers. Also, the trail and error nature of debugging is better served by communication that is more realtime.

                🇦🇼 🇳🇱 🇺🇸 🇪🇸
                Happily running Ubuntu Touch
                Google Pixel 3a (20.04 DEV)
                JingPad (24.04 preview)
                Meizu Pro 5 (16.04 DEV)

                1 Reply Last reply Reply Quote 0
                • B Offline
                  beyolf
                  last edited by

                  Sorry for the late response. Volla x23 port uses halium 12. You may use that as reference or you can join the porting telegroup for help.

                  Best of luck!

                  Ubuntu Touch fan
                  UT Focal port for miatoll contributor.
                  Device:
                  Redmi note 9 pro

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