In order to fulfill the basic functions of our service, the user hereby agrees to allow Xiaomi to collect, process and use personal information which shall include but not be limited to written threads, pictures, comments, replies in the Xiaomi Community, and relevant data types listed in Xiaomi's Private Policy. By selecting "Agree", you agree to Xiaomi's Private Policy and Content Policy .
Agree

Mi A3

[Q&A] How to authenticate my mi account for flashing brick phone in EDL mode??

2019-11-09 00:10:17
17846 26
I have bricked my Mi A3, it happened in less than a week of use. As the bootloader is blocked the way I found was to enter edl mode by test point, but when I try to pass rom stock through mi Flash appears the error: "System.Exception. Autentication failed". That is, my account is not authorized. Can anyone help me with this? I do not know what else to do..
So How to authenticate my mi account for flashing brick phone in EDL mode??
Mi id: 1750962582
*english translated

2019-11-09 00:10:17
Favorites RateRate
Invalid floor, the posts have been deleted #1

Master Bunny

Abycho_LG | from app

#2

Hi,
Weird ...., enter fastboot mode and using fastboot utility, type in:
fastboot getvar product

2019-11-10 00:03:28
<<<-->>> Mi A2 <<<-->>>
Hello,
In simple terms, you can't utilize Mi Account on Mi A3 since it has Android One skin. Head to your nearest service centre...
2019-11-10 03:23:56

Rookie Bunny

Felpzinh Author |

#4

Abycho_LG replied at 2019-11-10 03:03:28
Hi,
Weird ...., enter fastboot mode and using fastboot utility, type in:
fastboot getvar product

product: laurel_sprout

Have the factory stock rom, I did not try to pass any rom

Already tried everything through Cmd commands trying to use fastboot but always the error. I believe it is because of my locked OEM.

2019-11-10 15:16:38

Rookie Bunny

Felpzinh Author |

#5

J C Paul replied at 2019-11-10 06:23:56
Hello,
In simple terms, you can't utilize Mi Account on Mi A3 since it has Android One skin. Head to your nearest service centre...

I didn't need to login with Mi account when I got the device but I need this authorized account just to flash rom stock through MI Flash. When I try to pass an error appears that my account is not allowed to do so. I have seen that there are people charging to log in with such special accounts but I think this is absurd. And there are no authorized Xiaomi centers near my area.
2019-11-10 15:22:48

Master Bunny

Abycho_LG | from app

#6

quoteurl=home.php?mod=space&amp;uid=1750962582Felpzinh/url
product: laurel_sprout

Have the factory stock rom, I did not try to pass any rom
/quote

If the OEM unlocking (Developer options) is disabled, you need to enter the EDL mode to flash. Can you show the latest MiFlash log?

2019-11-11 02:12:11
<<<-->>> Mi A2 <<<-->>>

Rookie Bunny

Felpzinh Author |

#7

Abycho_LG replied at 2019-11-11 05:12:11
If the OEM unlocking (Developer options) is disabled, you need to enter the EDL mode to flash. Can you show the latest MiFlash log?

I tested again and the same error persists. I am not allowed to perform the flash. Following are two logs from the last flash:

