I want to try to build for the sony xperia 5 IV because it has a broken fingerprint reader and runs in an endless loop restarting the fingerprint service.
I read How to Build the /e/OS ROM? but I before step 5 there must be something missing: where do I get the source code from?
In fact you can omit Step 5 (I gather you are building for a supported device). This is due to the dockerfile having the capability to pull vendor blobs too. (Keyword Muppets)
It is however a common error for a PC which never did this job before to get stuck with a “cannot find vendor” sort of error which occurs when repo sync did not actually finish.
Next: instead of the correct device “pdx224” (I guess) I get “XQ-CQ72” from $ adb shell getprop ro.product.device (it’s a XQ-CQ54 btw.)
I would also prefer not to download and build as root, but to set up my own subdir on a large enough filesystem …
- I have to wait for 1 hour to reply here? “An error occurred: You’re replying a bit too quickly. Please wait 16 minutes before trying again” - Seriously?
That’s the procedure I would have expected, after I have done it for Lineage (which then failed on getting the vendor files from my /e/OS phone).
The download with docker finished now, it’s almost twice the size of the Lineage one. The build failed.
$ 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-t -e DEVICE_LIST=pdx224 -e REPO=https://gitlab.e.foundation/e/os/releases.git registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:community
>> [Wed May 27 21:21:18 UTC 2026] Setting up ccache config
Original data: 0 bytes
Old compressed data: 0 bytes (100.0% of original size)
Compression ratio: 0.000 x (0.0% space savings)
New compressed data: 0 bytes (100.0% of original size)
Compression ratio: 0.000 x (0.0% space savings)
Size change: 0 bytes
Statistics zeroed
>> [Wed May 27 21:21:18 UTC 2026] Branch: v1-t
>> [Wed May 27 21:21:18 UTC 2026] Devices: pdx224,
>> [Wed May 27 21:21:18 UTC 2026] (Re)initializing branch repository
>> [Wed May 27 21:21:19 UTC 2026] Running: yes | repo init -u "https://gitlab.e.foundation/e/os/releases.git" -b "v1-t"
>> [Wed May 27 21:21:20 UTC 2026] Copying '/srv/local_manifests/*.xml' to '.repo/local_manifests/'
>> [Wed May 27 21:21:21 UTC 2026] Syncing branch repository
>> [Wed May 27 21:22:49 UTC 2026] Setting "UNOFFICIAL" as release type
>> [Wed May 27 21:22:49 UTC 2026] Adding OTA URL overlay (for custom URL )
>> [Wed May 27 21:22:49 UTC 2026] Preparing build environment
>> [Wed May 27 21:22:49 UTC 2026] Starting build for pdx224, v1-t branch
>> [Wed May 27 21:22:49 UTC 2026] ANDROID_JACK_VM_ARGS=-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4G
>> [Wed May 27 21:22:59 UTC 2026] Failed build for pdx224
>> [Wed May 27 21:22:59 UTC 2026] Finishing build for pdx224
>> [Wed May 27 21:22:59 UTC 2026] Cleaning source dir for device pdx224
log:
Device pdx224 not found. Attempting to retrieve device repository from LineageOS Github (LineageOS · GitHub). Found repository: android_device_sony_pdx224 Default revision: lineage-20.0
why? Where is it being set?
Checking branch info Default revision lineage-20.0 not found in android_device_sony_pdx224. Bailing. Branches found: lineage-23.0 lineage-23.2