Solved How to Solve the Error of MTK Auth Devices when using SP Flash Tool 2024

This topic has been solved

akhtar_in

Friend's Martview
Aug 13, 2017
418
106
pakistan

How to Solve the Error of MTK Auth Devices when using SP Flash Tool 2024​

If you have a device with a MediaTek chipset and you want to flash or update the firmware using SP Flash Tool, you may encounter an error that says "LIB DA not match, please re-select DA or ask for help". This error means that the Download Agent (DA) file you are using is not compatible with your device or the SP Flash Tool version. This error prevents you from flashing or unbricking your device.


Fortunately, there are some ways to fix this error and bypass the authentication process of the SP Flash Tool. In this article, we will show you how to do that using different methods and tools.

Method 1: Check the LIB DA Option in the SP Flash Tool

The first and simplest method to fix the error is to check the LIB DA option in the SP Flash Tool settings. This option allows you to use any DA file without matching the device model or chipset. To do this, follow these steps:


1. Open the SP Flash Tool on your computer and load the firmware files you want to flash. (Link Here)
2. Go to the Setting tab and click on Option.
1709794588936.png
3. Under the Download section, check the box next to LIB DA.
1709794613155.png
4. Click OK to save the changes.

5. Go back to the Download tab and click on Download to start the flashing process.

This method should work for most devices and SP Flash Tool versions. However, if you still get the error, you may need to try another method.

Method 2: Use SP Flash Tool with Auth Bypass​

Another method to fix the error is to use a modified version of the SP Flash Tool that can bypass the authentication process. This version of SP Flash Tool is made by a developer named Bass and it can skip the auth at once. To use this method, follow these steps:


1. Download the SP Flash Tool with Auth Bypass and extract it on your computer.

2. Open the extracted folder and run the flash_tool.exe file as administrator.
3. Load the firmware files you want to flash and select the DA file from the same folder.
4. Click on Download to start the flashing process.

This method should work for most devices and firmware versions. However, if you still get the error, you may need to try another method.

Method 3: Use Python Utility to Bypass SP Flash Tool Authentication​


The third and most advanced method to fix the error is to use a Python utility that can bypass the authentication routine of SP Flash Tool. This utility is based on a boot ROM exploit discovered by XDA Senior Member xyz` and it can intercept the pre-flash queries made by SP Flash Tool and set the authentication parameters as false. To use this method, you will need to install Python and a libusb-based filter driver on your computer. You will also need to download the exploit payloads for your device's chipset. To use this method, follow these steps:

1. Download and install Python libusb-based filter driver on your computer.

2. Download the exploit payloads for your device's chipset and extract them on your computer.
3. Open the SP Flash Tool on your computer and load the firmware files you want to flash.
4. Turn off your device hold down the Volume Up button (or Volume Down for Xiaomi phones) and plug it into your computer. You should see a new serial device listed under Device Manager or in the output of dmesg | grep usb.
5. Open a command prompt or a terminal and navigate to the folder where you extracted the exploit payloads.
6. Run the following command: python main.py -p COMx -c yyy -s zzz
7. Replace COMx with the port number of your device, yyy with the chipset name of your device, and zzz with the stage number of the exploit payload. For example, if your device is on COM3, has an MT6768 chipset, and you want to use the stage 2 payload, the command would be: python main.py -p COM3 -c MT6768 -s 2
8. Wait for the utility to bypass the authentication process and return to the command prompt or terminal.
9. Go back to SP Flash Tool and click on Download to start the flashing process.

This method should work for a wide variety of MediaTek-powered devices that require authentication while flashing. However, this method is more complex and risky than the previous methods, so use it at your own risk.
.
 
Top