Skip to content
Go to file
This branch is even with android-rpi:android10.


Read it first :

# Build Kernel
 $ sudo apt install gcc-arm-linux-gnueabihf libssl-dev
 $ cd kernel/rpi
 $ ARCH=arm scripts/kconfig/ arch/arm/configs/bcm2709_defconfig kernel/configs/android-base.config kernel/configs/android-recommended.config
 $ ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make zImage
 $ ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make dtbs

# Install python mako module
 $ sudo apt install python-mako

# Build Android source
 Continue build with
 $ source build/
 $ lunch rpi3-eng
 $ make ramdisk systemimage vendorimage

# Prepare sd card
 Partitions of the card should be set-up like followings.
  p1 256MB for BOOT : Do fdisk : W95 FAT32(LBA) & Bootable, mkfs.vfat
  p2 640MB for /system : Do fdisk, new primary partition
  p3 128MB for /vendor : Do fdisk, new primary partition
  p4 remainings for /data : Do fdisk, mkfs.ext4
 Set volume label for /data partition as userdata
  : use -L option of mkfs.ext4, e2label command, or -n option of mkfs.vfat
# Write system & vendor partition
  $ cd out/target/product/rpi3
  $ sudo dd if=system.img of=/dev/<p2> bs=1M
  $ sudo dd if=vendor.img of=/dev/<p3> bs=1M
# Copy kernel & ramdisk to BOOT partition
  device/brcm/rpi3/boot/* to p1:/
  kernel/rpi/arch/arm/boot/zImage to p1:/
  kernel/rpi/arch/arm/boot/dts/bcm2710-rpi-3-b.dtb to p1:/
  kernel/rpi/arch/arm/boot/dts/overlays/vc4-kms-v3d.dtbo to p1:/overlays/vc4-kms-v3d.dtbo
  out/target/product/rpi3/ramdisk.img to p1:/

# HDMI_MODE : If DVI monitor does not work, try followings for p1:/config.txt


No description, website, or topics provided.



No releases published
You can’t perform that action at this time.