2. Compile Source

❶ Unzip Source

1tar xvf compacts_android14_241115.tar.gz
2cd Android14

❷ Set Environment Variables

1source build/envsetup.sh
2lunch rk3588s_u-userdebug

❸ Compile uboot

1./build.sh -U

❹ Compile kernel

1./build.sh -K

❺ Compile Android

1./build.sh -A

❻ Generate and Check Firmwares

1./build.sh -u

Images and update.img are generated in directory rockdev/

A one‑click build is also available. Use the command below:

1source build/envsetup.sh
2lunch rk3588s_u-userdebug
3./build.sh -AUCKu