Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
kejar31
Old
#1  
Recognized Developer - OP
Thanks Meter 1387
Posts: 1,573
Join Date: May 2010

 
DONATE TO ME
Default [TUTORIAL] How to Compile Gummy for Crespo4G

Compiling Gummy


All work here is done from Ubuntu 10.04.. Newer releases may require slightly different packages.


Installing dependencies:
  1. Install Ubuntu 10.04 and install all updates
  2. Install Java SDK (type or copy the commands into the terminal exactly as you see them here )
    1. Code:
      sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner”
    2. Code:
      sudo apt-get update
    3. Code:
      sudo apt-get install sun-java6-jdk
  3. Install Git
    1. Code:
      sudo apt-get install git-core
  4. Install the rest of the needed files
    1. Code:
      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 lib32readline5-dev lib32z-dev libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils pngcrush



Setting up and syncing Gummy’s Repo
  1. Enter the commands in the terminal exactly as they are displayed to setup your PATH
    1. Code:
      mkdir ~/bin
    2. Code:
      PATH=~/bin:$PATH
    3. Code:
      curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
    4. Code:
      chmod a+x ~/bin/repo
  2. Create your Gummy source directory and then go to that directory
    1. Code:
      mkdir ~/Gummy
    2. Code:
      cd ~/Gummy
  3. Initialize and sync the Gummy repo (where X is put the number of cores for your CPU such as “repo sync -j4” for a quad core)
    1. Code:
      repo sync -jX
  1. Take a break and enjoy an ice cold beer
    1. Go to the fridge
    2. Pull out your favorite brand of beer
    3. Open with care
    4. Drink with pleasure
    5. Otherwise its going to take a while ( a long while )



Preparing to Gummy and compiling
  1. Get prebuilts (Term)
    1. Code:
      cd ~/Gummy/vendor/Gummy
    2. Code:
      ./get-prebuilts
    3. Code:
      cd ~/Gummy
  2. Compile (dont forget the . and also make sure you again change the X to the number of cores you have)
    1. Code:
      . build/envsetup.sh && lunch Gummy_crespo4g-userdebug && make gummy -jX
You know that guy who made Liberty and Gummy but is just lazy now :P
The Following 3 Users Say Thank You to kejar31 For This Useful Post: [ Click to Expand ]
 
decalex
Old
#2  
decalex's Avatar
Recognized Themer
Thanks Meter 1284
Posts: 2,818
Join Date: Apr 2009
Location: Orange County, CA

 
DONATE TO ME
Nice! Thanks for this
(First)

•°NS4G • ICS°•
Galaxy Note II JellyBean 4.2.1 ParanoidAndroid 3+
Themed apps
 
EddyBalls
Old
#3  
EddyBalls's Avatar
Senior Member
Thanks Meter 3
Posts: 119
Join Date: Sep 2010
Location: SUCKramento, CA
2nd!

Now THIS is something... Awesome...Thanks man!
 
Rooster85
Old
#4  
Rooster85's Avatar
Senior Member
Thanks Meter 335
Posts: 1,786
Join Date: Dec 2010
Location: Charlotte, NC
Thanks bro! Gonna try this on my PC tonight

Sent from my IceCreamSammich Nexus S 4G
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...