[Xiaomi Redmi Note 4 Questions & Answers] darkmaster566:
[MENTION=4646731]Alecxs[/MENTION]

I managed to - initialize firehose connection with QSaharaServer.exe

- flash splash.img with fh_loader.exe

- flash twrp.img with fh_loader.exe

But now, I am not able to boot in recovery. The device is completely dead. Doesn't boot. When connected to PC, only shows up with Qualcomm HS-USB Diagnostics 900E

Any idea how to boot in recovery?

---------- Post added at 06:29 PM ---------- Previous post was at 06:28 PM ----------

The flash was successful. Check the logs below:

C:\Users\hp\Desktop\New folder\Qualcomm_Flash_Image_Loader_v2.0.2.3>fh_loader.exe --port=\\.\COM3 --sendimage=splash.img

Base Version: 17.11.16.14.34

Binary build date: Nov 21 2017 @ 02:53:33

Incremental Build version: 17.11.21.02.53.33

17:30:45: INFO: FH_LOADER WAS CALLED EXACTLY LIKE THIS

************************************************

fh_loader.exe --port=\\.\COM3 --sendimage=splash.img

************************************************

17:30:45: INFO: Current working dir (cwd): C:\Users\hp\Desktop\New folder\Qualcomm_Flash_Image_Loader_v2.0.2.3\

17:30:45: INFO: Showing network mappings to allow debugging

17:30:46: INFO: Looking for file 'splash.img'

17:30:46: INFO: User wants to talk to port '\\.\COM3'

17:30:46: INFO: Took 0.01600000 seconds to open port

17:30:46: INFO: Sorting TAGS to ensure order is <configure>,<erase>, others, <patch>,<power>

17:30:46: INFO: If you don't want this, use --dontsorttags

17:30:46: INFO: Sending <configure>

17:30:46: INFO: TARGET SAID: 'logbuf@0x0806CBB8 fh@0x08069A20'

17:30:46: INFO: fh.attrs.MaxPayloadSizeToTargetInBytes = 1048576

17:30:46: INFO: fh.attrs.MaxPayloadSizeToTargetInBytesSupported = 1048576

17:30:46: INFO: In handleProgram('splash.img')

17:30:46: INFO: Looking for file 'splash.img'

17:30:46: INFO: =======================================================

17:30:46: INFO: {<program> FILE: 'splash.img'}

17:30:46: INFO: {<program> (657.57 KB) 1316 sectors needed at location 0 on LUN 0}

17:30:46: INFO: =======================================================

17:30:46: INFO: TARGET SAID: 'logbuf@0x0806CBB8 fh@0x08069A20'

17:30:46: INFO: TARGET SAID: 'start 0, num 1316'

17:30:46: INFO: FILE ACCESS SLOW!! 658.00 KB in 0.015 seconds ( 42.84 MBps) --- Overall to target 0.015 seconds (42.84 MBps)

17:30:46: INFO: TARGET SAID: 'Finished sector address 1316'

17:30:46: INFO:

17:30:46: INFO: =======================================================

17:30:46: INFO: ==================== {SUCCESS} ========================

17:30:46: INFO: =======================================================

17:30:46: INFO: ==============================================================

17:30:46: INFO: Files used and their paths

17:30:46: INFO: 1 'C:\Users\hp\Desktop\New folder\Qualcomm_Flash_Image_Loader_v2.0.2.3\port_trace.txt'

17:30:46: INFO: 2 'C:\Users\hp\Desktop\New folder\Qualcomm_Flash_Image_Loader_v2.0.2.3\splash.img'

17:30:46: INFO: _ (done)

17:30:46: INFO: | |

17:30:46: INFO: __| | ___ _ __ ___

