To get started with the building process, you'll need to get familiar with Git and Repo.
To initialize your local repository, use a command like this:
repo init -u git://github.com/AIMROM/manifest.git -b o
Then to sync up:
repo sync -f --force-sync --no-clone-bundle --no-tags -j$(nproc --all)
Additionally, you can define the number of parallel download repo should do:
repo sync -jX -f --force-sync --no-clone-bundle --no-tags
With X being the number of parallel downloads
From root directory of AIM type following commands in terminal
. build/envsetup.sh
lunch aim_$devicecodename-$BuildType
brunch $devicecodename
If your device code name is "goldfish", then:
. build/envsetup.sh
lunch aim_goldfish-userdebug
brunch goldfish
From the root directory of AIM type following commands in the terminal
cd $OUT/target/product/$devicecodename/$AIM*.zip


