Translations of this page:
About this Article
Openbox is based on ics-4.0.4, and with XBMC integrated. And the source code is maintained using git/repo tools. If you want to build android for cubieboard, you at least need to know how to use git and android repo tools(just some basic commands will be okay). Also the recommended building environment is ubuntu 12.04(x86_64). You can reference to Setting up a Linux build environment
All-In-One Tarball
$mkdir -p ~/android/build/Cubieboard $cd ~/android/build/Cubieboard/ $wget http://dl.cubieboard.org/software/a10-cubieboard/android/cubieboard_opentv.tar.gz
Now we will check that cubieboard_opentv.tar.gz match what used by that document:
$md5sum cubieboard_opentv.tar.gz $ -> d36631c98f30ebc0f43eeafeba8201ec cubieboard_opentv.tar.gz //The print information
$tar -zxf cubieboard_opentv.tar.gz $cd cubieboard-tv-sdk/
A this point is necessary to fix a but in cubieboard_opentv script and precisely to following file:
$vim frameworks/base/media/libstagefright/Android.mk
search LOCAL_STATIC_LIBRARIES and add to list: libstagefright_rtsp \ so you get:
LOCAL_STATIC_LIBRARIES := \ libstagefright_color_conversion \ libstagefright_aacenc \ libstagefright_amrnbenc \ libstagefright_amrwbenc \ libstagefright_avcenc \ libstagefright_m4vh263enc \ libstagefright_matroska \ libstagefright_timedtext \ libvpx \ libstagefright_mpeg2ts \ libstagefright_id3 \ libFLAC \ libstagefright_rtsp \ ...
$source build/envsetup.sh $lunch $4 //note: select cubieboard option $make -j4 $tools/pack-cm.sh //note: this will generate the final image suitable for livesuit tool
$sudo apt-get install dkms $git clone https://github.com/matson-hall/allwinner-pack-tools.git -b cubieboard $unzip allwinner-pack-tools/tools/Livesuit-linux.zip $chmod +x LiveSuit_For_Linux64/LiveSuit.run $./LiveSuit_For_Linux64/LiveSuit.run //livesuit will be installed to ~/Bin
$sudo ~/Bin/LiveSuit/LiveSuit.sh //run livesuit