Please Help!! Mi a3 don't flash on EDL mode - Xiaomi Mi A3 Questions & Answers

Please help (sorry for my English, I write through Google translator). I have an error when trying to flash the phone in EDL mode via Miflash and Qfil , I tried to flash the original ROM - V10.3.9.0.PFQMIXM, V10.3.4.0.PFQMIXM, V10.3.13.0.PFQEUXM, everywhere an error.
Miflash throws error - can not found programmer file
Here are the logs of miflash:
1) [email protected]
[17:45:49 COM20]:MiFlash 2017.4.25.0
[17:45:49 COM20]:[COM20]:start flash.
[17:45:49 COM20]:received hello packet
[17:45:49 COM20]:can not found programmer file.
[17:45:50 COM20]:flashSuccess False
[17:45:50 COM20]:isFactory False CheckCPUID False
[17:45:50 COM20]:before:flashSuccess is False set IsUpdate:True set IsDone True
[17:45:50 COM20]:after:flashSuccess is False set IsUpdate:false set IsDone true
2)[email protected]
[17:45:46]:get AllUsbDevices
[17:45:46]:GetScriptDevices
[17:45:46]:add device COM20
[17:45:49]:get AllUsbDevices
[17:45:49]:GetScriptDevices
[17:45:49]:FlashingDevice.flashDeviceList.Remove COM20
[17:45:49]:add device COM20
3)[email protected]
[17:45:50]:2 COM20 0,5243681s can not found programmer file.

slava4kl1 said:
Please help (sorry for my English, I write through Google translator). I have an error when trying to flash the phone in EDL mode via Miflash and Qfil , I tried to flash the original ROM - V10.3.9.0.PFQMIXM, V10.3.4.0.PFQMIXM, V10.3.13.0.PFQEUXM, everywhere an error.
Miflash throws error - can not found programmer file
Here are the logs of miflash:
1) [email protected]
[17:45:49 COM20]:MiFlash 2017.4.25.0
[17:45:49 COM20]:[COM20]:start flash.
[17:45:49 COM20]:received hello packet
[17:45:49 COM20]:can not found programmer file.
[17:45:50 COM20]:flashSuccess False
[17:45:50 COM20]:isFactory False CheckCPUID False
[17:45:50 COM20]:before:flashSuccess is False set IsUpdate:True set IsDone True
[17:45:50 COM20]:after:flashSuccess is False set IsUpdate:false set IsDone true
2)[email protected]
[17:45:46]:get AllUsbDevices
[17:45:46]:GetScriptDevices
[17:45:46]:add device COM20
[17:45:49]:get AllUsbDevices
[17:45:49]:GetScriptDevices
[17:45:49]:FlashingDevice.flashDeviceList.Remove COM20
[17:45:49]:add device COM20
3)[email protected]
[17:45:50]:2 COM20 0,5243681s can not found programmer file.
Click to expand...
Click to collapse
I actually have the same issue, even the same phone, my hard bricked phone needs help too.

ThatOneProgrammer said:
I actually have the same issue, even the same phone, my hard bricked phone needs help too.
Click to expand...
Click to collapse
in edl mod use qfil to flash service rom
my english is bad
you can contact me on whatsapp
+963934929888

slava4kl1 said:
Please help (sorry for my English, I write through Google translator). I have an error when trying to flash the phone in EDL mode via Miflash and Qfil , I tried to flash the original ROM - V10.3.9.0.PFQMIXM, V10.3.4.0.PFQMIXM, V10.3.13.0.PFQEUXM, everywhere an error.
Miflash throws error - can not found programmer file
Here are the logs of miflash:
1) [email protected]
[17:45:49 COM20]:MiFlash 2017.4.25.0
[17:45:49 COM20]:[COM20]:start flash.
[17:45:49 COM20]:received hello packet
[17:45:49 COM20]:can not found programmer file.
[17:45:50 COM20]:flashSuccess False
[17:45:50 COM20]:isFactory False CheckCPUID False
[17:45:50 COM20]:before:flashSuccess is False set IsUpdate:True set IsDone True
[17:45:50 COM20]:after:flashSuccess is False set IsUpdate:false set IsDone true
2)[email protected]
[17:45:46]:get AllUsbDevices
[17:45:46]:GetScriptDevices
[17:45:46]:add device COM20
[17:45:49]:get AllUsbDevices
[17:45:49]:GetScriptDevices
[17:45:49]:FlashingDevice.flashDeviceList.Remove COM20
[17:45:49]:add device COM20
3)[email protected]
[17:45:50]:2 COM20 0,5243681s can not found programmer file.
Click to expand...
Click to collapse

