AnierinB 3763576384 tensor_build_guide: Initialize
Signed-off-by: AnierinB <anierin@evolution-x.org>
2025-04-08 20:25:13 -07:00
2025-04-08 20:25:13 -07:00

Install android build dependencies

curl https://raw.githubusercontent.com/akhilnarang/scripts/master/setup/android_build_env.sh -o android_build_env.sh
chmod +x android_build_env.sh
./android_build_env.sh
sudo apt-get install python3-pip
sudo pip install lxml

Initialize Evolution X via repo and sync source

mkdir evolution && cd evolution
repo init -u https://github.com/Evolution-X/manifest -b vic --git-lfs
repo sync -c -j$(nproc --all) --force-sync --no-clone-bundle --no-tags

Note: If repo sync fails to fully sync the tree (likely due to rate limiting), re-run the repo init & sync commands again.

Set up build environment

. build/envsetup.sh

Generate private keys

Run the following commands to generate keys used for automatic signing:

git clone https://github.com/Evolution-X/vendor_evolution-priv_keys-template vendor/evolution-priv/keys && cd vendor/evolution-priv/keys
./keys.sh
croot

Note: Save your keys for future use, but keep them secure and never upload them to public repositories!

Lunch your target device

Codename Device
oriole Pixel 6
raven Pixel 6 Pro
bluejay Pixel 6a
panther Pixel 7
cheetah Pixel 7 Pro
lynx Pixel 7a
tangorpro Pixel Tablet
felix Pixel Fold
shiba Pixel 8
husky Pixel 8 Pro
akita Pixel 8a
tokay Pixel 9
caiman Pixel 9 Pro
komodo Pixel 9 Pro XL
comet Pixel 9 Pro Fold
lunch lineage_codename-ap4a-user

Note: After lunching, device dependencies, excluding vendor (proprietary-files/firmware), will be added to a local_manifest in .repo/local_manifests/roomservice.xml and synced via roomservice. Due to missing vendor, this will result in a failed lunch. The resolution for this will be handled in the next step.

Generate vendor dependencies

Run the following command to download the appropriate factory image from Google and extract vendor (proprietary-files/firmware) automatically:

./lineage/scripts/pixel/device.sh codename

Finally, lunch the device again and build

lunch lineage_codename-bp1a-user
m evolution
Description
No description provided
Readme 143 KiB