Problems building Nougat for trltexx

remove ‘…OTA…’ line from docker command

and by the way: We all prefer FIRST building for a supported device to ensure, your build environment is OK. When the supported device finished success full you can change the DEVICE name and everything should work if your roomservice.xml is OK

EDIT: You have a roomservice.xml located in .repo/local_manifests for your device ??

as I said, I am not a developer …

my command without the OTA-Line would be:

sudo docker run
-v “/srv/e/src:/srv/src”
-v “/srv/e/zips:/srv/zips”
-v “/srv/e/logs:/srv/logs”
-v “/srv/e/ccache:/srv/ccache”
-e “BRANCH_NAME=v1-oreo”
-e “DEVICE=trltexx” \

… and I don’t have the roomservice.xml …

I’ll try with Oreo, since I think Nougat doesn’t even have the drivers on TheMuppets …

thank you!

dumb mistake …

sudo docker run
-v “/srv/e/src:/srv/src”
-v “/srv/e/zips:/srv/zips”
-v “/srv/e/logs:/srv/logs”
-v “/srv/e/ccache:/srv/ccache”
-e “BRANCH_NAME=v1-oreo”
-e “DEVICE=trltexx”
-e “REPO=https://gitlab.e.foundation/e/os/android.git”
registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:latest

without roomservice,xml you can’t build, sorry

EDIT: here an example for a roomservice.xml it cointains the location of the sources for your device https://gist.github.com/jmingov/7f75f7b0fa4a36e7a679

This is way beyond my scope … also the file you are referencing has nothing to do with my device (trltexx). I was so naive to think these sphisticated docker scripts would take care of such issues …

I think I’m giving up on this and see to use my brand new ecloud through nextcloud on my samsung, appears easier …

But nevertheless I thank all of you for trying to help …

As I have written the file was an example!

And all build ways will only work out of the box for supported devices. You want build for an unsupported device, or? ?

For unsupported devices you have to finf the device, vendor and kernel sources for your own and add then via roomservice.xml to the eOS sources.

Here you can find some more informational about creation of roomservice.xml [HOWTO] Build /e/ without docker for non LineageOS supported devices

Bildschirmfoto 2020-05-18 um 08.32.41

I surely wish I had a deeper understanding … as far as I can tell, everything appears to be there … 2 screenshots github vs. my local dir appears to be exactly the same …

Yes, that’s right, but the sources doesn’t fit lineage / eOS build rules. For example, there is a lineage.mk, but the name must be lineage_trltexx.mk

And inside the sources are also several naming rules which won’t fit (I think)

By the way: I like the midnight commander :+1:

ok, maybe we might be getting there. This was an Oreo attempt, but still it used Lineage 14.1 (which I think is nougat). Now runs the nougat script once again, maybe I can copy the (14.1) device files from Oreo to nougat and with the right script it might work … thanks!

Sorry, but the naming rules and so on is general not for on version. And NO you can’t use nougat sources for Oero builds or Oreo sources for nougat builds. All must fit.
Best you will decide what version you will build (latest I think) and stay there. not swapping forth and back.

If you have decide what version you will build, search for the right LOS sources

Bildschirmfoto 2020-05-18 um 11.35.59

well Oreo an Nougat scripts install the absolute same drivers …

Here’s my output. And if it’s really a matter of naming things, maybe we’ll get there. I’ll buy you a pizza :slight_smile:

joachim@buddha:~$ sudo docker run \

-v “/srv/e/src:/srv/src”
-v “/srv/e/zips:/srv/zips”
-v “/srv/e/logs:/srv/logs”
-v “/srv/e/ccache:/srv/ccache”
-e “BRANCH_NAME=v1-nougat”
-e “DEVICE=trltexx”
-e “REPO=https://gitlab.e.foundation/e/os/android.git
registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:latest
Set cache size limit to 50.0 GB

[Mon May 18 06:52:12 UTC 2020] Branch: v1-nougat
[Mon May 18 06:52:12 UTC 2020] Device: trltexx
[Mon May 18 06:52:12 UTC 2020] (Re)initializing branch repository

repo has been initialized in /srv/src/NOUGAT
Downloading manifest from https://gitlab.e.foundation/e/os/android.git
Invalid clone.bundle file; ignoring.

