/local_manifests

Pine 64 Android 7.0 compilation manifest

How to compile Android 7.0 for Pine A64

  1. Checkout http://source.android.com/source/downloading.html
  2. Create a new directory:
mkdir android
cd android
  1. Initialize manifests:
repo init -u https://android.googlesource.com/platform/manifest -b android-7.0.0_r1 --depth=1
git clone https://github.com/ayufan-pine64/local_manifests -b nougat .repo/local_manifests
  1. Checkout sources:
repo sync -c
  1. Compile sources:
source build/envsetup.sh
# tulip_chihpd-eng: use for normal Android build with Launcher
# tulip_chiphd_atv-eng: use for Android TV build with Leanback Launcher
lunch tulip_chiphd-eng
make
  1. Create SD card image:
sdcard_image pine64_android_7.img.gz
  1. Write image to SD card with Rasplex Installer (this is multiplatform tool): https://github.com/RasPlex/rasplex-installer/releases or use DD.

Changes

I did backport minimal amount of Allwinner changes to make it run. You can see a commit history.

Author

Kamil Trzciński (ayufan@ayufan.eu)