We're hiring! Apply Now

Hovatek Forum MOBILE Android redmi note 6 pro stuck in edl mode.

redmi note 6 pro stuck in edl mode.

redmi note 6 pro stuck in edl mode.

claws77
claws77
claws77
Newbie
2
28-02-2024, 07:06 PM
#1



my phone is non rooted, bootloader locked Redmi note 6 pro, india, it suddenly crashed and only fastboot was accessible but now it is in edl mode.
i have tried

fastboot when it was accessible using usb3fix.bat -- error 
Code:

erase is not allowed in locked state.
token verification failed.


now in edl mode, 
mi flash tool - mi unlock tool - account not added in developer options for unlocking.
qpst- qfil 
Code:

Download Fail:Sahara Fail:QSaharaServer Failrocess fail. 

renate's edl utility-- 
Code:

Found EDL 9008, configuring... ok
Requesting info on LUN 0...
<log value="ERROR: SDCC Error 20 (2)"/>
<log value="ERROR: Get Info Failed "/>
<log value="ERROR: Failed to get info 1 slot 0, partition 0, error 2"/>
<log value="ERROR: Failed to get device info slot:0artition:0"/>
<log value="ERROR 14: Line 1409: HANDLE_STORAGE_INFO_FAILURE"/> 
edl berkler 
Code:

C:\Users\sunan\Downloads\phoen\edl-master\edl-master>python edl.py --loader=C:\Users\sunan\Downloads\phoen\prog_emmc_firehose_Sdm660_ddr.elf
Capstone library is missing (optional).
Qualcomm Sahara / Firehose Client V3.62 (c) B.Kerler 2018-2023.
main - Using loader C:\Users\sunan\Downloads\phoen\prog_emmc_firehose_Sdm660_ddr.elf ...
main - Waiting for the device
main - Device detected :)
sahara - Protocol version: 2, Version supported: 1
main - Mode detected: sahara
sahara -
Version 0x2
------------------------
HWID:              0x000cc0e10000000 (MSM_ID:0x000cc0e1,OEM_ID:0x000,MODEL_ID:0x0000)
CPU detected:      "SDM636"
PK_HASH:           0xa7b8b82545a98eca23d68d1b5828264903441bdef0cd57e3c370
Serial:            0xbae2fa
sahara - Protocol version: 2, Version supported: 1
sahara - Uploading loader C:\Users\sunan\Downloads\phoen\prog_emmc_firehose_Sdm660_ddr.elf ...
sahara - 64-Bit mode detected.
sahara - Firehose mode detected, uploading...
sahara - Loader successfully uploaded.
C:\Users\sunan\Downloads\phoen\edl-master\edl-master>python edl.py printgpt --memory=emmc
Capstone library is missing (optional).
Qualcomm Sahara / Firehose Client V3.62 (c) B.Kerler 2018-2023.
main - Trying with no loader given ...
main - Waiting for the device
main - Device detected :)
main - Mode detected: firehose
main - Trying to connect to firehose loader ...
firehose
firehose - [LIB]: !DEBUG! rsp.data: 'bytearray(b'<?xml version="1.0" encoding="UTF-8" ?>\n<data>\n<log value="Chip serial num: 467295 (0xffffffff)"/>\n</data><?xml version="1.0" encoding="UTF-8" ?>\n<data>\n<log value="Supported Functions: program configure nop sig firmwarewrite patch setbootablestoragedrive ufs emmc power benchmark read getstorageinfo getsha256digest erase "/>\n</data>')'
firehose - TargetName=MSM8996
firehose - MemoryName=eMMC
firehose - Version=1
firehose - Trying to read first storage sector...
firehose - Running configure...
firehose
firehose - [LIB]: GetStorageInfo command isn't supported.
firehose_client - Supported functions:
-----------------
firehose
firehose - [LIB]: ERROR: SDCC Error 20 (2)
firehose
firehose - [LIB]: ERROR: Get Info Failed
firehose
firehose - [LIB]: ERROR: Failed to get info 1 slot 0, partition 0, error 2
firehose
firehose - [LIB]: storage_device_get_num_partition_sectors FAILED!
firehose
firehose - [LIB]: parseSectorValue could not handle start_sector value
firehose
firehose - [LIB]: ERROR: SDCC Error 20 (2)
firehose
firehose - [LIB]: ERROR: Get Info Failed
firehose
firehose - [LIB]: ERROR: Failed to get info 1 slot 0, partition 0, error 2
firehose
firehose - [LIB]: storage_device_get_num_partition_sectors FAILED!
firehose
firehose - [LIB]: parseSectorValue could not handle start_sector value

