To get started with Android, you'll need to get familiar with Git and Repo.
sudo su -
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > /usr/bin/repo
chmod +x /usr/bin/repo
To initialize your local repository use a command like this:
repo init -u git://github.com/o2droid/sm_android.git -b froyo
Then to sync up:
repo sync
Prepare for build:
. build/envsetup.sh
lunch OmniaII
Optionally download Google Apps (need to do this only once): vendor/OmniaII/get-google-files -v hdpi rename GoogleServicesFramework.apk.fixed to GoogleServicesFramework.apk (WiFi mac address fix for CheckIn).
Optionally for gapps,3D libs from Intercept, live wallpapers and development (gcc, uclibc, etc):
export OMNIAII_WITH_GOOGLE=1
export OMNIAII_WITH_3D=1
export OMNIAII_WITH_LIVEWALLPAPERS=1
export OMNIAII_WITH_DEV=0
Build:
make -j4