slava4kl1 said:
Please help (sorry for my English, I write through Google translator). I have an error when trying to flash the phone in EDL mode via Miflash and Qfil , I tried to flash the original ROM - V10.3.9.0.PFQMIXM, V10.3.4.0.PFQMIXM, V10.3.13.0.PFQEUXM, everywhere an error.
Miflash throws error - can not found programmer file
Here are the logs of miflash:
1) [email protected]
[17:45:49 COM20]:MiFlash 2017.4.25.0
[17:45:49 COM20]:[COM20]:start flash.
[17:45:49 COM20]:received hello packet
[17:45:49 COM20]:can not found programmer file.
[17:45:50 COM20]:flashSuccess False
[17:45:50 COM20]:isFactory False CheckCPUID False
[17:45:50 COM20]:before:flashSuccess is False set IsUpdate:True set IsDone True
[17:45:50 COM20]:after:flashSuccess is False set IsUpdate:false set IsDone true
2)[email protected]
[17:45:46]:get AllUsbDevices
[17:45:46]:GetScriptDevices
[17:45:46]:add device COM20
[17:45:49]:get AllUsbDevices
[17:45:49]:GetScriptDevices
[17:45:49]:FlashingDevice.flashDeviceList.Remove COM20
[17:45:49]:add device COM20
3)[email protected]
[17:45:50]:2 COM20 0,5243681s can not found programmer file.
Click to expand...
Click to collapse
Try to flash "Sparout luarul v11.00 in edl mode or see this

slava4kl1 said:
Please help (sorry for my English, I write through Google translator). I have an error when trying to flash the phone in EDL mode via Miflash and Qfil , I tried to flash the original ROM - V10.3.9.0.PFQMIXM, V10.3.4.0.PFQMIXM, V10.3.13.0.PFQEUXM, everywhere an error.
Miflash throws error - can not found programmer file
Here are the logs of miflash:
1) [email protected]
[17:45:49 COM20]:MiFlash 2017.4.25.0
[17:45:49 COM20]:[COM20]:start flash.
[17:45:49 COM20]:received hello packet
[17:45:49 COM20]:can not found programmer file.
[17:45:50 COM20]:flashSuccess False
[17:45:50 COM20]:isFactory False CheckCPUID False
[17:45:50 COM20]:before:flashSuccess is False set IsUpdate:True set IsDone True
[17:45:50 COM20]:after:flashSuccess is False set IsUpdate:false set IsDone true
2)[email protected]
[17:45:46]:get AllUsbDevices
[17:45:46]:GetScriptDevices
[17:45:46]:add device COM20
[17:45:49]:get AllUsbDevices
[17:45:49]:GetScriptDevices
[17:45:49]:FlashingDevice.flashDeviceList.Remove COM20
[17:45:49]:add device COM20
3)[email protected]
[17:45:50]:2 COM20 0,5243681s can not found programmer file.
Click to expand...
Click to collapse
You cannot flash EDL using Miflash without a Xiaomi authorized account. If you want to flash in EDL, try to flash using qfil and a EDL cable (or using test point), but it is very risky

Related

Lenovo S60-a Sahara Error Through Qfil

i Have Lenovo S60-a when i upgrade it to 5.0 then it cause some problem
it load nothing i tried all combinition of button then i tried it through test point and it work it load Qualcomm HS-USB QDLoader 9008 and connected to my pc now when i try to flash it through QFil it give me error
Sahara Version:0
Start Sending Programmer
Download Fail:System.Exception: Unable to download Flash Programmer using Sahara Protocol
at QC.QMSLPhone.Phone.QPHONEMS_SaharaArmPrgDownload(String sFileName)
at QC.SwDownloadDLL.SwDownload.QPHONEMSSaharaDownloadArmPrg(UInt64& version, String armPrgPath)
Download Fail:Sahara FailSahara Fail
Finish Download
And some time it give
Unable to send FireHose NOP, Device is not in Firehose mode !
Download Fail:System.Exception: Failed to send Firehose NOP to the phone.
at QC.QMSLPhone.Phone.QPHONEMS_FireHoseNOP()
at QC.SwDownloadDLL.SwDownload.FireHoseDownloadImage(Boolean bResetPhone, List`1 rawprogramFilesList, List`1 patchFilesList, Single& fImageSizeInMB, Single& fThroughput)
Download Fail:FireHose Fail FireHose Fail
Finish Download