Xiaomi MiFlash Tool 2023.4.14.0 No Auth EDL Flashing
not flashing because authorization is not bypassed.


HELP!
maxpayne
maxpayne
maxpayne
Intern
4,334
29-02-2024, 11:22 AM
#2
(28-02-2024, 07:06 PM)claws77 ...

HELP!

try this no auth firehose with QFIL
[ Login to download]

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
claws77
claws77
claws77
Newbie
2
29-02-2024, 12:02 PM
#3
(29-02-2024, 11:22 AM)maxpayne
(28-02-2024, 07:06 PM)claws77 ...

HELP!

try this no auth firehose with QFIL
[ Login to download]
tell me if i did anything wrong,
phone disconnected
installed Qualcomm drivers for windows -packed with QPST tools
opened QFIL with administrator privileges
clicked flat build
added the noauth programmer file prog_emmc_firehose_Sdm660_ddr-elf
added rawprogram0.xml
patch0.xml

phone connected and detected in device manager and QFIL

 clicked tools> partition manager> qsahara fail --- attached log.
then clicked download > qsahara fail again -- attached log
Code:

2024-02-29 16:17:25.620    ***** Working Folder:C:\Users\sunan\AppData\Roaming\Qualcomm\QFIL\BHI
2024-02-29 16:17:25.639    Validating Application Configuration
2024-02-29 16:17:25.649    Load APP Configuration
2024-02-29 16:17:25.713    COM:6
2024-02-29 16:17:25.713    PBLDOWNLOADPROTOCOL:0
2024-02-29 16:17:25.713    PROGRAMMER:True
2024-02-29 16:17:25.713    PROGRAMMER:C:\Users\sunan\Downloads\phoen\prog_emmc_firehose_Sdm660_ddr.elf
2024-02-29 16:17:25.713    RESETSAHARASTATEMACHINE:False
2024-02-29 16:17:25.713    SAHARAREADSERIALNO:False
2024-02-29 16:17:25.713    SEARCHPATH:C:\Users\sunan\Downloads\phoen
2024-02-29 16:17:25.713    ACKRAWDATAEVERYNUMPACKETS:False
2024-02-29 16:17:25.713    ACKRAWDATAEVERYNUMPACKETS:100
2024-02-29 16:17:25.713    MAXPAYLOADSIZETOTARGETINBYTES:False
2024-02-29 16:17:25.713    MAXPAYLOADSIZETOTARGETINBYTES:49152
2024-02-29 16:17:25.713    ACTIVEBOOTPARTITION:False
2024-02-29 16:17:25.713    ACTIVEBOOTPARTITION:0
2024-02-29 16:17:25.713    PHYPARTITIONS:False
2024-02-29 16:17:25.713    PHYPARTITIONS:0
2024-02-29 16:17:25.713    DEVICETYPE:emmc
2024-02-29 16:17:25.713    PLATFORM:8x26
2024-02-29 16:17:25.713    VALIDATIONMODE:0
2024-02-29 16:17:25.713    RESETAFTERDOWNLOAD:False
2024-02-29 16:17:25.713    SWITCHTOFIREHOSETIMEOUT:30
2024-02-29 16:17:25.713    RESETTIMEOUT:200
2024-02-29 16:17:25.713    RESETDELAYTIME:2
2024-02-29 16:17:25.714    METABUILD:
2024-02-29 16:17:25.714    METABUILD:
2024-02-29 16:17:25.714    FLATBUILDPATH:C:\
2024-02-29 16:17:25.714    FLATBUILDFORCEOVERRIDE:True
2024-02-29 16:17:25.714    QCNPATH:C:\Temp\00000000.qcn
2024-02-29 16:17:25.714    QCNAUTOBACKUPRESTORE:False
2024-02-29 16:17:25.714    SPCCODE:000000
2024-02-29 16:17:25.714    ENABLEMULTISIM:False
2024-02-29 16:17:25.714    AUTOPRESERVEPARTITIONS:False
2024-02-29 16:17:25.714    PARTITIONPRESERVEMODE:0
2024-02-29 16:17:25.714    PRESERVEDPARTITIONS:0
2024-02-29 16:17:25.714    PRESERVEDPARTITIONS:
2024-02-29 16:17:25.714    ERASEALL:False
2024-02-29 16:17:25.715    Load ARG Configuration
2024-02-29 16:17:25.782    Validating Download Configuration
2024-02-29 16:17:25.783    Image Search Path: C:\Users\sunan\Downloads\phoen
2024-02-29 16:17:25.787    Programmer Path:C:\Users\sunan\Downloads\phoen\prog_emmc_firehose_Sdm660_ddr.elf
2024-02-29 16:17:26.646    Process Index:0
2024-02-29 16:17:26.675    Qualcomm Flash Image Loader (QFIL) 2.0.3.5
2024-02-29 16:17:47.037    Programmer Path:C:\Users\sunan\Downloads\phoen\noauth\prog_emmc_firehose_Sdm660_ddr.elf
2024-02-29 16:17:47.038    Image Search Path: C:\Users\sunan\Downloads\phoen\noauth
2024-02-29 16:18:03.860    Image Search Path: C:\Users\sunan\Downloads\phoen\noauth
2024-02-29 16:18:03.861    RAWPROGRAM file path: C:\Users\sunan\Downloads\phoen\noauth\rawprogram0.xml
2024-02-29 16:18:03.882    PATCH file path:C:\Users\sunan\Downloads\phoen\noauth\patch0.xml
2024-02-29 16:18:42.314    Start Download
2024-02-29 16:18:42.324    Program Path:C:\Users\sunan\Downloads\phoen\noauth\prog_emmc_firehose_Sdm660_ddr.elf
2024-02-29 16:18:42.334    ***** Working Folder:C:\Users\sunan\AppData\Roaming\Qualcomm\QFIL\COMPORT_6
2024-02-29 16:18:42.790    Binary build date: Jun 25 2019 @ 03:16:15
2024-02-29 16:18:42.792    QSAHARASERVER CALLED LIKE THIS: 'C:\Users\sunan\Downloads\phoen\QPST\install\bin\QSaharaServer.ex'Current working dir: C:\Users\sunan\AppData\Roaming\Qualcomm\QFIL\COMPORT_6
2024-02-29 16:18:42.795    Sahara mappings:
2024-02-29 16:18:42.797    2: amss.mbn
2024-02-29 16:18:42.798    6: apps.mbn
2024-02-29 16:18:42.805    8: dsp1.mbn
2024-02-29 16:18:42.806    10: dbl.mbn
2024-02-29 16:18:42.807    11: osbl.mbn
2024-02-29 16:18:42.808    12: dsp2.mbn
2024-02-29 16:18:42.809    16: efs1.mbn
2024-02-29 16:18:42.810    17: efs2.mbn
2024-02-29 16:18:42.812    20: efs3.mbn
2024-02-29 16:18:42.813    21: sbl1.mbn
2024-02-29 16:18:42.814    22: sbl2.mbn
2024-02-29 16:18:42.815    23: rpm.mbn
2024-02-29 16:18:42.816    25: tz.mbn
2024-02-29 16:18:42.817    28: dsp3.mbn
2024-02-29 16:18:42.818    29: acdb.mbn
2024-02-29 16:18:42.819    30: wdt.mbn
2024-02-29 16:18:42.820    31: mba.mbn
2024-02-29 16:18:42.820    13: C:\Users\sunan\Downloads\phoen\noauth\prog_emmc_firehose_Sdm660_ddr.elf
2024-02-29 16:18:42.821   
2024-02-29 16:18:42.822    16:18:42: Requested ID 13, file: "C:\Users\sunan\Downloads\phoen\noauth\prog_emmc_firehose_Sdm660_ddr.elf"
2024-02-29 16:18:42.823   
2024-02-29 16:18:42.823    16:18:42: 629152 bytes transferred in 0.250000 seconds (2.4000MBps)
2024-02-29 16:18:42.824   
2024-02-29 16:18:42.825   
2024-02-29 16:18:42.826   
2024-02-29 16:18:42.827    16:18:42: File transferred successfully
2024-02-29 16:18:42.827   
2024-02-29 16:18:42.828   
2024-02-29 16:18:42.829   
2024-02-29 16:18:42.833    16:18:42: Sahara protocol completed
2024-02-29 16:18:42.836    Sending Programmer Finished
2024-02-29 16:18:42.838    Switch To FireHose
2024-02-29 16:18:42.839    Wait for 3 seconds...
2024-02-29 16:18:45.857    Max Payload Size to Target:49152 Bytes
2024-02-29 16:18:45.861    Active Boot Partition:0
2024-02-29 16:18:45.863    Device Type:emmc
2024-02-29 16:18:45.864    Platform:8x26
2024-02-29 16:18:45.865    Disable Ack Raw Data Every N Packets
2024-02-29 16:18:45.867    Skip Write:False
2024-02-29 16:18:45.868    Always Validate:False
2024-02-29 16:18:45.868    Use Verbose:False
2024-02-29 16:18:45.875    ***** Working Folder:C:\Users\sunan\AppData\Roaming\Qualcomm\QFIL\COMPORT_6
2024-02-29 16:18:46.231   
2024-02-29 16:18:46.234    Base Version: 19.06.10.18.44
2024-02-29 16:18:46.236    Binary build date: Jun 25 2019 @ 03:16:10
2024-02-29 16:18:46.238    Incremental Build version: 19.06.25.03.16.10
2024-02-29 16:18:46.240   
2024-02-29 16:18:46.242    16:18:46: INFO: FH_LOADER WAS CALLED EXACTLY LIKE THIS
2024-02-29 16:18:46.245    ************************************************
2024-02-29 16:18:46.247    C:\Users\sunan\Downloads\phoen\QPST\install\bin\fh_loader.exe --port=\\.\COM6 --getstorageinfo=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=emmc
2024-02-29 16:18:46.251    ************************************************
2024-02-29 16:18:46.252   
2024-02-29 16:18:46.253    16:18:46: INFO: Current working dir (cwd): C:\Users\sunan\AppData\Roaming\Qualcomm\QFIL\COMPORT_6\
2024-02-29 16:18:46.254    16:18:46: INFO: Showing network mappings to allow debugging
2024-02-29 16:18:46.255    16:18:46: INFO: User wants to talk to port '\\.\COM6'
2024-02-29 16:18:46.256    16:18:46: INFO: Took       0.00000000 seconds to open port
2024-02-29 16:18:46.258    16:18:46: INFO: Sorting TAGS to ensure order is <configure>,<erase>, others, <patch>,<power>
2024-02-29 16:18:46.259    16:18:46: INFO: Sending <configure>
2024-02-29 16:18:46.260   
2024-02-29 16:18:46.262    16:18:46: INFO: TARGET SAID: 'Binary build date: Aug  2 2018 @ 22:27:53'
2024-02-29 16:18:46.264   
2024-02-29 16:18:46.267    16:18:46: INFO: TARGET SAID: 'Chip serial num: 4293918703 (0xffefffef)'
2024-02-29 16:18:46.269   
2024-02-29 16:18:46.270    16:18:46: INFO: TARGET SAID: 'Supported Functions: program configure nop sig firmwarewrite patch setbootablestoragedrive ufs emmc power benchmark read getstorageinfo getsha256digest erase '
2024-02-29 16:18:46.271   
2024-02-29 16:18:46.273    16:18:46: INFO: TARGET SAID: 'Calling usb_al_bulk_set_zlp_mode(TRUE) since ZlpAwareHost='1''
2024-02-29 16:18:46.274    16:18:46: INFO: fh.attrs.MaxPayloadSizeToTargetInBytes = 1048576
2024-02-29 16:18:46.276    16:18:46: INFO: fh.attrs.MaxPayloadSizeToTargetInBytesSupported = 1048576
2024-02-29 16:18:46.279    16:18:46: INFO: **INFO Unrecognized tag 'getstorageinfo', so I will simply look for ACK or NAK
2024-02-29 16:18:46.281   
2024-02-29 16:18:46.282    16:18:46: INFO: TARGET SAID: 'ERROR: SDCC Error 20 (2)'
2024-02-29 16:18:46.283   
2024-02-29 16:18:46.284    16:18:46: INFO: TARGET SAID: 'ERROR: Get Info Failed '
2024-02-29 16:18:46.285   
2024-02-29 16:18:46.286    16:18:46: INFO: TARGET SAID: 'ERROR: Failed to get info 1 slot 0, partition 0, error 2'
2024-02-29 16:18:46.287   
2024-02-29 16:18:46.288    16:18:46: INFO: TARGET SAID: 'ERROR: Failed to get device info slot:0artition:0'
2024-02-29 16:18:46.289   
2024-02-29 16:18:46.290    16:18:46: INFO: TARGET SAID: 'GetStorageInfo Failed - storage_device_get_info() returned FALSE'
2024-02-29 16:18:46.291   
2024-02-29 16:18:46.294    16:18:46: INFO: TARGET SAID: 'ERROR 14: Line 1409: HANDLE_STORAGE_INFO_FAILURE'
2024-02-29 16:18:46.295   
2024-02-29 16:18:46.296   
2024-02-29 16:18:46.297         _____                   
2024-02-29 16:18:46.298        |  ___|                   
2024-02-29 16:18:46.299        | |__ _ __ _ __ ___  _ __
2024-02-29 16:18:46.299        |  __| '__| '__/ _ \| '__|
2024-02-29 16:18:46.300        | |__| |  | | | (_) | |   
2024-02-29 16:18:46.301        \____/_|  |_|  \___/|_| 
2024-02-29 16:18:46.302   
2024-02-29 16:18:46.303   
2024-02-29 16:18:46.304    16:18:46: {ERROR: Error in handling to unrecognized TAG (response)}
2024-02-29 16:18:46.305    16:18:46: INFO: ==============================================================
2024-02-29 16:18:46.306    16:18:46: INFO: Files used and their paths
2024-02-29 16:18:46.307    16:18:46: INFO:   1 'C:\Users\sunan\AppData\Roaming\Qualcomm\QFIL\COMPORT_6\port_trace.txt'
2024-02-29 16:18:46.309   
2024-02-29 16:18:46.312    16:18:46: INFO:      _             (done)
2024-02-29 16:18:46.313    16:18:46: INFO:     | |                 
2024-02-29 16:18:46.314    16:18:46: INFO:   __| | ___  _ __   ___
2024-02-29 16:18:46.315    16:18:46: INFO:  / _` |/ _ \| '_ \ / _ \
2024-02-29 16:18:46.316    16:18:46: INFO: | (_| | (_) | | | |  __/
2024-02-29 16:18:46.317    16:18:46: INFO:  \__,_|\___/|_| |_|\___|
2024-02-29 16:18:46.318    16:18:46: INFO: {Not Finished Successfully - There were ERRORS}
2024-02-29 16:18:46.320   
2024-02-29 16:18:46.320    16:18:46: INFO: Overall to target  0.062 seconds (0.00 Bps)
2024-02-29 16:18:46.321   
2024-02-29 16:18:46.322    Writing log to 'C:\Users\sunan\AppData\Roaming\Qualcomm\QFIL\COMPORT_6\port_trace.txt', might take a minute
2024-02-29 16:18:46.329   
2024-02-29 16:18:46.330   
2024-02-29 16:18:46.331    Log is 'C:\Users\sunan\AppData\Roaming\Qualcomm\QFIL\COMPORT_6\port_trace.txt'
2024-02-29 16:18:46.332   
2024-02-29 16:18:46.333    Download Fail:FireHose Fail:FHLoader Fail:Process fail
2024-02-29 16:18:46.356    Finish Get GPT
2024-02-29 16:18:52.170    Start Download
2024-02-29 16:18:52.173    Program Path:C:\Users\sunan\Downloads\phoen\noauth\prog_emmc_firehose_Sdm660_ddr.elf
2024-02-29 16:18:52.177    ***** Working Folder:C:\Users\sunan\AppData\Roaming\Qualcomm\QFIL\COMPORT_6
2024-02-29 16:20:22.239    Binary build date: Jun 25 2019 @ 03:16:15
2024-02-29 16:20:22.242    QSAHARASERVER CALLED LIKE THIS: 'C:\Users\sunan\Downloads\phoen\QPST\install\bin\QSaharaServer.ex'Current working dir: C:\Users\sunan\AppData\Roaming\Qualcomm\QFIL\COMPORT_6
2024-02-29 16:20:22.245    Sahara mappings:
2024-02-29 16:20:22.247    2: amss.mbn
2024-02-29 16:20:22.248    6: apps.mbn
2024-02-29 16:20:22.250    8: dsp1.mbn
2024-02-29 16:20:22.251    10: dbl.mbn
2024-02-29 16:20:22.252    11: osbl.mbn
2024-02-29 16:20:22.253    12: dsp2.mbn
2024-02-29 16:20:22.258    16: efs1.mbn
2024-02-29 16:20:22.261    17: efs2.mbn
2024-02-29 16:20:22.263    20: efs3.mbn
2024-02-29 16:20:22.265    21: sbl1.mbn
2024-02-29 16:20:22.267    22: sbl2.mbn
2024-02-29 16:20:22.268    23: rpm.mbn
2024-02-29 16:20:22.269    25: tz.mbn
2024-02-29 16:20:22.272    28: dsp3.mbn
2024-02-29 16:20:22.274    29: acdb.mbn
2024-02-29 16:20:22.276    30: wdt.mbn
2024-02-29 16:20:22.277    31: mba.mbn
2024-02-29 16:20:22.278    13: C:\Users\sunan\Downloads\phoen\noauth\prog_emmc_firehose_Sdm660_ddr.elf
2024-02-29 16:20:22.279   
2024-02-29 16:20:22.280    16:20:22: ERROR: function: sahara_rx_data:276 Unable to read packet header. Only read 0 bytes.
2024-02-29 16:20:22.281   
2024-02-29 16:20:22.282    16:20:22: ERROR: function: sahara_main:982 Sahara protocol error
2024-02-29 16:20:22.283   
2024-02-29 16:20:22.285    16:20:22: ERROR: function: main:320 Uploading  Image using Sahara protocol failed
2024-02-29 16:20:22.288   
2024-02-29 16:20:22.288   
2024-02-29 16:20:22.289    Download Fail:Sahara Fail:QSaharaServer Fail:Process fail
2024-02-29 16:20:22.292    Finish Download
maxpayne
maxpayne
maxpayne
Intern
4,334
07-03-2024, 08:36 AM
#4
(29-02-2024, 12:02 PM)claws77 ...
2024-02-29 16:20:22.289    Download Fail:Sahara Fail:QSaharaServer FailTonguerocess fail
2024-02-29 16:20:22.292    Finish Download[/code]

Try this
https://www.hovatek.com/blog/how-to-fix-...r-in-qfil/

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
Join us
WhTlYt