A20-Cubieboard/Building your own Android image

Downloads
The tarball is list below

Compiling
After extract it, $cd lichee $./build.sh -p sun7i_android $cd ../android42 $source build/envsetup.sh $lunch (select sugar-cubieboard2) $extract-bsp $make -j4

Generating final image
$pack

Important to Know
The images generated by the SDK are not suitable for all kind of OS platform's Livesuit. Because the binary images(fed_nand.axf) from the SDK is buggy, We must choose a target platform of fed-nand.axf before running pack command.

Replace lichee/tools/pack/chips/sun7i/eFex/usb/fed_nand.axf with lichee/tools/pack/chips/sun7i/eFex/usb/fed_nand-windows.axf, then run $pack
 * Making a livesuit image for Windows
 * 1) remember to source & lunch cubieboard2, so that the "pack" command will work

Replace lichee/tools/pack/chips/sun7i/eFex/usb/fed_nand.axf with lichee/tools/pack/chips/sun7i/eFex/usb/fed_nand-linux.axf, then run $pack
 * Making a livesuit image for Linux

I have not test it on Mac OS