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?