17:30:46: INFO: / _` |/ _ \| '_ \ / _ \

17:30:46: INFO: | (_| | (_) | | | | __/

17:30:46: INFO: \__,_|\___/|_| |_|\___|

17:30:46: INFO: {All Finished Successfully}

17:30:46: INFO: FILE ACCESS SLOW!! 657.57 KB in 0.015 seconds ( 42.81 MBps) --- Overall to target 0.156 seconds (4.12 MBps)

Writing log to 'C:\Users\hp\Desktop\New folder\Qualcomm_Flash_Image_Loader_v2.0.2.3\port_trace.txt', might take a minute

Log is 'C:\Users\hp\Desktop\New folder\Qualcomm_Flash_Image_Loader_v2.0.2.3\port_trace.txt'

C:\Users\hp\Desktop\New folder\Qualcomm_Flash_Image_Loader_v2.0.2.3>fh_loader.exe --port=\\.\COM3 --sendimage=recovery.img

Base Version: 17.11.16.14.34

Binary build date: Nov 21 2017 @ 02:53:33

Incremental Build version: 17.11.21.02.53.33

17:31:45: INFO: FH_LOADER WAS CALLED EXACTLY LIKE THIS

************************************************

fh_loader.exe --port=\\.\COM3 --sendimage=recovery.img

************************************************

17:31:45: INFO: Current working dir (cwd): C:\Users\hp\Desktop\New folder\Qualcomm_Flash_Image_Loader_v2.0.2.3\

17:31:45: INFO: Showing network mappings to allow debugging

17:31:45: INFO: Looking for file 'recovery.img'

17:31:45: INFO: User wants to talk to port '\\.\COM3'

17:31:45: INFO: Took 0.00000000 seconds to open port

17:31:45: INFO: Sorting TAGS to ensure order is <configure>,<erase>, others, <patch>,<power>

17:31:45: INFO: If you don't want this, use --dontsorttags

17:31:45: INFO: Sending <configure>

17:31:45: INFO: TARGET SAID: 'logbuf@0x0806CBB8 fh@0x08069A20'

17:31:45: INFO: fh.attrs.MaxPayloadSizeToTargetInBytes = 1048576

17:31:45: INFO: fh.attrs.MaxPayloadSizeToTargetInBytesSupported = 1048576

17:31:45: INFO: In handleProgram('recovery.img')

17:31:45: INFO: Looking for file 'recovery.img'

17:31:45: INFO: =======================================================

17:31:45: INFO: {<program> FILE: 'recovery.img'}

17:31:45: INFO: {<program> (64.00 MB) 131072 sectors needed at location 0 on LUN 0}

17:31:45: INFO: =======================================================

17:31:45: INFO: TARGET SAID: 'start 0, num 131072'

17:31:47: INFO: Overall to target 1.953 seconds (32.77 MBps)

17:31:47: INFO: TARGET SAID: 'Finished sector address 131072'

17:31:47: INFO:

17:31:47: INFO: =======================================================

17:31:47: INFO: ==================== {SUCCESS} ========================

17:31:47: INFO: =======================================================

17:31:47: INFO: ==============================================================

17:31:47: INFO: Files used and their paths

17:31:47: INFO: 1 'C:\Users\hp\Desktop\New folder\Qualcomm_Flash_Image_Loader_v2.0.2.3\port_trace.txt'

17:31:47: INFO: 2 'C:\Users\hp\Desktop\New folder\Qualcomm_Flash_Image_Loader_v2.0.2.3\recovery.img'

17:31:47: INFO: _ (done)

17:31:47: INFO: | |

17:31:47: INFO: __| | ___ _ __ ___

17:31:47: INFO: / _` |/ _ \| '_ \ / _ \

17:31:47: INFO: | (_| | (_) | | | | __/

17:31:47: INFO: \__,_|\___/|_| |_|\___|

17:31:47: INFO: {All Finished Successfully}

17:31:47: INFO: Overall to target 2.062 seconds (31.04 MBps)

Writing log to 'C:\Users\hp\Desktop\New folder\Qualcomm_Flash_Image_Loader_v2.0.2.3\port_trace.txt', might take a minute

Log is 'C:\Users\hp\Desktop\New folder\Qualcomm_Flash_Image_Loader_v2.0.2.3\port_trace.txt'