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

    help me "mka halium-boot" error

    Scheduled Pinned Locked Moved Porting
    11 Posts 6 Posters 2.4k 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.
    • KenedaK Offline
      Keneda @errors
      last edited by Keneda

      @errors
      Please use code tags in the futur, so that post stay readable.
      I'll do it for you this time 😉

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

      E 1 Reply Last reply Reply Quote 0
      • E Offline
        errors @Keneda
        last edited by

        @keneda thank you

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          robertr1229 @errors
          last edited by

          @errors Did you ever find a solution to this? I am also trying to build halium 10 and get the same.

          E 3 Replies Last reply Reply Quote 0
          • E Offline
            errors @robertr1229
            last edited by

            @robertr1229

            I have solved this problem. I forgot the specific steps. You try:

            Configure jack
            Jack is the currently used Java toolchain for building LineageOS 14.1 and 15.1. It is known to run out of memory often if not configured correctly - a simple fix is to run this command:
            
            export ANDROID_JACK_VM_ARGS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4G"
            
            1 Reply Last reply Reply Quote 0
            • E Offline
              errors @robertr1229
              last edited by

              @robertr1229 You've started making halium 10. Teach me!

              1 Reply Last reply Reply Quote 0
              • E Offline
                errors @robertr1229
                last edited by

                @robertr1229
                FAILED: /bin/bash -c "halium/halium-boot/get-initrd.sh arm /home/ubuntu/halium/out/target/product/cancro/obj/ROOT/halium-boot_intermediates/halium-initramfs.gz"
                Downloading https://github.com.cnpmjs.org/halium/initramfs-tools-halium/releases/download/continuous/initrd.img-touch-armhf

                E 1 Reply Last reply Reply Quote 1
                • E Offline
                  Elessar 0 @errors
                  last edited by

                  @errors have similar problem here when mka halium-boot

                  05:03:55 Disallowed PATH tool "curl" used: []string{"curl", "--location", "https://github.com/halium/initramfs-tools-halium/releases/download/continuous/initrd.img-touch-arm64", "--output", "out/target/product/gta4xlwifi/obj/ROOT/halium-boot_intermediates/halium-initramfs.gz", "--silent"}
                  05:03:55 See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
                  [ 33% 1/3] Downloading initramfs to : out/target/product/gta4xlwifi/obj/ROOT/halium-boot_intermediates/halium-initramfs.gz
                  FAILED: out/target/product/gta4xlwifi/obj/ROOT/halium-boot_intermediates/halium-initramfs.gz
                  /bin/bash -c "halium/halium-boot/get-initrd.sh arm64 out/target/product/gta4xlwifi/obj/ROOT/halium-boot_intermediates/halium-initramfs.gz"
                  Downloading https://github.com/halium/initramfs-tools-halium/releases/download/continuous/initrd.img-touch-arm64
                  "curl" is not allowed to be used. See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
                  05:03:55 ninja failed with: exit status 1

                  V 1 Reply Last reply Reply Quote 0
                  • V Offline
                    VinceAle7082 @Elessar 0
                    last edited by VinceAle7082

                    @Elessar-0 Did you found a solution to this? I have the same error

                    LuksusL 1 Reply Last reply Reply Quote 0
                    • LuksusL Offline
                      Luksus @VinceAle7082
                      last edited by

                      @VinceAle7082 Try to use a Python2 environment (venv).

                      Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

                      LuksusL 1 Reply Last reply Reply Quote 0
                      • LuksusL Offline
                        Luksus @Luksus
                        last edited by

                        Hmm, I was referring to the first post, but the curl issue is something different...

                        Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post