Building Android TV image
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
Download the source code
$tar -zxf cubieboard_opentv.tar.gz $cd cubieboard_opentv/ $source build/envsetup.sh && lunch #select cubieboard $make -j4
Generating final image
by now, we can flash the image to your cubieboard using livesuilt tool.