Cubietech Cubieboard/Android TV image

From linux-sunxi.org
Jump to navigation Jump to search

The system running on Cubieboard can be customized,and this page is going to tell you how to build android operating system by yourself. Here I suggest you using Ubuntu 12.04(x86_64) as your building environment. If you have not setup your android buiding environment before, you should reference to Setting up build environment

simple way

Download the source code

$wget http://dl.cubieboard.org/software/a10-cubieboard/android/cubieboard_opentv.tar.gz

Compiling

$tar -zxf cubieboard_opentv.tar.gz
$cd cubieboard_opentv/
$source build/envsetup.sh && lunch #select cubieboard
$make -j5 # 5 if quadcore, 3 if dualcore.

Generating final image

$tools/pack-cm.sh

google way

Download the source code using git/repo

$mkdir ~/bin
$curl https://raw.github.com/cubieboard/git-repo/stable/repo > ~/bin/repo
$export PATH=$PATH:~/bin 
$chmod +x ~/bin/repo
$mkdir openbox && cd openbox
$repo init --no-repo-verify -u git://github.com/cubieboard/manifests -b cb -m openbox.xml  
$repo sync

Compiling

$source build/envsetup.sh && lunch #select cubieboard
$make -j4

Generating final image

$tools/pack-cm.sh

by now, we can flash the image to your cubieboard using livesuilt tool.

See also