dnsawhney / device_arpi_rpi4 Goto Github PK
View Code? Open in Web Editor NEWThis project forked from android-rpi/device_arpi_rpi4
Device build-config for Raspberry Pi 4
This project forked from android-rpi/device_arpi_rpi4
Device build-config for Raspberry Pi 4
# Setup build envoronment https://source.android.com/setup/build/initializing $ sudo apt install libssl-dev python3-setuptools # Download Android source https://github.com/android-rpi/local_manifests # Patch the source https://github.com/android-rpi/device_arpi_rpi4/wiki/arpi-12-:-framework-patch # Build Android Refer to http://source.android.com/source/building.html $ source build/envsetup.sh $ lunch rpi4-eng $ make ramdisk systemimage vendorimage Use -j[n] option with make, if build host has a good number of CPU cores. # Prepare sd card Partitions of the card should be set-up like followings. p1 128MB for boot : Do fdisk, set W95 FAT32(LBA) & Bootable type, mkfs.vfat p2 1024MB 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 of /data partition as userdata : use -L option for mkfs.ext4 # Write system & vendor partition $ cd out/target/product/rpi4 $ sudo dd if=system.img of=/dev/<p2> bs=1M $ sudo dd if=vendor.img of=/dev/<p3> bs=1M # Copy firmware & ramdisk to boot partition device/arpi/rpi4/boot/* to p1:/ out/target/product/rpi4/ramdisk.img to p1:/ # Download & Build kernel source https://github.com/android-rpi/kernel_manifest # Copy kernel binaries to boot partition <kernel directory>/out/arpi-5.10/dist/Image.gz to p1:/ <kernel directory>/out/arpi-5.10/dist/bcm2711-rpi-*.dtb to p1:/ <kernel directory>/out/arpi-5.10/dist/vc4-kms-v3d-pi4.dtbo to p1:/overlays/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.