- Checkout http://source.android.com/source/downloading.html
- Create a new directory:
mkdir android
cd android
- 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
- Checkout sources:
repo sync -c
- 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
- Create SD card image:
sdcard_image pine64_android_7.img.gz
- Write image to SD card with Rasplex Installer (this is multiplatform tool):
https://github.com/RasPlex/rasplex-installer/releases or use
DD
.
I did backport minimal amount of Allwinner changes to make it run. You can see a commit history.
Kamil Trzciński (ayufan@ayufan.eu)