lenovo k5 (a6020a40) bootloader unlock

Hi,
i have lenovo vibe k5 (a6020a40) ROW.it it bricked so i only can access fastboot
QFIL shows edl failed.so help me to boot edl...
fastboot oem unlock
fastboot flashing unlock
fastboot oem reboot-edl
are tried
"fastboot oem device-info" shows
device tampered: false
device unlocked: false
thankss
Here is y output.
xagar said:
Hi,
i have lenovo vibe k5 (a6020a40) ROW.it it bricked so i only can access fastboot
QFIL shows edl failed.so help me to boot edl...
fastboot oem unlock
fastboot flashing unlock
fastboot oem reboot-edl
are tried
"fastboot oem device-info" shows
device tampered: false
device unlocked: false
thankss
Click to expand...
Click to collapse
fastboot oem device-info
...
(bootloader) Device tampered: false
(bootloader) Device unlocked: false
(bootloader) Charger screen enabled: true
(bootloader) Display panel:
OKAY [ 0.016s]
finished. total time: 0.016s
I would like to fully back up the phone and have a safe procedure, before tampering like:
OEM Unlock, Changing Recovery to TWRP, Rooting, checking custom ROM's e.t.c.
I've just bought the phone and I'm still reasrching, but I think that I can provide You with the firmware, but please prowide me with the necessary tools and how to.
A6020a40 can't flash QFIL please help me...Help me...
Validating Application Configuration
Load APP Configuration
COM:26
PBLDOWNLOADPROTOCOL:0
PROGRAMMER:True
PROGRAMMER:C:\Program Files (x86)\Qualcomm\QPST\bin\prog_emmc_firehose_8936.mbn
RESETSAHARASTATEEMACHINE:False
SEARCHPATH:C:\Program Files (x86)\Qualcomm\QPST\bin
RAWPROGRAM:
rawprogram_unsparse.xml
PATCH:
patch0.xml
ACKRAWDATAEVERYNUMPACKETS:False
ACKRAWDATAEVERYNUMPACKETS:100
MAXPAYLOADSIZETOTARGETINBYTES:False
MAXPAYLOADSIZETOTARGETINBYTES:49152
DEVICETYPE:UFS
PLATFORM:8x26
VALIDATIONMODE:0
RESETAFTERDOWNLOAD:True
MAXDIGESTTABLESIZE:8192
SWITCHTOFIREHOSETIMEOUT:30
RESETTIMEOUT:200
RESETDELAYTIME:2
FLATBUILDPATH:C:\
FLATBUILDFORCEOVERRIDE:True
QCNPATH:C:\Temp\00000000.qcn
QCNAUTOBACKUPRESTORE:False
SPCCODE:000000
ENABLEMULTISIM:False
AUTOPRESERVEPARTITIONS:False
PARTITIONPRESERVEMODE:0
PRESERVEDPARTITIONS:0
PRESERVEDPARTITIONS:
ERASEALL:False
Load ARG Configuration
Validating Download Configuration
Image Search Path: C:\Program Files (x86)\Qualcomm\QPST\bin
RAWPROGRAM file path: C:\Program Files (x86)\Qualcomm\QPST\bin\rawprogram_unsparse.xml
PATCH file path:C:\Program Files (x86)\Qualcomm\QPST\bin\patch0.xml
Programmer Path:C:\Program Files (x86)\Qualcomm\QPST\bin\prog_emmc_firehose_8936.mbn
Process Index:0
Start Download
Program Path:C:\Program Files (x86)\Qualcomm\QPST\bin\prog_emmc_firehose_8936.mbn
***** Working Folder:C:\Users\Pasan Apasara\AppData\Roaming\Qualcomm\QFIL\COMPORT_26
Binary build date: Oct 31 2016 @ 22:51:05
QSAHARASERVER CALLED LIKE THIS: 'C:\Program Files (x86)\Qualcomm\QPST\bin\QSaharaServer.ex'Current working dir: C:\Users\Pasan Apasara\AppData\Roaming\Qualcomm\QFIL\COMPORT_26
Sahara mappings:
2: amss.mbn
6: apps.mbn
8: dsp1.mbn
10: dbl.mbn
11: osbl.mbn
12: dsp2.mbn
16: efs1.mbn
17: efs2.mbn
20: efs3.mbn
21: sbl1.mbn
22: sbl2.mbn
23: rpm.mbn
25: tz.mbn
28: dsp3.mbn
29: acdb.mbn
30: wdt.mbn
31: mba.mbn
13: C:\Program Files (x86)\Qualcomm\QPST\bin\prog_emmc_firehose_8936.mbn
05:32:45: Requested ID 13, file: "C:\Program Files (x86)\Qualcomm\QPST\bin\prog_emmc_firehose_8936.mbn"
05:34:15: ERROR: function: sahara_rx_data:237 Unable to read packet header. Only read 0 bytes.
05:34:15: ERROR: function: sahara_main:924 Sahara protocol error
05:34:15: ERROR: function: main:303 Uploading Image using Sahara protocol failed
Download Fail:Sahara Fail:QSaharaServer Failrocess fail
Finish Download

