- This is a WIP, don't expect it to work
- It might never work
- This is for
surnia
only
To get started with Android, you'll need to get familiar with Git and Repo.
- Set up your environment
sudo apt-get install git-core
git clone https://github.com/akhilnarang/scripts
cd scripts
bash setup/android_build_env.sh
- Then run these commands to get git all working:
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
- Then Create a folder for LineageOS and open it
mkdir los
cd los
- To initialize your local repository using the LineageOS trees, use a command like this:
repo init -u https://github.com/ItsPi3141-Surnia/lineageos_manifest.git -b lineage-20.0 -g "default,-darwin" --depth=1 --git-lfs
Note
If you're building on Darwin (MacOS), remove -g "default,-darwin"
- Then to sync up:
repo sync -c -j$(nproc --all) --force-sync --no-clone-bundle --no-tags
- To start the build once everything is ready , Run to prepare our devices list
. build/envsetup.sh
- Now build
brunch surnia