shohagmalik Yes, all nb0 firmware for qualcomm will have xml, and you are good to go by any extractor, you can use it in ufi software.
If userdata.img corrupted, device will hang in logo, you can factory reset device via recovery menu, fastboot or special task to format the user data partition and this will solve the problem.