Bricked Lenovo Vibe K5 A6020a40

I bricked my Lenovo Vibe K5 while trying to install TWRP.
Now it's stuck at boot and will only enter download mode.
I've tried to flash it with QFIL but I only get Sahara error.
Here is the QFIL log:
Validating Application Configuration
Load APP Configuration
COM:3
SAHARA:True
SAHARA:C:\Users\sondre\Documents\A6020a40_S022_160423_ROW_qpst\SW\SW\prog_emmc_firehose_8929.mbn
SEARCHPATH:C:\Users\sondre\Documents\A6020a40_S022_160423_ROW_qpst\SW\SW
RAWPROGRAM:
rawprogram0.xml
PATCH:
patch0.xml
ACKRAWDATAEVERYNUMPACKETS:False
ACKRAWDATAEVERYNUMPACKETS:100
MAXPAYLOADSIZETOTARGETINBYTES:False
MAXPAYLOADSIZETOTARGETINBYTES:49152
DEVICETYPE:eMMC
PLATFORM:8x26
READBACKMODE:0
RESETAFTERDOWNLOAD:False
MAXDIGESTTABLESIZE:8192
SWITCHTOFIREHOSETIMEOUT:30
RESETTIMEOUT:200
RESETDELAYTIME:2
FLATBUILDPATH:C:\
FLATBUILDFORCEOVERRIDE:True
QCNPATH:C:\Temp\00000000.qcn
QCNAUTOBACKUPRESTORE:False
SPCCODE:000000
Load ARG Configuration
Process Index:0
Validating Download Configuration
Image Search Path: C:\Users\sondre\Documents\A6020a40_S022_160423_ROW_qpst\SW\SW
RAWPROGRAM file path: C:\Users\sondre\Documents\A6020a40_S022_160423_ROW_qpst\SW\SW\rawprogram0.xml
PATCH file path:C:\Users\sondre\Documents\A6020a40_S022_160423_ROW_qpst\SW\SW\patch0.xml
Programmer Path:C:\Users\sondre\Documents\A6020a40_S022_160423_ROW_qpst\SW\SW\prog_emmc_firehose_8929.mbn
Start Download
Program Path:C:\Users\sondre\Documents\A6020a40_S022_160423_ROW_qpst\SW\SW\prog_emmc_firehose_8929.mbn
COM Port number:3
Sahara Connecting ...
Sahara Version:0
Start Sending Programmer
Download Fail:Unable to download Flash Programmer using Sahara Protocol
Download Fail:Sahara FailSahara Fail
Finish Download
Click to expand...
Click to collapse

Motorola Edge Plus Hard Bricked

