Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Need help for porting

    Porting
    2
    4
    949
    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
      aki237 last edited by

      I have a Zuk Z1 which sports a Qcom 801 (similar to OnePlus One). I have set up all the device repos and synced successfully. But when I build I an error (final build error) :

      make: *** No rule to make target 'libqmi', needed by '/home/aki237/phablet/out/target/product/ham/obj/EXECUTABLES/wpa_supplicant_intermediates/config.o'.  Stop.
      

      Using the cm-12.1 branch.
      Every other targets needed for the final image are built.
      This is the .repo/local_manifests/zuk_ham.xml file for my device

      <?xml version="1.0" encoding="UTF-8"?>
      <manifest>
        <remote name="theMuppets"
                fetch="https://github.com/TheMuppets"
                revision="refs/heads/cm-12.1" />
        <project name="android_device_zuk_ham" path="device/zuk/ham/" remote="cm" revision="cm-12.1" />
        <project name="android_device_qcom_common" path="device/qcom/common/" remote="cm" revision="cm-12.1"/>
        <project name="android_kernel_cyanogen_msm8974" path="kernel/cyanogen/msm8974/" remote="cm" revision="cm-12.1"/>
        <project name="proprietary_vendor_zuk" path="vendor/zuk/" remote="theMuppets" revision="cm-12.1"/>
      </manifest>
      

      Host Build system :

      OS : Arch Linux
      Linux : 4.12.13
      gcc : 7.2
      
      1 Reply Last reply Reply Quote 0
      • U
        UniSuperBox last edited by

        I've searched LineageOS' GitHub for the needed file, libqmi. Looks like it's supposed to be in a vendor repository. I think you're missing vendor/qcom in your manifest.

        A 1 Reply Last reply Reply Quote 0
        • A
          aki237 @UniSuperBox last edited by aki237

          @UniSuperBox Thanks I'll look into that. I have my device's vendor repos. I don't know about vendor/qcom. Can you share the repo that has this. I guess that is common for all Qualcomm devices.

          1 Reply Last reply Reply Quote 0
          • U
            UniSuperBox last edited by

            I've discussed with our crack team of Halium porters and they say that you need to add the line "vendor/zuk" in the folllowing file: https://github.com/ubports/android_build/blob/ubp-5.1/core/main.mk#L615

            This will bring in the Zuk vendor files to the build.

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