Skip to main content

Erase eMMC

Enter to Maskrom Mode

What is Maskrom Mode

Maskrom mode, also known as Loader mode, is a special boot mode that generally used to recover or repair faulty devices. This mode allows the user to interact directly with the device's hardware without going through the operating system. In Maskrom mode, the user can communicate with the device through a computer or other device and execute a series of commands to fix the device's problems. You can see if the device is in Maskrom mode by using the following command (the return value below is the return value in Maskrom state).

MacOS side.

The result of running lsusb Output:Bus 000 Device 004: ID 2207:350b Composite Device of Fuzhou Rockchip Electronics Co.

Linux.

Result after executing lsusb Output:Bus 001 Device 030: ID 2207:350b Fuzhou Rockchip Electronics Company

Windows: Open RKDevTool.

Open RKDevTool and you will see that the device is in Found One MASKROM Device state.

How to enter Maskrom state

  • Plug the USB A-C cable into the Debug port of the E20C and the other end into your computer.
  • Press and hold the Maskrom button(see picture below)
  • Power on (Plug the USB A-C cable into the E20C's Type-C Power port and the other end into a power source.)
  • This will normally enter the Maskrom state

MaskRom Key

Clear eMMC

  1. Generate zero.img

    dd if=/dev/zero of=./zero.img bs=1M count=64
  2. Make sure the host recognises Maskrom

    sudo rkdeveloptool ld
    DevNo=1 Vid=0x2207,Pid=0x350a,LocationID=109 Maskrom
  3. Flash Loader

Download the loader file Loader , then installll the downloaded loader file (replace xxx_loader.bin with the downloaded file name in the following command)

sudo rkdeveloptool db xxx_loader.bin

  1. Erase eMMC
sudo rkdeveloptool wl 0 zero.img
  1. Reboot
sudo rkdeveloptool rd