Photonicat 编译 Android

From Photonicat Wiki
Jump to navigation Jump to search

Create Android 12 System Image

Host System Requirements

Debian 11 (bullseye) or above, Ubuntu 20.04 or above.

Compiling Requirements

On Debian/Ubuntu systems, install the packages:

sudo apt-get install build-essential flex bison genext2fs

Get Repo files by tarball

tar -xf rk3568-android12-20230926.tar.xz
cd rk3568-android12

Config build target

Run the command below:

echo "ROCKCHIP_DEVICE_DIR := device/rockchip/rk356x/photonicat" >

Build system image

Run the command below:

./ -FMu

The image output path is rockdev/Image-aosp_photonicat.