Bricked my CM G1, need to flash in QPST or miflash?

So I bricked my CM android one 2nd gen and it's not booting up, I can only see boot page like forever.

How did I come to this?
I cleared the cache in recovery then it somehow corrupted the /cache folder.
What I forgot to do is I did not enable OEM unlocking in settings so I cannot flash anything in flashboot and adb.

I'm stuck because my phone is
1. Not rooted
2. Bootloader locked
3. No custom recovery
4. Stock Android

What I plan to do now is to use the QPST or miFlash, I have already installed the necessary drivers and I can see my phone detected in download mode (using COM port)

My problem is I don't know where to look for the files needed. Or I'm not sure if these are the correct files I need because I just got the screenshot from other qualcom based phones. But I want to try it.




Kindly help me please where can I get these files?
prog_emmc_firehose_8974.mbn
settings.xml
MPRG8974.mbn
8974_msimage.mdn
rawprogram0_64G.xml
patch0.xml


Thanks in advance

Or you are free to suggest other methods if you have :)


from xda-developers http://ift.tt/27d4bep
via IFTTT