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

    create boot.img only

    Scheduled Pinned Locked Moved Support
    13 Posts 4 Posters 836 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.
      • DuhjokerD Offline
        Duhjoker
        last edited by

        Do you know what the definition of insanity is? I have read the docs over and over. Not trying to be rude but there is alot about building a device that is missing and i have scrounged around for quite some time.

        But today i made some progress i got the build system to start making a bootimage. But it craps out at after building and installing the kernel modules.

        you can take a look at my source at https://github.com/Duhjoker under android lge cv1.

        the errors im getting are previous definitions in the static and shared libraries which i guess causes a clang++ linker error number 1. ive been pulling my hair out now for 48 hours and i cannot find a solution.

        i can recreate the errors by setting up any device and trying to build

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

          @Duhjoker, Have you tried contacting the halium developer community on IRC, Matrix or Telegram as mentioned in the Get Help section of the First Steps Halium page? The people who can help you are more active there than on this forum.

          πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
          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
          • DuhjokerD Offline
            Duhjoker
            last edited by

            yes i have tried. i was very rudely spoken to on telegram and ignored completely every where else. any way im here for some help.....

            im not gonna lie i have been trying to do this for a year and have found my self cut short by either technology or knowledge. Trying to find the right machine with ram and hdd was a problem due to limited funding but i have to tell you when i compiled my first kernel a few months ago and relearned my c++ coding skills it was exciting. so even now today being able to get past the obvious build errors and see make build my kernel with in halium soi9urce i gotpretty happy.

            but after downloading source for my own device and two others jusr to watch them all have pretty much the same errors sucked. i really hope you can help.

            i think part of my problem is due to my device having to be 32bit a 64 wont boot no matter what. so ive tuned the build down to the same.i have removed any dependency that adds 64bit as well. besides i cant flash a 64bit image on a 32bit twrp and my porting it over has failed as well.

            first upon using make or mka its starts saying build/core/binary.mk is overriding my target then going to multiple definitions of popcount_tab in for shared and static libraries and ending with a CLANG++ error code 1

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

              @Duhjoker, I am sorry you had such an experience on Telegram. I am not in the Halium group myself, but I had the impression they were a helpful lot.
              I have zero experience porting, so I am afraid I cannot help you myself but let me see if I can get someones attention who might...

              πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
              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
              • T Offline
                tigerpro
                last edited by

                when you setup your environment, are you using the steps in the halium docs? Did you check to make sure you have all the sources for your device? I imagine that you are missing some sources or have a incomplete repo or perhaps missing something with the dev machine

                Whether you think you can, or you can't, if you do not try, you will never truly know. So give it a Go.

                1 Reply Last reply Reply Quote 0
                • DuhjokerD Offline
                  Duhjoker
                  last edited by

                  actually i pulled every thing from the phone. what extract-files.sh did not i did by hand. But i made the list myself. like i said i spent a lot of time preparing for this.

                  besides i downloaded two other builds of the /halium/devices/manifests lists and they are giving me the same problem.

                  T 1 Reply Last reply Reply Quote 0
                  • T Offline
                    tigerpro @Duhjoker
                    last edited by

                    @Duhjoker what device?

                    Whether you think you can, or you can't, if you do not try, you will never truly know. So give it a Go.

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

                      @tigerpro said in create boot.img only:

                      @Duhjoker what device?

                      LG Aristo 2

                      πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                      Happily running Ubuntu Touch
                      Google Pixel 3a (20.04 DEV)
                      JingPad (24.04 preview)
                      Meizu Pro 5 (16.04 DEV)

                      T 1 Reply Last reply Reply Quote 0
                      • T Offline
                        tigerpro @arubislander
                        last edited by

                        @arubislander where are you pulling the source repos from?

                        Whether you think you can, or you can't, if you do not try, you will never truly know. So give it a Go.

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

                          @tigerpro This is there source stuff https://github.com/Duhjoker if that helps. I have no idea on any of this (unless 32bit thing being slowly dropped might be part of it, just a thought).

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            tigerpro
                            last edited by

                            a quick look at the dependencies file shows that qcom_common (iirc this is part of halium repos) and external_bson are needed, are you getting these with your repo sync? 32/64-bit at this stage is irrelevant, both are supported, and a 64-bit build can run 32-bit rootfs

                            Whether you think you can, or you can't, if you do not try, you will never truly know. So give it a Go.

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