Building Jellybean for the Vibrant MTD (Galaxy S1)

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:

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

mkdir ~/bin
curl > ~/bin/repo
chmod a+x ~/bin/repo

–Download the SDK here:
–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
–in terminal
–Enter your Admin. password to open the document
–Add these lines at the bottom of the file:

# Android tools
export PATH=${PATH}:~/android-sdk/tools
export PATH=${PATH}:~/android-sdk/platform-tools
export PATH=${PATH}:~/bin

–Then save and close

–Now type
gksudo gedit ~/.profile
–In terminal
–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

–and retry

–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 \

–Then this

sudo ln -s /usr/lib/i386-linux-gnu/ /usr/lib/i386-linux-gnu/

–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
cd ~/android/jellybean
repo init -u git:// -b jellybean
repo sync

–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

cd ~/android/jellybean/vendor
rm -Rf pa
git clone -b jellybean pa
cd ..

–The fun stuff begins!!!
./ vibrantmtd

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.

One thought on “Building Jellybean for the Vibrant MTD (Galaxy S1)

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s