This guide walks through setting up a development environment for Vortex OS.
- Linux-based operating system (Ubuntu 22.04 LTS recommended)
- At least 16GB RAM (32GB recommended)
- 500GB+ free disk space
- 64-bit processor with at least 4 cores
- Fast internet connection
- git
- repo tool
- Python 3.8+
- JDK 11
- Rust toolchain (latest stable)
- Android SDK Platform Tools
- LLVM and Clang (latest versions)
- Docker (for isolated build environments)
For Ubuntu:
sudo apt update && sudo apt upgrade -y
sudo apt install -y git-core gnupg flex bison build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z1-dev libgl1-mesa-dev libxml2-utils xsltproc unzip fontconfigmkdir -p ~/bin
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
export PATH=~/bin:$PATHsudo apt install -y openjdk-11-jdkcurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/envmkdir -p ~/android/sdk
cd ~/android/sdk
wget https://dl.google.com/android/repository/platform-tools-latest-linux.zip
unzip platform-tools-latest-linux.zip
export PATH=$PATH:~/android/sdk/platform-toolsgit config --global user.name "Your Name"
git config --global user.email "your.email@example.com"sudo apt install -y docker.io
sudo systemctl start docker
sudo systemctl enable docker
sudo usermod -aG docker $USERmkdir -p ~/vortex-os
cd ~/vortex-osrepo init -u https://github.com/vortex-os/platform_manifest.git -b main
repo sync -j$(nproc --all)source build/envsetup.sh
lunch vortex_${device}-userdebugWhere ${device} is the codename of your target device.
make -j$(nproc --all)If you encounter issues during setup:
- Ensure all dependencies are correctly installed
- Check for system resource limitations
- Verify network connection for downloading source code
- Check our GitHub Issues page for known problems
- Join our Discord server: [link coming soon]
- Check the developer forum: [link coming soon]
- Review documentation at: [docs.vortex-os.org]