Photonicat 编译 Android: Difference between revisions
Jump to navigation
Jump to search
Monstercat (talk | contribs) No edit summary |
Monstercat (talk | contribs) |
||
Line 10: | Line 10: | ||
</pre> | </pre> | ||
===Get Repo files by tarball | ===Get Repo files by tarball=== | ||
wget https://dl.photonicat.com/repos/rk3568-android12-20230926.tar.xz | wget https://dl.photonicat.com/repos/rk3568-android12-20230926.tar.xz | ||
Revision as of 12:26, 28 September 2023
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
wget https://dl.photonicat.com/repos/rk3568-android12-20230926.tar.xz
Config build target
Run the command below:
echo "ROCKCHIP_DEVICE_DIR := device/rockchip/rk356x/photonicat" > .rockchip_device.mk
Build system image
Run the command below:
. setenv.sh ./build.sh -FMu
The image output path is rockdev/Image-aosp_photonicat.