Problem in Porting e to Mi A3

Hello, i am trying to port e(Android 11) to Mi A3. I have added the downloaded the required device tree, kernel, vendor specific files. Now, i am getting this error:


Trying dependencies-only mode on a non-existing device tree?
build/make/core/version_defaults.mk:56: warning: Invalid TARGET_PLATFORM_VERSION 'j', must be one of
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:68:
build/make/core/version_defaults.mk:57: error: RP1A.
13:03:12 dumpvars failed with: exit status 1

** Don't have a product spec for: 'lineage_laurel_sprout'
** Do you have the right repo manifest?

Any idea what went wrong?

Regain your privacy! Adopt /e/ the unGoogled mobile OS and online servicesphone

Hi @xcaliber welcome to the /e/ forum.

Firstly you can get this error from docker when the repo manifest is not the actual problem ! (Are you using docker?)

Would you like to share how you converted your device tree and vendor specific stuff into a local_manifest or equivalent?

That seems to be that your downloaded sources were not LineageOS based. I usually get this error if the sources are not fully LineageOS compliant or for different AOSP

did you reslove the error if yes pls share the details

Sometimes its pretty easy to adapt the device trees to lineage which then also works for /e/OS.
In follow commit one can see that only a couple of changes are needed, in this example it is from lineage to aosp, so other way round. But I think it makes clear what to change.
And dont forget also the files names need to be changed too.