Sony Xperia 5 V

Hello
Could you please share device tree sources for Xperia 5 V?
I try to build kernel of this device but I am stuck at this error:
Error: ../arch/arm64/boot/dts/qcom/kalama-audio-overlay.dtsi:58.31-32 syntax error FATAL ERROR: Unable to parse input tree

I checked the file and couldn’t find anything wrong with syntax
Even made AI to check in order to be sure
Test different DTC version(1.6.0 and 1.7.0) yet no luck

If you can help with compiling kernel, it would be great
Will be waiting for your response
Thanks in advance

I made the build using the official LineageOS sources GitHub - LineageOS/android_device_sony_pdx234

Running breakfast picked up all the relevant files - device tree, kernel - from the LineageOS repos, and I pick up the vendor blobs from 'TheMuppets github repos, and the kernel compiled with no problems

EDIT: Forget all I wrote below - I thought I was in the IodéOS forums :slight_smile: I don’t build /e/OS, only lineageos4microg and IodéOS. When I did make builds for /e/OS, I used /e/'s docker image. But as this device is officially supported by LineageOS, runnign breakfast (either manually or in that docker image) shoudl pull in the correct files, and the kernel should just build. f it doesn;t, or if you have modified the kernel sources, then I really can’t help - sorry. Good luch


If it’s any help, I make my IodéOS builds using this docker image, based on the LineageOS cicd Docker image. You can pull the image from DockerHub if you want to try
docker pull petefothl4m/iodebuild:latest

(Note that I haven’t updated the README.md, which still described how to build LineageOS. I used the following docker run command to make the most recent build. You would need to tweak it to match your build setup

docker run \
    -v "/srv/src:/srv/src" \
    -v "/srv/tmp:/srv/tmp" \
    -v "/srv/ccache:/srv/ccache" \
    -v "/srv/zips:/srv/zips" \
    -v "/srv/logs:/srv/logs" \
    -v "/srv/keys:/srv/keys" \
    -v "/srv/local_manifests:/srv/local_manifests" \
    -v "/srv/userscripts:/srv/userscripts" \
    -e "BRANCH_NAME=v5-staging" \
    -e "USER_NAME=petefoth" \
    -e "USER_MAIL=petefoth@e.email" \
    -e "WITH_GMS=true" \
    -e "RELEASE_TYPE=UNOFFICIAL" \
    -e "SIGN_BUILDS=true" \
    -e "INCLUDE_PROPRIETARY=true" \
    -e "CLEAN_AFTER_BUILD=true" \
    -e "DEVICE_LIST=kirin,pdx234" \
    -e "ZIP_UP_IMAGES=true" \
    -e "MAKE_IMG_ZIP_FILE=true" \
    petefothl4m/iodebuild

)

Since pdx234 is LOS21 only it cant be yet build for /e/OS…

1 Like

Ah
My bad
I thought you compiled for pdx237
Just noticed that you did it on pdx234
pdx234 doesn’t have dtsi files that we need in pdx237

Incase if you still wanna help despite device being pdx237, here is the source of kernel:

Device codename: yodo
I have no idea what exactly is wrong with kalama-audio-overlay.dtsi in dts/qcom
I tested the same file from different phones but no luck as well

Will be waiting for your response
Thanks in advance

Sorry but I know nothing about this device, and even less about building kernels. I won’t be able to help

@xShottaZx Just in case you haven’t spotted it yet…
Boots up nicely on mine. :grinning:

https://xdaforums.com/t/rom-unofficial-lineageos-22-for-xperia-5v-xq-de54.4705039/

1 Like
1 Like

Xperia 5 V is now official Lineage device

https://wiki.lineageos.org/devices/pdx237/

And, since 15 minutes ago there’s an unofficial IodéOS build available for it too :slight_smile:

LineageOS for microG build should be available before Christmas

1 Like