Trucrux Inc

Flashing Android 13 Prebuilds

DOWNLOAD AND EXTRACT PREBUILD FILES #

Download the prebuilds from the above link

Android 13 Prebuilds

SET UP THE ENVIRONMENT: #

Navigate to the directory containing prebuilds.zip and extract the file

$ unzip prebuilds_13.zip
$ cd prebuilds_13

NOTE: Yocto and Android are built under the following paths

Yocto Base DIR: prebuilds_13/yocto_build
Android Base DIR : prebuilds_13/android_build

$ cd <Yocto Base DIR>
$ export YOCTO_BSP_BUILD = <Yocto Base DIR>
$ export ANDROID_BSP_BUILD = <Android Base DIR>
CREATE SYMBOLIC LINKS FOR SCRIPTS: #
$ ln -sf ${ANDROID_BSP_BUILD}/trux_mk_yocto_sdcard/trucrux_scripts/trux-create-yocto-sdcard-with-android.sh ${YOCTO_BSP_BUILD}/sources/meta-trucrux/scripts/trux_mk_yocto_sdcard/trux-create-yocto-sdcard-with-android.sh

$ ln -sf ${ANDROID_BSP_BUILD}/trux_mk_yocto_sdcard/trucrux_scripts/mx8_install_android.sh ${YOCTO_BSP_BUILD}/sources/meta-trucrux/scripts/trux_mk_yocto_sdcard/trucrux_scripts/mx8_install_android.sh
FLASH THE ANDROID IMAGE ONTO THE SD CARD #
$ sudo MACHINE=imx8mq-trux-q01 sources/meta-trucrux/scripts/trux_mk_yocto_sdcard/trux-create-yocto-sdcard-with-android.sh -a /dev/sdx
(change /dev/sdx to your device name)

Insert the SD card into the i.MX8MQ DVP & Power onĀ  ensure it boots from the SD card.

INSTALL ANDROID OS #

Navigate to the usr/bin directory :

$cd /usr/bin
$ ./install_android.sh