[Android General] tirta.agung:
Unbrick your hard bricked (QHUSB_BULK or Qualcomm 9008 mode) V5 Max

Anybody here who has bricked their V5 Max, feel free to download the zip file attached HERE. You can find inside the zip:

8916_msimage.mbn

MPRG8916.mbn

sahara.xml

rawprogram0.xml

patch0.xml

1. GUIDE TO RECOVER PHONE

To recover your V5 MAX, you need somebody in this thread to upload the complete V5 MAX eMMC image for you (I have sold my phone, so don't have it anymore). To get such image, you could ask your friend or our OP to do these steps (root the phone first):

Format your external MicroSD card with "exfat" system file, and the size of this SD card should be more than 16 GB , which is the size of the whole partition.

Do a full factory reset, meaning wipe your cache, data, and internal storage using either CWM, TWRP, or PhillzTouch.

Insert the SD card to your phone and connect your V5 MAX with ADB, type:

adb shell
su
dd if=/dev/block/mmcblk0 of=/storage/sdcard1/backup.img bs=512 count=30535646

The size of the "backup.img" is around 16 GB, However, if you compressed it, it would be around 2 GB.

Now, if you have the backup.img in your hand, you can do these steps:

Download partition tools from the net, I recommend you to use "Minitool Partition Wizard".

Download "HDD Raw Copy Tool", it is a free tool that can copy your "backup.img" to your phone's eMMC sector per sector.

Download "QPST 2.7 build 422" from HERE and extract it to an empty folder. It has to be this version of "QPST". Install QPST by double clicking setup.exe, see pic below:

Download QualcommDrv.zip from here, extract to an empty folder, then open the folder according to your Windows type (x64 or x86) and double click dpinst64.exe to install the Qualcomm driver.

Connect the phone, but before connecting your phone, UNPLUG THE BATTERY FOR 5 SECS, REPLUG THE BATTERY, AND CONNECT THE PHONE TO YOUR PC WITHOUT PRESSING ANY BUTTON.

Upon connected, your phone will be recognised by windows as "Qualcomm HS-USB QDLoader 9008", just like pic below:

Open QPST's "eMMC Software Download App", and do according the pic:

If all processes finished successfully, your phone will be recognised by windows as "Qualcomm HS-USB Diagnostics 9006", however DO NOT DISCONNECT YOUR PHONE FROM PC YET.

FROM NOW ON DON'T YOU EVER DISCONNECT THE PHONE FROM YOUR PC OR LAPTOPS.

Open "Minitool" and you will see that your phone has 29 partitions in total, similar to the pic below (this pic was taken from Windows' "Disk Management Tool" just to describe Qualcomm's partitions):

Delete all 29 partitions and click apply (remember don't remove your phone while "Minitool" is completing the process).

If all process finished successfully, open "HDD Raw Copy Tool", and you'll see things similar to this (please note that because I don't have the phone anymore, the pics that describe how to use "HDD Raw Copy Tool" was taken from my friend websites using a different type of Qualcomm phone, however the process that needs to be taken is similar):

Choose your "backup.img" and click "Continue >>>>>>".

Put a highlight on "Qualcomm MMC Storage USB Device" and click "Continue >>>>>>".

Check every things and click "START".

3. REVIVING YOUR IMEIs

To be honest this is the easiest part of the guide, and here are the steps that need to be taken (REMEMBER TO REMOVE ALL SIM CARDS BEFORE YOU DO THESE STEPS BELOW):

First of all, please root again your just revived V5 MAX.

Next, download QXDM 3.13.714 from HERE, extract it and then install (there is no special treatment for "QXDM").

Download "boot.zip" from HERE, and extratct "boot.img" found inside the zip and copy it to your phone's internal storage.

Connect your phone with your PC, open ADB, and type these command:

adb shell
su
dd if=/sdcard/boot.img of=/dev/block/mmcblk0p9"
reboot

After the phone rebooted, open device manager in windows, and you should find that your phone is recognised as "Qualcom HS-USB Diagnostics 90(XX)". Now you can connect to QPST, QXDM, ADB, and MTP at once, each time you phone rebooted.

Now open "QPST Configuration" and see whether your phone is listed there, see pic below:

Open "QXDM Professional", go to "Options", "Communications" and set "Target Port" to your phone.

Back to "QXDM" main window, in the "View" dropdown menu, select "NV Browser", put a check mark on "Dual SIM" option, select "ALL" in "Catagory Filter" dropdown menu, and go to "ID 00550", see pic for details:

Now choose "0" on "Subscription ID" dropdown menu. By the way here, "Subscription ID = 0" means your SIM1 and "Subscription ID = 1" means your SIM2. After choosing "0", click Read, fill your SIM1's IMEI in the Input Fields, and click Write. Do the same with SIM2's IMEI, which is listed as "Subscription ID = 1" .

AND HERE IS HOW YOU PUT YOUR IMEI:

If for instance, your IMEI for SIM1 was: 954091051099226, then the boxes would be in below order:
0x08 [COLOR="red"](The first hex is always 0x08)[/COLOR]
0x9A [COLOR="Red"](The second hex is always ends by "A" or "0x9A")[/COLOR]
0x45
0x90
0x01
0x15
0x90
0x29
0x62

YOUR V5 MAX IS OFFICIALLY REVIVE for free, YEEEE:svetius:

OP, if you found this guide helpfull, please make a link to this post in your first post.

---------- Post added at 05:36 AM ---------- Previous post was at 05:34 AM ----------

Actually we don't have to use rawprogram0.xml and patch0.xml, we just need QPST to turn the phone from Qualcomm 9008 mode to 9006 mode, then use "HDD Raw Tool".