/e/OS (https://e.foundation/)
This scripts are derived from https://github.com/LG-G6 and many others things like kernel come from this repositories, so many thanks to Bernardo Bas.
This scripts are only for LG G6 H870 variant (EU) to build /e/OS on Linux.
Tested on Ubuntu 22.04 LTS
To initialize your local repository, use this ninja command:
mkdir eOSt && cd eOSt && git clone https://github.com/mor175/scripts.git -b v1-t && repo init -u https://gitlab.e.foundation/e/os/android.git -b v1-t --depth=1 && export USE_CCACHE=1 && export CCACHE_EXEC=/usr/bin/ccache && ccache -M 50G && mkdir .repo/local_manifests && cp scripts/roomservice-h870.xml .repo/local_manifests/ && mv .repo/local_manifests/roomservice-h870.xml .repo/local_manifests/roomservice.xmlTo build /e/OS:
source scripts/build-h870.shUbuntu 22.04 LTS - Special Notes :
Instead of download and install "platform-tools-latest-linux.zip", you could do this :
sudo apt-get install adb fastbootYou may need also add this packages : cpu-checker python-is-python3 zram-config git-lfs
JAVA : v1-t is equivalent to LineageOS 20, so it's not necessary to install OpenJDK 11 (included in source download)
To fix "Can't locate Getopt/Std.pm in @INC", execute this :
sudo perl -e shell -MCPAN
cpan>install CPAN
cpan>reload cpan
cpan>install Getopt::Std
cpan>exitln -s /usr/share/perl/5.34.0/ /usr/share/perl/5.26
ln -s /usr/share/perl/5.34.0/ /usr/share/perl/5.26.1