Build for hammerhead

From MoKee Open Source Wiki
Jump to: navigation, search
This page contains changes which are not marked for translation.

The following are the directions for building MoKee OpenSource for the Google Nexus 5 (hammerhead)

Set up build environment

First, follow the steps to set up your general Android build environment.

Build MoKee OpenSource

cd ~/mokee;

First do a repo sync to ensure you have the latest version of MoKee OpenSource's sources. Two options, either

repo sync -j4

sync without any problem (timeout), either you'll need to use only one download thread.

repo sync -j1

Then simply prepare the build

. build/envsetup.sh 

Only to use after initial build has been complete

export USE_CCACHE=1

Then simply launch the build

lunch mk_hammerhead-userdebug
mka bacon

Installable File

Installable Zip file will be located in:

 out/target/product/hammerhead/MK<version>-hammerhead-<date>-<buildtype>.zip

Flash this file with CWM or other recovery.