How to create a custom Android ROM from source!!
Aprašymas
As promised in the video, below are the commands needed...
Setting up the PPA to download Java6
sudo add-apt-repository ppa:ferramroberto/java ; sudo apt-get update
Downloading Java6 packages
sudo apt-get install sun-java6-jdk sun-java6-jre sun-java6-plugin sun-java6-fonts
Adding a directory to $PATH
PATH=~/(Your Folder Name):$PATH
Getting Google's repo script
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo [greater-than] ~/(Your Folder Name)/repo
chmod a+x ~/(Your Folder Name)/repo
Initializing repo ('master' branch)
repo init -u https://android.googlesource.com/platform/manifest
...or a specific branch... get branches from: https://android.googlesource.com/platform/manifest/+refs
repo init -u https://android.googlesource.com/platform/manifest -b (BRANCH NAME HERE)
Download the source
repo sync
Verify GIT Tags
gpg --import
{then paste the public key from the bottom of: http://source.android.com/source/downloading.html}
"source" the files
source ~/(Your Folder Name)/build/envsetup.sh
Set up CCACHE
export USE_CCACHE=1
~/(Your Folder Name)/prebuilts/misc/linux-x86/ccache/ccache -M 50G