[Xiaomi Redmi Note 7 Pro Questions & Answers] cealaska:
I have tried researching how to get the Note 7 Pro out of edl mode but I keep getting errors when I try to flash the phone. Both with the MiFlash tool and the QFIL tool I am getting errors. I have tried renaming and moving the main Violet folder. Moving the ports and trying different cables. Resetting the phone and holding all three buttons, flashing as soon as the QFIL sees the phone in the port. I also tried using the lavender flashboot image again just to see if it would work. I tried using an older version of the QFIL app but I am still getting an error.

QFIL log:

2019-12-22 10:01:45.194 Programmer Path:C:\Users\Christopher\Desktop\violet_in_global_images_V11.0.5.0.PFHINXM_20191022.0000.00_9.0_in\images\prog_emmc_firehose_Sm6150_ddr.elf

2019-12-22 10:01:45.195 Image Search Path: C:\Users\Christopher\Desktop\violet_in_global_images_V11.0.5.0.PFHINXM_20191022.0000.00_9.0_in\images

2019-12-22 10:01:51.945 Image Search Path: C:\Users\Christopher\Desktop\violet_in_global_images_V11.0.5.0.PFHINXM_20191022.0000.00_9.0_in\images

2019-12-22 10:01:51.950 RAWPROGRAM file path: C:\Users\Christopher\Desktop\violet_in_global_images_V11.0.5.0.PFHINXM_20191022.0000.00_9.0_in\images\rawprogram0.xml

2019-12-22 10:01:51.951 PATCH file path:C:\Users\Christopher\Desktop\violet_in_global_images_V11.0.5.0.PFHINXM_20191022.0000.00_9.0_in\images\patch0.xml

2019-12-22 10:01:54.345 Start Download

2019-12-22 10:01:54.354 Program Path:C:\Users\Christopher\Desktop\violet_in_global_images_V11.0.5.0.PFHINXM_20191022.0000.00_9.0_in\images\prog_emmc_firehose_Sm6150_ddr.elf

2019-12-22 10:01:54.366 ***** Working Folder:C:\Users\Christopher\AppData\Roaming\Qualcomm\QFIL\COMPORT_115

2019-12-22 10:01:54.435 Binary build date: Nov 21 2017 @ 02:53:37

2019-12-22 10:01:54.438 QSAHARASERVER CALLED LIKE THIS: 'C:\Program Files (x86)\Qualcomm\QPST\bin\QSaharaServer.ex'Current working dir: C:\Users\Christopher\AppData\Roaming\Qualcomm\QFIL\COMPORT_115

2019-12-22 10:01:54.440 Sahara mappings:

2019-12-22 10:01:54.441 2: amss.mbn

2019-12-22 10:01:54.442 6: apps.mbn

2019-12-22 10:01:54.442 8: dsp1.mbn

2019-12-22 10:01:54.443 10: dbl.mbn

2019-12-22 10:01:54.444 11: osbl.mbn

2019-12-22 10:01:54.444 12: dsp2.mbn

2019-12-22 10:01:54.445 16: efs1.mbn

2019-12-22 10:01:54.445 17: efs2.mbn

2019-12-22 10:01:54.446 20: efs3.mbn

2019-12-22 10:01:54.447 21: sbl1.mbn

2019-12-22 10:01:54.447 22: sbl2.mbn

2019-12-22 10:01:54.448 23: rpm.mbn

2019-12-22 10:01:54.449 25: tz.mbn

2019-12-22 10:01:54.449 28: dsp3.mbn

2019-12-22 10:01:54.450 29: acdb.mbn

2019-12-22 10:01:54.450 30: wdt.mbn

2019-12-22 10:01:54.451 31: mba.mbn

2019-12-22 10:01:54.452 13: C:\Users\Christopher\Desktop\violet_in_global_images_V11.0.5.0.PFHINXM_20191022.0000.00_9.0_in\images\prog_emmc_firehose_Sm6150_ddr.elf

2019-12-22 10:01:54.453

2019-12-22 10:01:54.453 10:01:54: Requested ID 13, file: "C:\Users\Christopher\Desktop\violet_in_global_images_V11.0.5.0.PFHINXM_20191022.0000.00_9.0_in\images\prog_emmc_firehose_Sm6150_ddr.elf"

2019-12-22 10:01:54.454

2019-12-22 10:01:54.455 10:01:54: ERROR: function: is_ack_successful:1169 Invalid status field 40

