Skip to content

nguyenanhgiau/device_arpi_rpi4

 
 

Repository files navigation

Read at first: https://github.com/nguyenanhgiau/local_manifests/tree/rpi4-a12-telephony

Build Android

Apply the patch fix for android-s-beta-2
Run the below command for building AOSP:

cd <aosp_dir>
source build/envsetup.sh
lunch rpi4-eng
make ramdisk systemimage vendorimage -j[n]

Use -j[n] option with make, if build host has a good number of CPU cores.

Build Kernel

There is a prebuild kernel image in scripts/kernel-android-S.
If you want to build a custom kernel, follow building kernel

Prepare sd card

We provide a script in $ANDROID_BUILD_TOP/scripts for writing and packaging. Follow Android4Pi Script

About

Device build-config for Raspberry Pi 4

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Makefile 98.7%
  • C 1.3%