/aosp-setup

Automatically setup android build environment and synchronize aosp source

Primary LanguageShell

AOSP setup

中文
Quick start my aosp sync up

git clone https://github.com/stuartore/aosp-setup.git && cd aosp-setup
./aosp.sh

Custom

./aosp.sh ${ROM_manifest_url}

# example
./aosp.sh https://github.com/xxxxxxx/manifest.git

Mirror

# set github & aosp mirror for synchonization
./aosp.sh --mirror

# keep mirror when sync source
./aosp.sh -k
./aosp.sh --keep-mirror

Auto Build

./aosp.sh --auto_build {brand}/{device_code}

# example
./aosp.sh --auto_build xiaomi/psyche

Debug: Still uer to fix error & mannual handle

  • LineageOS
  • ArrowOS
  • Pixel Experience
  • RisingOS
  • Crdroid
  • AlphaDroid
  • Evolution-X
  • Project-Elixir
  • Paranoid Android (AOSPA)
  • PixysOS
  • SuperiorOS
  • PixelPlusUI

Get script status

Get running status on Wechat,Click me.

# eg. You need to copy UID on wechat official account
./aosp.sh --auto_build --with_push UID_xxxxx
  • Thanks to @zjiecode and his wxpusher