Flashing Android Image

1.Boot from SD card

Prerequisites

  1. Insert the micro SD card into the Linux host machine using a USB adapter.

  2. Navigate to the Android image directory: adlink-lec-imx95-android-vanillaicecream_V2_R1_08082025

Run the below commands to copy the libc++.so library to the system path and make it executable:

$ sudo cp tools/lib64/libc++.so /lib/x86_64-linux-gnu
$ sudo chmod +x /lib/x86_64-linux-gnu/libc++.so

Run the below commands to install , copy make_f2fs and simg2img tools to /usr/bin and make them executable:

$ sudo apt-get install android-sdk-libsparse-utils
$ sudo cp tools/bin/make_f2fs /usr/bin
$ sudo chmod +x /usr/bin/make_f2fs /usr/bin/simg2img

Flash image to SD card

Run the following command to partition a 32 GB Micro-SD card for i.MX95:

$ sudo ./imx-sdcard-partition.sh -f imx95 /dev/sdX

Replace /dev/sdX with the actual device node of your SD card. You can verify the correct device using the lsblk command.

Once flashing finishes, it’s a good idea to flush the cache and ensure the SD card is properly written

$ sudo sync
  • For additional details, refer to the official NXP Android User Guide:

    https://www.nxp.com/docs/en/user-guide/ANDROID_USERS_GUIDE.pdf

  • Eject the SD card, insert it into the target board, set the switch settings to 0110 and power it on to boot up.

    Boot Settings SW1 SW2 SW3 SW4
    SD Card 0 1 1 0
    SPI Carrier 0 0 1 0
    Remote GbE 0 1 0 0
    eMMC module 1 0 0 0
    Recovery or Serial Download Mode 0 0 0 1

The first boot from the SD card may take longer. Subsequent boots will be faster

2.Boot from eMMC

Navigate to the Android image directory: adlink-lec-imx95-android-vanillaicecream_V2_R1_08082025

Download uuu utility

Download the UUU (Universal Update Utility) from the link below and copy it to /usr/bin:

https://github.com/nxp-imx/mfgtools/releases/download/uuu_1.5.201/uuu

$ sudo cp ~/Downloads/uuu /usr/bin
$ sudo chmod +x /usr/bin/uuu

Boot into Recovery Mode

  • Set the boot switch into 0001(Recovery mode)

    Boot Settings SW1 SW2 SW3 SW4
    SD Card 0 1 1 0
    SPI Carrier 0 0 1 0
    Remote GbE 0 1 0 0
    eMMC module 1 0 0 0
    Recovery or Serial Download Mode 0 0 0 1
  • Your host must be connected to the target board using a micro USB OTG cable, and the board must be powered via a power cable.

  • Power on the board.

Flash image to eMMC

Run the below command to verify if your i.MX95 board is detected over OTG by the UUU (Universal Update Utility) tool:

$ uuu -lsusb

Run the following command to begin flashing the Android image to the eMMC:

$ sudo ./uuu_imx_android_flash.sh -f imx95 -e

  • After flashing is complete, power off the board and switch the boot mode to eMMC.

  • Set the switch settings to1000 (eMMC boot mode) and power it on to boot up Android on the LEC-iMX95.

    Boot Settings SW1 SW2 SW3 SW4
    SD Card 0 1 1 0
    SPI Carrier 0 0 1 0
    Remote GbE 0 1 0 0
    eMMC module 1 0 0 0
    Recovery or Serial Download Mode 0 0 0 1