/android_allwinner_manifest

Project moved to https://github.com/glodroid/glodroid_manifest

MIT LicenseMIT

Manifest for Allwinner Android

This version is based on Android 10.0.0 Release 5.

For customization we use the follov parameters:

  • Customer - Allwinner
  • Supported platform - Orange Pi Plus 2E

There are added the follow new projects:

Location Repo Link Branch/Tags
external/mesa3d repo refs/tags/OrangePlus2e_AndroidQ_preview3
external/uboot repo refs/tags/v2019.10-rc3
external/gbm_gralloc repo db36c0033e29d0bb98553f790c397f89dcd1d1e2
external/tinyhal repo 3c3e49e2383004b9115216048320f9648db3b360
device/allwinner repo refs/tags/OrangePlus2e_AndroidQ_preview3
kernel/allwinner repo refs/tags/OrangePlus2e_AndroidQ_preview2
prebuilts/gcc/linux-x86/arm/gcc-linaro_arm-linux-gnueabihf repo refs/tags/OrangePlus2e_AndroidQ_preview1
kernel/allwinner-modules/rtl8189ES_linux repo fix-ap-crash-pr
prebuilts/allwinner repo regs/tags/OrangePlus2e_AndroidQ_preview4

Install necessary tools for building under Ubuntu

For Android build you need to set up your local work environment according Google's recommendations. Probably You need to install additional packets.

sudo apt-get install swig lz4 repo python-dev python3-dev libssl-dev flex bison
pip install Mako

Fetching Android sources

mkdir -p ${ANDROID_ROOT}
cd ${ANDROID_ROOT}/

SSH

repo init -u git@github.com:android2orangepi-dev/android_allwinner_manifest -b refs/tags/OrangePlus2e_AndroidQ_preview3 -m ssh.xml
repo sync -cq

HTTPS

repo init -u https://github.com/android2orangepi-dev/android_allwinner_manifest -b refs/tags/OrangePlus2e_AndroidQ_preview3 -m https.xml
repo sync -cq

Android build

Building

cd ${ANDROID_ROOT}/
export NUM_JOBS=$(($(grep ^processor /proc/cpuinfo | wc -l)*2))
. ./build/envsetup.sh
lunch orangepi_plus2e-userdebug
make -j${NUM_JOBS} 2>&1 | tee ../android_build.log

Deployment

SDCard

For sdcard image build You can use existed target:

cd ${ANDROID_ROOT}/
make sdcard

Please use sdcard.img (out/target/product/plus2e/sdcard.img) for flashing to SD Card (Please replace X for a correct letter in sdX).

cd ${ANDROID_ROOT}/
export card=/dev/sdX
dd if=out/target/product/plus2e/sdcard.img of=${card} bs=4096
sync