[Mon May 18 06:52:16 UTC 2020] Copying ‘/srv/local_manifests/*.xml’ to ‘.repo/local_manifests/’
[Mon May 18 06:52:16 UTC 2020] Use branch cm-14.1 on github.com/TheMuppets
[Mon May 18 06:52:16 UTC 2020] Syncing branch repository
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Invalid clone.bundle file; ignoring.
Checking out files: 100% (11891/11891), done.
Checking out files: 100% (6705/6705), done.
Checking out files: 100% (11736/11736), done.
Checking out files: 100% (91/91), done.
Checking out files: 100% (2500/2500), done.
Checking out files: 100% (2439/2439), done.
Checking out files: 100% (8423/8423), done.
Checking out files: 100% (7379/7379), done.
Checking out files: 100% (8/8), done.
Checking out files: 100% (11478/11478), done.
Checking out files: 100% (581/581), done.
Checking out files: 100% (5640/5640), done.
Checking out files: 100% (9105/9105), done.
Checking out files: 100% (3493/3493), done.
Checking out files: 100% (19766/19766), done.
Checking out files: 100% (4096/4096), done.
Checking out files: 100% (191/191), done.
Checking out files: 100% (755/755), done.
Checking out files: 100% (3607/3607), done.
Checking out files: 100% (2818/2818), done.
Checking out files: 100% (5455/5455), done.
Checking out files: 100% (4281/4281), done.
Checking out files: 100% (32993/32993), done.
Checking out files: 100% (4346/4346), done.
Checking out files: 100% (851/851), done.
Checking out files: 100% (5633/5633), done.
Checking out files: 100% (8680/8680), done.
Checking out files: 100% (961/961), done.
Checking out files: 100% (2476/2476), done.
Checking out files: 100% (2695/2695), done.
Checking out files: 100% (816/816), done.
Checking out files: 100% (409/409), done.
Checking out files: 100% (3419/3419), done.
Checking out files: 100% (129/129), done.
Checking out files: 100% (550/550), done.
Checking out files: 100% (622/622), done.
Checking out files: 100% (21388/21388), done.
Checking out files: 100% (742/742), done.
Checking out files: 100% (185/185), done.
Checking out files: 100% (3204/3204), done.
Checking out files: 100% (3541/3541), done.
Checking out files: 100% (4202/4202), done.
Checking out files: 100% (256/256), done.
Checking out files: 100% (1944/1944), done.
Checking out files: 100% (1766/1766), done.
Checking out files: 100% (5474/5474), done.
Checking out files: 100% (5476/5476), done.
Checking out files: 100% (23180/23180), done.
Checking out files: 100% (6377/6377), done.
Checking out files: 100% (1717/1717), done.
Checking out files: 100% (44431/44431), done.
Checking out files: 100% (64/64), done.
Checking out files: 100% (3196/3196), done.
Checking out files: 100% (62/62), done.
Checking out files: 100% (1756/1756), done.
Checking out files: 100% (8484/8484), done.
Checking out files: 100% (540/540), done.
Checking out files: 100% (15774/15774), done.
Checking out files: 100% (25/25), done.
Checking out files: 100% (702/702), done.
Checking out files: 100% (1024/1024), done.
Checking out files: 100% (247/247), done.
Checking out files: 100% (3814/3814), done.
Checking out files: 100% (163/163), done.
Checking out files: 100% (2197/2197), done.
Checking out files: 100% (759/759), done.
Checking out files: 100% (1426/1426), done.
Checking out files: 100% (5376/5376), done.
Checking out files: 100% (2282/2282), done.
Checking out files: 100% (2470/2470), done.
Checking out files: 100% (2351/2351), done.
Checking out files: 100% (7989/7989), done.
Checking out files: 100% (7587/7587), done.
Checking out files: 100% (468/468), done.
Checking out files: 100% (980/980), done.
Checking out files: 100% (609/609), done.
Checking out files: 100% (2557/2557), done.
Checking out files: 100% (1596/1596), done.
Checking out files: 100% (9843/9843), done.
Checking out files: 100% (6317/6317), done.
Checking out files: 100% (1168/1168), done.
Checking out files: 100% (273/273), done.
Checking out files: 100% (1134/1134), done.
Checking out files: 100% (2349/2349), done.
Checking out files: 100% (231/231), done.
hardware/qcom/audio-caf/apq8084: Shared project e/os/android_hardware_qcom_audio found, disabling pruning.
hardware/qcom/audio-caf/msm8916: Shared project e/os/android_hardware_qcom_audio found, disabling pruning.
hardware/qcom/audio-caf/msm8952: Shared project e/os/android_hardware_qcom_audio found, disabling pruning.
hardware/qcom/audio-caf/msm8960: Shared project e/os/android_hardware_qcom_audio found, disabling pruning.
hardware/qcom/audio-caf/msm8974: Shared project e/os/android_hardware_qcom_audio found, disabling pruning.
hardware/qcom/audio-caf/msm8994: Shared project e/os/android_hardware_qcom_audio found, disabling pruning.
hardware/qcom/audio-caf/msm8996: Shared project e/os/android_hardware_qcom_audio found, disabling pruning.
hardware/qcom/audio-caf/msm8998: Shared project e/os/android_hardware_qcom_audio found, disabling pruning.
hardware/qcom/audio/default: Shared project e/os/android_hardware_qcom_audio found, disabling pruning.
hardware/qcom/bt: Shared project LineageOS/android_hardware_qcom_bt found, disabling pruning.
hardware/qcom/bt-caf: Shared project LineageOS/android_hardware_qcom_bt found, disabling pruning.
hardware/qcom/display: Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
hardware/qcom/display-caf/apq8084: Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
hardware/qcom/display-caf/msm8916: Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
hardware/qcom/display-caf/msm8952: Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
hardware/qcom/display-caf/msm8960: Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
hardware/qcom/display-caf/msm8974: Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
hardware/qcom/display-caf/msm8994: Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
hardware/qcom/display-caf/msm8996: Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
hardware/qcom/display-caf/msm8998: Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
hardware/qcom/media: Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
hardware/qcom/media-caf/apq8084: Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
hardware/qcom/media-caf/msm8916: Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
hardware/qcom/media-caf/msm8952: Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
hardware/qcom/media-caf/msm8960: Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
hardware/qcom/media-caf/msm8974: Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
hardware/qcom/media-caf/msm8994: Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
hardware/qcom/media-caf/msm8996: Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
hardware/qcom/media-caf/msm8998: Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
hardware/qcom/wlan: Shared project LineageOS/android_hardware_qcom_wlan found, disabling pruning.
hardware/qcom/wlan-caf: Shared project LineageOS/android_hardware_qcom_wlan found, disabling pruning.
hardware/ril: Shared project LineageOS/android_hardware_ril found, disabling pruning.
hardware/ril-caf: Shared project LineageOS/android_hardware_ril found, disabling pruning.
repo sync has finished successfully.
[Mon May 18 08:13:10 UTC 2020] Using OpenJDK
[Mon May 18 08:13:11 UTC 2020] Preparing build environment
[Mon May 18 08:13:12 UTC 2020] Starting build for trltexx, v1-nougat branch
ANDROID_JACK_VM_ARGS=-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4G
Switch to Python2
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:249: *** Can not locate config makefile for product “lineage_trltexx”. Stop.
build/core/product_config.mk:249: *** Can not locate config makefile for product “cm_trltexx”. Stop.
build/core/product_config.mk:249: *** Can not locate config makefile for product “lineage_trltexx”. Stop.
repo sync has finished successfully.
repo sync has finished successfully.
fatal: Couldn’t find remote ref refs/heads/cm-14.1
fatal: Couldn’t find remote ref refs/heads/cm-14.1
LineageOS/android_kernel_samsung_trlte:
fatal: Couldn’t find remote ref refs/heads/cm-14.1

LineageOS/android_kernel_samsung_trlte:
fatal: Couldn’t find remote ref refs/heads/cm-14.1

error: Cannot fetch LineageOS/android_kernel_samsung_trlte from https://github.com/LineageOS/android_kernel_samsung_trlte
error: Cannot checkout LineageOS/android_kernel_samsung_trlte: ManifestInvalidRevisionError: revision refs/heads/cm-14.1 in LineageOS/android_kernel_samsung_trlte not found
error: in sync --force-sync device/qcom/common device/samsung/qcom-common kernel/samsung/trlte external/stlport: revision refs/heads/cm-14.1 in LineageOS/android_kernel_samsung_trlte not found
repo sync has finished successfully.
Device trltexx not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Found repository: android_device_samsung_trltexx
Default revision: cm-14.1
Checking branch info
Checking if device/samsung/trltexx is fetched from android_device_samsung_trltexx
Adding dependency: LineageOS/android_device_samsung_trltexx → device/samsung/trltexx
Using default branch for android_device_samsung_trltexx
Syncing repository to retrieve project.
Repository synced!
Looking for dependencies in device/samsung/trltexx
Adding dependencies to manifest
Checking if device/samsung/trlte-common is fetched from android_device_samsung_trlte-common
Adding dependency: LineageOS/android_device_samsung_trlte-common → device/samsung/trlte-common
Using default branch for android_device_samsung_trlte-common
Syncing dependencies
Looking for dependencies in device/samsung/trlte-common
Adding dependencies to manifest
Checking if device/qcom/common is fetched from android_device_qcom_common
Adding dependency: LineageOS/android_device_qcom_common → device/qcom/common
Using default branch for android_device_qcom_common
Checking if device/samsung/qcom-common is fetched from android_device_samsung_qcom-common
Adding dependency: LineageOS/android_device_samsung_qcom-common → device/samsung/qcom-common
Using default branch for android_device_samsung_qcom-common
Checking if kernel/samsung/trlte is fetched from android_kernel_samsung_trlte
Adding dependency: LineageOS/android_kernel_samsung_trlte → kernel/samsung/trlte
Using default branch for android_kernel_samsung_trlte
Checking if external/stlport is fetched from android_external_stlport
Adding dependency: LineageOS/android_external_stlport → external/stlport
Using default branch for android_external_stlport
Syncing dependencies
Looking for dependencies in device/qcom/common
Dependencies file not found, bailing out.
Looking for dependencies in device/samsung/qcom-common
Adding dependencies to manifest
Checking if hardware/samsung is fetched from android_hardware_samsung
Adding dependency: LineageOS/android_hardware_samsung → hardware/samsung
Using default branch for android_hardware_samsung
Checking if packages/resources/devicesettings is fetched from android_packages_resources_devicesettings
Adding dependency: LineageOS/android_packages_resources_devicesettings → packages/resources/devicesettings
Using default branch for android_packages_resources_devicesettings
Syncing dependencies
Looking for dependencies in hardware/samsung
Dependencies file not found, bailing out.
Looking for dependencies in packages/resources/devicesettings
Dependencies file not found, bailing out.
Looking for dependencies in kernel/samsung/trlte
Dependencies file not found, bailing out.
Looking for dependencies in external/stlport
Dependencies file not found, bailing out.
Done
build/core/product_config.mk:268: *** No matches for product “lineage_trltexx”. Stop.
build/core/product_config.mk:268: *** No matches for product “lineage_trltexx”. Stop.

** Don’t have a product spec for: ‘lineage_trltexx’
** Do you have the right repo manifest?

No such item in brunch menu. Try ‘breakfast’

[Mon May 18 08:14:37 UTC 2020] Failed build for trltexx
[Mon May 18 08:14:37 UTC 2020] Finishing build for trltexx
[Mon May 18 08:14:37 UTC 2020] Cleaning source dir for device trltexx
make: Entering directory ‘/srv/src/NOUGAT’
make: Leaving directory ‘/srv/src/NOUGAT’
build/core/product_config.mk:268: *** No matches for product “aosp_arm”. Stop.

make failed to build some targets (1 seconds)

Switch back to Python3

sure, the will always look same because there are build rules regarding the build scripts. That’s why i have written before, that the naming rules are wrong in the sources. As long as you won’t have the right sources, with the right file names you will get these kind of errors

Here you can see a working device tree with the right files names (the sources are for my device) https://github.com/eOS1312/device_capricorn

And I also have written before: Best first build for a supported device. Than you can see if your environment is OK and you can check how the sources should be

well thank you very much again…
My building skills only consist of configure && make && make install, I have no clue what a device tree is supposed to look like. Of course you are right, building something knowingly working would verify my environment, but doesn’t maker much sense to me as I don’t want to build / develop regularly. But a far as I can see, I am not alone with this kind of problem. Why do things have to be so complicated? Why not just extract the needed files driectly from the device in question by ADB or a script, plug those into a vanilla version of the source? Or even build on the device itself? I wouldn’t care if it took a day or two …

I understand your frustration, but … will you assemble a car without knowledge about assembling a car ?
An Mechatronic will tell you: Building a car is easy if you have the right parts.

You know what I mean ?

well I think I made a thinking mistake here, as we say in German “Denkfehler”.
I was encouraged by the seemingly simplicity of these scripts, just like linux make … I was WRONG. But I would advise you support people not to illusionize people into thinking building a ROM from source were easy as pie…
Anyhow I really love the project and would be more than happy to see a build for trltexx (also a couple others here on the forum). How about if I made a donation to the project in order to prioritize the device (instead of getting extra space or such), I would be all in… I assume a seasoned mechatronic developer would be able to do that in less than 1 hour + compile time …

No, it’s not so easy. I have invest more than 3 month and hundreds of builds before I have gotten the right sources / adjust the sources for fitting LOS rules and getting build finished.

If there a working LOS sources, it’s really easy.

1 Like

what is LOS? I do understand more and more that I don’t have a clue …

LineageOS
Ps : don’t read this PS, it’s useless.

LineageOS :slight_smile:

You can try this roomservice.xml. Could be that it will work. But don’t know
https://del.dog/trltexx