-
Notifications
You must be signed in to change notification settings - Fork 0
Home
linzhenxing edited this page May 22, 2026
·
2 revisions
Cix Android Opensource
- Compilation must be performed with root or sudo privileges.
We recommend an Ubuntu machine with at least 32GB physical RAM and 32GB or more swap memory.
Install tools with apt-get (run as root or with sudo). Install all required system and build packages in one step:
sudo apt-get -y update
sudo apt-get -y install lsb-release autoconf autopoint bc \
bison build-essential cpio curl device-tree-compiler \
dosfstools doxygen fdisk flex gdisk gettext-base git \
libncurses5 libssl-dev libtinfo5 m4 mtools pkg-config \
python2 python3 python3-distutils python3-pyelftools \
rsync snapd unzip uuid-dev wget scons perl libwayland-dev \
wayland-protocols indent libtool dwarves libarchive-tools \
xorriso jigdo-file python3-pip vim sudo parted cmake \
golang libffi-dev u-boot-tools img2simg libxcb-randr0 \
libxcb-randr0-dev libxcb-present-dev libxau-dev libelf-dev \
python3-mako libglib2.0-dev-bin binfmt-support qemu \
qemu-user-static debootstrap multistrap debian-archive-keyring \
ser2net git-lfs zstd debhelper jq pigz zipwget https://bootstrap.pypa.io/get-pip.py
python3 get-pip.pypip uninstall pyOpenSSL
pip install --upgrade --force-reinstall 'requests==2.31.0' 'urllib3==1.26.0' 'meson==1.3.0' 'ply==3.11' 'cryptography==41.0.7' 'docutils==0.18.1' openpyxl nexus3-cli launchpadlib pyOpenSSL -i https://pypi.tuna.tsinghua.edu.cn/simplegit config --global user.name "your_account_name"
git config --global user.email "your_email@example.com"curl https://storage.googleapis.com/git-repo-downloads/repo -o repo
chmod +x repo
mv ./repo /usr/bin/Note: The
repotool requires Python 3, which is installed in step 1.
mkdir workspace
cd workspace
repo init -b cix_android16_2025q3_dev https://github.com/cixtech/android-manifestrepo syncOptional flags for a slower but more conservative sync: -c -j1 --fail-fast (current branch only, one repo at a time, stop on first failure).
Android uses many repositories; syncing can take a long time and may fail. Retry if sync fails.
source build/envsetup.sh
lunch sky1_evb-bp2a-userdebug
./build-android.sh -j<N>Set -j<N> according to your host (for example -j10).
After a successful build, images are located at:
./out/target/product/sky1_evb/images