Need help with device_brcm_rpi2?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

201 Stars 67 Forks 24 Commits 2 Opened issues

Services available


Need anything else?

Contributors list

# 294,703
22 commits
# 257,136
1 commit

Read it first :

Build Kernel

Install gcc-arm-linux-gnueabihf $ cd kernel/rpi $ ARCH=arm scripts/kconfig/ arch/arm/configs/bcm2709defconfig android/configs/android-base.cfg android/configs/android-recommended.cfg $ ARCH=arm CROSSCOMPILE=arm-linux-gnueabihf- make zImage $ ARCH=arm CROSSCOMPILE=arm-linux-gnueabihf- make dtbs

Install python mako module

sudo apt-get install python-mako

Patch frameworks/base


Build Android source

Continue build with $ source build/ $ lunch rpi2-eng $ make

Prepare sd card

Partitions of the card should be set-up like followings. p1 512MB for BOOT : Do fdisk : W95 FAT32(LBA) & Bootable, mkfs.vfat p2 512MB for /system : Do fdisk, new primary partition p3 512MB for /cache : Do fdisk, mkfs.ext4 p4 remainings for /data : Do fdisk, mkfs.ex4 Set volume label for each partition - system, cache, userdata : use -L option of mkfs.ext4, e2label command, or -n option of mkfs.vfat

Write system partition

$ cd out/target/product/rpi2 $ sudo dd if=system.img of=/dev/ bs=1M

Boot partition, kernel & ramdisk

device/brcm/rpi2/boot/* to p1:/ kernel/rpi/arch/arm/boot/zImage to p1:/ kernel/rpi/arch/arm/boot/dts/bcm2709-rpi-2-b.dtb to p1:/ out/target/product/rpi2/ramdisk.img to p1:/

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.