How to unlock bootloader on MediaTek Devices using MTKClient

MediaTek is popular for being one of the most custom development-friendly chipsets as you’ll be able to get hold of the source code pretty quickly. In recent years, things have gotten even better for MediaTek users.

But to carry out any sort of tinkering, you will first need to unlock bootloader on MediaTek devices. Often, you can either use the Fastboot OEM unlock or the Fastboot flashing unlock to get the job done.

In this guide, you will get to know how to unlock bootloader on MediaTek Devices using MTKClient.

How to unlock bootloader on MediaTek devices using MTKClient

Bootloader on MediaTek

Step 1: Install Python

  • To start off, you need to download Python from the official website
  • After that, launch the setup and then proceed with the on-screen instructions for installing it on your PC
  • When you launch the setup, ensure that you checkmark “Add Python to Path”
  • It is also recommended that you take a note of its installation directory
  • The default location would be –
C:UsersusernameAppDataLocalProgramsPythonPythonXXX

Step 2: Install MediaTek USB Drivers

After that, you should download the USB Drivers for your MediaTek device before launching the setup and then proceed with the on-screen instructions to install it.

Step 3: Download USBDk and MTKClient

Now, you need to download and install the USBDk on your PC after installing it from GitHub. Download it and then the MSI setup file before proceeding with the on-screen instructions for installing it.

Next up, you need to download the MTKClient via GitHub before extracting it inside Python’s installation directory.

Step 4: Install Python dependencies

  • Go to Python’s installation directory before typing in CMD in the address bar before hitting Enter
  • This could launch Command Prompt after which you should execute the following command to install the client’s setup file –
python setup.py install
  • Then, execute the following command to install the required dependencies –
python –m pip install –r requirements.txt

Step 5: Boot MediaTek device to BROM Mode

You’ll now need to boot your MediaTek device to BROM Mode. There isn’t a universal key combination or ADB Commands for the same . What you can do is power off your smartphone. After that, press and hold either the Volume Up/Volume Down or Volume Up + Volume Down + Power keys and connect your MediaTek device to PC using a USB cable.

To check if it has been booted to BROM mode, you should execute the next command. In case it accepts it, then your MediaTek device has been booted to BROM successfully. In case there is an error, you should try different key combinations until the code gets accepted.

Step 6: Unlock bootloader on MediaTek device

  • Now, you should execute the following command for wiping your device –
python mtk e metadata_userdata.md_udc
  • Then, you need to boot your device to the BROM Mode again
  • After that, execute the following command to unlock the bootloader on MediaTek device –
python mtk xflash seecfg unlock
  • In case this didn’t work, you should try this one –
python mtk da seccfg unlock
  • The bootloader on MediaTek device will now be unlocked and you’ll be able to boot your device to the OS
Aviral Sharma
Aviral Sharma
Android Expert
Aviral Sharma is a talented and passionate writer who has been using words to express his thoughts ever since he learnt how to hold a pen. He is passionate about outer space, history, sports and most importantly technology. Aviral is a regular writer for rootmygalaxy.net and has been getting better by the day. He currently own Samsung Galaxy S24 Ultra, iPhone 13 and a HP Pavilion laptop

Leave a Comment