Tried with Miflash Pro with the lastest update v5.3.714.36 I can sign in in the authorized tab with my 2016 account.
[23:48:23]:5 COM5 6.4132248s cannot receive hello packet
[23:50:56]:5 COM5 6.4076536s cannot receive hello packet
[23:52:01]:5 COM5 7.5992028s resdump:<?xml version="1.0" encoding="UTF-8" ?><data><log value="Read back verify failed at sector 230,num sectors 506" /></data><?xml version="1.0" encoding="UTF-8" ?><data><log value="Finished sector address 506" /></data><?xml version="1.0" encoding="UTF-8" ?><data><response value="NAK" rawmode="false" /></data>
Hi, I have the same problem, did it work out?
thanks
Related
need fire hose programmer for mi 6x. any idea? or anybody try flash in qdloader9008?
errors from miflash
Code:
Send done packet
[12:01:29 COM20]:file C:\XiaoMi\wayne_images_V9.5.7.0.ODCCNFA_20180429.0000.00_8.1_cn\images\prog_emmc_firehose_Sdm660_ddr.elf transferred successfully
[12:01:31 COM20]:send nop command
[12:01:31 COM20]:send command:<?xml version="1.0" ?><data><nop verbose="0" value="ping"/></data>
[12:01:31 COM20]:get response from target
[12:01:31 COM20]:dump:<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="Binary build date: Apr 28 2018 @ 23:22:35"/>
</data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="Chip serial num: 0 (0x0)"/>
</data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="Supported Functions: program configure sig nop firmwarewrite patch setbootablestoragedrive ufs emmc power benchmark read getstorageinfo getsha256digest erase peek poke "/>
</data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="Binary build date: Apr 28 2018 @ 23:22:35
"/>
</data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="fh.attrs.Verbose is set to 0"/>
</data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="Chip serial num: 0 (0x0)"/>
</data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="Supported Functions: program configure sig nop firmwarewrite patch setbootablestoragedrive ufs emmc power benchmark read getstorageinfo getsha256digest erase peek poke "/>
</data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<response value="ACK" />
</data>
[12:01:31 COM20]:send configure command
[12:01:31 COM20]:send command:<?xml version="1.0" ?><data><configure verbose="0" ZlpAwareHost="1" MaxPayloadSizeToTargetInBytes="131072" MemoryName="emmc" SkipStorageInit="0"/></data>
[12:01:31 COM20]:get response from target
[12:01:31 COM20]:dump:<?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" />
</data>
[12:01:31 COM20]:[12:01:31 COM20]:dump:<?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" />
</data>
Not only are you posting in the wrong section, you aren't even in your device's subforum.
NickTheSickDick said:
Not only are you posting in the wrong section, you aren't even in your device's subforum.
Click to expand...
Click to collapse
omg sorry, strange lags)
same problem, any solutions ??? ERROR: Only nop and sig tag can be recevied before authentication
redminote brick ( unblocked and testpoint failed )
Firehouse can not flash, because the programmer prog_emmc_firehose_Sdm660_ddr.elf is waiting for authorization to continue.
I will pass a file to which I have removed the authorization, I do not know if it works, but if you want you can try it.
Replace the file inside the images folder and comment.
Download here: drive.google.com/open?id=1mmpNYOZWYzQXRsLvDB7_TzNydUiZp4Gu
Greetings.
Hello raulmhe,
How you have removed authorization please ?
Can be used programmer for sdm660 for emmc from another producer or another xiaomi product ?
Thank you.
PS: If it works you have made happy all xiaomi users which uses sdm660 programmer and especially Redmi Note 5/Pro users.
raulmhe said:
Firehouse can not flash, because the programmer prog_emmc_firehose_Sdm660_ddr.elf is waiting for authorization to continue.
I will pass a file to which I have removed the authorization, I do not know if it works, but if you want you can try it.
Replace the file inside the images folder and comment.
Download here: drive.google.com/open?id=1mmpNYOZWYzQXRsLvDB7_TzNydUiZp4Gu
Greetings.
Click to expand...
Click to collapse
did you really succeded in removing authorization? did try it practically on a phone?
Me and another miui user have tested raluhme idea but used programmer from miui 9.2.4.0 and 9.5.6.0 for a bricked RN5 AI.
For Redmi Note 5/Pro at least until miui 9.5.13.0 no programmer has auth code.
9.5.19.0 programmer has auth code.
Doesn't ask for auth but when flash starts we have "Cannot read Hello packet ... trying to resetting device " error.
The RN5 phone was not at me it was to the other mi forum user and until now he hasn't been able to bypass/get rid of Cannot read hello packet error.
AngelescuO said:
Me and another miui user have tested raluhme idea but used programmer from miui 9.2.4.0 and 9.5.6.0 for a bricked RN5 AI.
For Redmi Note 5/Pro at least until miui 9.5.13.0 no programmer has auth code.
9.5.19.0 programmer has auth code.
Doesn't ask for auth but when flash starts we have "Cannot read Hello packet ... trying to resetting device " error.
The RN5 phone was not at me it was to the other mi forum user and until now he hasn't been able to bypass/get rid of Cannot read hello packet error.
Click to expand...
Click to collapse
ok plz inform me if u find a solution
AngelescuO said:
Me and another miui user have tested raluhme idea but used programmer from miui 9.2.4.0 and 9.5.6.0 for a bricked RN5 AI.
For Redmi Note 5/Pro at least until miui 9.5.13.0 no programmer has auth code.
9.5.19.0 programmer has auth code.
Doesn't ask for auth but when flash starts we have "Cannot read Hello packet ... trying to resetting device " error.
The RN5 phone was not at me it was to the other mi forum user and until now he hasn't been able to bypass/get rid of Cannot read hello packet error.
Click to expand...
Click to collapse
This is a very late response, but rather late than never I also got this error message in MiFlash. I know that it sounds strange but my solution was to be VERY fast to press the "refresh" and "flash" button after the device entered EDL mode (with battery disconnected) and showed up in Device Manager. If I waited for like 5-10 seconds it was too late. I also red that another possible solution if the device is not in EDL mode is to completely drain the battery before flashing
I used test points on my pad 4 plus and put it in edl. I replaced the fastboot rom emmc file with the one raulmhe shared. I used miflash 2017.4.25.0 and I was able to successfully flash all with a locked boot loader. Completely bypassing xiaomi's authorization.
i have unlock thebootloder
when i use miflash
in devices manager i see qualcomm hs-usb qdloader 9008
i get this error
cannot receive hello packet
or this :<?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" />
</data>
how i can flash and unbrick the phone?
kujman123 said:
i have unlock thebootloder
when i use miflash
in devices manager i see qualcomm hs-usb qdloader 9008
i get this error
cannot receive hello packet
or this :<?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" />
</data>
how i can flash and unbrick the phone?
Click to expand...
Click to collapse
Hello i assume you want to dwongrade from MIUI 10 to 9 right?
slashray said:
Hello i assume you want to dwongrade from MIUI 10 to 9 right?
Click to expand...
Click to collapse
yes
Contact Authorised Service centre
kujman123 said:
i have unlock thebootloder
when i use miflash
in devices manager i see qualcomm hs-usb qdloader 9008
i get this error
cannot receive hello packet
or this :<?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" />
</data>
how i can flash and unbrick the phone?
Click to expand...
Click to collapse
Need not to worry Drop your phone to nearest service centre. i JUST DID IT TODAY
huttui said:
Need not to worry Drop your phone to nearest service centre. i JUST DID IT TODAY
Click to expand...
Click to collapse
we need to pay for it
or its in the warranty
Try your luck
kujman123 said:
we need to pay for it
or its in the warranty
Click to expand...
Click to collapse
Can't comment as i still didn't got my phone back
huttui said:
Can't comment as i still didn't got my phone back
Click to expand...
Click to collapse
you can update me if they fix it
Hi there, hope for your help on a bricked Mi 9 SE grus. Situation is as following:
-phone got bricked by failed downgrade from xiaomi.eu-ROM downgrade to the official Xiaomi Global ROM
-phone shows nearly no signs of life (no response on any single button/button combination, no vibration, no heating up while battery charge)
-only sign f life is when phone ist set to EDL mode by testpint method -> then phone is recognized on PC as "Qualcomm HS-USB QDLoader 9008 Com 5"
So I tried to revive the phone by using Qualcomm QFIL (v2.0.3.5, build type flat build). Firehose configuration is set to:
-download protocol: 0 - Sahara
-device type: UFS
-validation mode: 0 - no validation
-no other checkbox is set
I tried different unzipped fastboot ROMs (last China [grus_images_V12.0.2.0.QFBCNXM_20200804.0000.00_10.0_cn], several global ROMs). By all of them QFIL fails, it shows:
Download Fail:Firehose Fail:FHLoader Failrocess Fail
The (shortened, due to char limitation in this post) detailed log shows as following:
Spoiler: detailed log
11:22:36: INFO: FH_LOADER WAS CALLED EXACTLY LIKE THIS
************************************************
C:\Program Files (x86)\Qualcomm\QPST\bin\fh_loader.exe --port=\\.\COM5 --sendxml=rawprogram0.xml --search_path=C:\_GRUS_CN_V12_0_2_Normal\images --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
************************************************
11:22:36: DEBUG: XML FILE (117 bytes): CharsInBuffer=1961-117=1844
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Binary build date: Jul 3 2020 @ 22:57:39" /></data>
-------------------------------------------------------------------------------------------
11:22:36: INFO: TARGET SAID: 'INFO: Binary build date: Jul 3 2020 @ 22:57:39'
11:22:36: DEBUG: XML FILE (118 bytes): CharsInBuffer=1844-118=1726
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Binary build date: Jul 3 2020 @ 22:57:39
" /></data>
-------------------------------------------------------------------------------------------
11:22:36: INFO: TARGET SAID: 'INFO: Binary build date: Jul 3 2020 @ 22:57:39
'
11:22:36: DEBUG: XML FILE (116 bytes): CharsInBuffer=1726-116=1610
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Chip serial num: 4135639522 (0xf680d9e2)" /></data>
-------------------------------------------------------------------------------------------
11:22:36: INFO: TARGET SAID: 'INFO: Chip serial num: 4135639522 (0xf680d9e2)'
11:22:36: DEBUG: XML FILE (101 bytes): CharsInBuffer=1610-101=1509
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Supported Functions (14):" /></data>
-------------------------------------------------------------------------------------------
11:22:36: INFO: TARGET SAID: 'INFO: Supported Functions (14):'
11:22:36: DEBUG: XML FILE (83 bytes): CharsInBuffer=1509-83=1426
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: program" /></data>
-------------------------------------------------------------------------------------------
11:22:36: INFO: TARGET SAID: 'INFO: program'
11:22:36: DEBUG: XML FILE (80 bytes): CharsInBuffer=1426-80=1346
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: read" /></data>
-------------------------------------------------------------------------------------------
11:22:36: INFO: TARGET SAID: 'INFO: read'
11:22:36: DEBUG: XML FILE (79 bytes): CharsInBuffer=1346-79=1267
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: nop" /></data>
-------------------------------------------------------------------------------------------
11:22:36: INFO: TARGET SAID: 'INFO: nop'
11:22:36: DEBUG: XML FILE (81 bytes): CharsInBuffer=1267-81=1186
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: patch" /></data>
-------------------------------------------------------------------------------------------
11:22:36: INFO: TARGET SAID: 'INFO: patch'
11:22:36: DEBUG: XML FILE (85 bytes): CharsInBuffer=1186-85=1101
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: configure" /></data>
-------------------------------------------------------------------------------------------
11:22:36: INFO: TARGET SAID: 'INFO: configure'
11:22:36: DEBUG: XML FILE (99 bytes): CharsInBuffer=1101-99=1002
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: setbootablestoragedrive" /></data>
-------------------------------------------------------------------------------------------
11:22:36: INFO: TARGET SAID: 'INFO: setbootablestoragedrive'
11:22:36: DEBUG: XML FILE (81 bytes): CharsInBuffer=1002-81=921
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: erase" /></data>
-------------------------------------------------------------------------------------------
11:22:36: INFO: TARGET SAID: 'INFO: erase'
11:22:36: DEBUG: XML FILE (81 bytes): CharsInBuffer=921-81=840
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: power" /></data>
-------------------------------------------------------------------------------------------
11:22:36: INFO: TARGET SAID: 'INFO: power'
11:22:36: DEBUG: XML FILE (89 bytes): CharsInBuffer=840-89=751
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: firmwarewrite" /></data>
-------------------------------------------------------------------------------------------
11:22:36: INFO: TARGET SAID: 'INFO: firmwarewrite'
11:22:36: DEBUG: XML FILE (90 bytes): CharsInBuffer=751-90=661
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: getstorageinfo" /></data>
-------------------------------------------------------------------------------------------
11:22:36: INFO: TARGET SAID: 'INFO: getstorageinfo'
11:22:36: DEBUG: XML FILE (85 bytes): CharsInBuffer=661-85=576
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: benchmark" /></data>
-------------------------------------------------------------------------------------------
11:22:36: INFO: TARGET SAID: 'INFO: benchmark'
11:22:36: DEBUG: XML FILE (80 bytes): CharsInBuffer=576-80=496
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: emmc" /></data>
-------------------------------------------------------------------------------------------
11:22:36: INFO: TARGET SAID: 'INFO: emmc'
11:22:36: DEBUG: XML FILE (79 bytes): CharsInBuffer=496-79=417
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: ufs" /></data>
-------------------------------------------------------------------------------------------
11:22:36: INFO: TARGET SAID: 'INFO: ufs'
11:22:36: DEBUG: XML FILE (82 bytes): CharsInBuffer=417-82=335
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: fixgpt" /></data>
-------------------------------------------------------------------------------------------
11:22:36: INFO: TARGET SAID: 'INFO: fixgpt'
11:22:36: DEBUG: XML FILE (105 bytes): CharsInBuffer=335-105=230
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: End of supported functions 14" /></data>
-------------------------------------------------------------------------------------------
11:22:36: INFO: TARGET SAID: 'INFO: End of supported functions 14'
11:22:36: DEBUG: XML FILE (136 bytes): CharsInBuffer=230-136=94
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="ERROR: Only nop and sig tag can be recevied before authentication." /></data>
-------------------------------------------------------------------------------------------
11:22:36: INFO: TARGET SAID: 'ERROR: Only nop and sig tag can be recevied before authentication.'
11:22:36: DEBUG: XML FILE (94 bytes): CharsInBuffer=94-94=0
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<response value="NAK" rawmode="false" /></data>
-------------------------------------------------------------------------------------------
11:22:36: DEBUG: Response was 'NAK'
11:22:36: INFO: fh.attrs.MaxPayloadSizeToTargetInBytes = 1048576
11:22:36: INFO: fh.attrs.MaxPayloadSizeToTargetInBytesSupported = 1048576
11:22:36: INFO: Something failed. The target rejected your <configure>. Please inspect log for more information
Any suggestions what this error causes, resp. how to avoid this/what the solution is? Any kind of help is highly appreciated, thx in advance!
@Theo_Rehtisch have you found any solution because i also have same problem....
Hi guys please help me
Yesterday ive tried flash my xiaomi a2 lite on edl mode cuz my phone is not unlocked imean the bootloader
its say finish ( Xiaomi flash beta ) but it still stuck on android one logo
and if i use the original xiaomi flash its says
[18:18:49]:3 COM3 8,4439426s [18:18:49 COM3]:resdump:<?xml version="1.0" encoding="UTF-8" ?><data><log value="Read back verify failed at sector 230,num sectors 506" /></data><?xml version="1.0" encoding="UTF-8" ?><data><log value="Finished sector address 506" /></data><?xml version="1.0" encoding="UTF-8" ?><data><response value="NAK" rawmode="false" /></data>
[18:22:19]:3 COM3 0,5171317s Index was outside the bounds of the array.
[18:22:26]:3 COM3 2,1519545s Object reference not set to an instance of an object.
[18:23:05]:3 COM3 0,2985426s Index was outside the bounds of the array.
[18:24:11]:3 COM3 7,5397079s [18:24:11 COM3]:resdump:<?xml version="1.0" encoding="UTF-8" ?><data><log value="Read back verify failed at sector 230,num sectors 506" /></data><?xml version="1.0" encoding="UTF-8" ?><data><log value="Finished sector address 506" /></data><?xml version="1.0" encoding="UTF-8" ?><data><response value="NAK" rawmode="false" /></data>
[18:24:34]:3 COM3 3,5714079s The port is closed.
[18:24:52]:3 COM3 0,3230766s [18:24:51 COM3]:System.IO.IOException: The requested resource is in use.
at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)
at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)
at System.IO.Ports.SerialPort.Open()
at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port)
at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash() at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)
at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)
at System.IO.Ports.SerialPort.Open()
at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port)
at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash()
[18:24:55]:3 COM3 0,4367812s [18:24:55 COM3]:System.IO.IOException: The requested resource is in use.
clostheur said:
Hi guys please help me
Yesterday ive tried flash my xiaomi a2 lite on edl mode cuz my phone is not unlocked imean the bootloader
its say finish ( Xiaomi flash beta ) but it still stuck on android one logo
and if i use the original xiaomi flash its says
[18:18:49]:3 COM3 8,4439426s [18:18:49 COM3]:resdump:<?xml version="1.0" encoding="UTF-8" ?><data><log value="Read back verify failed at sector 230,num sectors 506" /></data><?xml version="1.0" encoding="UTF-8" ?><data><log value="Finished sector address 506" /></data><?xml version="1.0" encoding="UTF-8" ?><data><response value="NAK" rawmode="false" /></data>
[18:22:19]:3 COM3 0,5171317s Index was outside the bounds of the array.
[18:22:26]:3 COM3 2,1519545s Object reference not set to an instance of an object.
[18:23:05]:3 COM3 0,2985426s Index was outside the bounds of the array.
[18:24:11]:3 COM3 7,5397079s [18:24:11 COM3]:resdump:<?xml version="1.0" encoding="UTF-8" ?><data><log value="Read back verify failed at sector 230,num sectors 506" /></data><?xml version="1.0" encoding="UTF-8" ?><data><log value="Finished sector address 506" /></data><?xml version="1.0" encoding="UTF-8" ?><data><response value="NAK" rawmode="false" /></data>
[18:24:34]:3 COM3 3,5714079s The port is closed.
[18:24:52]:3 COM3 0,3230766s [18:24:51 COM3]:System.IO.IOException: The requested resource is in use.
at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)
at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)
at System.IO.Ports.SerialPort.Open()
at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port)
at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash() at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)
at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)
at System.IO.Ports.SerialPort.Open()
at XiaoMiFlash.code.bl.SerialPortDevice.registerPort(SerialPort port)
at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash()
[18:24:55]:3 COM3 0,4367812s [18:24:55 COM3]:System.IO.IOException: The requested resource is in use.
Click to expand...
Click to collapse
hola amigo, tengo el mismo problema mi a2 lite no pasa del arranque y no se puede desbloquear bootloader, mediante test point igualmente no se actualiza firmaware.
pudiste solventar tu problema
FAILED (remoto: no se permite el desbloqueo del OEM)
terminado. tiempo total: 0.196s
MOD EDIT: Please post only in English according to the FORUM RULES or at least add an English translation below your foreign language(Google translator for example), translation added below:
Hello friend, I have the same problem my a2 lite does not go from boot and you can not unlock bootloader, using test point equally does not update firmaware.
you could solve your problem
FAILED (remote: OEM unlocking is not allowed)
finished. total time: 0.196s
Hi everyone, I kindly request your help because I am completely puzzled whether I have any options to recover my phone by myself or need to visit a repair service (which I do not want really)
So, I out my Phone to run some Youtube yesterday (it was 90% chargfed) and it stopped playback in 5 minutes and I fell asleep. In the morning I could see a display showing youtube at 20% brightness. After I pressed the power button screen went black and after that, I can not power the device up or enter fastboot, there is also nothing after I charge it.
Once connected to PC I can see it in EDL in MiFlash. I found out that there is a restriction by Xiaomi to flash from EDL nowadays. I googled and found the workaround: https://www.droidwin.com/fix-mi-account-authorization-unbrick-xiaomi-edl-mode/
I did it and after some attempts, I am finally stuck with this error which I can not find any refers to:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here are the logs:
XML:
[18:26:24]:lsusb path:"C:\XiaoMi\MiFlash20191206\Source\ThirdParty\Qualcomm\fh_loader\lsusb.exe"
[18:26:24]:ls ubs :Standard Serial over Bluetooth link (COM6)
Standard Serial over Bluetooth link (COM4)
Standard Serial over Bluetooth link (COM5)
Qualcomm HS-USB QDLoader 9008 (COM10)
[18:26:24]:vboytest HubPath:
[18:26:24]:vboytest HubPath: USB#ROOT_HUB30#4&73f3995&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
[18:26:24]:Specified cast is not valid.: at XiaoMiFlash.code.Utility.TreeViewUsbItem.AddPortNode(String HubPath, Int32 NumberOfPorts)
[18:26:24]:vboytest HubPath: USB#ROOT_HUB30#5&1247dd3&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
[18:26:24]:vboytest HubPath: USB#VIA_ROOT_HUB#5&7d0f70f&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
[18:26:24]:vboytest HubPath:
[18:26:24]:GetScriptDevices
[18:26:24]:Specified cast is not valid. at XiaoMiFlash.code.Utility.UsbDevice.GetAndroidDevices(TreeViewUsbItem item, List`1& outItems)
[18:26:24]:Specified cast is not valid. at XiaoMiFlash.code.Utility.UsbDevice.GetAndroidDevices(TreeViewUsbItem item, List`1& outItems)
[18:26:24]:add device COM10 index 10
[18:26:27]:lsusb path:"C:\XiaoMi\MiFlash20191206\Source\ThirdParty\Qualcomm\fh_loader\lsusb.exe"
[18:26:27]:ls ubs :Standard Serial over Bluetooth link (COM6)
Standard Serial over Bluetooth link (COM4)
Standard Serial over Bluetooth link (COM5)
Qualcomm HS-USB QDLoader 9008 (COM10)
[18:26:27]:vboytest HubPath:
[18:26:27]:vboytest HubPath: USB#ROOT_HUB30#4&73f3995&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
[18:26:27]:Specified cast is not valid.: at XiaoMiFlash.code.Utility.TreeViewUsbItem.AddPortNode(String HubPath, Int32 NumberOfPorts)
[18:26:27]:vboytest HubPath: USB#ROOT_HUB30#5&1247dd3&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
[18:26:27]:vboytest HubPath: USB#VIA_ROOT_HUB#5&7d0f70f&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
[18:26:27]:vboytest HubPath:
[18:26:27]:GetScriptDevices
[18:26:27]:Specified cast is not valid. at XiaoMiFlash.code.Utility.UsbDevice.GetAndroidDevices(TreeViewUsbItem item, List`1& outItems)
[18:26:27]:Specified cast is not valid. at XiaoMiFlash.code.Utility.UsbDevice.GetAndroidDevices(TreeViewUsbItem item, List`1& outItems)
[18:26:27]:FlashingDevice.flashDeviceList.Remove COM10
[18:26:27]:add device COM10 index 10
[18:26:27]:Thread start,thread id 27,thread name COM10
[18:26:57]:Thread stopped, thread id 27, thread name COM10
XML:
[18:26:40]:10 COM10 12.5074169s [18:26:40 COM10]: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" />
</data>
[18:26:57]:10 COM10 30.0098084s Root element is missing.
XML:
[18:26:27 COM10]:MiFlash 2019.12.6.0
[18:26:27 COM10]:flash in thread name:COM10,id:27
[18:26:27 COM10]:flash in thread name:COM10,id:27
[18:26:27 COM10]:[COM10]:start flash.
[18:26:28 COM10]:cannot receive hello packet,MiFlash is trying to reset status!
[18:26:29 COM10]:try to reset status.
[18:26:29 COM10]:Switch mode back
[18:26:29 COM10]:cannot receive hello packet,MiFlash is trying to reset status!
[18:26:30 COM10]:received hello packet
[18:26:30 COM10]:programmertype: 0
[18:26:30 COM10]:vboytest:D:\flash\images
[18:26:30 COM10]:download programmer file: D:\flash\images\prog_emmc_firehose_Sdm660_ddr.elf
[18:26:30 COM10]:download programmer D:\flash\images\prog_emmc_firehose_Sdm660_ddr.elf
[18:26:38 COM10]:Send done packet
[18:26:38 COM10]:file D:\flash\images\prog_emmc_firehose_Sdm660_ddr.elf transferred successfully
[18:26:40 COM10]:send nop command
[18:26:40 COM10]:send command:<?xml version="1.0" ?><data><nop verbose="0" value="ping"/></data>
[18:26:40 COM10]:get response from target
[18:26:40 COM10]:resdump:<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="Binary build date: Oct 26 2018 @ 09:56:38"/>
</data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="Chip serial num: 2373905150 (0x8d7eeafe)"/>
</data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="Supported Functions: program configure nop sig firmwarewrite patch setbootablestoragedrive ufs emmc power benchmark read getstorageinfo getsha256digest erase "/>
</data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="Binary build date: Oct 26 2018 @ 09:56:38
"/>
</data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="fh.attrs.Verbose is set to 0"/>
</data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="Chip serial num: 2373905150 (0x8d7eeafe)"/>
</data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="Supported Functions: program configure nop sig firmwarewrite patch setbootablestoragedrive ufs emmc power benchmark read getstorageinfo getsha256digest erase "/>
</data><?xml version="1.0" encoding="UTF-8" ?>
<data>
<response value="ACK" />
</data>
[18:26:40 COM10]:send configure command
[18:26:40 COM10]:send command:<?xml version="1.0" ?><data><configure verbose="0" AlwaysValidate="0" ZlpAwareHost="1" MaxPayloadSizeToTargetInBytes="131072" MemoryName="emmc" SkipStorageInit="0"/></data>
[18:26:40 COM10]:get response from target
[18:26:40 COM10]: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" />
</data>
[18:26:40 COM10]:flashSuccess False
[18:26:40 COM10]:isFactory False CheckCPUID False
[18:26:40 COM10]:before:flashSuccess is False set IsUpdate:True set IsDone True
[18:26:40 COM10]:after:flashSuccess is False set IsUpdate:false set IsDone true
[18:26:40 COM10]:no Binary dump
[18:26:41 COM10]:no Binary dump
[18:26:42 COM10]:no Binary dump
[18:26:42 COM10]:edl authentication
[18:26:42 COM10]:GetUserInfo
[18:26:55 COM10]:AuthFlash
[18:26:55 COM10]:need edl authentication.
[18:26:55 COM10]:authentication edl.
[18:26:55 COM10]:send command:<?xml version="1.0" ?><data> <sig TargetName="req" verbose="1"/></data>
[18:26:55 COM10]:get response from target
[18:26:55 COM10]:no Binary dump
[18:26:56 COM10]:no Binary dump
[18:26:56 COM10]:no Binary dump
[18:26:57 COM10]:no Binary dump
[18:26:57 COM10]:System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.LoadXml(String xml)
at XiaoMiFlash.code.bl.SerialPortDevice.dlAuth()
at XiaoMiFlash.code.bl.SerialPortDevice.ConfigureDDR(Int32 intSectorSize, Int32 buffer_sectors, String ddrType, Int32 m_iSkipStorageInit)
at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash() at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.LoadXml(String xml)
at XiaoMiFlash.code.bl.SerialPortDevice.dlAuth()
at XiaoMiFlash.code.bl.SerialPortDevice.ConfigureDDR(Int32 intSectorSize, Int32 buffer_sectors, String ddrType, Int32 m_iSkipStorageInit)
at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash()
[18:26:57 COM10]:no provision exit:COM10
[18:26:57 COM10]:flashSuccess False
[18:26:57 COM10]:isFactory False CheckCPUID False
[18:26:57 COM10]:before:flashSuccess is False set IsUpdate:True set IsDone True
[18:26:57 COM10]:after:flashSuccess is False set IsUpdate:false set IsDone true
Would really appreciate any help here.
Try flashing from EDL by tapping Test Point
Internal flash reported dead here=\