s5neolte
is the codename for the Samsung Galaxy S5 Neo, with models SM-G903F, SM-G903W, and SM-G903M.
Some extremely basic instructions:
These assume you have a good Linux build environment prepared with all prerequisite dependencies installed. If not, you should be able to find out how to prepare a build environment, and what dependencies you should have installed for your specific Linux distribution, by searching elsewhere.
- Make a new directory for LineageOS 19.1 sources and enter it:
mkdir lineage-19.1
cd lineage-19.1
- Initialize repo in this directory with Lineage's android.git repository:
repo init -u https://github.com/LineageOS/android.git -b lineage-19.1 --git-lfs
- Clone this repository to .repo/local_manifests for the manifest, s5neolte.xml, containing the repositories needed to build for these devices:
git clone https://github.com/K9100ii/s5neolte-manifest.git -b lineage-19.1 .repo/local_manifests
- Sync all of the repositories in manifests (including LineageOS manifests):
repo sync --force-sync --no-tags --no-clone-bundle -c
- Forks of LineageOS repositories may become out-of-date from new changes until I (@K9100ii) get around to updating them again. Before building, you'll need to go through s5neolte.xml, and, for forks that have remove-project lines with names starting with "LineageOS/", update (rebase) them from upstream repositories. For example, for frameworks/base (note the second and third commands only need to be ran once per repository):
cd frameworks/base
git remote add lineage https://github.com/LineageOS/android_frameworks_base
git config pull.rebase true
git pull lineage lineage-19.1
cd ../..
- Finally, build as you like. For example, for a recovery-installable package:
. build/envsetup.sh
lunch lineage_s5neolte-userdebug
mka otapackage