Skip to content

Android recovery SD card

Variscite provides a recovery SD card image based on demo Yocto distribution that can be used to install Android demo into the internal storage of the SOM.

Download the recovery SD card image

Download the latest recovery SD card from Variscite: mx95__yocto-walnascar-6.12.49_2.2.0-v1.0__android-15.0.0_2.0.0-v1.1.wic.zst

Write the image to an SD card

During the SD card image writing all files and partitions are erased from target device. Double check that the device is correct to avoid accidentally overwriting a different device and potentially damaging your existing operating system.

Using a Linux based host

Plug-in the SD card to your Linux host PC, run dmesg and see which device is added (i.e. /dev/sdX or /dev/mmcblkX)

$ sudo umount /dev/sdX?*

# For wic.zst files:
$ zstdcat <image name>.wic.zst | sudo dd of=/dev/sdX bs=1M && sync
Replace /dev/sdX with your actual device

Using a Windows based host

  • Download Win32 Disk Imager from: https://sourceforge.net/projects/win32diskimager/ and install it.
  • Extract the downloaded image:
  • For extracting a .gz file the latest 7-Zip can be used, for example.
  • For extracting a .zst file the latest WinRAR can be used, for example.
  • Insert your SD card into your PC. No need to format the SD card before writing the image to it, as the card will be formatted once it will be flashed.
  • Run the file named Win32DiskImager.exe (in Windows 7, 8 and 10 we recommend that you right-click this file and choose “Run as administrator”).
  • If the SD card (Device) you are using isn’t found automatically. Click on the drop down box and select it.
  • In the Image File box, choose the .img/.wic file you have extracted previously.
  • Click Write.
  • After a few minutes, you receive a notification that your SD has been created successfully.

Using a Mac OS X host

Use the dd Utility for MAC OS X to flash .img/.wic files to your SD card

Boot from SD card

  • Power-off the board.
  • Insert the SD card into the SD card slot of the carrier board (DVK)
  • Make sure the Boot Mode is set to SD card
  • Power up the board - it will boot into Linux from the SD card

Flash the SOM's internal storage

Android Deployment

Note: The recovery SD card image still contains the Android images from the previous release android-15.0.0_2.0.0-v1.1 in the path /opt/images/Android. Please delete this directory before proceeding to avoid running out of disk space.

rm -rf /opt/images/Android

Download the Android release package

Download the latest Android release package from Variscite:

wget https://variscite-public.nyc3.cdn.digitaloceanspaces.com/DART-MX95/Software/android/mx95-android-15.0.0_2.0.0-v1.2.tar.zst

Extract the package

tar --use-compress-program=unzstd -xf mx95-android-15.0.0_2.0.0-v1.2.tar.zst

Android release package file tree

android-artifacts/
├── android/
│   ├── boot.img
│   ├── bootloader-imx95-var-dart-dual.img
│   ├── dtbo-imx95-var-dart-dt8mcustomboard.img
│   ├── dtbo-imx95-var-dart-sonata.img
│   ├── init_boot.img
│   ├── sbom.spdx.json
│   ├── spl-imx95-var-dart-dual.bin
│   ├── super.img
│   ├── vbmeta-imx95-var-dart-dt8mcustomboard.img
│   ├── vbmeta-imx95-var-dart-sonata.img
│   └── vendor_boot.img
└── scripts/
    └── mx8_install_android.sh

Flash from the command line

  • From the Linux command line, run the installation script:

cd android-artifacts
./scripts/mx8_install_android.sh
Follow the printed instructions to install Android to the SOM's internal storage. After a successful installation, boot Android from the on-SoM eMMC.

Yocto Deployment

The install_yocto.sh script file is located at /usr/bin/

Yocto image file tree

/opt/images/
└── Yocto
    ├── fsl-image-gui-chromium-imx95-var-dart.rootfs.tar.zst
    ├── rootfs.tar.zst -> fsl-image-gui-chromium-imx95-var-dart.rootfs.tar.zst
    └── imx-boot-sd.bin
  • Login as root (no password)
  • From the Linux command line, run the installation script:

install_yocto.sh
Follow the printed instructions to install Yocto to the SOM's internal storage. After a successful installation, boot Yocto from the on-SoM eMMC.