CMF Phone 2 PRO - Galaga

Hello, today was my first try doing the ROM for a device, in this case the CMF phone 2 Pro.

I used:

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=v3.0-beta-t”
-e “DEVICE_LIST=Galaga”
-e “REPO=e / os / 🚀 Releases · GitLab
registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:community

and the result was:
Set cache size limit to 50.0 GB

[Sat May 17 16:17:10 UTC 2025] Branch: v3.0-beta-t
[Sat May 17 16:17:10 UTC 2025] Devices: galaga,
[Sat May 17 16:17:11 UTC 2025] (Re)initializing branch repository
[Sat May 17 16:17:11 UTC 2025] Branch name v3.0-beta-t is a tag on e/os/releases, prefixing with r
efs/tags/ for ‘repo init’
[Sat May 17 16:17:11 UTC 2025] Running: yes | repo init -u “Sign in · GitLab
ses.git” -b “refs/tags/v3.0-beta-t”
[Sat May 17 16:17:12 UTC 2025] Copying ‘/srv/local_manifests/*.xml’ to ‘.repo/local_manifests/’
[Sat May 17 16:17:12 UTC 2025] Syncing branch repository
[Sat May 17 16:18:09 UTC 2025] Setting “UNOFFICIAL” as release type
[Sat May 17 16:18:09 UTC 2025] Adding OTA URL overlay (for custom URL )
[Sat May 17 16:18:09 UTC 2025] Preparing build environment
[Sat May 17 16:18:09 UTC 2025] Starting build for galaga, v3.0-beta-t branch
[Sat May 17 16:18:09 UTC 2025] ANDROID_JACK_VM_ARGS=-Dfile.encoding=UTF-8 -XX:+TieredCompilation -
Xmx4G
[Sat May 17 16:18:09 UTC 2025] Switch to Python2
[Sat May 17 16:18:15 UTC 2025] Failed build for galaga
[Sat May 17 16:18:15 UTC 2025] Finishing build for galaga
[Sat May 17 16:18:15 UTC 2025] Cleaning source dir for device galaga
[Sat May 17 16:18:15 UTC 2025] Switch back to Python3

in the logs:

Starting build for Galaga, v3.0-beta-t branch
14:39:27 Build sandboxing disabled due to nsjail error.
In file included from build/make/core/config.mk:353:
In file included from build/make/core/envsetup.mk:352:
[1mbuild/make/core/product_config.mk:228: [31merror: [0m [1mCan not locate config makefile for product “lineage_Galaga”. [0m
14:39:28 dumpvars failed with: exit status 1
Device Galaga not found. Attempting to retrieve device repository from LineageOS Github (LineageOS · GitHub).
Repository for Galaga 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.
14:39:28 Build sandboxing disabled due to nsjail error.
In file included from build/make/core/config.mk:353:
In file included from build/make/core/envsetup.mk:352:
[1mbuild/make/core/product_config.mk:228: [31merror: [0m [1mCan not locate config makefile for product “lineage_Galaga”. [0m
14:39:28 dumpvars failed with: exit status 1
14:39:28 Build sandboxing disabled due to nsjail error.
In file included from build/make/core/config.mk:353:
In file included from build/make/core/envsetup.mk:352:
[1mbuild/make/core/product_config.mk:228: [31merror: [0m [1mCan not locate config makefile for product “lineage_Galaga”. [0m
14:39:29 dumpvars failed with: exit status 1

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

[Sat May 17 14:39:29 UTC 2025] Failed build for Galaga
[Sat May 17 14:39:29 UTC 2025] Finishing build for Galaga
[Sat May 17 14:39:29 UTC 2025] Cleaning source dir for device Galaga
14:39:29 Entire build directory removed.

build completed successfully

this line… error, you may need to manually add it to your local_manifests/roomservice.xml. could it be added manually? or this is not that simple?

what would you suggest? thanks in advance!

This seems reasonable. This build method is for Supported devices only.

First stop for using this build method would be to search Repositories at LineageOS · GitHub. You need to be able to find the repo for the device here.

Search galaga. I found “0 results for all repositories matching galaga”. galaga is thus an Unsupported device.

For an Unsupported device, did you find any other unofficial build for galaga ? If yes perhaps you can borrow a device tree from there, then you might

you may need to manually add it to your local_manifests/roomservice.xml.