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

MaskRom Key

  • Prepare a USB A-A cable as shown below

MaskRom Key

  • First plug the USB A-A cable into the USB 3.0 OTG/HOST Type-A port of the E52C and the other end into your computer.

MaskRom Key

  • Then press and hold the Maskrom button.

MaskRom Key

  • Power Up (Plug the USB A-C cable into the E52C's Type-C Power port and the other end into a power source.)

MaskRom Key

  • This will normally enter the Maskrom state

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