Key English
build-e.md:74 Some device vendors for example Xiaomi have blocked access to their vendor files as some of the files may be proprietary.
build-e.md:76 To get around this you will have to manually extract vendor files from your device.
build-e.md:78 {% include alerts/tip.html content="This step requires to have a device already running the latest /e/OS, based on the branch you wish to build for. If you don’t have access to such a device, refer to [Extracting proprietary blobs](extracting-proprietary-blobs) from an installable zip. " %}
build-e.md:83 Now ensure your device
- is connected to your computer via the USB cable
- has [ADB and root enabled](/pages/install-adb)
- and that you are in the
build-e.md:85 ### 6. Start build
build-e.md:87 Run the following command. Don't forget to replace `<my-device>` with your device code !
build-e.md:99 ```shell
$ 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=<tag>" \
-e "DEVICE_LIST=<my-device>" \
-e "REPO=https://gitlab.e.foundation/e/os/releases.git" \
registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:community
```
build-e.md:101 List of tags to use for `BRANCH_NAME` is available at [https://gitlab.e.foundation/e/os/releases/-/tags](https://gitlab.e.foundation/e/os/releases/-/tags).
build-e.md:105 {% include alerts/tip.html content="We now use git tags in addition to a specific manifest for each release. It let us to know exactly what's inside each build." %}
build-e.md:109 > If you want to build a test version, you can use:
> - `BRANCH_NAME` set to v1-nougat, v1-oreo , v1-pie or v1-q to get the last test build
> - `BRANCH_NAME` set to v1-nougat, v1-oreo , v1-pie or v1-q & `REPO=https://gitlab.e.foundation/e/os/android.git`
build-e.md:111 ---
build-e.md:113 To understand what these parameters mean, check the document given [here](docker-command-details)
build-e.md:126 Example for Samsung Galaxy S9
```shell
$ 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=v0.9-pie" \
-e "DEVICE_LIST=starlte" \
-e "REPO=https://gitlab.e.foundation/e/os/releases.git" \
registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:community
```
build-e.md:128 ### 7. Build options
build-e.md:130 You can now customize applications installed by default in /e/OS.
build-e.md:133 * if you want to add extra applications to the default applications: add your APK to the android_prebuilts_prebuiltapks/ directory, and set the `CUSTOM_APPS` environment variable accordingly in the Docker image, before building.
* if you want to keep a minimal /e/OS build, set the `MINIMAL_APPS` environement variable to true (default is false). For now it's removing LibreOffice viewer, PDFViewer, Maps and Weather.
build-e.md:135 ### 8. Get your image!
build-e.md:137 When your build is finished, please find your images inside `/srv/e/zips/<my-device>` folder. To install, please refer to our [documentation](../../devices).
build-e.md:141 ## Need more help
build-e.md:143 If you need help, please join us on our [community support Telegram channel](https://t.me/joinchat/Fzzi3kUbP-AcoQz3zYHl5A) or get help from other users [on our forum](https://community.e.foundation/c/e-devices/unofficial-builds/92) who build /e/ unofficial ROM's