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

    libhybris (android12.0)

    Porting
    5
    6
    172
    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
      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
        lxl
        last edited by

        Is there anyone who can answer this question??

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

          @Lakotaubp someone to ping in mind ?

          2015-Now : Meizu MX4 (Stable) now for web use
          Spare : Nexus 5 (Stable), now for daily use

          LakotaubpL 1 Reply Last reply Reply Quote 0
          • LakotaubpL
            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
              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
              BQ Aquaris M10 FHD (16.04 RC)
              Google Pixel 3a (20.04 DEV)
              JingPad (20.04 DEV)
              Meizu Pro 5 (16.04 DEV)
              PinePhone / PineTab UT CE (20.04 daily)

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