These are Nate’s notes from the FB group. Nate runs ubuntu so all his Linux stuff is horribly broken crap but the bones are here to make this workable:
***ROM BUILD TUTORIAL***
Wanna build a Paranoid Android Vibrant ROM?
I’ll point you in the right direction.
This can be applied to many devices. Want help? Just ask.Start here:
–Install the repo
–Open your terminal and enter the following
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo
–Download the SDK here: http://developer.android.com/sdk/index.html
–Extract the SDK and place it in your home directory.
–I renamed my SDK to android-sdk to make it easier to navigate to.
gksudo gedit ~/.bashrc
–Enter your Admin. password to open the document
–Add these lines at the bottom of the file:
# Android tools
–Then save and close
gksudo gedit ~/.profile
–Add the following to the bottom
–Then save and close
–SDK now being set up, type this in terminal
–If you get an exception error type
sudo mount -o remount,exec /tmp
–Now time to install packages (64 bit required)
–Paste this and enter
sudo apt-get install git-core gnupg flex bison gperf build-essential \
zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs \
x11proto-core-dev libx11-dev lib32readline-gplv2-dev lib32z-dev \
libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown \
sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so
–Configure your USB
gksudo gedit /etc/udev/rules.d/51-android.rules
–and copy/paste this to your document.
–Save and close
–This will add all the devices to the list
–Type the following in terminal
sudo chmod a+r /etc/udev/rules.d/51-android.rules
–Creating your working directory and add a repo
–back to terminal
mkdir -p ~/android/jellybean
repo init -u git://github.com/ParanoidAndroid/android.git -b jellybean
–Sit back and enjoy a good movie or two. This will take a long time.
–For the time being you’ll need to sync my modified PA vendor with Vibrant support
rm -Rf pa
git clone -b jellybean https://github.com/ngiordano/android_vendor_pa.git pa
–The fun stuff begins!!!
When complete look in /out/target/product/vibrantmtd for the zip. The one listed in terminal is your choice
Looks good but I’m only human. If I made an error, let’s talk about it.