Android Build and Flash
Install Android Source
Copy the Android source package from the delivered network-disk resources to the Ubuntu user directory and extract it. The package name may vary by release.
Build Android Source
Build as a normal user, not as root.
Common output images include:
MiniLoaderAll.bin
uboot.img
trust.img
resource.img
boot.img
misc.img
recovery.img
boot-debug.img
dtbo.img
super.img
vbmeta.img
update.img
Build example:
source build/envsetup.sh
lunch rk3588_sgo-userdebug
./build.sh -UKAup
View help:
./build.sh -h
Flash update.img on Windows
- Install the Rockchip USB driver with
DriverAssitant_v5.1.1. - Open
RKDevTool.exe. - Select firmware upgrade and choose
update.img. - Connect the USB OTG port.
- Hold the BOOT key and connect USB plus 12V DC power.
- After a MASKROM device is detected, click upgrade.
Batch Flashing
Use FactoryTool for multi-device production flashing when needed.