Skip to content

Compiling vorkKernel

vork edited this page Oct 9, 2011 · 5 revisions

To compile vorkKernel you need a linux destribution (confirmed working on debian based ones), a few packages (look at CM Wiki (link) + build-essentials libgmp3-dev libmpfr-dev texinfo libncurses5-dev should be enough). First we need to compile our toolchain.

First we will setup some directories, and download the source. This will only have to be done once. I can recommand to leave everything in your home directory. This way you didn't need to change every locations.

# Setup dirs
mkdir -p ~/Dropbox/Public/TEST/

# Fetch Scripts and kernel
git clone git://github.com/VorkTeam/vorkKernel-LGP990.git
git clone git://github.com/VorkTeam/vorkKernel-Scripts.git

or any other git (all on our github page)

Now we'll have to build the toolchain:

cd ~/vorkKernel-Scripts/vorkChainScripts
. script.sh

The script will handle everything else. Now grab yourself a cup of coffee or something. This takes time.

After the toolchain has been built we'll begin compiling the kernel itself:

cd ~/vorkKernel-Scripts/vorkKernelScripts

Now you have to choose for which device you want to build. Add following number after

bash build.sh

2 - LGP990

4 - XOOM

6 - DESIRE

for example if you want to build a LGP990 Kernel than

bash build.sh 2

This will also take some time, so now you could finish up that coffee, if you haven't already.

When done the kernel zip can be found in a sub-directory of ~/Dropbox/Public/, depending on the type of build you chose.

Clone this wiki locally