Hey all. Ran into a bit of an issue. My Motorola Edge Plus (XT2061-3) is stuck in EDL mode. I have managed to locate the blankflash file for this device. When trying to flash it, this is the errors I get. (Got this blankflash of Lolinet under Burton > Blankflash)
"Motorola qboot utility version 3.86
[ 0.000] Opening device: \\.\COM3
[ 0.008] Detecting device
[ 0.010] ...cpu.id = 195 (0xc3)
[ 0.010] ...cpu.sn = 621922316 (0x2511c80c)
[ 0.010] Opening singleimage
[ 0.020] Loading package
[ 0.022] ...filename = pkg.xml
[ 0.024] Loading programmer
[ 0.024] ...filename = programmer.elf
[ 0.024] Sending programmer
[ 0.089] ReadFile() failed, GetLastError()=0
[ 0.454] Unexpected command, expecting 3 or 18 or 4, got 1 instead.
[ 0.455] ERROR: sahara_download()->general error
[ 0.455] Check qboot_log.txt for more details
[ 0.455] Total time: 0.456s
FAILED: qb_flash_singleimage()->sahara_download()->general error
blankflash_from_QPBS30.188-48-3 (1)>pause
Press any key to continue . . ."
From the log file:
"
[ 0.000] Opening device: \\.\COM6
[ 0.001] Detecting device
[ 0.003] ...cpu.id = 195 (0xc3)
[ 0.003] ...cpu.sn = 621922316 (0x2511c80c)
[ 0.003] Opening singleimage
[ 0.013] Loading package
[ 0.016] ...filename = pkg.xml
[ 0.017] Loading programmer
[ 0.018] ...filename = programmer.elf
[ 0.018] Sending programmer
[ 0.088] ReadFile() failed, GetLastError()=0
[ 0.335] Unexpected command, expecting 3 or 18 or 4, got 1 instead.
[ 0.336] ERROR: sahara_download()->general error
[ 0.336] Check qboot_log.txt for more details
[ 0.336] Total time: 0.338s
[ 0.336]
[ 0.336] qboot version 3.86
[ 0.336]
[ 0.336] DEVICE {
[ 0.336] name = "\\.\COM6",
[ 0.336] flags = "0x64",
[ 0.336] addr = "0x62FD54",
[ 0.336] sahara.current_mode = "0",
[ 0.336] api.buffer = "0x2A5A020",
[ 0.336] cpu.serial = "621922316",
[ 0.336] cpu.id = "195",
[ 0.336] cpu.sv_sbl = "1",
[ 0.336] cpu.name = "SM8250",
[ 0.336] storage.type = "UFS",
[ 0.336] sahara.programmer = "programmer.elf",
[ 0.336] api.bnr = "0x2993FE0",
[ 0.336] }
[ 0.336]
[ 0.336]
[ 0.336] Backup & Restore {
[ 0.336] num_entries = 0,
[ 0.336] restoring = "false",
[ 0.336] backup_error = "not started",
[ 0.336] restore_error = "not started",
[ 0.336] }
[ 0.336]
"
It tries to send "programmer.elf" and "pkg.xml". The blankflash package does not contain those files. I have all the correct drivers. The phone shows up as "Qualcomm HS-USB QDLoader 9008" in Device Manager.
Any help is greatly appreciated. I've been stuck on this for quite a while.
latest blank flash for android 11
download here
I just brought my edge back to life. hope it helps. remember to update gpt.bin of ur own version
jackeylei said:
latest blank flash for android 11
download here
I just brought my edge back to life. hope it helps. remember to update gpt.bin of ur own version
Click to expand...
Click to collapse
It worked! Thank you so much for providing this.
I have the same problem on moto edge 20 pro any suggestions thank you very much
I have the same problem on moto edge foto here https://ibb.co/7Vz3vBg help me plss
jackeylei said:
último flash en blanco para android 11
descarga aquí
Acabo de traer mi borde de vuelta a la vida. Espero eso ayude. recuerda actualizar gpt.bin de tu propia versión
Click to expand...
Click to collapse
¿Puede indicar los pasos para actualizar gpt.bin?
marcoryu said:
¿Puede indicar los pasos para actualizar
Click to expand...
Click to collapse
There are some tutorial posts in this forum, just search for posts related to blank flash and understand how to use.
My general suggestion is to "extract some files from the firmware and put them into the singleimage file in the blank flash folder".
jackeylei said:
There are some tutorial posts in this forum, just search for posts related to blank flash and understand how to use.
My general suggestion is to "extract some files from the firmware and put them into the singleimage file in the blank flash folder".
Click to expand...
Click to collapse
exactly which firmware files should i move to the blankflash folder
AREALE said:
I have the same problem on moto edge foto here https://ibb.co/7Vz3vBg help me plss
Click to expand...
Click to collapse
Just keep trying
marcoryu said:
exactly which firmware files should i move to the blankflash folder
Click to expand...
Click to collapse
1. You have to determine which firmware ur phone is on when bricked then download the firmware from here and the right blankflash file here
2. Get gpt.bin from the firmware, and put it into singleimage file.
3. Flash
Refer to this post:
[BLANKFLASH] Moto G7 XT1962-5 RIVER RETEU 9.0 PPO29.80-66
I have built a blankflash that revived my XT1962-5, which had firmware PPO29.80-66 before hardbricking it. Maybe it is useful to others: https://www27.zippyshare.com/v/lL4eo830/file.html The blankflash is based on this firmware...
forum.xda-developers.com
good morning friend, could you help me create the blank flash to be able to recover my device, thank you very much for answering and for your help
jackeylei said:
1. You have to determine which firmware ur phone is on when bricked then download the firmware from here and the right blankflash file here
2. Get gpt.bin from the firmware, and put it into singleimage file.
3. Flash
Refer to this post:
[BLANKFLASH] Moto G7 XT1962-5 RIVER RETEU 9.0 PPO29.80-66
I have built a blankflash that revived my XT1962-5, which had firmware PPO29.80-66 before hardbricking it. Maybe it is useful to others: https://www27.zippyshare.com/v/lL4eo830/file.html The blankflash is based on this firmware...
forum.xda-developers.com
Click to expand...
Click to collapse
good morning friend, could you help me create the blank flash to be able to recover my device, thank you very much for answering and for your help
marcoryu said:
good morning friend, could you help me create the blank flash to be able to recover my device, thank you very much for answering and for your it
Click to expand...
Click to collapse
When the phone bricked, is it on Android 11 or 10? When it happened?
jackeylei said:
When the phone bricked, is it on Android 11 or 10? When it happened?
Click to expand...
Click to collapse
Android 11 https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip in this version it was when it was blocked
marcoryu said:
Android 11 https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip in this version it was when it was blocke
Click to expand...
Click to collapse
windows recognizes it as Qulcomm hs-usb Dloader 9008
Have u tried this blankflash? if yes, what's the error msg?
I assume that you already know how to use blankflash. otherwise, it is difficult for me to explain.
jackeylei said:
Have u tried this blankflash? if yes, what's the error msg?
I assume that you already know how to use blankflash. otherwise, it is difficult for me to explain.
Click to expand...
Click to collapse
Here I attach the blankflash file which I update the gpt.bin provided in your firmware. Try the original blankflash first, if failed, try this one.
jackeylei said:
Here I attach the blankflash file which I update the gpt.bin provided in your firmware. Try the original blankflash first, if failed, try this one.
Click to expand...
Click to collapse
hello mate and tried the blank flash file of version 19.50 and the one you sent me and both give me this error
marcoryu said:
hello mate and tried the blank flash file of version 19.50 and the one you sent me and both give me this error
Click to expand...
Click to collapse
Try , keep trying.
Based on my personal understanding, u have only one chance to blank flash ur phone during the connection with pc.
Therefore after u plug in the USB, u should keep running blank-flash command until the real results display.
Try.
Check others posts about blank flash.

