The tutorial below will show you how to unbrick Xiaomi Redmi 5 Plus (vince) using EDL testpoint method.
Xiaomi Redmi 5 Plus Stock ROM / Firmware
Download the latest firmware of redmi 5 Plus from above links.
Rename exension of the file downloaded to .tgz
Now extract the firmware using winrar or 7zip.
Install Qualcomm usb drivers
Install minimal adb & fastboot (system wide installation)
Install and launch XioMiFlash tool.
Click on Select button and navigate and select extracted firmware folder (rosy_global_images_V9………..)
Select clean all or clean all and lock.
Open the back cover of the phone and and connect phone to PC.
Now bridge the two EDL Contacts testpoints as shown on the image below using pair of tweezers or any metal.
As you touch the points, device will be detected by PC, Click on Refresh button in XiaoMIFlash Tool.
Flashtool will detect device. Now you can click flash button to begin the flash process.
Do not disturb the device until process is complete.
When flashing is complete, disconnect phone from PC and boot up.
Remember first boot after this process takes longer than usual.
USING QFIL TO UNBRICK XIAOMI REDMI 5 PLUS VIA EDL TEST POINT
If you do not like using XiaoMIFlash tool, you can also use Qualcomm Flash Image Loader (QFIL) to flash or update this device.
Download the latest version of QFIL.
Extract and install the QFIL downloaded.
Now navigate into the QFIL installation folder usually C:\Program Files (x86)\Qualcomm\QPST\bin and launch QFIL
Under Build type, select (tick) Flat Build
Under Select Programmer, Click Browse button then navigate to firmware folder open images folder and select prog_emmc_firehorse_XXXXX.mbn file.
Click on Load XML and select rawprogram0.xml and Patch0.xml
Connect device to PC in EDL mode as shown on image above.
Port will now appear on QFIL tool.
Click Download button and wait for flash process to complete.
When process is complete, disconnect and boot up device.