[HOWTO] Build /e/ without docker for non LineageOS supported devices

Thanks. I’ve pulled the latest version. When I build I get the error reported in this post

Any idea how to fix?

I’ve just seen this commit
I’m running the previous version - is it likely to fail because it doesn’t have the changes? It didn’t seem to mind having export DEVICE... rather than export DEVICE_LIST...

No, they both work. If you don’t use OTA you can use the master branch as well.

as far as I know the ‘latest’ isn’t working anymore. Best using ‘community’

How calls to /e/ OTA server infrastructure should be removed for custom/unofficial builds ?
Is export OTA_URL=’’ in the build script doing it ?

I don’t know what happens when you pass an empty string, i never checked because i use a custom OTA.

@andrelam are you able to show how to set up an ota URL. I have searched without success

You install this on your server (you can skip the docker stuff if you want). Then you set the URL: https://yoururlxyz.org/api. I got trouble using php 7.4, so I guess it’s better to use older version, 5.6.

Thanks for that @andrelam

Hey Nikoleos. Nice that you own the pretty xiaomi davinci.

Do you have any progress?

Which branch of the builde.sh script should I use: master or community? Thanks

You can use master, community is not up to date.

1 Like

There are two ways to extract the proprietary vendor files:

  1. Extract from an existing LineageOS ROM - see this guide on the LineageOS website
  2. Extract from a device, running either a Stock ROM, or a custom ROM

If you can enable Android debugging and rooted debugging in the Developer Settings, then the method described here may work

To enable the Developer Settings, go to ‘Settings > About Phone’ and tap seven times on the `Build number’ field

It seems that there is an Android 9 / PIe GSI (Generic System Image) that works on this device - see this thread on XDA Forums. It looks like most things work on it.

According to that thread, it needs to be flashed on top of an earlier Lineage 15 / oreo GSI although this other article about installing it seems to imply that is not necessary.

I have no useful experience with GSIs, but search in these forums to find out more. If those Lineage GSIs work on your device, then it should be possible to build an /e/ GSI. But I would definitely start with the Lineage GSI.

Good luck!

I’m sorry I don’t know. I followed those steps for a different device just by changing the name, but the device was already running a Lineage ROM and I already had the build environment set up.

I’m afraid I am out of ideas, except to find out more about GSIs - not from me I don’t now anything much about GSIs - and maybe go that route

Hi @harvey186 I intent to build also for my Xiaomi Mi Max 2 in order to keep this device as backup device. I would like to ask you have you succeeded and if you did could you share your resources :slight_smile:

Hi,
Our friend Harvey186 left this forum 2 years ago.
Have a look at :

1 Like

Hi @piero ,
Thank you very much, I am looking these topics also old build links are dead but I will try to build myself. Thanks.

1 Like

This topic was automatically closed after 21 days. New replies are no longer allowed.