[Redmi 9 Power / 9T] DeadlyDude:
I bougth this phone a frew moths ago, after a MIUI 12 Update it was working fine, but then i restart it never power on again, so i went to the shop to get my warranty and they said it was a Battery problem and they couldn´t help me.

When i connect the phone to my PC it recognizes it as a Qualcomm HS-USB QDLoader 9008, i made research and it says that the phone get recognized with that name when it is in Emergency Download Mode or EDL, and it needs a flash to work properly again, so download the fastboot image and XiaomiMiFlashTool to try and flash it but when i tried to do so its says flashing for about 10-15 seconds, then it says ping via firehorse and after that the device disconnects and connect s from the pc, and then its says System.Exception: ping target failed and stop flashing, so i´m wordering its someone could give me hand, i would really appreciate it.

Here are the logs of MiFlash

[16:17:23 COM9]:MiFlash 2021.2.26.0
[16:17:23 COM9]:vboytest index:9
[16:17:23 COM9]:flash in thread name:COM9,id:9
[16:17:23 COM9]:sw in images
[16:17:23 COM9]:vboytest do open :
[16:17:23 COM9]: serial port COM9 opend successfully
[16:17:23 COM9]:[COM9]:start flash.
[16:17:23 COM9]:received hello packet
[16:17:23 COM9]:programmertype: 0
[16:17:23 COM9]:vboytest:C:\Users\CASA\Desktop\lime_global_images_V12.0.16.0.QJQMIXM_20210913.0000.00_10.0_global\images
[16:17:23 COM9]:download programmer file: C:\Users\CASA\Desktop\lime_global_images_V12.0.16.0.QJQMIXM_20210913.0000.00_10.0_global\images\prog_firehose_ddr.elf
[16:17:23 COM9]:download programmer C:\Users\CASA\Desktop\lime_global_images_V12.0.16.0.QJQMIXM_20210913.0000.00_10.0_global\images\prog_firehose_ddr.elf
[16:17:33 COM9]:Send done packet
[16:17:33 COM9]:file C:\Users\CASA\Desktop\lime_global_images_V12.0.16.0.QJQMIXM_20210913.0000.00_10.0_global\images\prog_firehose_ddr.elf transferred successfully
[16:17:35 COM9]:send nop command
[16:17:35 COM9]:send command:<?xml version="1.0" ?><data><nop verbose="0" value="ping"/></data>
[16:17:35 COM9]:wait for port open.
[16:17:35 COM9]:wait for port open.
[16:17:35 COM9]:wait for port open.
[16:17:35 COM9]:wait for port open.
[16:17:35 COM9]:wait for port open.
[16:17:35 COM9]:wait for port open.
[16:17:35 COM9]:wait for port open.
[16:17:35 COM9]:wait for port open.
[16:17:36 COM9]:wait for port open.
[16:17:36 COM9]:wait for port open.
[16:17:36 COM9]:wait for port open.
[16:17:36 COM9]:wait for port open.
[16:17:36 COM9]:wait for port open.
[16:17:36 COM9]:wait for port open.
[16:17:36 COM9]:wait for port open.
[16:17:36 COM9]:wait for port open.
[16:17:36 COM9]:wait for port open.
[16:17:36 COM9]:wait for port open.
[16:17:36 COM9]:wait for port open.
[16:17:36 COM9]:wait for port open.
[16:17:36 COM9]:get response from target
[16:17:37 COM9]:no Binary dump
[16:17:38 COM9]:no Binary dump
[16:17:38 COM9]:no Binary dump
[16:17:39 COM9]:no Binary dump
[16:17:40 COM9]:no Binary dump
[16:17:41 COM9]:no Binary dump
[16:17:41 COM9]:no Binary dump
[16:17:42 COM9]:no Binary dump
[16:17:43 COM9]:no Binary dump
[16:17:44 COM9]:no Binary dump
[16:17:44 COM9]:no Binary dump
[16:17:45 COM9]:no Binary dump
[16:17:46 COM9]:no Binary dump
[16:17:47 COM9]:no Binary dump
[16:17:47 COM9]:no Binary dump
[16:17:48 COM9]:no Binary dump
[16:17:48 COM9]:System.Exception: ping target failed
en XiaoMiFlash.code.bl.SerialPortDevice.ping()
en XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlashNew() en XiaoMiFlash.code.bl.SerialPortDevice.ping()
en XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlashNew()
[16:17:53 COM9]:flashSuccess False
[16:17:53 COM9]:isFactory False CheckCPUID False
[16:17:53 COM9]:before:flashSuccess is False set IsUpdate:True set IsDone True
[16:17:53 COM9]:after:flashSuccess is False set IsUpdate:false set IsDone true

[16:16:21]:GetUserInfo
[16:16:31]:AuthFlash
[16:17:16]:lsusb path:"C:\Users\CASA\Desktop\MiFlash20210226\Source\ThirdParty\Qualcomm\fh_loader\lsusb.exe"
[16:17:16]:ls ubs :Qualcomm HS-USB QDLoader 9008 (COM9)

[16:17:16]:add device COM9 index 9
[16:17:22]:lsusb path:"C:\Users\CASA\Desktop\MiFlash20210226\Source\ThirdParty\Qualcomm\fh_loader\lsusb.exe"
[16:17:22]:ls ubs :Qualcomm HS-USB QDLoader 9008 (COM9)

[16:17:23]:FlashingDevice.flashDeviceList.Remove COM9
[16:17:23]:add device COM9 index 9
[16:17:23]:dl not exit ffufilelist
[16:17:23]:Thread start,thread id 9,thread name COM9
[16:17:53]:Thread stopped, thread id 9, thread name COM9

[16:17:53]:9 COM9 30,0036613s System.Exception: ping target failed
en XiaoMiFlash.code.bl.SerialPortDevice.ping()
en XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlashNew() en XiaoMiFlash.code.bl.SerialPortDevice.ping()
en XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlashNew()