Build for tilapia

From Omni
Jump to: navigation, search

The following are the directions for building Omni for the Google Nexus 7 2012 3G (tilapia)

Set up build environment

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

Getting tilapia-specific files

Connect your device via USB in Debug Mode.

 . build/envsetup.sh
 breakfast tilapia
 cd  ~/android/omni/device/asus/tilapia 
 ./extract-files.sh
 ./setup-makefiles.sh

This will download automatically the files required to build for the Nexus 7.

Build Omni

cd ~/android/omni;

First do a repo sync to ensure you have the latest version of Omni'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 launch the build

brunch tilapia

Installable File

Installable Zip file will be located in:

 out/target/product/tilapia/omni-4.4.2-<date>-tilapia-HOMEMADE.zip

Flash this file with TWRP.