It's just taking too much time to figure out the steps.. It'll be good to record what I have done in case I forget it..
- Ubuntu, eight-core, i7-2600 3.4GHz
- Samsung Galaxy Note (quincyatt)
For environment setup:
sudo apt-get install openjdk-7-jdk sudo apt-get install python sudo apt-get install git-core sudo apt-get install gnupg flex bison gperf \ build-essential zip curl zlib1g-dev libc6-dev \ lib32ncurses5-dev ia32-libs x11proto-core-dev \ libx11-dev lib32readline5-dev lib32z-dev \ libgl1-mesa-dev g++-multilib mingw32 tofrodos \ python-markdown libxml2-utils
For Android SDK:
Download and install SDK following the instruction here