[21:01:25  COM3]:MiFlash 2019.10.30.0
[21:01:26  COM3]:flash in thread name:COM3,id:9
[21:01:26  COM3]:sw in images
[21:01:26  COM3]:flash in thread name:COM3,id:9
[21:01:26  COM3]:[COM3]:start flash.
[21:01:26  COM3]:received hello packet
[21:01:26  COM3]:programmertype: 0
[21:01:26  COM3]:vboytest:C:\MiA3\laurel_sprout_global_images_V10.3.4.0.PFQMIXM_9.0\images
[21:01:26  COM3]:download programmer file: System.String[]
[21:01:26  COM3]:download programmer C:\MiA3\laurel_sprout_global_images_V10.3.4.0.PFQMIXM_9.0\images\prog_firehose_ddr.elf
[21:01:34  COM3]:Send done packet
[21:01:34  COM3]:file C:\MiA3\laurel_sprout_global_images_V10.3.4.0.PFQMIXM_9.0\images\prog_firehose_ddr.elf transferred successfully
[21:01:36  COM3]:send nop command
[21:01:36  COM3]:send command:?xml version="1.0" ?datanop verbose="0"  value="ping"//data
[21:01:36  COM3]:get response from target
[21:01:36  COM3]:resdump:?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: Binary build date: May 22 2019 @ 17:10:49" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: Binary build date: May 22 2019 @ 17:10:49
" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: Chip serial num: 3287872256 (0xc3f8f300)" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: Supported Functions (14):" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: program" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: read" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: nop" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: patch" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: configure" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: setbootablestoragedrive" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: erase" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: power" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: firmwarewrite" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: getstorageinfo" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: benchmark" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: emmc" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: ufs" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: fixgpt" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: End of supported functions 14" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: Calling handler for nop" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: Binary build date: May 22 2019 @ 17:10:49
" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: Chip serial num: 3287872256 (0xc3f8f300)" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: Supported Functions (14):" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: program" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: read" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: nop" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: patch" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: configure" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: setbootablestoragedrive" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: erase" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: power" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: firmwarewrite" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: getstorageinfo" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: benchmark" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: emmc" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: ufs" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: fixgpt" //data?xml version="1.0" encoding="UTF-8" ?
data
log value="INFO: End of supported functions 14" //data?xml version="1.0" encoding="UTF-8" ?
data
response value="ACK" rawmode="false" //data


[21:01:36  COM3]:send configure command
[21:01:36  COM3]:send command:?xml version="1.0" ?dataconfigure verbose="0" AlwaysValidate="0"  ZlpAwareHost="1"  MaxPayloadSizeToTargetInBytes="1048576" MemoryName="ufs" SkipStorageInit="0"//data
[21:01:36  COM3]:get response from target
[21:01:36  COM3]:resdump:?xml version="1.0" encoding="UTF-8" ?
data
log value="ERROR: Only nop and sig tag can be recevied before authentication." //data?xml version="1.0" encoding="UTF-8" ?
data
response value="NAK" rawmode="false" //data


[21:01:37  COM3]:flashSuccess False
[21:01:37  COM3]:isFactory False CheckCPUID False
[21:01:37  COM3]:before:flashSuccess is False set IsUpdate:True set IsDone True
[21:01:37  COM3]:after:flashSuccess is False set IsUpdate:false set IsDone true
[21:01:37  COM3]:no Binary dump
[21:01:37  COM3]:no Binary dump
[21:01:38  COM3]:no Binary dump
[21:01:38  COM3]:edl authentication
[21:01:38  COM3]:GetUserInfo
[21:02:02  COM3]:AuthFlash
[21:02:02  COM3]:need edl authentication.
[21:02:02  COM3]:authentication edl.
[21:02:02  COM3]:send command:?xml version="1.0" ?data sig TargetName="req" verbose="1"//data
[21:02:02  COM3]:get response from target
[21:02:02  COM3]:resdump:?xml version="1.0" encoding="UTF-8" ?
data
sig TargetName="blob" value="AQAAAIoBAAAA8_jDg283G73vJ3IIx7MxKVi2kg" //data?xml version="1.0" encoding="UTF-8" ?
data
response value="ACK" rawmode="false" //data


[21:02:02  COM3]:origin:AQAAAIoBAAAA8_jDg283G73vJ3IIx7MxKVi2kg
[21:02:02  COM3]:SignEdl
[21:02:12  COM3]:authentication failed result -6
[21:02:12  COM3]:System.Exception: authentication failed A operação foi concluída com êxito
   em XiaoMiFlash.code.bl.SerialPortDevice.dlAuth()
   em XiaoMiFlash.code.bl.SerialPortDevice.ConfigureDDR(Int32 intSectorSize, Int32 buffer_sectors, String ddrType, Int32 m_iSkipStorageInit)
   em XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash()     em XiaoMiFlash.code.bl.SerialPortDevice.dlAuth()
   em XiaoMiFlash.code.bl.SerialPortDevice.ConfigureDDR(Int32 intSectorSize, Int32 buffer_sectors, String ddrType, Int32 m_iSkipStorageInit)
   em XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash()
