UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Kaloyan Donev
    K
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 0

    Kaloyan Donev

    @Kaloyan Donev

    1
    Reputation
    4
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Kaloyan Donev Unfollow Follow

    Best posts made by Kaloyan Donev

    • Trouble when trying to port to TB-X505F

      I am trying to port Ubuntu Touch to the Lenovo TB-X505F, but there isn't an official port of Lineage OS in GitHub, but there is an unofficial one made by TBX505-Dev right here: https://github.com/TBX505-Dev/device_lenovo_X505L

      I tried hooking it up to my build environment using this XML config:

      <manifest>
      	<project name="TBX505-Dev/device_lenovo_X505L" path="device/lenovo/X505F" remote="github" revision="lineage-17.1"/>
      </manifest>
      

      and also this one:

      <?xml version="1.0" encoding="UTF-8"?>
      <manifest>
      	<project path="device/lenovo/x505f" name="device_lenovo_X505L" remote="device_lenovo_X505L" revision="lineage-17.1" />
      	<remote name="device_lenovo_X505L"
          fetch="https://github.com/TBX505-Dev"
          revision="lineage-17.1" />
      </manifest>
      

      Everything works fine with both of the XML files until I try to run the breakfast command with my devices code name (X505F), which results in this error:

      including vendor/lineage/vendorsetup.sh
      build/make/core/product_config.mk:234: error: Can not locate config makefile for product "lineage_X505F".
      14:48:59 dumpvars failed with: exit status 1
      Device X505F not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
      Repository for X505F not found in the LineageOS Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml.
      build/make/core/product_config.mk:234: error: Can not locate config makefile for product "lineage_X505F".
      14:49:00 dumpvars failed with: exit status 1
      build/make/core/product_config.mk:234: error: Can not locate config makefile for product "lineage_X505F".
      14:49:01 dumpvars failed with: exit status 1
      
      ** Don't have a product spec for: 'lineage_X505F'
      ** Do you have the right repo manifest?
      

      When I try to run brunch without a device codename specified, and select lineage_arm64-userdebug, I get the error

      ninja: error: '/home/user/halium/out/soong/host/linux-x86/bin/d8', needed by '/home/user/halium/out/soong/.intermediates/frameworks/base/packages/EasterEgg/EasterEgg/android_common/dex/EasterEgg.jar', missing and no known rule to make it
      

      Breakfast says something about roomservice.xml, but I can't seem to find that file anywhere. Also, sidenote, lenovo hasn't provided the source code for the kernel for the Lenovo TB-X505F, so the Lineage OS port by TBX505-Dev uses the already compiled kernel.

      Is there a way to fix these errors, and if so, how?

      posted in Porting
      K
      Kaloyan Donev

    Latest posts made by Kaloyan Donev

    • RE: Trouble when trying to port to TB-X505F

      @redmiguy3 Thank you! I have tried porting postmarketOS to this device too, but the kernel I used is broken. I don't have the files for the port anymore, but I will restart development and try to port this device.

      posted in Porting
      K
      Kaloyan Donev
    • Trouble when trying to port to TB-X505F

      I am trying to port Ubuntu Touch to the Lenovo TB-X505F, but there isn't an official port of Lineage OS in GitHub, but there is an unofficial one made by TBX505-Dev right here: https://github.com/TBX505-Dev/device_lenovo_X505L

      I tried hooking it up to my build environment using this XML config:

      <manifest>
      	<project name="TBX505-Dev/device_lenovo_X505L" path="device/lenovo/X505F" remote="github" revision="lineage-17.1"/>
      </manifest>
      

      and also this one:

      <?xml version="1.0" encoding="UTF-8"?>
      <manifest>
      	<project path="device/lenovo/x505f" name="device_lenovo_X505L" remote="device_lenovo_X505L" revision="lineage-17.1" />
      	<remote name="device_lenovo_X505L"
          fetch="https://github.com/TBX505-Dev"
          revision="lineage-17.1" />
      </manifest>
      

      Everything works fine with both of the XML files until I try to run the breakfast command with my devices code name (X505F), which results in this error:

      including vendor/lineage/vendorsetup.sh
      build/make/core/product_config.mk:234: error: Can not locate config makefile for product "lineage_X505F".
      14:48:59 dumpvars failed with: exit status 1
      Device X505F not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
      Repository for X505F not found in the LineageOS Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml.
      build/make/core/product_config.mk:234: error: Can not locate config makefile for product "lineage_X505F".
      14:49:00 dumpvars failed with: exit status 1
      build/make/core/product_config.mk:234: error: Can not locate config makefile for product "lineage_X505F".
      14:49:01 dumpvars failed with: exit status 1
      
      ** Don't have a product spec for: 'lineage_X505F'
      ** Do you have the right repo manifest?
      

      When I try to run brunch without a device codename specified, and select lineage_arm64-userdebug, I get the error

      ninja: error: '/home/user/halium/out/soong/host/linux-x86/bin/d8', needed by '/home/user/halium/out/soong/.intermediates/frameworks/base/packages/EasterEgg/EasterEgg/android_common/dex/EasterEgg.jar', missing and no known rule to make it
      

      Breakfast says something about roomservice.xml, but I can't seem to find that file anywhere. Also, sidenote, lenovo hasn't provided the source code for the kernel for the Lenovo TB-X505F, so the Lineage OS port by TBX505-Dev uses the already compiled kernel.

      Is there a way to fix these errors, and if so, how?

      posted in Porting
      K
      Kaloyan Donev