What's new
DroidForums.net | Android Forum & News

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[TUTORIAL] How to Compile Gummy for Toro

kejar31

Premium Member
Premium Member
Developer
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 init -u[URL="https://github.com/teamgummy/platform_manifest.git"][COLOR=#000000] https://github.com/teamgummy/platform_manifest.git[/COLOR][/URL] -b master
    2. 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_toro-userdebug && make gummy -jX
 
Last edited:
yea thanks.. I really hope we can get a few more devs to jump in on the project...
 
do you have to be on Root in terminal to do this, I was able to initialize repo and sync, however when I go to compile from the cd ~/Gummy/vendor/Gummy part I get No such file or directory...hummm
 
Back
Top