We want to share with you the package of Windows scripts (.cmd files), which are used to restore and backup partitions, including eMMC on Redmi 4X and Redmi Note 3 Pro smartphones. To use these scripts, we’ll need the EMMC DL Tool and it can be also downloaded below.

Restore eMMC partition and unbrick Redmi 4X with emmcdl tool

Download EMMC DL Tool v5.2.0 | Developed by Foneric, Inc. | eMMC_DL_Tool_for_customer_ENG_V5.2.0R.zip

Check out the this link to find the tutorial on how to use this tool.

Now as for the scripts, for more information you can refer to the original link on XDA forum. These was tested successfully on a few Qualcomm devices and helped to restore IMEI, MAC-address and bootloader lock status. It can be also used to create rawprogram0.xml firmware files for MiFlash tool.

Download: qcpartsbackup11.7z

Original source / XDA Thread