Personal tools

How to Restore Android9 OS to the eMMC on EBOX-IMX8MM

From ICOP tech wiki

Jump to: navigation, search

Restore the Android9 OS via Linux host PC to the EBOX-IMX8MM


Restore the Android9 OS via Linux host PC to the EBOX-IMX8MM

Tools you need before restoring the image to the eMMC:

  • A 64-bit Linux host O/S on a PC (The virtual machine is not suggested to be used)\
  • USB cable to connect between the host PC and the EBOX-IMX8MM. (Ex: USB to micro USB)

Write the image to the eMMC on the EBOX-IMX8MM.

  • This section will introduce how to write the image to the eMMC on the EBOX-IMX8MM step by step.
  • Find the SW1 on the EBOX-IMX8MM and change the setting to Serial Download Mode according to the photo below:

1.2.2.png

  • Turn on the host PC and unzip the image file in it.
  • Connect the USB to micro USB to the host PC, but not connect to the EBOX-IMX8MM.
  • Open a terminal on the host PC and access the location you’ve put the image file and input “sudo ./uuu_imx_android_flash.sh -f imx8mm -a -e” ; you will see “Wait for known USB Device Appear

1.2.5.png

  • Connect the Micro USB to the EBOX-IMX8MM, and it will trigger the serial download mode to restore the image from the host PC.
  • After the restore process is done, it will show on the host PC as the image below:

1.2.7.png

  • Remove the USB to Micro USB cable on the EBOX-IMX8MM (Power off), and set the SW1 to Internal boot as below.

1.2.2.png

  • Power on the EBOX-IMX8MM and you can see the Android9 booting.

1.2.9.png


Restore the Android9 OS via Win10 host PC to the EBOX-IMX8MM

Tools you need before restoring the image to the eMMC:

Write the image to the eMMC on the EBOX-IMX8MM.

This section will introduce how to write the image to the eMMC on the EBOX-IMX8MM step by step.

  • Find the SW1 on the EBOX-IMX8MM and change the setting to Serial Download Mode according to the photo below:

1.2.2.png

  • Turn on the host PC and unzip the image file to it.
  • Connect the USB to micro USB cable to the host PC, but not connect to EBOX-IMX8MM.
  • Open a terminal with administration right on the host PC and access the location you’ve put the image file and input “uuu_imx_android_flash.bat -f imx8mm -a -e” , and you will see “Wait for known USB Device Appear”.

2.2.4.png

  • Connect the Micro USB to the EBOX-IMX8MM, and it will trigger the serial download mode to restore the image from the host PC.
  • After the restore process is done, it will show on the host PC as the image below:

2.2.6.png

  • Remove the USB to Micro USB cable on the EBOX-IMX8MM (Power off), and set the SW1 to Internal boot as below.

1.2.2.png

  • Power on the EBOX-IMX8MM and you can see the Yocto Linux booting.

1.2.9.png