[21:02:12  COM3]:no provision exit:COM3
[21:02:12  COM3]:flashSuccess False
[21:02:12  COM3]:isFactory False CheckCPUID False
[21:02:12  COM3]:before:flashSuccess is False set IsUpdate:True set IsDone True
[21:02:12  COM3]:after:flashSuccess is False set IsUpdate:false set IsDone true

And the other "Result"
[21:01:37]:3    COM3     11,069546s     [21:01:36  COM3]:resdump:?xml version="1.0" encoding="UTF-8" ?
data
log value="ERROR: Only nop and sig tag can be recevied before authentication." //data?xml version="1.0" encoding="UTF-8" ?
data
response value="NAK" rawmode="false" //data


[21:02:12]:3    COM3     46,5137005s     [21:02:12  COM3]:System.Exception: authentication failed A operação foi concluída com êxito
   em XiaoMiFlash.code.bl.SerialPortDevice.dlAuth()
   em XiaoMiFlash.code.bl.SerialPortDevice.ConfigureDDR(Int32 intSectorSize, Int32 buffer_sectors, String ddrType, Int32 m_iSkipStorageInit)
   em XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash()     em XiaoMiFlash.code.bl.SerialPortDevice.dlAuth()
   em XiaoMiFlash.code.bl.SerialPortDevice.ConfigureDDR(Int32 intSectorSize, Int32 buffer_sectors, String ddrType, Int32 m_iSkipStorageInit)
   em XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash()

What appears after I try:



2019-11-11 19:19:32
Since Mid of 2018 EDL flash can only be done through an authorised EDL account. This was implemented to prevent misuse of Illegal rom flashing on Chinese devices to be able to sell them overseas. Xiaomi doesn't give EDL authorisations anymore. However, i wonder, how did you brick the device? Did you lock the device on a custom firmware?
2019-11-11 22:21:17
Felpzinh replied at 2019-11-11 19:19:32
I tested again and the same error persists. I am not allowed to perform the flash. Following are two logs from the last flash:

[21:01:25  COM3]:MiFlash 2019.10.30.0

Uninstall all the MI Flash tools that are on the PC and install the version you can download from https://c.mi.com/oc/miuidownload/detail?guide=2, step 1. Try flashing the V10.3.4.0.PFQMIXM ROM again. Setup the MiFlash with "clean all" at bottom - right.
2019-11-12 05:12:34
<<<-->>> Mi A2 <<<-->>>

Rookie Bunny

Felpzinh Author |

#10

yougotmehere replied at 2019-11-12 01:21:17
Since Mid of 2018 EDL flash can only be done through an authorised EDL account. This was implemented to prevent misuse of Illegal rom flashing on Chinese devices to be able to sell them overseas. Xiaomi doesn't give EDL authorisations anymore. However, i wonder, how did you brick the device? Did you lock the device on a custom firmware?

Wow. The worst news I could have. He blocked alone friend.  It had not a week of use, had not even thought to flash any rom. I simply put it on to load (the load should be close to 1%) and when I went to look, about half an hour later, the screen was black and couldn't do anything. I turned it off and from then on the screen does not come out of the "Android One" which is the first screen of the MIA3 after turning on. So I was looking for flash to stock rom to try to unlock usage, because so far I'm not sure if the problem is Rom. I'm seeing that the only alternative left for me is to pay someone who has these authorized accounts to just log in so I can flash the rom and find out if this is really the problem.
2019-11-12 10:07:52
please sign in to reply.
Sign In Sign Up

Felpzinh

Rookie Bunny

  • Followers

    11

  • Threads

    1

  • Replies

    11

  • Points

    38

Read moreGet new
Copyright©2010-2021 Xiaomi.com, All Rights Reserved
Quick Reply To Top Return to the list