CAT S52 HELP Please!

Hello I got Cat s52 phone and it is restarting all the time and getting this error "your device has failed verification and may not work properly"
I will appreciate any help! Thanks in advance!
xDaemon said:
Hello I got Cat s52 phone and it is restarting all the time and getting this error "your device has failed verification and may not work properly"
I will appreciate any help! Thanks in advance!
Click to expand...
Click to collapse
If you have a warranty and you have not made any modifications to the firmware, please contact support.
If there is no warranty or you have modified the firmware, then follow the steps described below.
1. Install mtkclient (or use live dvd).
2. Make a backup of all partitions.
3. Find the firmware dump.The dump can be found here or here. Also I can make dump from my device if needed.
(Only firmware from first link tested by me).
4. Flash the partitions you need (it may be enough to flash only the boot partition).
More detailed instructions how dump and flash are on the mtkclient page.
Lesosek said:
If you have a warranty and you have not made any modifications to the firmware, please contact support.
If there is no warranty or you have modified the firmware, then follow the steps described below.
1. Install mtkclient (or use live dvd).
2. Make a backup of all partitions.
3. Find the firmware dump.The dump can be found here or here. Also I can make dump from my device if needed.
(Only firmware from first link tested by me).
4. Flash the partitions you need (it may be enough to flash only the boot partition).
More detailed instructions how dump and flash are on the mtkclient page.
Click to expand...
Click to collapse
Spoiler
C:\Users\Admin\mtkclient>PYTHON mtk_gui
Preloader - Status: Waiting for PreLoader VCOM, please connect mobile
.....Preloader
Preloader - [LIB]: ←[31mStatus: Handshake failed, retrying...←[0m
Port - Hint:
Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
...........
Port - Hint:
Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
...........
Port - Hint:
Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
Port - Device detected
Preloader - CPU: MT6765/MT8768t(Helio P35/G35)
Preloader - HW version: 0x0
Preloader - WDT: 0x10007000
Preloader - Uart: 0x11002000
Preloader - Brom payload addr: 0x100a00
Preloader - DA payload addr: 0x201000
Preloader - CQ_DMA addr: 0x10212000
Preloader - Var1: 0x25
Preloader - Disabling Watchdog...
Preloader - HW code: 0x766
Preloader - Target config: 0xe5
Preloader - SBC enabled: True
Preloader - SLA enabled: False
Preloader - DAA enabled: True
Preloader - SWJTAG enabled: True
Preloader - EPP_PARAM at 0x600 after EMMC_BOOT/SDMMC_BOOT: False
Preloader - Root cert required: False
Preloader - Mem read auth: True
Preloader - Mem write auth: True
Preloader - Cmd 0xC8 blocked: True
Preloader - Get Target info
Preloader - BROM mode detected.
Preloader - HW subcode: 0x8a00
Preloader - HW Ver: 0xca00
Preloader - SW Ver: 0x0
Preloader - ME_ID: 921E4FBF578455DEEC50F9EBA448BD88
Preloader - SOC_ID: 0240DFE71E5D62B444C450A856A7E8C3A5B6C2A94C1F9C7EFDA8A7838803CD98
Preloader - Status: Waiting for PreLoader VCOM, please connect mobile
Preloader
Preloader - [LIB]: ←[31mStatus: Handshake failed, retrying...←[0m
Port - Device detected
Preloader - CPU: MT6765/MT8768t(Helio P35/G35)
Preloader - HW version: 0x0
Preloader - WDT: 0x10007000
Preloader - Uart: 0x11002000
Preloader - Brom payload addr: 0x100a00
Preloader - DA payload addr: 0x201000
Preloader - CQ_DMA addr: 0x10212000
Preloader - Var1: 0x25
Preloader - Disabling Watchdog...
Preloader - HW code: 0x766
Preloader - Target config: 0xe5
Preloader - SBC enabled: True
Preloader - SLA enabled: False
Preloader - DAA enabled: True
Preloader - SWJTAG enabled: True
Preloader - EPP_PARAM at 0x600 after EMMC_BOOT/SDMMC_BOOT: False
Preloader - Root cert required: False
Preloader - Mem read auth: True
Preloader - Mem write auth: True
Preloader - Cmd 0xC8 blocked: True
Preloader - Get Target info
Preloader - BROM mode detected.
Preloader - HW subcode: 0x8a00
Preloader - HW Ver: 0xca00
Preloader - SW Ver: 0x0
Preloader - ME_ID: 921E4FBF578455DEEC50F9EBA448BD88
Preloader - SOC_ID: 0240DFE71E5D62B444C450A856A7E8C3A5B6C2A94C1F9C7EFDA8A7838803CD98
Port - Device detected
DAXFlash - Uploading xflash stage 1 from MTK_AllInOne_DA_5.2152.bin
xflashext - Patching da1 ...
xflashext
xflashext - [LIB]: ←[33mError on patching da1 version check...←[0m
xflashext - Patching da2 ...
DAXFlash - Successfully uploaded stage 1, jumping ..
Preloader - Jumping to 0x200000
Preloader - Jumping to 0x200000: ok.
DAXFlash - Successfully received DA sync
DeviceClass - USBError(5, 'Input/Output Error')
None
Traceback (most recent call last):
File "C:\Users\Admin\mtkclient\mtkclient\gui\toolkit.py", line 113, in run
self.function(self, self.parameters)
File "C:\Users\Admin\mtkclient\mtk_gui", line 87, in getDevInfo
mtkClass = da_handler.configure_da(mtkClass, preloader=None)
File "C:\Users\Admin\mtkclient\mtkclient\Library\mtk_da_cmd.py", line 112, in configure_da
if not mtk.daloader.upload_da(preloader=preloader):
File "C:\Users\Admin\mtkclient\mtkclient\Library\mtk_daloader.py", line 209, in upload_da
return self.da.upload_da()
File "C:\Users\Admin\mtkclient\mtkclient\Library\mtk_daxflash.py", line 1143, in upload_da
connagent = self.get_connection_agent()
File "C:\Users\Admin\mtkclient\mtkclient\Library\mtk_daxflash.py", line 383, in get_connection_agent
res = self.send_devctrl(self.Cmd.GET_CONNECTION_AGENT)
File "C:\Users\Admin\mtkclient\mtkclient\Library\mtk_daxflash.py", line 267, in send_devctrl
status[0] = self.status()
File "C:\Users\Admin\mtkclient\mtkclient\Library\mtk_daxflash.py", line 215, in status
magic, datatype, length = unpack("<III", hdr)
struct.error: unpack requires a buffer of 12 bytes
Thats is the longest way which i can go . . . . .
xDaemon said:
Thats is the longest way which i can go . . . . .
Click to expand...
Click to collapse
It's most likely an installation or incompatibility issue. The python version must be 3.9. requirements,drivers,usbdk must be installed. If the problem cannot be solved, you can use LiveDVD where all the necessary software is preinstalled.
Lesosek said:
It's most likely an installation or incompatibility issue. The python version must be 3.9. requirements,drivers,usbdk must be installed. If the problem cannot be solved, you can use LiveDVD where all the necessary software is preinstalled.
Click to expand...
Click to collapse
I tried with LiveDVD but it is not recognized, can you make some guide with commands for LiveDVD if you have time, Please! I am real noob with Linux.
And the phone is restarting every 5 seconds, I have to press all 3 buttons and hold them but after some time I hear sound from connecting and disconnecting USB . . . .
Sorry for wasting your time!
xDaemon said:
I tried with LiveDVD but it is not recognized, can you make some guide with commands for LiveDVD if you have time, Please! I am real noob with Linux.
And the phone is restarting every 5 seconds, I have to press all 3 buttons and hold them but after some time I hear sound from connecting and disconnecting USB . . . .
Sorry for wasting your time!
Click to expand...
Click to collapse
Latest LiveDVD has user interface for MTKClient.
Lesosek said:
Latest LiveDVD has user interface for MTKClient.
Click to expand...
Click to collapse
I know, but when i click on it does nothing . . . . .
xDaemon said:
I know, but when i click on it does nothing . . . . .
Click to expand...
Click to collapse
"python mtk" command should print list of commands with description
Code:
MTK Flash/Exploit Client V1.52 (c) B.Kerler 2018-2021
-----------------------------------
Available commands are:
printgpt: Print GPT Table information
gpt: Save gpt table to given directory
r: Read flash to filename
rl: Read all partitions from flash to a directory
rf: Read whole flash to file
rs: Read sectors starting at start_sector to filename
ro: Read flash starting at offset to filename
w: Write partition from filename
wf: Write flash from filename
wl: Write partitions from directory path to flash
wo: Write flash starting at offset from filename
e: Erase partition
es: Erase partition with sector count
footer: Read crypto footer from flash
reset: Send mtk reset command
dumpbrom: Try to dump the bootrom
dumppreloader: Try to dump the preloader
payload: Run a specific kamakiri / da payload, if no filename is given, generic patcher is used
crash: Try to crash the preloader
brute: Bruteforce the kamakiri var1
gettargetconfig: Get target config (sbc, daa, etc.)
peek: Read memory in patched preloader mode
stage: Run stage2 payload via boot rom mode (kamakiri)
plstage: Run stage2 payload via preloader mode (send_da)
xflash: Run da xflash special commands
You can solve your problem using these commands:
"python mtk rl <dump directory name>" - dump all partitions, you shold have free 64GB, process may take few hours
"python mtk printgpt" - partition list
"python mtk r <partition name> <path to file>" - dump partition to file
"python mtk w <partition name> <path to file>" - write partition from file
"python mtk e <partition name>" - erase partition
Also you have to be careful with write or erase commands so a backup of all partitions should be done!

Categories

Resources