To get started with the ArrowOS sources, you'll need to get familiar with Git and Repo.
For gms and other large repos, make sure git-lfs is installed and initialized:
sudo apt install git-lfs
git-lfs install
To initialize your local repository, use command:
repo init -u https://github.com/ArrowOS-Extended/android_manifest.git -b arrow-13.1 --git-lfs
Then, sync the sources:
repo sync -c --force-sync --optimized-fetch --no-tags --no-clone-bundle --prune -j$(nproc --all)
First, initialize the ROM environment with the envsetup.sh script:
. build/envsetup.sh
After cloning the necessary device sources, set up the build environment for your device:
lunch arrow_devicecodename-buildtype
To build an unsigned ROM:
m bacon
If you haven't already generated keys, you can do so with the following command (email is optional; if omitted, your Git configuration email will be used):
gen_keys [email]
Then, proceed with building the signed ROM:
ota_sign
Or if you already have your keys, clone them to vendor/arrow/signing/keys.
Changelog:
ArrowOS Website | ArrowOS Blog