2019-12-22 10:01:54.456

2019-12-22 10:01:54.456 10:01:54: ERROR: function: sahara_start:895 Exiting abruptly

2019-12-22 10:01:54.457

2019-12-22 10:01:54.457 10:01:54: ERROR: function: sahara_main:924 Sahara protocol error

2019-12-22 10:01:54.458

2019-12-22 10:01:54.459 10:01:54: ERROR: function: main:303 Uploading Image using Sahara protocol failed

2019-12-22 10:01:54.460

2019-12-22 10:01:54.460

2019-12-22 10:01:54.461 Download Fail:Sahara Fail:QSaharaServer Fail:Process fail

2019-12-22 10:01:54.462 Finish Download

MiFlash Log:

[11:35:55 AM COM19]:MiFlash 2018.11.15.0

[11:35:55 AM COM19]:factory:

[11:35:55 AM COM19]:factory env

[11:35:55 AM COM19]:flash in thread name:COM19,id:13

[11:35:55 AM COM19]:sw in images

[11:35:55 AM COM19]:flash in thread name:COM19,id:13

[11:35:55 AM COM19]:[COM19]:start flash.

[11:35:55 AM COM19]:received hello packet

[11:35:55 AM COM19]:download programmer C:\violet\images\prog_emmc_firehose_Sm6150_ddr.elf

[11:35:55 AM COM19]:sahara read 64b data:imgID 13,offset 0,length 64

[11:35:55 AM COM19]:sahara read 64b data:imgID 13,offset 64,length 952

[11:35:55 AM COM19]:sahara read end error with status:40

[11:35:55 AM COM19]:sahara read end imgID:13 status:40

[11:35:55 AM COM19]:Send done packet

[11:35:55 AM COM19]:System.Exception: programmer transfer error 4

at XiaoMiFlash.code.bl.SerialPortDevice.SaharaDownloadProgrammer()

at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash() at XiaoMiFlash.code.bl.SerialPortDevice.SaharaDownloadProgrammer()

at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash()

[11:35:55 AM COM19]:no provision exit:COM19

[11:35:56 AM COM19]:flashSuccess False

[11:35:56 AM COM19]:isFactory True CheckCPUID False

[11:35:56 AM COM19]:before:flashSuccess is False set IsUpdate:True set IsDone True

[11:35:56 AM COM19]:after:flashSuccess is False set IsUpdate:false set IsDone true

QFIL 2.0.0.0 log:

Validating Application Configuration

Load APP Configuration

COM:19

SEARCHPATH:C:\violet\images

RAWPROGRAM:

rawprogram0.xml

PATCH:

patch0.xml

ACKRAWDATAEVERYNUMPACKETS:False

ACKRAWDATAEVERYNUMPACKETS:100

MAXPAYLOADSIZETOTARGETINBYTES:False

MAXPAYLOADSIZETOTARGETINBYTES:49152

DEVICETYPE:emmc

PLATFORM:8x26

RESETAFTERDOWNLOAD:False

MAXDIGESTTABLESIZE:8192

SWITCHTOFIREHOSETIMEOUT:30

RESETTIMEOUT:200

RESETDELAYTIME:2

METABUILD:

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:\violet\images

RAWPROGRAM file path: C:\violet\images\rawprogram0.xml

PATCH file path:C:\violet\images\patch0.xml

Invalid Device Type emmc, Ignored

Programmer Path:C:\violet\images\prog_emmc_firehose_Sm6150_ddr.elf

Image Search Path: C:\violet\images

RAWPROGRAM file path: C:\violet\images\rawprogram0.xml

PATCH file path:C:\violet\images\patch0.xml

Start Download

Program Path:C:\violet\images\prog_emmc_firehose_Sm6150_ddr.elf

COM Port number:19

Sahara Connecting ...

Sahara Version:2

Start Sending Programmer

Download Fail:Unable to download Flash Programmer using Sahara Protocol

Download Fail:Sahara FailSahara Fail

Finish Download

Start Download

Program Path:C:\violet\images\prog_emmc_firehose_Sm6150_ddr.elf

COM Port number:19

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

Start Download

Program Path:C:\violet\images\prog_emmc_firehose_Sm6150_ddr.elf

COM Port number:19

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

Start Download

Program Path:C:\violet\images\prog_emmc_firehose_Sm6150_ddr.elf

COM Port number:19

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