Skip to main content

Flashing M2WE with a System Image Using a TF Card

Important Warning
  • The FLY-FAST system does not support migrating to M2WE through this method.
  • This operation will flash a brand new system image to the M2WE, not perform a system migration, and will erase all data on the device.

Preparation

Before you begin, please ensure you have the following items ready:

  1. M2WE: The product that needs the image flashed.
  2. TF Card: Capacity no less than 16GB, a high-speed card is recommended.
  3. FLY Host: The host computer where M2WE can be installed.
  4. System Image: The pre-downloaded system image file specifically designed for M2WE.
  5. Network Cable (Recommended): Used to connect the host to the router to ensure a stable network connection.
  6. SSH Tool: MobaXterm, for connecting to the host and executing commands.

Operation Steps

Step 1: Download the System Image

  1. Visit the official FLYOS download page:
Click to enter the system download page
  1. Click the Download File button on the page.
Loading...
  1. In the Select Download File window that appears:
    • In the Chip Type dropdown menu, select the system version corresponding to your host.
Loading...
  1. Based on your preference, choose to download the image file in 7Z (compressed archive) or EXE (Windows installer) format.
  2. After downloading, decompress the file to obtain the final .img format image file.

Step 2: Connect via SSH and Upload the Image

  1. Connect the host to the router using a network cable.
  2. Open MobaXterm or another SSH tool and connect to your host over the network.
  3. Directly drag and drop the system image file prepared in Step 1 (e.g., FlyOS-Fast-H618-v1.3.2.img) into the /data/ directory in MobaXterm's file browser. Wait for the upload to complete.
Loading...

Step 3: Identify the TF Card Device

  1. Execute the following command in the SSH terminal to view all storage devices:
    lsblk
Loading...
  1. Based on the capacity (usually 14G-16G), find the device name corresponding to the M2WE, which is typically /dev/mmcblk1. Please make sure the device name is correct, otherwise data loss may occur.

Step 4: Perform the Flashing

  1. Execute the following command to begin flashing (Please be sure to replace the image file name and device name in the command with the ones you actually use):
    dd if=/data/YourSystemImageFileName.img of=/dev/YourTFCardDeviceName bs=4M status=progress
    Example:
    dd if=/data/FlyOS-Fast-H618-v1.3.2.img of=/dev/mmcblk1 bs=4M status=progress
Loading...
  1. Wait patiently for the flashing process to complete until the terminal indicates it is finished and returns to the command prompt. Progress information will be displayed during the process.
Loading...

Step 5: Complete the Setup

  1. Once the flashing is complete, execute the shutdown command to power off the host safely:
    poweroff
  2. Remove the TF card from the host.
  3. Power the device back on, and the new system will start up.
Loading...