ParanoidAndroid Build Instructions
This guide assumes you have completed the Set Up Android Build Environment
, or already have a 64 bit Android build environment set up. i.e., you have:
- Installed Ubuntu 64 bit (I'm running 32-bit Ubuntu 11.10 & 12.04 virtual machines without problems)
- Installed the Android SDK
- Installed the Java SDK/JDK
USE THESE STEPS INSTEAD OF THE GUIDE CM9 STEPS!
1. CREATE THE BUILD REPOSITORY
Create directories and setup your local repository using my git repository:
Create the Directories
Type the following in a terminal window:
mkdir -p ~/bin
mkdir -p ~/android/pa (or ~/android/[anything-you-want-to-call-it)
Download and make the "repo" binary executable...type the following In the terminal window:
Close the terminal window to insure these changes take effect.
2. INITIALIZE THE REPOSITORY
Open a new terminal window and type the following:
cd ~/android/pa (or whatever you named the directory)
repo init -u git://github.com/shumashv1/android.git -b ics
Now to sync the repository, type:
The default for ParanoidAndroid is -j16, but if you have trouble downloading, you can add -j4, or even -j1 -f to the above command.
Go eat dinner, maybe read a book... It's going to take a long time.
To build, make sure you're in your build directory, i.e. ~/android/pa, or whatever, then type in the terminal window
. build/envsetup.sh (note the space between . and build)
When that completes, type:
Type in the number corresponding to "pa_tenderloin-userdebug"
Wait an incredibly long time, and you will find your zip waiting in the out/target/product/tenderloin directory, or you can just type "cd OUT$"