Shahzada Hello,
Did you already try using official firmware, extract it using ufi android toolbox, and do try to re-write the chip via factory image in Ufi eMMC Toolbox.
This is Qualcomm based device right? You can use extracted ofp with rawprogram.xml to write the chip.
Next time, if you have problem, please post with details log and screenshot for further assistance.